Mc Protocol Commands; Command List - Mitsubishi MELSEC L Series User Manual

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

5.2

MC Protocol Commands

5.2.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
Random
In units
Device
read *2
of words
memory
In units
of bits
Test
(Random
In units
write)
of words
*2
Monitor
In units
registration
of words
*2*3*4
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.
Command
(Subcomm
Description
and)*1
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 point by
(0001)
randomly specifying the target.
Sets or resets bit devices in units of 16 or 32 points
by randomly specifying the target.
1402
(0000)
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 the locked
(0000)
state.
1631
Specifies a remote password to lock the unlocked
(0000)
state.
CHAPTER 5 MC PROTOCOL COMMUNICATION
CPU module state
Number of
processed points
STOP
enabled
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
-
-
) at the time of monitoring execution.
H
: Available,
×: N/A
RUN
Write
Write
disabled
5
×
×
33

Advertisement

Table of Contents
loading

Table of Contents