6F3B0250
7. Instructions
FUN 237
READ
Special module data read
Expression
Input
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
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 | |||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| ||||||||
|
|
|
|
|
| Buffer memory |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| RW51 | |||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |||||||||||||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
H8000
16
H8000
1234
READD0100
1234
H800F
5678
16 words |
|
|
|
|
|
|
|
|
|
|
| D0115 | ||||||||||||||||||
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5678
Basic Hardware and Function 263
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net