4.2.2
Buffer memory access
T3 can read the PI312's buffer memory contents by using READ instruction (FUN237).
Also, T3 can write data into the buffer memory by using WRITE instruction (FUN238).
READ instruction (FUN237)
Expression:
[ (A) READ (B) → (C) ]
Operands:
(A):
(B):
(B)+1:
(C):
Example:
R0100
When R0100 is ON, 16 words of buffer memory data starting with address 0
are read from the PI312 which is allocated to XW000. And the data are stored
in D1000 and after.
I/O register (XW/YW) assigned to the PI312
Starting address of the buffer memory to be read
Number of words to be read (max. 17 for PI312)
Starting register of the destination
[ 00000 MOV D5000 ] [ 00016 MOV D5001 ]
[ XW000 READ D5000 → D1000 ]
4. Register Configuration
User's Manual
37