6 - 1 6 - 1
MELSEC-Q
6 DEDICATED INSTRUCTIONS
6 DEDICATED INSTRUCTIONS
The dedicated instructions are used to simplify programming for using the functions
available for the intelligent function module.
This chapter explains the dedicated instructions for the functions that are explained in
this manual, among those dedicated commands available for the Ethernet module that
can be used by QCPU.
6.1 Dedicated Instruction List
The following table lists the dedicated instructions explained in this chapter.
Application
Dedicated
instruction
Functional description
Reference
section
MRECV
Reads received e-mails.
Section 6.2
For E-mail sending/receiving
MSEND
Sends e-mails.
Section 6.3
READ
Reads data from word devices of other station.
Section 6.4
SREAD
Reads from other station's device
(with completion device).
Section 6.10
WRITE
Writes to other station's device.
Section 6.12
SWRITE
Writes to other station's device
(with completion device).
Section 6.11
ZNRD
Reads from other station's device (for ACPU).
Section 6.13
For reading/writing
device data
ZNWR
Writes to other station's device (for ACPU).
Section 6.14
SEND
Sends data to other station.
Section 6.9
RECV
Reads receive data from other station.
(For the main program)
Section 6.6
For message (any
data) sending/
receiving
RECVS
Reads receive data from other station.
(For interrupt programs)
Section 6.6
Issues a remote RUN/STOP request to other
station.
Section 6.7
For communication
with the PLC CPU of
other station
Data link
instruction
For reading/writing
clock data
Remote RUN/STOP
REQ
Reads/writes clock data of other station.
Section 6.8
POINT
(1) The user should not change data (control data, request data, etc.) designated
with any of the dedicated instructions until the execution of that instruction is
completed.
(2) Only PLC CPUs of QCPU modules can handle the higher two digits of the year
(Gregorian calendar) in the clock data that are processed with dedicated
instructions.
Thus, when executing dedicated instructions on PLC CPUs other than QCPUs,
the data portion of the higher two digits of the year is treated as "00
H
."
(3) All dedicated instructions must be executed online.
If any of the dedicated instructions is executed offline, no error will occur, but the
execution of the dedicated instruction will not be completed.
6