einnh
Lifetime Supporting Member
I have used a half dozen fieldbus protocols over the years but never Modbus TCP. I guess the time has come.
I am trying to read sensor data from a Bender iso685 Ground Fault/Insulation Monitor device for technician use in a remote location (without much luck).
- I tried reading the data using the Modbus TCP code supplied by Rockwell for CompactLogix controllers with out any success.
- Then I tried using Red Lion's Modbus TCP to read the data, without any success.
- Now I am trying to just scan the device for data to ensure I am poling correctly, without much success.
The Bender unit is at 10.10.10.24, Modbus TCP is enabled. My workstation is at 10.10.10.1, windows firewall is disabled, and I can ping the device.
From the Bender documentation located here: (google search link sorry): http://www.benderbenelux.nl/sites/default/files/downloads/iso685-D_D00022_A_XXEN_0.pdf
- 4-digit addressing
- Holding register for reading values, read holding register, function code 0x03.
- Registers for device programming, preset multiple registers, function code 0x10.
I am now trying to just read data using QModMaster (Modbus Master app) on my workstation. I have the following settings:
- Modbus TCP Slave IP : 010.010.010.024
- TCP Port: 502
- Modbus Mode: TCP
- Unit ID: 1
- Scan Rate: 3000 ms
- Function Code: 0x03 Read Holding Register
- Start Address: 4113 (DEC) (just for this test).
- Number of Registrars: 1,
- Data Format: DEC
It is spitting out:
Read data failed. Error: Illegal Data Address
I belieive this corresponds to exception-code 0x02.
What am I doing wrong? Why can't I even read data using this simple scanner? I called Bender support and the technician stated 'It's something on your end, I can't help you."
Thanks,
Eric
I am trying to read sensor data from a Bender iso685 Ground Fault/Insulation Monitor device for technician use in a remote location (without much luck).
- I tried reading the data using the Modbus TCP code supplied by Rockwell for CompactLogix controllers with out any success.
- Then I tried using Red Lion's Modbus TCP to read the data, without any success.
- Now I am trying to just scan the device for data to ensure I am poling correctly, without much success.
The Bender unit is at 10.10.10.24, Modbus TCP is enabled. My workstation is at 10.10.10.1, windows firewall is disabled, and I can ping the device.
From the Bender documentation located here: (google search link sorry): http://www.benderbenelux.nl/sites/default/files/downloads/iso685-D_D00022_A_XXEN_0.pdf
- 4-digit addressing
- Holding register for reading values, read holding register, function code 0x03.
- Registers for device programming, preset multiple registers, function code 0x10.
I am now trying to just read data using QModMaster (Modbus Master app) on my workstation. I have the following settings:
- Modbus TCP Slave IP : 010.010.010.024
- TCP Port: 502
- Modbus Mode: TCP
- Unit ID: 1
- Scan Rate: 3000 ms
- Function Code: 0x03 Read Holding Register
- Start Address: 4113 (DEC) (just for this test).
- Number of Registrars: 1,
- Data Format: DEC
It is spitting out:
Read data failed. Error: Illegal Data Address
I belieive this corresponds to exception-code 0x02.
What am I doing wrong? Why can't I even read data using this simple scanner? I called Bender support and the technician stated 'It's something on your end, I can't help you."
Thanks,
Eric