S7-1200/1500 Series

Device

 

Bit Address

Word Address

32bits

Remarks

BOOL

Single Tag

<TAGNAME>

-

-

*1 *2

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>

 

*1 

*2

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>

*1 

*2 

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>

*1 

*2

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>

*1 

*2

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>

*1 

*2

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>

*1 

*2

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>

*1 

*2

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.

IMPORTANT:

NOTE