Melsec-q, 14 dedicated instructions [functions, Errors – MITSUBISHI ELECTRIC Mitsubishi Programmable Logic Controller QD75D User Manual

Page 599

Advertising
background image

14 - 17

MELSEC-Q

14 DEDICATED INSTRUCTIONS

[Functions]

(1) The PFWRT instruction completion can be confirmed using the complete devices

((D)+0) and ((D)+1).

(a) Complete device ((D)+0)

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.

(b) Complete state display device ((D)+1)

This device is turned ON and OFF according 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 abnormally, the error complete signal

((D)+1) is turned ON, and the error code is stored in the complete status ((S)+1).

Check and take measures against the error referring to Section 15.2 "List of error

codes".

Advertising