60
1 RUNNING A PROGRAM
1.5 Program Execution Type
■
Bit data ON (TRUE)
The program is executed at the execution turn specified in program setting of the CPU parameters, and if the specified bit
data is ON (TRUE) when the execution turn of the event execution type program comes, the program is executed. The current
values of the output (Y), timer (T), and long timer (LT) used in this program can be cleared at the execution turn that comes
after the specified bit data is changed from ON (TRUE) to OFF (FALSE).
Applicable devices are as follows.
*1 A local device or index-modified device cannot be specified.
*2 This is not available when "Use File Register of Each Program" is enabled. However, if no file register is assigned or if specification is
out of the range, interrupt is not be turned on (TRUE).
To measure the timer and the retentive timer continuously even when the trigger execution condition of the
event execution type program is not met, use the long timer (LT) and the long retentive timer (LST). The timer
(T) and the retentive timer (ST) can be used in the event execution type program. However, they do not
measure time when the trigger execution condition of the event execution type program is not met. Set "Clear
Output and Current Value of Timer" to "Clear" when using the timer (T) and the retentive timer (ST). (
Page 62 Trigger setting)
Note that if the above parameter is set, the use of the long timer (LT) and the long retentive timer (LST) is
limited to the same as that of the timer (T) and the retentive timer (ST). (They do not measure time
continuously when the trigger execution condition of the event execution type program is not met.)
(1) If Y50 is on when the execution turn of the event execution type program C comes, the program is executed. If Y50 is OFF, the program is not executed.
(2) When "Clear Output and Current Value of Timer" is set, the current values of the output (Y), timer (T), and long timer (LT) used in this program are cleared
at the execution turn of the event execution type program that comes after Y50 is off.
Item
Description
Device
Bit device
X(DX), Y, M, L, F, SM, B, SB, Jn\X, Jn\Y, Jn\B, Jn\SB
Bit specification of word device
D, SD, W, SW, R
, ZR
, RD, Un\G, Jn\W, Jn\SW
Y50
M0
Y50
M0
(1)
(2)
·
Y50: ON
Y50: OFF
Execution
order
Scan execution type program A
Scan execution type program B
Scan execution type program C
(Executed when Y50 is turned on.)
END processing
Power-on
→
RUN,
STOP
→
RUN
First scan
Second scan
Third scan
Fourth scan
Section where Y50 is ON
Содержание MELSEC iQ-R-R00CPU
Страница 2: ......
Страница 151: ...9 MONITOR FUNCTION 9 1 Real Time Monitor Function 149 9 MEMO ...
Страница 323: ...18 SEQUENCE SCAN SYNCHRONIZATION SAMPLING FUNCTION 321 18 MEMO ...
Страница 330: ...328 20 ROUTING SETTING 20 3 Precautions MEMO ...
Страница 423: ...26 BASIC CONCEPT 26 8 State Transition of the Redundant System 421 26 MEMO ...
Страница 524: ...522 30 MAINTENANCE AND INSPECTION FOR A REDUNDANT SYSTEM 30 1 Module Replacement in the Redundant System MEMO ...
Страница 1009: ...APPX Appendix 14 List of Available SQL Commands for CPU Module Database Access Function 1007 A MEMO ...
Страница 1014: ...1012 APPX Appendix 15 Added and Enhanced Functions MEMO ...
Страница 1027: ......