Toshiba PROSEC T3 User Manual page 98

Hide thumbs Also See for PROSEC T3:
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
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
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. (17 words for PI312)
XW000 special module
Buffer memory
0
1234
7
5678
96
Pulse Input Module (PI312)
[ A READ B → C ]
Device
X
Y
S
L
R
Z
T. C.
[ XW000 READ RW010 → D0100 ]
Execution output
Input
OFF No execution
ON
Normal execution
Error (see Note 2)
I
O XW YW SW LW RW W
√ √
√ √ √ √ √ √ √ √ √ √
√ √ √ √ √ √ √ √ √
T3
RW010
RW011
READ
D0100
8 words
D0107
Action
Output
OFF
ON
ON
Register
T
C
D
F IW O
I
W
0
8
1234
5678
ERF
ON
Index
Constant
J
K
√ √

Advertisement

Table of Contents
loading

Table of Contents