Applies To:
  • CitectSCADA 5.xx, 6.XX
  • CitectHMI 5.xx, 6.XX

Since upgrading to the TONS driver available from the DriverWeb (version I get the following error on startup:

Thu Aug 17 13:16:02 2006 28:30:13.146 Error: Address is out of range
READ 0001 PORT1 PLC1 t:I a:000001 c:000001 w:10 e:0 1
Generic 000001 Driver 00000512 (0x00000200)

What is the cause of this error, and how do I fix it?

In the TONS driver version, a macro which used to convert a decimal to hexadecimal number was removed.
This means that any projects upgrading from TONS version and below will need to update the variable tag definitions in the project for all TONS devices. I.e. if you have the following TONS I/O Device variable tag address:
You now need to enter the address in hexadecimal format instead:

The easiest way to perform this conversion is to open the variable.dbf using Excel or Access and execute a bulk edit to the new addressing format.

TONS, Address out of range, 0x200