System information
General Reference Guide IO Servers Configuration
RG-001-0-EN ver 1.5 eWON® - 20/03/2009 - ©ACT'L sa Page 116
5.9.3.1 ValueName
ValueName follows the below syntax:
[PROGRAM:ProgName.]SymbolicTagName
• ProgName is the name of the program where the Tag is.
If no ProgName, the Tag is in the global scope (tag is controller type)
• SymbolicTagName:
• Symbol of the tag.
Only following atomic type are supported: BOOL, SINT, INT, FLOAT, DINT (*), BIT ARRAY
• Bit selection with <SymbolicTagName>/bit
where bit is the bit number (from 0 to 31)
ex: controlbit/4 read the bit 4 of the controlbit register
• TIMER, CONTROL, COUNTER predefined types with <SymbolicTagName>.acc (or ctl or pre)
ex: MyVar.acc read the counter of MyVar
• Element of a table
<Symbol_1>[idx_1].<Symbol_2>[idx_2].<Symbol_3>[idx_3].<Symbol>
With maximum 3 index.
ex: table1[2].subtable[6].element read data named 'element' on the index 6 of the 'sub table' from the index 2 of the 'table1'
• Element of a structure
<Symbol_1>.<Symbol_2>
ex: CounterObj.init read the 'init' part of the structure 'CounterObj'
(*) Important: See “Tags are stored as Float” on page 67
• Status register:
The STATUS Tag is a special Tag that returns information about the current state of communication for a given device. As for other Tags, the
status Tag ValueName is composed of:
Status,ComPortNum
• You can define a status Tag for each COM port used.
• If you use the status address, the Tag must be configured as analog.
0
Communication not initialized. Status UNKNOWN.
If no Tag is polled on that device address, the communication status is unknown.
1 Communication OK.
2 Communication NOT OK.
Table 93: Tag status meaning