6F3B0253
7. Instructions
FUN 024
TINZ
Table initialize
Expression
Input − [ A TINZ (n) B ]− Output
Function
When the input is ON, the data of A is stored in n registers starting with B.
The allowable range of the table size n is 1 to 1024 words.
Execution condition
Input |
| Operation | Output |
OFF | No execution |
| OFF |
ON | 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 - 1024 |
|
B | Start of |
|
|
|
|
|
|
| √ |
| √ | √ | √ | √ | √ |
|
|
|
|
|
|
| destination |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Example
When R010 is ON, a constant data (0) is stored in 100 registers starting with D0200 (D0200 to D0299) and the output is turned ON.
Constant
0
D0200
D0201
D0202
0
0
0
100 registers
D0299
0
140