62
ASCII Interface Module (AS311)
Appendix
A.2 Specification of the WRITE instruction
FUN 238 Special module data write (WRITE)
Writes designated range of data into the special module.
Input Execution output
[ A WRITE B
→
C ]
Function
•
This instruction transfers data stored in T3’s registers starting with operand A into the buffer
memory of the special module that is designated by operand C.
•
The destination address (buffer memory
address) is designated by operand B.
•
The transfer size (number of words) is
designated by operand B+1.
Operand
Index
Constant
Device
Register
Opr Name
X Y S L R Z T. C. I O
XW
YW
SW
LW
RW
W T C D F IW O
W
I J K
A Top
register
of source
√
√
√
√
√
√
√
√
√
√
√
B Transfer
parameter
√
√
√
√
√
√
√
√
√
√
C Special
module
√
√
√
√
Program example
R0000
[ D0100 WRITE RW010
→
YW002 ]
•
When R0000 is ON, the register data of the size indicated by RW011, starting with D0100,
are transferred to the buffer memory starting with the address indicated by RW010 of the
special module allocated to YW002.
•
The maximum number of words to be transferred is 256 words.
T3
YW002 special module
RW010 320
RW011 150
Buffer memory
D0100 1234
WRITE
320 1234
D0249 5678
150 words
469 5678
Input Action Output
ERF
OFF No
execution
OFF
ON Normal
execution
ON
Error (see Note 2)
ON
ON
Содержание AS311
Страница 8: ...6 ASCII Interface Module AS311 ...
Страница 9: ...User s Manual 7 Section 1 AS311 Overview 1 1 Introduction 1 2 AS311 functions 1 3 External features ...
Страница 16: ...14 ASCII Interface Module AS311 ...
Страница 20: ...18 ASCII Interface Module AS311 ...
Страница 21: ...User s Manual 19 Section 3 Cable Connections 3 1 RS 232C connection 3 2 RS 422 connection ...
Страница 24: ...22 ASCII Interface Module AS311 ...
Страница 25: ...User s Manual 23 Section 4 Register Configuration 4 1 I O allocation and I O registers 4 2 AS311 buffer memory ...
Страница 60: ...58 ASCII Interface Module AS311 ...
Страница 61: ...User s Manual 59 Appendix A 1 Specification of the READ instruction A 2 Specification of the WRITE instruction ...