Program Execution Order - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

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

Advertisement

Item
Operation result rising edge
pulse conversion
Operation result falling edge
pulse conversion
Operation result inversion
Coil
Instruction
Loopback
Function
Function block

Program execution order

The program is executed in order of the following numbers.
Ò
Ô
X1
X3
Ó
X2
When the above program is executed, Y1 and Y2 turn on while X1 to X4 turn on or off as shown below.
ON
X1
OFF
ON
X2
OFF
ON
X3
OFF
ON
X4
OFF
ON
Y1
OFF
ON
Y2
OFF
Description
Energized on the rising edge (off to on) of the operation result. De-energized while the
operation result is not on the rising edge.
Energized on the falling edge (on to off) of the operation result. De-energized while the
operation result is not on the falling edge.
Inverts the previous operation results.
Outputs the operation result to the specified device or label.
Executes the instruction specified in "[ ]".
When the number of contacts that can be created on a single ladder line is exceeded, the
ladder is looped back with loopback source and destination symbols created on it.
Executes a function.
• How to create functions ( GX Works3 Operating Manual)
• Standard functions ( MELSEC iQ-R Programming Manual (Instructions, Standard
Functions/Function Blocks))
Executes a function block.
• How to create function blocks ( GX Works3 Operating Manual)
• Standard function blocks ( MELSEC iQ-R Programming Manual (Instructions,
Standard Functions/Function Blocks))
• Module function blocks ( Function Block Reference for the module used)
Ö
X4
Õ
Y1
×
Y2
5 LADDER DIAGRAM
5.1 Configuration
5
55

Advertisement

Table of Contents
loading

Table of Contents