
346
7 APPLICATION INSTRUCTION
7.4 Structuring instruction
Example in which latched outputs are reset (countermeasures)
RST
C0
Y7
X1
1
2
3
[Timing chart]
Subroutine is executed.
Remains reset
Y7 being output
Outputs are latched.
Because the C0 reset instruction is valid,
the current value of C0 remains
unchanged even if a pulses are input.
Execution of subroutine
P0 triggered by X0
Counter
reset
Current
value of
C0
X0
P0
P0
CALLP
RET
X1
C0
K10
FEND
X0
C0
A
RST
C0
RST
Y7
X2
Y7
RST
B
SM401
[Program example]
RUN Monitor
(normally OFF)
Program to reset Y7 at
an arbitrary timing
Program to reset the preceding C0
reset instruction inside the subroutine
Summary of Contents for MELSEC iQ-F FX5 series
Page 1: ...MELSEC iQ F FX5 Series Programming Manual Instructions Standard Functions Function Blocks ...
Page 2: ......
Page 21: ...19 PART 1 PART 1 OVERVIEW Part 1 consists of the following chapter 1 OVERVIEW ...
Page 98: ...96 4 STANDARD FUNCTIONS FUNCTION BLOCKS 4 2 Standard Function Blocks MEMO ...
Page 840: ...838 23 TIME DATA FUNCTIONS 23 4 Division MEMO ...
Page 887: ......