EasyManua.ls Logo

Mitsubishi Electric MELSEC iQ-R Series - Page 136

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...
134
9 LABEL ACCESS
9.1 Data to be Specified in Commands
Data communication in ASCII code
Convert the numerical value to 4-digit ASCII code (hexadecimal), and send it from the upper digits.
Data communication in binary code
Send 2-byte
*1
numerical values from lower byte (L: bits 0 to 7).
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
Setting example
Batch read and write of array
For the bit specification, specify the number of bits to be accessed.
Unit specification: Bit
Label: Bit type 3 points
Array data length: 1 bit Number of array element (3) = 3 bits
For byte specification, specify the data length of the label to be accessed in byte unit.
Unit specification: Byte
Label: Word type 5 points
Array data length: 2 bytes (5) = 10 bytes
Random read and write
For bit type, data length will be 2 (fixed value).
Label: Bit type 1 point
Data length: 2 (fixed)
The character string type [Unicode] will be 2 bytes per one character of UTF-16 code.
Label: Character string type [Unicode] one point
"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 (2) = 66 (42H)
ASCII code Binary code
ASCII code Binary code
ASCII code Binary code
ASCII code Binary code
0
30H
0
30H
0
30H
3
33H
03H 00H
0
30H
0
30H
0
30H
A
3AH
0A
H
00
H
0
30H
0
30H
0
30H
2
32H
02
H
00
H
0
30H
0
30H 34H
2
32H
4
42
H
00
H

Table of Contents

Other manuals for Mitsubishi Electric MELSEC iQ-R Series

Related product manuals