1776
22 POSITIONING INSTRUCTIONS
22.4 Backing up Module Data (Writing Data to the Flash ROM)
■Applicable devices
*1 FX and FY cannot be used.
*2 T, ST, C, and FD cannot be used.
*3 FD cannot be used.
■Control data
• These instructions write the module extension parameters in the buffer memory to the module extension parameter file. For
details, refer to the following.
MELSEC iQ-R Positioning Module User's Manual (Application)
• The execution of the PFWRT instruction and whether it has been completed normally or with an error can be checked with
the completion device (d) or completion status indication device (d)+1.
• The following figure shows the operation at completion of the PFWRT instruction.
Operand Bit Word Double word Indirect
specification
Constant Others
(U)
X, Y, M, L,
SM, F, B, SB,
FX, FY
J\ T, ST, C, D,
W, SD, SW,
FD, R, ZR,
RD
U\G, J\,
U3E\(H)G
Z LT, LST,
LC
LZ K, H E $
(U) GP.PFWRT
ZP.PFWRT
(s)
*3
(d)
*1
*2
Operand: (s)
Device Item Description Setting range Set by
+0 System area
+1 Completion status The instruction completion status is stored.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
System
• Completion device (d)
This device turns on during the END processing of the scan where the PFWRT instruction completed, and turns off during the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the completion status of the PFWRT instruction.
When completed normally: Unchanged from off.
When completed with an error: Turns on during the END processing of the scan where the PFWRT instruction completed, and turns off during the next END
processing (the same on/off operation as the completion device is performed).
END0END0END0END0END0
OFF
OFF
OFF
OFF
ON
ON
Sequence scan
PFWRT instruction
Completion device (d)
Completion status
indication device (d)+1
Completed with an error
Execution of
the instruction
Completed
successfully
1 scan
Completion of the instruction