Conditions For Execution Of Instructions - Mitsubishi MELSEC QCPU Programming Manual

Programmable logic controller
Table of Contents

Advertisement

3 CONFIGURATION OF INSTRUCTIONS

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
• 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 follow:
3 - 19
Artisan Technology Group - Quality Instrumentation ... Guaranteed | (888) 88-SOURCE | www.artisantg.com
of 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
MOV
K4X0
D0
MOVP K4X0
D0
MELSEC-Q/QnA
Instruction name
Instruction name + P
Execution at ON
Execution at leading edge
3 - 19

Advertisement

Table of Contents
loading

This manual is also suitable for:

Melsec qnacpuMelsec q modeMelsec q series

Table of Contents