7 Communication Using MC Protocol
62
FX
3U
-ENET-ADP User's Manual
7.4 List of Commands and Functions for The MC protocol
7.4
List of Commands and Functions for The MC protocol
The following table lists the commands and functions when an external device accesses the PLC.
*1.
Make sure to set a multiple of 16 as the head device number of bit devices.
*2.
Read or write 32 bits at a time when reading or writing double-word data in a user program, etc.
*3.
It is not possible to specify C199 or lower (16 bits) and C200 or higher (32 bits) at the same time.
Function
Command/
response type
Processing
Number of points
processed per
communication
Device
memory
Batch read
Bit units
00H
Reads bit devices (X, Y, M, S, T, C) in 1-point units.
256 points
Word units
01H
Reads bit devices (X, Y, M, S, T, C ) in 16-point units.
*1
32 words (512 points)
Reads word devices (D, R, T, C ) in 1-point units.
*2*3
The maximum number of communication points is 32 when
C200 or more is specified.
64 points
Batch write
Bit units
02H
Writes to bit devices (X, Y, M, S, T, C ) in 1-point units.
160 points
Word units
03H
Writes to bit devices (X, Y, M, S, T, C ) in 16-point units.
*1
10 words (160 points)
Writes to word devices (D, R, T, C ) in 1-point units.
*2*3
The maximum number of communication points is 32 when
C200 or more is specified.
64 points
Test
(Random write)
Bit units
04H
Sets/resets bit devices (X, Y, M, S, T, C) in 1-point units by
arbitrarily designating the devices and device number.
80 points
Word units
05H
Sets/resets bit devices (X, Y, M, S, T, C) in 16-point units by
arbitrarily designating the devices and device number.
10 words (160 points)
Sets/resets word devices (D, R, T, C) in 1-point units by
arbitrarily designating the devices and device numbers.
Not applicable for 32 bit devices from C200 to C255.
10 points
PLC control
Remote RUN
13H
Requests remote RUN/STOP to PLC.
-
Remote STOP
14H
PLC model name read
15H
Reads PLC model name code.
-
Loopback test
16H
Returns the character received from the other node to that node
with the data as it is.
254 bytes
Содержание FX3U-ENET-ADP
Страница 1: ...FX3U ENET ADP USER S MANUAL ...
Страница 2: ......
Страница 6: ... 4 Safety Precautions Read these precautions before use MEMO ...
Страница 160: ...154 FX3U ENET ADP User s Manual Revised History Revised History Date Revision Description 2 2012 A First Edition ...
Страница 161: ......