A.2 Specification Of The Write Instruction - Toshiba AS311 User Manual

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

Advertisement

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
[ A WRITE B
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
Opr
Name
X
A Top register
of source
B Transfer
parameter
C Special
module
Program example
R0000
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.
RW010
RW011
D0100
D0249
62
ASCII Interface Module (AS311)
C ]
Device
Y
S
L
R
Z
T. C.
[ D0100 WRITE RW010
T3
320
150
1234
WRITE
5678
150 words
Execution output
Input
OFF No execution
ON
Normal execution
Error (see Note 2)
I
O XW YW SW LW RW W
YW002 ]
YW002 special module
Buffer memory
320 1234
469 5678
Action
Output
OFF
ON
ON
Constant
Register
T
C
D
F IW O
I
J
W
ERF
ON
Index
K

Advertisement

Table of Contents
loading

This manual is also suitable for:

Prosec t3

Table of Contents