6F3B0250
7. Instructions
FUN 091
DPX
Demultiplexer
Expression
Input
Function
When the input is ON, the data of A is transferred to the register which is designated by B in the table, size n starting with 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 | Source |
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö |
|
n | Table size |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 - 64 |
|
B | Pointer |
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | Ö | 0 - 63 |
|
C | Start of table |
|
|
|
|
|
|
| Ö | Ö | Ö | Ö | Ö | Ö |
|
|
|
|
|
Example
When R011 is ON, the data of XW04 is transferred to the register which is designated by RW30 in the table D0500 to D0509 (10 registers size).
If the data of RW30 is 8, XW04 data is transferred to D0508.
Source XW04
3210
Destination table | Pointer | ||
D0500 |
|
| 0 |
D0501 |
|
| 1 |
D0507 |
|
| |
|
| 7 | |
D0508 | 3210 |
| 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.
Basic Hardware and Function 195
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net