6F3B0250
Basic Hardware and Function
263
7. Instructions
FUN 237
READ
Special module data read
Expression
Input
-
[
A
READ
B
®
C
]
-
Output
Function
When the input is ON, this instruction reads data from the buffer memory of the special module that is
designated by operand
A, and stores them in registers starting with operand C.
The transfer source address (buffer memory address) is designated by operand
B.
The transfer size (number of words) is designated by operand
B+1.
This instruction is only effective for the T2 I/O modules connected to the T1-40 or T1-40S.
Execution condition
Input
Operation
Output
ERF
OFF
No execution
OFF
-
ON
Normal execution
ON
-
When error is occurred (see Note)
ON
Set
Operand
Name
Device
Register
Constant Index
X
Y
R
S
T.
C. XW YW RW SW
T
C
D
I
J
K
A
Special module
Ö
Ö
H0004 -
H0007
B
Transfer
parameter
Ö
Ö
Ö
Ö
Ö
Ö
Ö
C
Destination
Ö
Ö
Ö
Ö
Ö
Ö
Example
When R010 is ON, the buffer memory data of the size indicated by RW51, starting with the
address indicated by RW50 of the special module allocated to XW06, are read and stored in
D0100 and after.
XW06 special module
T1/T1S
RW50 H8000
Buffer memory
RW51 16
H8000 1234
READ
D0100 1234
H800F 5678
16 words
D0115 5678
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: [email protected]