14 - 17
MELSEC-Q
14 DEDICATED INSTRUCTIONS
[Functions]
(1) The PFWRT instruction completion can be c onfirmed using the complete devices
((D)+0) and ((D)+1).
(a) Complete device ((D)+0)
This device is turned ON by the END process ing of the scan for which PFWRT
instruction is completed, and turned OFF by the next END process ing.
(b) Complete state display device ((D)+1)
This device is turned ON and OFF accordin g to the state in which PFWRT
instruction is completed.
• When completed normally : Kept unchanged at OFF.
• When completed abnormally : This device is turned ON by the END
processing of the scan for which PFWRT
instruction is completed, and turned OFF by
the next END processing. (same ON/OFF
operation as complete device).
END
processing END
processing END
processing END
processing
OFF
OFF
OFF
ON
ON
ON
When
completed
abnormally
When
completed normally
1 scan
PFWRT instruction
execution completion
Sequence program
PFWRT instruction
Complete device
Complete state display
device
[Instruction symbol] [Execution condition]
PFWRT ZP.PFWRT "Un" (S) (D)
[Errors]
(1) When a dedicated instruction is completed a bnormally, the error complete signal
((D)+1) is turned ON, and the error code is st ored in the complete status ((S)+1).
Check and take measures against the error refer ring to Section 15.2 "List of error
codes".