Mitsubishi Electric QJ71C24N User Manual page 292

Q corresponding serial communication module
Table of Contents

Advertisement

10 DEDICATED INSTRUCTIONS
Program example
10 - 10
The following example shows a program that sends any data stored in D11 to D15
using the non procedure protocol.
When input/output signals of the Q series C24 are from X/Y00 to X/Y1F:
The transmission command is converted into pulse.
Transmission data is stored.
Designate the number of the interface (CH
send the data.
Clear the transmission result storage device to 0.
Designate the transmission data count in word units.
(Designate K10 when the unit is bytes.)
The transmission data stored in the designated device
is sent.
After the OUTPUT instruction is executed, the user
designated transmission complete signal (M0) turns
ON for one scan.
Storing the transmission data and writing the
transmission data count in the buffer memory, and
issuing a transmission request to the Q series C24 are
all executed by the programmable controller CPU.
The completion flag is reset by an external instruction.
MELSEC-Q
) that will
10 - 10

Advertisement

Table of Contents
loading

Table of Contents