Toshiba 6F3B0253 Sprinkler User Manual


 
6F3B0253
Basic Hardware and Function 95
6. Programming Information
6.6.2 Sub-program #1
If the sub-program #1 is programmed, it is executed once at the beginning of the first
scan (before main program execution).
Therefore, the sub-program #1 can be used to set the initial value into the registers.
The sub-program #1 is called the initial program.
The figure below shows the first scan operation.
The end of the sub-program #1 is recognized by the END instruction.
6.6.3 Timer interrupt program
The timer interrupt is the highest priority task. It is executed cyclically with a user
specified interval, with suspending other operation.
The interrupt interval is set in the system information. (5 to 1000 ms, 5 ms units)
The end of the timer interrupt is recognized by the IRET instruction.
I/O
Main program
Main programSub#1Timer I/OMode Timer
RUN mode
transition
1st scan
2nd scan
Time
1 scan1 scan1 scan
Scan
Timer interrupt
1 scan
Timer interrupt
interval
Timer interrupt
interval
Time