Applies To:
  • CitectSCADA 3.x 4.x

Summary:
The protocol I am using only allows me to use signed integers in the range -32768 to 32767. I want to use unsigned integers in the range 0 to 65535. How can I do this? 

Solution:
You can set a flag for this option in the protocol directory. You will need to edit the Protdir.dbf file in your Citect\bin path. Add the hex value 0x800 to the Options cell for the protocol you are using. Save this file in dBase III format.

For example:

TAG FILE BIT_BLOCK MAX_LENGTH OPTIONS
MODBUS MODBUS 400 2000 0x37f

becomes:

MODBUS MODBUS 400 2000 0xb7f

Note that some protocols may already have this option added. For example Modcell.

 

Keywords:
 

Attachments