MELSEC iQ-R Series (Label)

Data Type

Bit Address

Word Address

32 bit

Remarks

BOOL

Single Tag

<LABELNAME>

-

-

*1 *2 *3

1D Array

<LABELNAME>[xl] - <LABELNAME>[xh]

2D Array

<LABELNAME>[xl,yl] - <LABELNAME>[xh,yh]

3D Array

<LABELNAME>[xl,yl,zl] - <LABELNAME>[xh,yh,zh]

INT

WORD

Single Tag

-

<LABELNAME>

 

*1 *2 *3

1D Array

<LABELNAME>[xl] - <LABELNAME>[xh]

2D Array

<LABELNAME>[xl,yl] - <LABELNAME>[xh,yh]

3D Array

<LABELNAME>[xl,yl,zl] - <LABELNAME>[xh,yh,zh]

REAL

TIME

Single Tag

-

<LABELNAME>

-

*1 *2 *3

1D Array

<LABELNAME>[xl] - <LABELNAME>[xh]

2D Array

<LABELNAME>[xl,yl] - <LABELNAME>[xh,yh]

3D Array

<LABELNAME>[xl,yl,zl] - <LABELNAME>[xh,yh,zh]

DINT

DWORD

Single Tag

-

<LABELNAME>

-

*1 *2 *3

1D Array

<LABELNAME>[xl] - <LABELNAME>[xh]

2D Array

<LABELNAME>[xl,yl] - <LABELNAME>[xh,yh]

3D Array

<LABELNAME>[xl,yl,zl] - <LABELNAME>[xh,yh,zh]

STRING

Single Tag

-

<LABELNAME>

-

*1 *2 *3 *4

1D Array

<LABELNAME>[xl] - <LABELNAME>[xh]

2D Array

<LABELNAME>[xl,yl] - <LABELNAME>[xh,yh]

3D Array

<LABELNAME>[xl,yl,zl] - <LABELNAME>[xh,yh,zh]

WSTRING

Single Tag

-

<LABELNAME>

-

*1 *2 *3 *7

1D Array

<LABELNAME>[xl] - <LABELNAME>[xh]

2D Array

<LABELNAME>[xl,yl] - <LABELNAME>[xh,yh]

3D Array

<LABELNAME>[xl,yl,zl] - <LABELNAME>[xh,yh,zh]

TIMER

C

<LABELNAME>.C

-

-

*5

S

<LABELNAME>.S

N

-

<LABELNAME>.N

RETENTIVE TIMER

C

<LABELNAME>.C

-

-

*5

S

<LABELNAME>.S

N

-

<LABELNAME>.N

COUNTER

C

<LABELNAME>.C

-

-

*5

S

<LABELNAME>.S

N

-

<LABELNAME>.N

LTIMER

C

<LABELNAME>.C

-

-

*6

S

<LABELNAME>.S

N

-

<LABELNAME>.N

LRETENTIVE TIMER

C

<LABELNAME>.C

-

-

*6

S

<LABELNAME>.S

N

-

<LABELNAME>.N

LCOUNTER

C

<LABELNAME>.C

-

-

*6

S

<LABELNAME>.S

N

-

<LABELNAME>.N

*1<LABELNAME>: For structures, the LABELNAME will include the structure name. The maximum number of characters for the LABELNAME is 255, which includes the delimiter and address.

Ex.)

BOOL type single Label: "BOOLVAR"
BOOL array element: "BOOLARRAY[0012]"
INT type single Label: "INTVAR"
DINT type bit address: "DINTVAR.30"
REAL type 3D array: "REALARRAY[1,2,3]"
INT member of a structure ("TIMER"): "TIMERVAR.N"
STRING type variable: "MYSTRINGVAR"

The following input rules apply to LABELNAME and member names.

* BLUE error check cannot identify these names. If you use these names, a communication error will occur. Please refer to the External Device manual for names that are used.

*2The number of elements in each dimension is displayed as l (minimum number of elements) to h (maximum number of elements).

*3Array element numbers defined on a label start from 0.

You can calculate the size of the array with the number of elements in each dimension.

Example)

Word array "Array [0 ...15, 0 ...14, 0 ...13]", evaluates to array size of 3360 (= 16 × 15 × 14).

The maximum size of each device is as follows.

BOOL, INT, WORD, TIMER, COUNTER, RETENTIVETIMER: 2147483648

DINT, DWORD, LTIMER, LCOUNTER, LRETENTIVETIMER, TIME: 1073741824

STRING: 2147483648 ÷ size of STRING device

*4The STRING label defines the maximum number of characters (up to 255 single-byte) in the data type settings.

*5C (coil) and S (contact) are BOOL type devices. N (current value) is a WORD type device.

*6C (coil) and S (contact) are BOOL type devices. N (current value) is a DWORD type device.

*7The WSTRING label defines the maximum number of characters (up to 255) in the data type settings.

 

NOTE