Initializing The Module - Mitsubishi Electric MELSEC iQ-R Series Programming Manual

Hide thumbs Also See for MELSEC iQ-R Series:
Table of Contents

Advertisement

22.5

Initializing the Module

GP.PINIT, ZP.PINIT
RnPCPU
RnCPU RnENCPU
(Process)
These instructions reset the module parameters and module extension parameters (positioning data and block start data) in
the buffer memory, and the settings in the module extension parameter file to the factory default settings (initial values).
Ladder
(U)
FBD/LD
EN
ENO
U
d
s
■Execution condition
Instruction
GP.PINIT
ZP.PINIT
Setting data
■Description, range, data type
Operand
Description
(U)
GP.PINIT
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module
ZP.PINIT
Start I/O number (first three digits in four-digit
hexadecimal representation) of a module
(s)
Start device where the control data is stored
(d)
Device to be turned on one scan upon completion of
instruction
If the instruction is completed with an error, (d)+1 is also
turned on.
EN
Execution condition
ENO
Execution result
*1 When specifying setting data by using a label, define an array to secure enough operation area and specify an element of the array
label.
22 POSITIONING INSTRUCTIONS
1778
22.5 Initializing the Module
RnPCPU
RnSFCPU RnSFCPU
(Redundant)
(Standard)
(Safety)
(s)
(d)
Execution condition
ST
ENO:=GP_PINIT(EN,U,s,d);
ENO:=ZP_PINIT(EN,U,s,d);
Range
Data type
00H to FEH
16-bit unsigned binary
00H to FEH
String
Refer to the control data.
Device name
Bit
Bit
Bit
Data type (label)
ANY16
ANY16_OR_STRING_S
INGLE
*1
ANY16
ANYBIT_ARRAY
(Number of elements: 2)
BOOL
BOOL

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents