EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Data Length, Unit Specification

Mitsubishi Electric MELSEC iQ-R Series
498 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
9 LABEL ACCESS
9.1 Data to be Specified in Commands
133
9
Data length, unit specification
Specify the length of data to be read/written.
Unit specification
Specify the units of data length when reading/writing data from/to array in batch.
Bit specification
The value of data length is handled as the number of bits.
Specify this when the data type of the label is bit.
Read data or write data are stored in 16 point unit of bit devices (2 bytes).
When data length is not a multiple of 16 at the time of bit specification, '0' is stored in an invalid area.
Byte specification
The value of data length is handled as a number of bytes of read data or write data.
Specify when the data type of a label is other than bit.
Data length
Specify the length of read data or write data.
Specify the following values according to the data type of a label.
Specifying and writing data length which is not suited for the data type of label results in abnormal completion.
*1 Specify the following values per one array element/label.
Character string length specified to "Data Length of Character String Data Type" with an Engineering tool + 1
(When the value is an odd number, add 1 and specify with an even number.)
*2 Specify the following values per one array element/label.
(Character string length specified to "Data Length of Character String Data Type" with an Engineering tool + 1) 2
ASCII code Binary code
ASCII code Binary code
Data type Batch read and write array type labels Random read and write
Unit
specification
Array data length Data length per 1 point label
Bit Bit units 1 Number of array element 2
Word [Unsigned]/Bit String [16-bit] Byte units 2 Number of array element 2
Double Word [Unsigned]/Bit String [32-bit] 4 Number of array element 4
Word [Signed] 2 Number of array element 2
Double Word [Signed] 4 Number of array element 4
FLOAT [Single Precision] 4 Number of array element 4
FLOAT [Double Precision] 8 Number of array element 8
Time 4 Number of array element 4
String Depend on the number of character strings (1 per 1 character, including end NULL)
*1
String [Unicode] Depend on the number of character strings (2 per 1 character, including end NULL)
*2
Pointer Cannot be specified.
Timer
Counter
Retentive timer
Contact
Coil
Current value
Cannot be specified. 2
Long timer
Long counter
Long retentive timer
Contact
Coil
2
Current value 4
0
30H
0
30H
0
30H
0
30H
00
H
00
H
0
30H
0
30H
0
30H
1
31H
01
H
00
H

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals