7
COMMUNICATION USING BUILT-IN ETHERNET
PORTS OF CPU MODULE
7.4 MC Protocol Communication
7
- 15
1
O
verv
iew
2
Per
fo
rma
nce
S
p
ecifica
tio
n
3
S
equ
en
ce P
ro
g
ra
m
Co
nfig
ura
tio
n a
nd
E
xecut
io
n Co
nd
iti
o
ns
4
I/O N
unb
er
Assig
n
m
e
nt
5
Me
mor
ie
s a
nd
File
s
Ha
nd
led
by CP
U Mo
du
le
6
Func
tions
7
Co
mmu
nic
a
tion
us
in
g
bu
ilt
-i
n E
th
e
rne
t po
rt
s o
f
CP
U mod
u
le
8
Co
mm
un
icatio
n
w
ith
Int
e
lli
ge
nt
Fun
ction
Mo
du
le
(2) Command list
When the Built-in Ethernet port QCPU communicates using the MC protocol,
commands listed in Table7.3 can be executed.
For details on the MC protocol, refer to the following manual.
Q Corresponding MELSEC Communication Protocol Reference Manual
: Available : Not available
* 1 : Subcommand is for the QnA-compatible 3E frame.
* 2 : Devices such as TS, TC, SS, SC, CS, and CC cannot be specified in units of words. For the
monitor registration, an error (4032
H
) occurs during the monitor operation.
* 3 : During monitor registration, monitor condition cannot be set.
* 4 : Do not execute monitor registration from multiple external devices. If executed, the last monitor
registration becomes valid.
* 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
• Bit devices are regarded as 16 bits during word access and 32 bits during double-word access.
• Word devices are regarded as one word during word access and two words during double-word
access.
Table7.3 List of MC protocol commands supported in MC protocol communication function of Built-in Ethernet port QCPU
Function
Command
(Subcommand)
*1
Description
Number of
processed points
Status of CPU module
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 a device or device number.
192 points
Reads word devices in units of one or two points by
randomly specifying a device or device number.
Test
(Random
write)
In units
of bits
1402
(0001)
Sets/resets bit devices in units of one point by
randomly specifying a device or device number.
188 points
In units
of words
*2
1402
(0000)
Sets/resets bit devices in units of 16 or 32 points by
randomly specifying a device or device number.
*5
Writes word devices in units of one or two points by
randomly specifying a device or device number.
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 devices registered.
Number of
registered points
Remote
password
Unlock
1630
(0000)
Specifies the remote password and changes the
status from locked to unlocked.
---
Lock
1631
(0000)
Specifies the remote password and changes the
status from unlocked to locked.
---