Mitsubishi Electronics FX3G User Manual

Page of 964
212
FX
3S
/FX
3G
/FX
3GC
/FX
3U
/FX
3UC
 Series
Programming Manual - Basic & Applied Instruction Edition
7 Basic Instruction
7.12 PLS, PLF
3. Output drive side
The following two circuits result the same operation.
In each case, M0 is ON during only one operation cycle when X000 changes from OFF to ON.
In each case, MOV instruction is executed only once when X000 changes from OFF to ON.
Caution
1. Cautions on writing during RUN
1) Instructions for falling edge pulse
When writing is completed during RUN for a circuit including an instruction for falling edge pulse (LDF, ANDF, or
ORF instruction), the instruction for falling edge pulse is not executed regardless of the ON/OFF status of the
target device of the instruction for falling edge pulse.
When writing is completed during RUN for a circuit including an instruction for falling edge pulse (PLF instruction),
the instruction for falling edge pulse is not executed regardless of the ON/OFF status of the operation condition
device.
It is necessary to set to ON the target device or operation condition device once and then set it to OFF for
executing the instruction for falling edge pulse.
2) Instructions for rising edge pulse
When writing is completed during RUN for a circuit including an instruction for rising edge pulse, the instruction for
rising edge pulse is executed if a target device of the instruction for rising edge pulse or the operation condition
device is ON.
Target instructions for rising edge pulse: LDP, ANDP, ORP, and pulse operation type applied instructions (such
as MOVP)
*1.
PLS instruction is not executed.
2. Cautions on using latched (battery or EEPROM backed) type devices
When PLC mode is changed in the way "RUN 
→ STOP → RUN" while a drive input remains ON, "PLS M0" operates,
but "PLS M600 (latched device)" does not operate (when the PLC mode switches from STOP to RUN) because the
status of M600 is latched even while the PLC is in the STOP mode.
Contact ON/OFF status 
(while writing is executed during RUN)
Instruction for rising edge pulse
Instruction for falling edge pulse
OFF
Not executed
Not executed
ON
Executed
*1
Not executed
<OUT instruction>
X000
M0
X000
M1
X000
M0
PLS
M1
=
<PLS instruction>
ON
X000
M   0
ON during
one operation
cycle
ON
M   1
<PLS instruction>
X000
M0
PLS
<Pulse operation type applied instruction>
M0
D0
K10
FNC 12
MOV
X000
D0
K10
FNC 12
MOVP