Device |
|
Bit Address |
Word Address |
32bits |
Remarks |
|---|---|---|---|---|---|
BOOL |
Single Tag |
<TAGNAME> |
- |
- |
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
||||
BYTE SINT USINT |
Single Tag |
- | <TAGNAME> |
|
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
||||
WORD INT UINT |
Single Tag |
- | <TAGNAME> |
|
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
||||
DWORD DINT UDINT |
Single Tag |
- | <TAGNAME> |
|
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
||||
LWORD LINT ULINT |
Single Tag |
- | <TAGNAME> |
|
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
||||
REAL TIME DATE*5 TIME_ OF_DAY DT STRING*6 |
Single Tag |
- |
<TAGNAME> |
|
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
||||
LREAL |
Single Tag |
- |
<TAGNAME> |
|
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
||||
WSTRING |
Single Tag |
|
<TAGNAME> |
|
|
1D Array |
<TAGNAME>[xl]- <TAGNAME>[xh] |
||||
2D Array |
<TAGNAME>[xl,yl]- <TAGNAME>[xh,yh] |
||||
3D Array |
<TAGNAME>[xl,yl,zl]- <TAGNAME>[xh,yh,zh] |
||||
4D Array |
<TAGNAME>[xl,yl,zl,wl]- <TAGNAME>[xh,yh,zh,wh] |
||||
5D Array |
<TAGNAME>[xl,yl,zl,vl,wl]- <TAGNAME>[xh,yh,zh,vh,wh] |
*1<TAGNAME>:
For structures, the Tag Name includes the structure name. The maximum
length of the Tag Name is 255 characters, including delimiters and the
element number.
If using UNICODE text, the maximum number for each element is 80 characters.
Example
BOOL type single tag: |
"BOOLSYMBOL" |
BOOL type 1D array: |
"BOOL1D[10]" |
WORD type 2D array: |
"WORD2D[10,10]" |
UDINT type 3D array: |
"UDINT[0,1,2]" |
User-defined structure |
"STRUCT001.STRINGSYM" |
For
tag names and element names, you can use alphanumeric characters (upper
and lower case), underscore, space, and multi-byte characters (such as
Japanese). Note the following input limitations.
• The last character in the name cannot be the underscore symbol.
• The pound symbol (#) can be used as the first character only.
• Names cannot include any of the following symbols:
. , ! “ $ % ^ & * ( ) - + = { } [ ] / \ ? # @ ~
• You cannot start names with any of the following text:
LS, USR, SCR, PRT
*2The number of elements for each dimension is from "l" (minimum number of elements) to "h" (maximum number of elements).
*5Handled as 16-bit devices in the External Device, but as 32-bit devices on the display unit.
*6The maximum number of characters for the STRING device is 254 characters.
:
TIA Portal data type |
Converted data type |
|---|---|
BYTE |
USINT |
WORD |
UINT |
DWORD |
UDINT |
LWORD |
ULINT |
S5_TIME |
UINT |
CHAR |
USINT |
DTL |
STRUCT |
TIMER |
INT |
COUNTER |
INT |
IEC_TIMER |
STRUCT |
IEC_LTIMER |
STRUCT |
IEC_SCOUNTER |
STRUCT |
IEC_USCOUNTER |
STRUCT |
IEC_COUNTER |
STRUCT |
IEC_UCOUNTER |
STRUCT |
IEC_DCOUNTER |
STRUCT |
IEC_UDCOUNTER |
STRUCT |
IEC_LCOUNTER |
STRUCT |
IEC_ULCOUNTER |
STRUCT |
ERROR_STRUCT |
STRUCT |
NREF |
STRUCT |
CREF |
STRUCT |
HW_ANY |
UINT |
HW_DEVICE |
UINT |
HW_DPMASTER |
UINT |
HW_DPSLAVE |
UINT |
HW_IO |
UINT |
HW_IOSYSTEM |
UINT |
HW_SUBMODULE |
UINT |
HW_MODULE |
UINT |
HW_INTERFACE |
UINT |
HW_IEPORT |
UINT |
HW_HSC |
UINT |
HW_PWM |
UINT |
HW_PTO |
UINT |
OB_ANY |
INT |
OB_DELAY |
INT |
OB_TOD |
INT |
OB_CYCLIC |
INT |
OB_ATT |
INT |
OB_PCYCLE |
INT |
OB_HWINT |
INT |
OB_DIAG |
INT |
OB_STARTUP |
INT |
PORT |
UINT |
RTM |
UINT |
PIP |
UINT |
CONN_ANY |
UINT |
CONN_PRG |
UINT |
CONN_OUC |
UINT |
CONN_R_ID |
UDINT |
DB_ANY |
UINT |
DB_WWW |
UINT |
DB_DYN |
UINT |