Mc Protocol Commands - Mitsubishi L02CPU User Manual

Melsec-l series
Hide thumbs Also See for L02CPU:
Table of Contents

Advertisement

5.1.2

MC Protocol Commands

(1) Command list
The following commands are executable for MC protocol communication of the CPU module.
Function
In units
of bits
Batch read
In units
of
words
In units
of bits
Batch write
In units
of
words
Device
In units
memory
*2
of
Random read
words
In units
of bits
Test (Random
In units
write)
of
words
In units
Monitor
of
*2*3*4
registration
words
In units
Monitor
of
words
Unlock
Remote
password
Lock
*1
These commands are for QnA-compatible 3E frames.
*2
Devices, TS, TC, SS, SC, CS, and CC cannot be specified in units of words. Specifying any of these for monitor
registration will cause an error (4032
*3
For monitor registration, monitoring conditions cannot be set.
*4
Do not execute monitor registration from multiple devices. If executed, the last monitor registration takes effect.
*5
Set the number of processed points so that the following condition is satisfied.
(Number of word access points)  12 + (Number of double-word access points)  14  1920
For bit devices, one point is regarded as 16 bits in word access and 32 bits in double-word access. For word devices,
one point is regarded as one word in word access, and two words in double-word access.
38
Command
*1
(Subcommand)
0401
Reads bit devices in units of one point.
(0001)
Reads bit devices in units of 16 points.
0401
(0000)
Reads word devices in units of one point.
1401
Writes bit devices in units of one point.
(0001)
Writes bit devices in units of 16 points.
1401
(0000)
Writes word devices in units of one point.
Reads bit devices in units of 16 or 32
points by randomly specifying the target.
0403
(0000)
Reads word devices in units of one or two
points by randomly specifying the target.
1402
Sets or resets bit devices in units of one
(0001)
point by randomly specifying the target.
Sets or resets bit devices in units of 16 or
32 points by randomly specifying the
1402
target.
(0000)
*2
Writes word devices in units of one or two
points by randomly specifying the target.
Registers bit devices to be monitored in
units of 16 or 32 points.
0801
(0000)
Registers word devices to be monitored
in units of one or two points.
0802
Monitors the devices registered.
(0000)
1630
Specifies a remote password to unlock
(0000)
the locked state.
1631
Specifies a remote password to lock the
(0000)
unlocked state.
) at the time of monitoring execution.
H
Number of
Description
processed
points
ASCII: 3584
points
BIN: 7168
points
960 words
(15360
points)
960 points
ASCII: 3584
points
BIN: 7168
points
960 words
(15360
points)
960 points
192 points
188 points
*5
192 points
Number of
registered
points
: Available, : N/A
CPU module status
RUN
STOP
Write
enabled
disabled
Write

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents