Data Exchange - Toshiba PROSEC T1-16S User Manual

Programmable controller basic hardware and function
Hide thumbs Also See for PROSEC T1-16S:
Table of Contents

Advertisement

FUN 022
XCHG
Expression
Input
[ A XCHG B ]
Function
When the input is ON, the data of A and the data of B is exchanged.
Execution condition
Input
OFF
No execution
ON
Execution
Operand
Name
X
A Operation data
B Operation data
Example
When R005 is ON, the data of RW23 and D0100 is exchanged. If the original data of RW23 is
23456 and that of D0100 is 291, the operation result is as follows.
RW23
23456
D0100
291
Before operation

Data exchange

Output
Operation
Device
Y
R
S
T.
C. XW YW RW SW T
RW23
D0100
After operation
Output
OFF
ON
Register
C
D
291
23456
Basic Hardware and Function
6F3B0253
7. Instructions
Constant Index
I
J
K
139

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents