Mc Protocol Commands - Mitsubishi Electric Q03UDVCPU User Manual

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
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.
(a) When 4E frame or QnA-compatible 3E frame is used
Function
In units
of bits
Batch read
In units
of words
In units
of bits
Batch write
In units
of words
Random
In units
*1
of words
read
Device
memory
In units
of bits
Test
(Random
In units
write)
of words
*1
Monitor
In units
registration
of words
*1*2*3
In units
Monitor
of words
Unlock
Remote
password
Lock
*1
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
*2
For monitor registration, monitoring conditions cannot be set.
*3
Do not execute monitor registration from multiple devices. If executed, the last monitor registration takes effect.
*4
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.
54
Command
(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)
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
(0000)
locked state.
1631
Specifies a remote password to lock the
(0000)
unlocked state.
Description
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
*4
192 points
Number of
registered points
) at the time of monitoring execution.
H
: Available,
CPU module state
Number of
processed
STOP
Write
points
enabled
-
-
×: N/A
RUN
Write
disabled
×
×

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents