Batch Write In Bit Units (Command: 02) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Batch write in bit units (command: 02)

Write bit devices (X, Y, M, etc.) in 1-point units.
Message format
The following shows the message format of the request data and response data of the command.
■Request data
Number of
Head device
device points
■Response data
There is no response data for this command.
Data specified by request data
■Head device
Specify the head device of the bit device to be written. (Page 397 Device codes and device numbers)
■Fixed value
Fixed to '0'.
ASCII code
0
0
30
30
H
H
■Number of device points
Specify the bit device points to be written.
Specify '00H' when the number of device points is to 256 points. (Page 402 Number of device points)
■Write data
Stored data for the number of device points to be written.
• 0 (30H): OFF
• 1 (31H): ON
Fixed value
Write data
Binary code
00
H
18 COMMUNICATING USING 1E FRAMES
18.4 Read and Write Device Memory
18
407

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents