Mitsubishi Electric MELSEC iQ-R Series User Manual page 110

Process cpu module
Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

■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).
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
(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.
Applicable devices are as follows.
Item
*1
Device
*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 110 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.)
8 RUNNING A PROGRAM
108
8.5 Program Execution Type
Power-on → RUN,
STOP → RUN
First scan
Second scan
M0
Y50: ON
Y50
Bit device
Bit specification of word device
Third scan
Section where Y50 is ON
(1)
Y50: OFF
Description
X(DX), Y, M, L, F, SM, B, SB, Jn\X, Jn\Y, Jn\B, Jn\SB
*2
D, SD, W, SW, R
, ZR
Fourth scan
(2)
M0
Y50
*2
, RD, Un\G, Jn\W, Jn\SW

Advertisement

Table of Contents
loading

Table of Contents