3.9 Executing Conditions for Instructions
3-39
3
CONFIGURA
TION
OF IN
S
T
RU
CTIONS
3.9
Executing Conditions for Instructions
This section explains the four types of executing condition for sequence instructions, basic
instructions, and application instructions executed in a CPU module.
• Non-conditional execution .... Instructions executed regardless of ON/OFF status of the
device.
Example: LD= instruction
• Executed while ON .............. Instructions executed while the input condition is ON.
Examples: MOV instruction, FROM instruction
• Executed at rising pulse ....... Instructions executed only at the rising pulse (OFF to ON) of
the input condition.
Example: PLS instruction, MOVP instruction
• Executed at falling pulse ...... Instructions executed only at the falling pulse (ON to OFF) of
the input condition.
Example: PLF instruction
For basic instructions and application instructions that are equivalent to coils, when both
'Executed while ON' and 'Executed at rising pulse' are applicable, 'P' is appended to an
instruction name to distinguish executing conditions.
• An instruction executed while ON
Instructions name
• An instruction executed at rising pulse Instructions name P
The following shows how the executing conditions of 'Executed while ON' and 'Executed at rising
pulse' are specified for the MOV(P) instruction.
MOV
EN
EN
O
d
s
D0
K4X
0
MOVP
EN
EN
O
d
s
D0
K4X
0
E
xecuted
at
r
i
s
i
ng
p
u
l
se
E
xecuted
whil
e
O
N
Summary of Contents for MELSEC Q Series
Page 1: ...Structured Programming Manual Mitsubishi Programmable Controller QCPU Common Instructions ...
Page 2: ......
Page 14: ...A 12 MEMO ...
Page 340: ...6 178 MEMO MTR ...
Page 708: ...7 368 MEMO ...
Page 776: ...8 68 MEMO ...
Page 796: ...9 20 MEMO ...
Page 804: ...App 8 MEMO ...
Page 812: ...Index 8 MEMO ...
Page 815: ......