Mitsubishi Electric MELSEC IQ-R series Reference Manual page 136

Programmable controller
Hide thumbs Also See for MELSEC IQ-R series:
Table of Contents

Advertisement

■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
*1
Send 2-byte
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
ASCII code
0
0
0
3
30
30
30
33
H
H
H
H
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
ASCII code
0
0
0
A
30
30
30
3A
H
H
H
H
■Random read and write
For bit type, data length will be 2 (fixed value).
• Label: Bit type 1 point
• Data length: 2 (fixed)
ASCII code
0
0
0
2
30
30
30
32
H
H
H
H
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
0
0
4
2
30
30
34
32
H
H
H
H
9 LABEL ACCESS
134
9.1 Data to be Specified in Commands
Binary code
03
00
H
H
Binary code
0A
00
H
H
Binary code
02
00
H
H
Binary code
42
00
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents