Mitsubishi Electric MELSEC iQ-R Series Programming Manual page 1781

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

Advertisement

■Applicable devices
Operand
Bit
X, Y, M, L,
SM, F, B, SB,
FX, FY
(U)
GP.PINIT
ZP.PINIT
(s)
*1
(d)
*1 FX and FY cannot be used.
*2 T, ST, C, and FD cannot be used.
*3 FD cannot be used.
■Control data
Operand: (s)
Device
Item
+0
System area
+1
Completion status
Processing details
• These instructions reset the module parameters and module extension parameters in the buffer memory of the positioning
module, and the settings in the module extension parameter file to the factory default settings (initial values). For details,
refer to the following.
 MELSEC iQ-R Positioning Module User's Manual (Application)
• The setting data initialized include the parameters, positioning data (No. 1 to 600), and block start data (No. 7000 to 7004).
• The execution of the PINIT instruction and whether it has been completed normally or with an error can be checked with the
completion device (d) or completion status indication device (d)+1.
• Completion device (d)
This device turns on during the END processing of the scan where the PINIT instruction completed, and turns off during the next END processing.
• Completion status indication device (d)+1
This device turns on or off depending on the completion status of the PINIT instruction.
When completed normally: Unchanged from off.
When completed with an error: Turns on during the END processing of the scan where the PINIT instruction completed, and turns off during the next END
processing (the same on/off operation as the completion device is performed).
• The following figure shows the operation at completion of the PINIT instruction.
Sequence scan
0
PINIT instruction
Completion device (d)
OFF
Completion status
OFF
indication device (d)+1
Word
J\
T, ST, C, D,
U\G, J\,
W, SD, SW,
U3E\(H)G
FD, R, ZR,
RD
*3
*2
Description
The instruction completion status is stored.
• 0: Completed successfully
• Other than 0: Completed with an error (error code)
END
0
Execution of
the instruction
Double word
Indirect
specification
Z LT, LST,
LZ
LC
 
 
 
 
END
0
END
0
Completion of the instruction
ON
ON
Completed
successfully
22 POSITIONING INSTRUCTIONS
Constant
Others
(U)
K, H E $
  
  
  
  
Setting range
Set by
System
END
0
END
OFF
Completed with an error
OFF
1 scan
22.5 Initializing the Module
22
1779

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents