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

Summary:
Since upgrading to the TONS driver available from the DriverWeb (version 2.06.04.000) 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?
 

Solution:
In the TONS driver version 2.6.03.001, a macro which used to convert a decimal to hexadecimal number was removed.
This means that any projects upgrading from TONS version 2.04.03.000 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:
%U16W.DW[2329]
You now need to enter the address in hexadecimal format instead:
%U10W.DW[2329]

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.
 

Keywords:
TONS, Address out of range, 0x200  

Attachments