
6F3B0250
7. Instructions
Program control instructions
FUN | Name |
|
| Expression | Function |
| Steps | Speed | Available | Page | ||
No. |
|
|
|
|
|
|
|
| (ms) | T1 | T1S |
|
128 | Subroutine call | Calls the subroutine number n. | 2 | 21.0 | Ö | Ö | 221 | |||||
129 | Subroutine | Indicates the end of a |
| 1 | (in a | Ö | Ö | 222 | ||||
| return |
|
|
|
| subroutine. |
|
| pair) |
|
|
|
132 | FOR | When the input of FOR is ON, | 2 | 22.0 | Ö | Ö | 223 | |||||
|
|
|
|
|
| executes the segment from |
| (in a |
|
|
| |
133 | NEXT | FOR to NEXT the number of | 1 | pair) | Ö | Ö | 224 | |||||
|
|
|
|
|
| times specified by n. |
|
|
|
|
|
|
137 | Subroutine | Indicates the start of the | 2 | included | Ö | Ö | 225 | |||||
| entry |
|
|
|
| subroutine number n. |
|
| in CALL |
|
|
|
140 | Enable interrupt | EI | ]- |
| Enables execution of interrupt | 1 | 27.6 | Ö | Ö | 226 | ||
|
|
|
|
|
| program. |
|
| (in a |
|
|
|
141 | Disable | DI | ]- |
| Disables execution of interrupt | 1 | pair) | Ö | Ö | 227 | ||
| interrupt |
|
|
|
| program. |
|
|
|
|
|
|
142 | Interrupt return | Indicates the end of an interrupt | 1 | 1.4 | Ö | Ö | 228 | |||||
|
|
|
|
|
| program. |
|
|
|
|
|
|
143 | Watchdog timer | Extends the scan time over | 2 | 16.1 | Ö | Ö | 229 | |||||
| reset |
|
|
|
| detection time. |
|
|
|
|
|
|
144 | Step sequence | (n) A ]- | Resets OFF the n | These | 3 | 59.9 - | Ö | Ö | 230 | |||
| initialize |
|
|
|
| devices stating with | configure |
| 65.0 |
|
|
|
|
|
|
|
|
| A, and sets ON A. | a series |
|
|
|
|
|
145 | Step sequence | A ]- | Turns ON output if | of step | 2 | 27.0 | Ö | Ö | 231 | |||
| input |
|
|
|
| input is ON and A is | sequence |
|
|
|
|
|
|
|
|
|
|
| ON. |
|
|
|
|
|
|
146 | Step sequence | When input is ON, |
| 2 | 27.0 - | Ö | Ö | 232 | ||||
| output |
|
|
|
| resets OFF the |
|
| 119.0 |
|
|
|
|
|
|
|
|
| devices of STIN on |
|
|
|
|
|
|
|
|
|
|
|
| the same rung, and |
|
|
|
|
|
|
|
|
|
|
|
| sets ON A. |
|
|
|
|
|
|
RAS
FUN | Name | Expression | Function | Steps | Speed | Available | Page | |
No. |
|
|
|
| (ms) | T1 | T1S |
|
154 | Set calendar | Sets 6 registers data starting | 2 |
|
| Ö | 235 | |
|
|
| with A into clock/calendar. |
|
|
|
|
|
155 | Calendar | Calculates difference between | 3 |
|
| Ö | 236 | |
| operation |
| present date & time and past |
|
|
|
|
|
|
|
| date & time stored in 6 registers |
|
|
|
|
|
|
|
| starting with A, and stores the |
|
|
|
|
|
|
|
| result in 6 registers starting with |
|
|
|
|
|
|
|
| B. |
|
|
|
|
|
130 T1/T1S User’s Manual
CTi Automation - Phone: 800.894.0412 - Fax: 208.368.0415 - Web: www.ctiautomation.net - Email: info@ctiautomation.net