15- 11
Chapter 15 Dedicated Instructions
15.5 ZP.PFWRT
These dedicated instructions are used to write the parameters, positioning data, and
block start data of Simple Motion module to the flash ROM.
Setting
data
Usable device
Internal device
File
register
Link direct device J
\ Intelligent
function
module
U
\G
Index
register
Zn
Constant
Others
Bit Word Bit Word K, H
(S)
–
– – –
(D)
– – – –
[Instruction symbol] [Execution condition]
ZP.PFWRT
ZP.PFWRT "Un" (S) (D)
[Setting data]
Setting data Setting details
Setting side
(Note-1)
Data type
"Un"
Head I/O number of Simple Motion module
(00 to FE: High-order two digits of I/O number expressed in three digits)
User BIN 16 bits
(S) Head number of a device in which control data is stored – Device name
(D)
Head number of a bit device which turns ON the operation by one scan at the
time of completion of the instruction.
If the instruction is completed abnormally, ((D) + 1) will also be turned ON.
System Bit
Note) The file register of each of the local device and the program cannot be used as a device for setting data.
(Note-1)
: The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by user.
• System: Data after the execution of dedicated instruction is stored by PLC CPU.
[Control data]
Device Item Setting data
Setting
Range
Setting side
(Note-1)
(S)+0 System area – – –
(S)+1 Complete status
The state at the time of completion is stored.
0 : Normal completion
Other than 0 : Abnormal completion (error code)
(Note-2)
– System
(Note-1)
: The data on the setting side is as follows.
• User : Data before the execution of dedicated instructions is stored by user.
• System: Data after the execution of dedicated instruction is stored by PLC CPU.
(Note-2): Refer to Section 16.4 for error codes at abnormal completion.