
6F3B0253
7. Instructions
Program control instructions
FUN | Name |
|
|
| Expression | Function |
| Steps | Speed | Page | ||
No. |
|
|
|
|
|
|
|
|
| (∝ s) |
| |
128 | Subroutine call | − [ CALL N. n ]− | Calls the subroutine number n. | 2 | 21.0 | 203 | ||||||
129 | Subroutine | −− | [ RET ]− | Indicates the end of a |
| 1 | (in a | 204 | ||||
| return |
|
|
|
|
| subroutine. |
| pair) | |||
|
|
|
|
|
|
|
|
| ||||
132 | FOR | − | [ FOR n ]− | When the input of FOR is ON, | 2 | 22.0 | 205 | |||||
|
|
|
|
|
|
| executes the segment from | |||||
|
|
|
|
|
|
|
| (in a |
| |||
133 | NEXT | − [ NEXT ]− | FOR to NEXT the number of |
|
| |||||||
1 | pair) | 206 | ||||||||||
|
|
|
|
|
|
| times specified by n. |
| ||||
|
|
|
|
|
|
|
|
|
|
| ||
137 | Subroutine | − | [ SUBR (n) ]−− | Indicates the start of the | 2 | included | 207 | |||||
| entry |
|
|
|
|
| subroutine number n. |
|
| in CALL |
| |
140 | Enable | − | [ | EI | ]− |
| Enables execution of interrupt | 1 | 27.6 | 208 | ||
| interrupt |
|
|
|
|
| program. |
| ||||
|
|
|
|
|
|
|
| (in a |
| |||
141 | Disable | − | [ | DI | ]− |
| Disables execution of interrupt |
|
| |||
| 1 | pair) | 209 | |||||||||
| interrupt |
|
|
|
|
| program. |
| ||||
|
|
|
|
|
|
|
|
|
| |||
142 | Interrupt return | −− | [ IRET ]− | Indicates the end of an interrupt | 1 | 1.4 | 210 | |||||
|
|
|
|
|
|
| program. |
| ||||
|
|
|
|
|
|
|
|
|
|
| ||
143 | Watchdog | − | [ WDT n ]− | Extends the scan time over | 2 | 16.1 | 211 | |||||
| timer reset |
|
|
|
|
| detection time. |
| ||||
|
|
|
|
|
|
|
|
|
| |||
144 | Step sequence | − | [ STIZ | (n) A ]− | Resets OFF the n | These |
| 59.9 - |
| |||
| initialize |
|
|
|
|
| devices stating with | configure | 3 | 212 | ||
|
|
|
|
|
| 65.0 | ||||||
|
|
|
|
|
|
| A, and sets ON A. | a series |
|
| ||
|
|
|
|
|
|
|
|
|
| |||
145 | Step sequence | − | [ STIN | − | Turns ON output if | of step |
|
|
| |||
| A ] | sequence |
|
|
| |||||||
| input |
|
|
|
|
| input is ON and A is | 2 | 27.0 | 213 | ||
|
|
|
|
|
|
| ON. |
|
|
|
| |
146 | Step sequence | − | [ STOT A ]− | When input is ON, |
|
|
|
| ||||
| output |
|
|
|
|
| resets OFF the |
|
| 27.0 - |
| |
|
|
|
|
|
|
| devices of STIN on |
| 2 | 214 | ||
|
|
|
|
|
|
|
| 119.0 | ||||
|
|
|
|
|
|
| the same rung, and |
|
|
| ||
|
|
|
|
|
|
|
|
|
|
| ||
|
|
|
|
|
|
| sets ON A. |
|
|
|
|
RAS
FUN | Name | Expression | Function | Steps | Speed | Page |
No. |
|
|
|
| (∝ s) |
|
154 | Set calendar | − [ A CLND ]− | Sets 6 registers data starting | 2 |
| 217 |
|
|
| with A into clock/calendar. |
| ||
|
|
|
|
|
| |
155 | Calendar | − [ A CLDS B ]− | Calculates difference between |
|
|
|
| operation |
| present date & time and past |
|
|
|
|
|
| date & time stored in 6 registers | 3 |
| 218 |
|
|
| starting with A, and stores the |
| ||
|
|
|
|
|
| |
|
|
| result in 6 registers starting with |
|
|
|
|
|
| B. |
|
|
|
112