8
- 7
8.1 Communication Between CPU Module and Intelligent Function Modules
8.1.4 Communication by intelligent function module device
8
COMMUNICATION WITH INTELLIGENT FUNCTION
MODULE
8.1.4 Communication by intelligent function module device
(1) Intelligent function module device
The intelligent function module device is the buffer memory of the intelligent function
module represented as a device of the CPU module program. (
The data stored in the intelligent function module buffer memory can be handled by
the sequence instruction like the device memory.
For example, programming can be performed as shown below when "100" is written
to the buffer memory address 0 of the intelligent function module whose I/O numbers
are X/Y20 to X/Y2F.
(2) Difference from the FROM/TO instruction
The intelligent function module device can be handled as a device of the CPU
module, enabling the processing of data read from the intelligent function module with
one instruction.
For example, the following programming will be processed as the same as when
reading and adding data from the intelligent function module and storing the result into
D2.
This saves the number of steps in the entire program.
The instruction processing time is the time obtained by adding the time for access to/
from the intelligent function modules to the instruction execution time.
Figure 8.4 How to use the intelligent function module device
Figure 8.5 Application example of the intelligent function module device
MOV K100 U2\G0
Buffer memory address
I/O number X/Y20
+ U2\G0 D0 D2
Содержание Q00CPU
Страница 1: ......
Страница 2: ......
Страница 972: ...Index 6 Memo ...
Страница 975: ......
Страница 976: ......