Applies To:
  • CitectSCADA 5.xx

Summary:
I have a modbus-compatible power monitor but have a problem reading data from this unit using modbus driver. 

Solution:
To retrieve values/data from the device, a dip switch on the device needs to be set and some Citect.INI [MODBUS]parameters need to be added.

Dip Switch settings, by default, all dip switches are switched to "OFF". This gives the following setup;

8 Bits
2 Stop Bits
No Parity
4800 baud
BCD Data format

Note: To activate IEEE data format, dip switch 4 must be set to "ON".

The following [MODBUS] parameters must exist in the Citect.INI file;

[MODBUS]
Inittype=4
RegisterBitReverse=1
FloatMode=2
MaxBits=192 ! Only 12 registers can be retrieved per request, otherwise you get a nasty #COM

All data types are Citect REAL. Except 40001, 40002, 40003, 30021, 20025 which are LONG Citect data type.

 

Keywords:
 

Attachments