Page 1 of 1
Modbus TCP - Register Addr.
Posted: 19 Oct 2021, 18:11
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
Re: Modbus TCP - Register Addr.
Posted: 21 Oct 2021, 12:11
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
Re: Modbus TCP - Register Addr.
Posted: 21 Oct 2021, 12:28
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.
Re: Modbus TCP - Register Addr.
Posted: 21 Oct 2021, 12:30
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.
Re: Modbus TCP - Register Addr.
Posted: 26 Oct 2021, 17:38
by Joca
Hi ->Johannes<-,
Can you help me with this doubt?
Thanks
Re: Modbus TCP - Register Addr.
Posted: 29 Oct 2021, 14:01
by ->Johannes<-
Dear Joca,
What kind of slave do you have? Post the manual, maybe someone can help you sooner.
Regards
Johannes