14 - 20
MELSEC-Q
14 DEDICATED INSTRUCTIONS
14.7 ZP.PINIT
This dedicated instruction is used to initialize the setting data of the QD75.
Usable device
Internal device Link direct device J \ Constant
Setting
data
Bit Word
File
register
Bit Word
U
\G
Index
register
Zn
K, H
Others
(S)
–
– – –
(D)
– – – –
ZP.PINIT
ZP.PINIT (S) (D)
[Instruction symbol]
[Execution condition]
"Un"
*
1
*1 If the originating station is a Basic model QCPU (function version B or later), Universal model QCPU, or safety CPU, ""
(double quotation) of the first argument can be omitted.
[Setting data]
Setting data Setting details
Setting side
(
1)
Data type
"Un"
QD75 head I/O number
(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.
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 CPU module.
[Control data]
Device Item Setting data Setting range
Setting side
(
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)(
2)
– System
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 CPU module.
2: Refer to Section 15.3 for error codes at abnormal completion.