Mitsubishi Electric MELSEC-Q00U(J)CPU User Manual page 111

Table of Contents

Advertisement

(2) Communications with the FROM and TO instructions
The FROM instruction stores data read from the buffer memory of the intelligent function module to the specified
device.
The TO instruction writes data stored in the specified device to the buffer memory of the intelligent function
module.
For details on the FROM and TO instructions, refer to the following.
MELSEC-Q/L Programming Manual (Common Instruction)
(3) Communications using the intelligent function module device
The intelligent function module device represents the buffer memory of the intelligent function module as one of
the CPU module devices. (
The difference from the FROM and TO instructions is that, with this device, both reading and writing data from
and to the intelligent function module can be processed with one instruction.
(4) Communications using the intelligent function module dedicated instruction
This instruction enables easy programming for the use of functions of the intelligent function module.
Serial communication module dedicated instruction (OUTPUT instruction)
Ex.
The OUTPUT instruction allows communications with external device by nonprocedural protocol
regardless of the buffer memory address of the serial communication module.
CPU module
b15
to
S2 + 0
+ 1
+ 2
(a) Processing of the intelligent function module dedicated instruction
When using multiple intelligent function module dedicated instructions to one intelligent function module,
execute the dedicated instructions one by one after the completion device turns on. This completion device
turns on for one scan when an instruction is completed. If the CPU module status is changed from RUN to
STOP before the completion device turns on, the completion device does not turn on until one scan after the
next RUN of CPU module.
For details on the intelligent function module dedicated instructions and the completion device, refer to the
following.
Manual for the intelligent function module used
Page 382, Section 4.5.1)
Serial communication module
b0
Channel 1
Channel 2
CHAPTER 2 APPLICATION OF PROGRAMMING
Send
Send
Set channels to
be used in
control data.
2
109

Advertisement

Table of Contents
loading

Table of Contents