High−level Instructions
3 − 396
Explanation of example
Reads four words of data stored in the addresses starting from K19 to K22 of the intelligent unit shared
memory (located in slot 3) and stores them in data registers DT0 to DT3 of CPU when trigger R10 turns on.
(Slot No.)
01234
CPU
DT0
DT1
0
18
19
20
21
22
DT2
DT3
DT4
DT5
24
23
17
Intelligent unit
4 words
Power
CPU
Description
The n words of the data stored in the shared memory of the intelligent unit/board specified by S1 is read from
the address specified by S2, and is stored in the area specified by D of the CPU.
Specifying the various items
Specifying the slot number and bank number (S1)
Specify the slot in which the intelligent unit has been installed. If the memory has a bank, enter a specification
that matches the bank number.
Initial readout address of the shared memory for the intelligent unit (S2)
Specify this referring to the shared memory tables for the various intelligent units.
To specify address 2, specify “K2”.
Number of words to be read (n)
Specify this using a K constant.
To read 10 words of data, specify “K10”.
Flag conditions
・Error flag (R9007): Turns on and stays on when:
・Error flag (R9008): Turns on for an instant when:
− The value of S1 exceeds the limit of specified range.
− The area specified using the index modifier exceeds the limit.
− The read data exceeds the area of D.