Applies To:
  • CitectSCADA 1.00 1.01 1.10 1.11 1.20 2.00 2.01 3.00

Summary:
The ABB INSUM supports the Modbus protocol, but their variable addresses starts from 2 instead of 1. Any attempt to access 10001 or 40001 will cause the device to return an out of range error. 

Solution:
Insert the following entry to citect\bin\protdir.dbf after the modbus entry:
 
TAG FILE BIT_BLOCK MAX_LENGTH OPTIONS
MODBUS MODBUS 400 2000 0x17f
MODBUS1 ABBINSUM 400 2000 0x17f
MBPLUS MODBUS 1904 1904 0x17f

Create a new protocol variable specification file abbinsum.dbf based on modbus.dbf as follows:

TEMPLATE UNIT_TYPE RAW_TYPE BIT_WIDTH LOW HIGH COMMENT
0%U 1 0 1 2 9999 Output Coils Status
1%U 2 0 1 2 9999 Input Status
3%U 4 1 16 2 9999 Input Registers
4%U 3 1 16 2 9999 Output Registers

Use modbus1 instead of modbus when specify the protocol in the IO Device form. When the user upgrade to a new version of Citect. They would have update the new protdir.dbf with the above changes themselves.

 

Keywords:
 

Attachments