System information
General Reference Guide IO Servers Configuration
RG-001-0-EN ver 1.5 eWON® - 20/03/2009 - ©ACT'L sa Page 111
5.8.4 Tag name convention
ComPortNum: The port number used to access the PLC; if not specified, the default COM port is used.
• If a port address is specified in the topic, it is used and overloads per Tag address.
• If no address is specified, neither in the topic, nor at the Tag level, then the default port is used (Default port is the ECIA Port -
COM:1).
5.8.4.1 ValueName
(*) Important: See “Tags are stored as Float” on page 67
• Bit access modifier:
In any of the above items, it is possible to access a single bit.
#x must be appended to the Value Name (Bit index goes from 0..31).
The syntax can be used for reading bits and for writing them as well.
Example:
DB1W13#3 represents bit 3 of W13 in DB 1
Q32B#0 represents bit 0 of Q32.
Note that you must define the type byte (B) to successfully extracts a bit (Q32#0 will not work).
REM:
Bit index range depends on item referenced (for W, bit index maximum value is 15)
NOTES:
• For DB the smallest element is a WORD and we count addresses in Word.
This means that DB1W0 and DB1W1 WILL NOT
overlap.
• Timers and Counters are always Words and addresses are counted in WORD as well.
This means that T0 and T1 WILL NOT
overlap.
• For M, I, Q addresses are counted in BYTES.
This means that M0W and M1W WILL
overlap.
• Both syntax (German and English) can be used for I, Q, C
which in German gives: E, A, Z.
IO server Name S5-AS511
Topic name A or B or C
Item Name ValueName, ComPortNum COM port is defined Tag by Tag
ValueName Topic COM port is used (or default)
Table 87: S5-AS511 IO server Tag name convention table
DBxLy Data block x Word offset y, left byte of word (0 - 255)
DBxRy Data block x Word offset y, right byte of word (0 - 255)
DBxWy Data block x Word offset y, full word (0 - 65535)
DBxDy Data block x DWord offset y (-2147483648->2147483647) (*)
Tx or Kx Timer x (0-65535)
Cx or Zx Counter x (0-65535)
MxB or FxB Memento as Byte
MxW or FxW Memento as Word
MxD or FxD Memento as DWord (*)
Ix or Ex Input
Qx or Ax Output
Table 88: S5-AS511 IO server value names