Re: Error Reading Modbus TCP Meter

2020-08-12 Thread Adam Rossi
The code you posted is reading register 4001 on slave ID 2. There are different conventions as to addressing registers, sometimes the 4XXX is not used, and sometimes the register is 1 less than published. Also verify you really want slave ID 2. Usually you want 0 or 1. If you want address

Re: Error Reading Modbus TCP Meter

2020-08-12 Thread Christofer Dutz
: Mittwoch, 12. August 2020 um 14:05 An: "dev@plc4x.apache.org" Cc: Christofer Dutz , Julian Feinauer Betreff: Re: Error Reading Modbus TCP Meter @Adam I want to read data from register address 40101 with start address 101 and float data type. But I couldn't get what you wanted

Error Reading Modbus TCP Meter

2020-08-12 Thread Syed Kefayath
Hi Everyone, I am using a plc4x modbus driver to read data from a modbus device but i am left with an exception. But while reading data from the ModbusPal virtual device I am getting the output. The java code and the error message is given below. I need help from this community to complete my