LiftStation_18000
Member
I am having an issue configuring my messaging and am not understanding the MSG data I am receiving back from the device.
Summary of devices:
Micrologix 1400 ser A - master Modbus 485 RTU
1763 NCO1 Data cable converter
MSA gas detector (slave address node 2)
RS Logix 500 starter
I have configured channel 0 to be Modbus RTU master
Even parity
19200 baud
1 stop bit
8 data bits
No handshaking 485 network
250ms timeout and delay
I have my MSG blocks set to (MG100:22, MG100:23, MG100:24)
read holding registers 4xxxxx
Data table N7:10, N7:20, N7:30
1 Element
16 Bits (confirmed by MSA)
I am using three MB data addresses: 1, 1000 & 4000
This gives a Modbus address of 40001, 410000 & 440000
After the msg, My N7 data tables are reading in decimal form:
-25536 (yes this is negative) for 4000
-25536 (yes this is negative) for 1000
MSG Error Illegal Data Address for 1
I chose to use 1000 because this is the base address. I don't understand why I could have gotten -25536 here. The default is supposed to be 1000. Then I got the same response for 4000. Does this tell me I am communicating with the device and I am having issues with addressing or does -25536 mean something else?
I've double checked all the channel configurations, swapped the +/- wires. No handshaking. Confirmed baud, parity bits etc... with manufacturer.
If you look at the RSlogix 500 file reference subroutine 20 to find the message blocks I am working with on this controller.
Summary of devices:
Micrologix 1400 ser A - master Modbus 485 RTU
1763 NCO1 Data cable converter
MSA gas detector (slave address node 2)
RS Logix 500 starter
I have configured channel 0 to be Modbus RTU master
Even parity
19200 baud
1 stop bit
8 data bits
No handshaking 485 network
250ms timeout and delay
I have my MSG blocks set to (MG100:22, MG100:23, MG100:24)
read holding registers 4xxxxx
Data table N7:10, N7:20, N7:30
1 Element
16 Bits (confirmed by MSA)
I am using three MB data addresses: 1, 1000 & 4000
This gives a Modbus address of 40001, 410000 & 440000
After the msg, My N7 data tables are reading in decimal form:
-25536 (yes this is negative) for 4000
-25536 (yes this is negative) for 1000
MSG Error Illegal Data Address for 1
I chose to use 1000 because this is the base address. I don't understand why I could have gotten -25536 here. The default is supposed to be 1000. Then I got the same response for 4000. Does this tell me I am communicating with the device and I am having issues with addressing or does -25536 mean something else?
I've double checked all the channel configurations, swapped the +/- wires. No handshaking. Confirmed baud, parity bits etc... with manufacturer.
If you look at the RSlogix 500 file reference subroutine 20 to find the message blocks I am working with on this controller.