Batch Write (Word Units) (Command: Ww, Qw) - 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 (word units) (command: WW, QW)

Write data to bit devices (X, Y, M, etc.) in 16-point units.
Write data to word devices (D, T, C, 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
Command
Message wait
■Response data
There is no response data for this command.
Data specified by request data
■Command
ACPU common
W
57
H
■Message wait
Specify the delayed time of the response transmission. (Page 347 Message wait)
■Head device
Specify the head device. (Page 351 Device codes, device numbers)
■Number of device points
Convert the numerical value to 2-digit ASCII code (hexadecimal), and send it from the upper digits.
Specify the number of device points within the following range:
• For bit device: 1  Number of device points  10
• For bit device: Head device No. + Number of device points 16 - 1  Maximum device No.
• For word device: 1  Number of device points  64
• For word device: Head device No. + Number of device points - 1  Maximum device No.
■Write data for the number of device points
Store 4-digit data per one device point. (Page 353 Read data, write data)
When specifying bit devices, set the head device No. in multiples of 16 (0, 16, ... in decimal notation).
17 COMMUNICATING USING 1C FRAMES
360
17.4 Device Memory Read and Write
Number of
Head device
device points
AnA/AnUCPU common
W
57
H
Write data for the number of
device points
Q
W
51
57
H
H

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents