A.1 Specification Of The Read Instruction - Toshiba AS311 User Manual

Programmable controller ascii interface module
Hide thumbs Also See for AS311:
Table of Contents

Advertisement

Appendix

A.1 Specification of the READ instruction

FUN 237 Special module data read (READ)
Reads designated range of data from the special module.
Input
[ A READ B
Function
This instruction reads data from the buffer memory of the special module that is
designated by operand A, and stores them in T3's 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.
Operand
Opr
Name
X
A Special
module
B Transfer
parameter
C Top register
of destination
Program example
R0000
When R0000 is ON, the buffer memory data of the size indicated by RW011, starting with the
address indicated by RW010 of the special module allocated to XW000, are read and stored in
D0100 and after.
The maximum number of words to be read is 256 words.
XW000 special module
Buffer memory
20 1234
35 5678
60
ASCII Interface Module (AS311)
Execution output
C ]
Device
Y
S
L
R
Z
T. C.
[ XW000 READ RW010
READ
16 words
Input
OFF No execution
ON
Normal execution
Error (see Note 2)
I
O XW YW SW LW RW W
D0100 ]
T3
RW010
RW011
D0100
D0115
Action
Output
OFF
ON
ON
Constant
Register
T
C
D
F IW O
I
J
W
20
16
1234
5678
ERF
ON
Index
K

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosec t3

Table of Contents