Modbus TCP - Register Addr.

Topics about the Software of Revolution Pi
Post Reply
Joca
Posts: 14
Joined: 24 Aug 2021, 17:41

Modbus TCP - Register Addr.

Post by Joca »

Hi guys,

Can you clarify witch is the right way to configure the attached adress in a virtual device?

I tri do configure but i don't recevid the correct values.

Thanks all
Attachments
2.PNG
2.PNG (17.11 KiB) Viewed 3068 times
1.PNG
1.PNG (66 KiB) Viewed 3068 times
->Johannes<-

Re: Modbus TCP - Register Addr.

Post by ->Johannes<- »

Hi Joca,

what does the Master_Status and the Action_Status say?

Does the UNIT ID match according to the manual of the slave?

Have you watched the tutorial yet?

How to Use RevPi Connect as Modbus TCP Master

This point is not entirely unimportant
We use the first register address 1 for our products. Some manufacturers use 0 as the first register address for their products.
Check how the addressing is specified at your slave.
If the slave you want to use uses 0 as the first register address, you must add a 1 to the specified value during configuration.
Example: The documentation for your slave states a register address 30053. The addresses start at 0 according to the documentation. You use address 30054 for this register when configuring a Modbus command.
Regards
Johannes
Joca
Posts: 14
Joined: 24 Aug 2021, 17:41

Re: Modbus TCP - Register Addr.

Post by Joca »

Hi,

They are both with 0 value.
Yeah, the ID match.

Now i receveid all the time 264 in the first address.
That value it's an error becasuse i must received 10.

Thanks.
Joca
Posts: 14
Joined: 24 Aug 2021, 17:41

Re: Modbus TCP - Register Addr.

Post by Joca »

Another question, how is the best way to configure the extend data in PiCtory?

Can you give me an example, of a right configuration.
Joca
Posts: 14
Joined: 24 Aug 2021, 17:41

Re: Modbus TCP - Register Addr.

Post by Joca »

Hi ->Johannes<-,

Can you help me with this doubt?

Thanks :)
->Johannes<-

Re: Modbus TCP - Register Addr.

Post by ->Johannes<- »

Dear Joca,

What kind of slave do you have? Post the manual, maybe someone can help you sooner.

Regards

Johannes
Post Reply