8 - 8 8 - 8
MELSEC-Q
8 COMMUNICATION WITH INTELLIGENT FUNCTION MODULE/SPECIAL
FUNCTION MODULE
8.3.2 Communication using FROM/TO instruction
(1) FROM/TO instruction
At the execution of the FROM/TO instruction, the data stored in the buffer
memory of the special function module can be read, or data can be written to the
buffer memory of the special function module.
The FROM instruction stores the data read from the buffer memory of the special
function module to the designated device.
The TO instruction writes the data of the designated device to the buffer memory
of the special function module.
REMARK
1) For the details of the FROM/TO instruction, refer to the following manuals.
• QCPU (Q mode)/QnACPU Programming Manual (Common Instructions)
2) For the details of the buffer memory of the special function module, refer to the
manual of the special function module being used.
8.3.3 Communication using the intelligent function module device
(1) Intelligent function module device
The intelligent function module device is the buffer memory of the special
function module represented as a device of High Performance model QCPU in
High Performance model QCPU programs.
It enables reading data stored in the buffer memory of the special function
module to be read, or writing data to the buffer memory of the special function
module.
(2) Difference from the FROM/TO instruction
The intelligent function module device can be handled as a device of High
Performance model QCPU, enabling the processing of data read from the special
function module with one instruction.
This saves the number of steps in the entire program.
The processing speed is the total of the instruction execution time and the access
time to/from the special function modules.
POINT
When reading and processing the data of the special function module frequently in
the program, use the FROM instruction to read the data at one point in the program
and store and process it in a data register, instead of using the intelligent function
module device every time.
Otherwise, the intelligent function module device accesses to the special function
module every time the instruction is executed, resulting in longer scan time for the
program.
REMARK
For the intelligent function module device, see Section 10.5.
Содержание QCPU (Q Mode)
Страница 111: ...5 19 5 19 MELSEC Q 5 ASSIGNMENT OF I O NUMBERS MEMO ...
Страница 450: ...App 59 App 59 MELSEC Q APPENDICES MEMO ...