Test (Random Write) (Word Units) (Command: Wt, Qt) - Mitsubishi Electric MELSEC IQ-R series Reference Manual

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

Advertisement

Test (random write) (word units) (command: WT, QT)

Set/reset devices and device numbers to bit devices (X, Y, M, etc.) by specifying them randomly in 16 point units.
Write devices and device numbers to word devices (D, T, C, etc.) by specifying them randomly in 1 point units.
A mixture of word devices and bit devices (16 bit units) can be specified.
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)
■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:
• 1  Number of device points  10 (for bit device : 10 (16 points are designated as 1))
■Device
Specify the device to test. (Page 351 Device codes, device numbers)
■Write data
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
364
17.4 Device Memory Read and Write
Number of
Device
device points
(first point)
(n points)
AnA/AnUCPU common
T
54
H
Write data
Device
(nth point)
(first point)
Q
T
51
54
H
H
Write data
(nth point)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsecq seriesMelsec l series

Table of Contents