Mitsubishi Electronics QD77MS4 Home Security System User Manual


  Open as PDF
of 1038
 
15- 15
Chapter 15 Dedicated Instructions
15.6 ZP.PINIT
This dedicated instruction is used to initialize the setting data of the Simple Motion
module.
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.PINIT
ZP.PINIT "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.