Conditions For Execution Of Instructions - Mitsubishi MELSEC Q Series Programming Manual

Common instruction 1/2
Hide thumbs Also See for MELSEC Q Series:
Table of Contents

Advertisement

3.7

Conditions for Execution of Instructions

The following four types of execution conditions exist for the execution of CPU module sequence
instructions, basic instructions, and application instructions:
• Non-conditional execution...... Instructions executed without regard to the ON/OFF status of
• Executed at ON...................... Instructions executed while input condition is ON
• Executed at leading edge ...... Instructions executed only at the leading edge of the input
• Executed at trailing edge ....... Instructions executed only at the trailing edge of the input
For coil or equivalent basic instructions or application instructions, where the same instruction
can be designated for either execution at ON or leading edge execution, a "P" is added after the
instruction name to specify the condition for execution.
• Instruction to be executed at ON
• Instruction to be executed at leading edge
Execution at ON and execution at leading edge for the MOV instruction are designated as
follows:
MOV
MOVP
the device
Example
LD X0, OUT Y10
Example
MOV instruction, FROM instruction
condition (when it goes from OFF to ON) Example
PLS instruction, MOVP instruction.
condition (when it goes from ON to OFF) Example
PLF instruction.
Instruction name
Instruction name
K4X0
D0
Execution during ON
K4X0
D0
Execution at leading edge
+ P
1
2
3
4
2
6
7
8
3-33

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec l series

Table of Contents