Instructions fun 090 mpx multiplexer – Toshiba 6F3B0253 User Manual
Page 178

6F3B0253
176
T1-16S User’s Manual
7. Instructions
FUN 090
MPX
Multiplexer
Expression
Input
−
[ A MPX (n) B
→
C ]
−
Output
Function
When the input is ON, the data of the register which is designated by B in the table, size n starting
with A, is transferred to C.
Execution condition
Input
Operation
Output
OFF
No execution
OFF
ON
Normal execution
OFF
Pointer over (no execution)
ON
Operand
Name
Device
Register
Constant Index
X
Y
R
S
T.
C. XW YW RW SW T
C
D
I
J
K
A Start of table
√
√
√
√
√
√
√
n Table size
1 - 64
B Pointer
√
√
√
√
√
√
√
√
√
√
0 - 63
C Destination
√
√
√
√
√
√
√
√
√
Example
When R010 is ON, the register data which is designated by RW30 is read from the table
D0500 to D0509 (10 registers size), and stored in D0005.
If the data of RW30 is 7, D0507 data is transferred to D0005.
Source table
Pointer
Destination
D0500
0
D0005
12345
D0501
1
D0507
12345
7
D0508
8
D0509
9
Note
•
If the pointer data designates outside the table (10 or more in the above example), the transfer
is not executed and the output comes ON.
•
The table must be within the effective range of the register address.