EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Read Data, Write Data

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
135
9
Read data, write data
The read data is stored for reading, and the data to be written is stored for writing.
Data is stored with variable length. The length of data is specified by "Data length." (Page 133 Data length)
The storing method of data is same as that of reading or writing data in word units (bit device in 16-points). (Page 74
Read data, write data)
For bit type labels
Read data and write data are handled in 16-point units, but '0' is stored in data other than label points to be accessed.
Ex.
For bit type label 6 points
For character string type labels
Store NULL at the end of the valid character string. The data after NULL of the read data will be undefined value.
Ex.
For read data of 1-point character string type (ASCII code) label
Label character string: 'ABCD' (4 characters)
"Data Length of Character String Data Type" of an Engineering tool: 32
Data length: Number of characters (32 + 1) Data length per one character string (1) = 34 (22H)
When communicating ASCII code character string data in ASCII code, data is rearranged every two
characters and stored.
Item Character string type of ASCII code Character string type of
Unicode
Number of character strings of label Odd Even number
NULL code to be stored to the end NULL (00H) NULL (00H)2 NULL (0000H)
Data length of array element/label per
one point
Character string specified to "Data
Length of Character String Data
Type" + 1
Character string specified to "Data
Length of Character String Data
Type" + 2
(Character string specified to "Data
Length of Character String Data
Type" + 1)2
ASCII code Binary code
Fixed to 0 Access target
bit data
0101011000000000
b0b15
("Data Length of String Data Type"(32)+2)×2 bytes
ABCD NULL NULL
4241 4344 0000
34
H
32
H
34
H
32
H
34
H
34
H
34
H
33
H
30
H
30
H
30
H
30
H
"Data Length of String Data Type"(32)+2 bytes
ABC
41
H
42
H
43
H
D
44
H
NULL
00
H
00
H
NULL

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals