CI867 Modbus TCP, read Modbus input registers with 5 digit offset
We need to read input registers 10001-10012 (Modbus function code 4 (3xxxxx area)).
The "StartAddr" to e.g. MBTCPReadCyc seems to only allow register with 4digits.
E.g. if you want to read input register 123, StartAddr is to be set to %IW30123.
The right format should be one of the following:
%MW10#12 equal to holding register 40012 = FC3
%IW10#123 equal to input register 30123 = FC4
For 10001 should be FC4 ... %IW10#1 but may be you have to try a different read codes and formats from above, it depends also of partner's mapping
Use CBM Help -> MBRead (same for MBTCP...) -> here you can find examples for addressing
Source: CBM help MBRead