6F3B0250
7. Instructions
FUN 024
TINZ
Table initialize
T1S only
Expression
Input
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
158 T1/T1S User’s Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net