ryangriggs
Lifetime Supporting Member
PLC: AutomationDirect DL06
Modbus driver: Wonderware InTouch DASMBTCP
Goal: read the C100 discrete value from the DL06.
I have successfully calculated "V" addresses and am able to read both 32-bit integers and floating point values using 400000 addressing.
However, I'm having trouble figuring out the DASMBTCP addressing scheme for discrete values.
According to the DL06 modbus docs, the C 'control relays' are considered Modbus data type "coil". Also, this doc says to "convert the address from octal to decimal, then add start of range, then add data type".
So:
100 octal = 64 decimal
Start of "C" range = 3072 decimal
64 + 3072 = 3136 decimal
What does it mean to "add the data type"? I can't find a table of "data type values" to add to the 3136 value. Or, are they referring to the 10000/30000/40000/100000/300000/400000 modbus addressing schemes for coils/inputs/holding registers?
I've tried using the address 103136 - always returns '0'.
I've tried using 3136 DO (per Wonderware docs, the DO = direct output, or coils). Always returns 'false'.
I've tried using the direct register address: 64 - always returns false.
What am I missing here?
Thanks for any pointers.
Modbus driver: Wonderware InTouch DASMBTCP
Goal: read the C100 discrete value from the DL06.
I have successfully calculated "V" addresses and am able to read both 32-bit integers and floating point values using 400000 addressing.
However, I'm having trouble figuring out the DASMBTCP addressing scheme for discrete values.
According to the DL06 modbus docs, the C 'control relays' are considered Modbus data type "coil". Also, this doc says to "convert the address from octal to decimal, then add start of range, then add data type".
So:
100 octal = 64 decimal
Start of "C" range = 3072 decimal
64 + 3072 = 3136 decimal
What does it mean to "add the data type"? I can't find a table of "data type values" to add to the 3136 value. Or, are they referring to the 10000/30000/40000/100000/300000/400000 modbus addressing schemes for coils/inputs/holding registers?
I've tried using the address 103136 - always returns '0'.
I've tried using 3136 DO (per Wonderware docs, the DO = direct output, or coils). Always returns 'false'.
I've tried using the direct register address: 64 - always returns false.
What am I missing here?
Thanks for any pointers.