Mitsubishi Electronics MELSEC Q series MELSEC L series Home Theater Server User Manual


 
5-64
5.2 Positioning Instruction
5.2.5 PINIT instruction
ZP_PINIT
5.2.5 PINIT instruction
ZP_PINIT
Function
This instruction initializes the QD75 setting data.
Control Data
ZP_PINIT
Executing condition
:
indicates the following instruction.
ZP_PINIT
Input argument EN:
Executing condition :Bit
Un*:
Start I/O number of the module
(00 to FE: Higher two digits when expressing the I/O number in
three digits)
:String
s:
Variable that stores control data :Array of ANY16 [0..1]
Output argument ENO:
Execution result :Bit
d:
Variable that turns ON upon completion of the instruction
d[1] also turns ON at the time of error completion.
:Array of bit [0..1]
Setting
data
Internal device
R, ZR
J\
U\G
Zn Constant Others
Bit Word Bit Word


Device Item Setting data Setting range Setting side
[0]
System area
––
[1]
Completion status
The instruction completion status is stored.
• 0 : Normal completion
• Other than 0 : Error completion (error code)
System
Structured ladder/FBD
ZP_PINIT
EN ENO
d
Un*
s
ST
ZP_PINIT
(EN, Un*, s,d);ENO:=
s
d
s
s