33
CHAPTER 5 MC PROTOCOL COMMUNICATION
5
5.
2
M
C
Prot
ocol
C
o
mm
ands
5.
2.
1
Com
m
and li
st
5.2
MC Protocol Commands
5.2.1
Command list
The following commands are executable for MC protocol communication of the CPU module.
: Available,
×: N/A
*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
H
) at the time of monitoring execution.
*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.
Function
Command
(Subcomm
and)*1
Description
Number of
processed points
CPU module state
STOP
RUN
Write
enabled
Write
disabled
Device
memory
Batch read
In units
of bits
0401
(0001)
Reads bit devices in units of one point.
ASCII: 3584 points
BIN: 7168 points
In units
of words
0401
(0000)
Reads bit devices in units of 16 points.
960 words
(15360 points)
Reads word devices in units of one point.
960 points
Batch write
In units
of bits
1401
(0001)
Writes bit devices in units of one point.
ASCII: 3584 points
BIN: 7168 points
×
In units
of words
1401
(0000)
Writes bit devices in units of 16 points.
960 words
(15360 points)
Writes word devices in units of one point.
960 points
Random
read *2
In units
of words
0403
(0000)
Reads bit devices in units of 16 or 32 points by
randomly specifying the target.
192 points
Reads word devices in units of one or two points by
randomly specifying the target.
Test
(Random
write)
In units
of bits
1402
(0001)
Sets or resets bit devices in units of one point by
randomly specifying the target.
188 points
×
In units
of words
*2
1402
(0000)
Sets or resets bit devices in units of 16 or 32 points
by randomly specifying the target.
*5
Writes word devices in units of one or two points by
randomly specifying the target.
Monitor
registration
*2*3*4
In units
of words
0801
(0000)
Registers bit devices to be monitored in units of 16
or 32 points.
192 points
Registers word devices to be monitored in units of
one or two points.
Monitor
In units
of words
0802
(0000)
Monitors the devices registered.
Number of
registered points
Remote
password
Unlock
1630
(0000)
Specifies a remote password to unlock the locked
state.
-
Lock
1631
(0000)
Specifies a remote password to lock the unlocked
state.
-
Summary of Contents for MELSEC L Series
Page 1: ......
Page 2: ......
Page 19: ...17 CHAPTER 1 OVERVIEW 1 Memo ...
Page 116: ...114 Memo ...
Page 123: ......