6.4 Communication with PLC Manufactured by Mitsubishi Electric
Corporation (MELSEC protocol)
In Ethernet communication between the CPU-03/CPU-04 and MELSEC (Q, A series) general-purpose PLC manufac-
tured by Mitsubishi Electric Corporation, the MELSEC protocol (A-compatible 1E frame) is used as a communication
protocol.
Using the MELSEC protocol allows a master to read/write the slave register content.
This section explains communication when the CPU-03/CPU-04 acts as a slave and a master respectively.
For using the CPU-03/CPU-04 as a slave, we explain communication using the automatic receive function.
For using the CPU-03/CPU-04 as a master, we explain communication using the I/O message communication function.
6.4.1 When the CPU-03/CPU-04 Acts as Slave (automatic receive function is used)
This section explains how to carry out a fixed buffer communication with the BUFSND command (with procedure) of
the MELSEC Q series using the CPU-03/CPU-04 automatic receive function.
Slave
CPU-03/CPU-04
(Local station)
YASKAWA
Ethernet
CPU-03/CPU-04
Automatic receive function
(ladderless)
218IFA/218IFC
218IFA
Fig. 6.12 Message Flow with the MELSEC Q Series when the Automatic Receive Function Is Used
Caution
Communication using the automatic receive function is 1:1 communication.
Also, when "Communication Protocol Type: MELSEC" is used in communication with the MELSEC Q series, the MELSEC Q
series (master) side can read/write the holding register of the CPU-03/CPU-04 (slave) using fixed buffer communication.
However, when the CPU-03/CPU-04 acts as a slave, you cannot use the inter-CPU or random access communication, because of
the MELSEC specifications.
In addition, use the message receive function (MSG-RCV) when communicating with multiple remote devices.
6.4 Communication with PLC Manufactured by Mitsubishi Electric Corporation (MELSEC protocol)
6.4.1 When the CPU-03/CPU-04 Acts as Slave (automatic receive function is used)
Communication Protocol
Type
Connection Type
Data Code Type
MELSEC protocol
(fixed buffer communication, with procedure)
MELSEC Q series
(Remote station)
MELSEC protocol
TCP / UDP
BIN / ASCII
MELSEC Q series
BUFSND command
(ladder application)
Master
Ethernet
6-73
6