Mitsubishi Electronics FX5 Universal Remote User Manual


 
26
1 PROGRAM EXECUTION
1.4 Execution Type of Program
Bit data ON (TRUE)
When it is the turn of the corresponding program to be executed, the program is executed if the specified bit data is ON. This
eliminates the need for creating a program for monitoring triggers in a separate program.
Applicable devices are as follows.
*1 Indexed devices cannot be specified.
Elapsed time
The program is executed once when it is the turn of the corresponding program to be executed first after the CPU module is
run and the specified time has elapsed. For second execution onwards, the time is re-calculated from the start of the previous
event execution type program. When it is the turn of the corresponding program to be executed first after specified time has
elapsed, program execution is repeated. Output (Y) currently used in the corresponding program and the current values of
timer (T) can be cleared at the next scan following execution of the corresponding program. This will not be always executing
an interrupt at a constant cycle but can be used when executing a specified program after a specified time has elapsed.
Output and timer current values are not cleared even when the program is set so that output and timer current
values are cleared, if the scan time is longer than the elapsed time set value.
(1) The program is executed if Y50 is ON when it is the turn of event execution type program C to be executed.
Item Description
Device
*1
Bit device X (DX), Y, M, L, F, SM, B, SB
Bit specification in word device D, SD, W, SW, R, U\G
(1) When it is the turn of the first execution after the specified time has elapsed, event execution type program C is executed.
Y50
M0
Y50
M0
(1)
1st scan 2nd scan 3rd scan 4th scan
STOP/PAUSERUN
Scan execution type program A
END processing
Scan execution type program B
Execution order
Y50 is the ON interval
Y50 turns OFFY50 turns ON
Event execution type program C
(Executed when Y50 turns ON)
10 ms 10 ms
(1)
1st scan 2nd scan 3rd scan 4th scan
STOP/PAUSERUN
Scan execution type program A
END processing
Scan execution type program B
Execution order
Measurement interval
Event execution type program C
(Executed when 10 ms elapses)
Specified time 10
ms has passed
Specified time 10
ms has passed