Applies To:
  • CitectSCADA 7.00
  • CitectHMI 7.00

Summary:
The v7 migration tool converts all memory PLC variables from V6 to local variable tags which are in a separate table from the variable tags.
Calling ctFindFirst from CTAPI with table name "Tag" will not return the local variable tags.  

Solution:
To access the Local Variable Tags from CTAPI, the ctFindFirst should be called with "LocalTag" table name.

The field names for local variable tags are:

NAME, TYPE, ASIZE (array size), ZERO, FULL, UNITS, COMMENT

Note that local variables don't have cluster and only one pair of zero/full scales (as opposed to raw and engineering scales for variable tags).  Also the array size field is available only for local tags.

 

Keywords:
Memory PLC Variables, Local Variable Tags, CTAPI, ctFindFirst  

Attachments