Read Data, Write Data - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Read data, write data

The read device value is stored for reading, and the data to be written is stored for writing.
The data order differs between bit units or word units.
For bit units
The following shows the data to be read and written in bit units.
■Data communication in ASCII code
The ON/OFF status of each device are represented with single-digit ASCII code.
• For ON: '1' (31H)
• For OFF: '0' (30H)
■Data communication in binary code
Represent the ON/OFF status of each device in 4-bit per 1 point.
• For ON: '1'
• For OFF: '0'
When the number of points is odd number, the lowest 4 bits are set to '0'.
Ex.
When indicating ON/OFF status of five points from M10
M10
ON
ASCII code
1
0
1
0
1
31
30
31
30
31
H
H
H
H
H
*1 For C24, the additional code may be added. (Page 35 Additional code (10H))
8 DEVICE ACCESS
74
8.1 Data to be Specified in Commands
M11
M12
OFF
ON
Binary code (For C24)
DLE
10
10
H
H
M13
OFF
*1
DLE
DLE
10
10
10
10
H
H
H
H
M14
ON
Binary code (For E71)
10
10
10
H
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents