Opr Control - Mitsubishi Electric MELSEC-L02SCPU User Manual

Cpu module, built-in i/o function
Table of Contents

Advertisement

7.6

OPR Control

Two controls (machine OPR and fast OPR) are defined as OPR controls in line with the flow of OPR operation of the
LCPU.
OPR control
This is control to establish the reference position (= OP) to be used when positioning control is
started. This control is executed when requested by the LCPU at power-on. The OP is
Machine OPR
established by using a near-point dog or zero signal. Set machine OPR for the original position
return type of the OPR start instruction (IPOPR1(P)) and execute the instruction to start the
operation.
Fast OPR is used to return the axis, which has stopped at a position other than the OP after
positioning control, to the OP. After the machine OPR establishes the OP, the workpiece is
moved to the OP address or standby address by the fast OPR without using a near-point dog or
Fast OPR
zero signal. Set fast OPR (OP address) or fast OPR (standby address) for the original position
return type of the OPR start instruction (IPOPR1(P)) and execute the instruction to start the
operation.
To implement OPR control, the OPR parameters must be set on the "Positioning Function Parameter Setting" window.
The OPR parameters that have been set apply commonly to each axis. Setting details are explained below.
Setting item
OPR Method
OPR Direction
OP Address (pulse)
OPR Speed (pulse/s)
Creep Speed (pulse/s)
OPR Acceleration/Deceleration Time (ms)
OPR Deceleration Stop Time (ms)
Setting of Movement Amount after Near-point Dog
ON (pulse)
OPR Dwell Time (ms)
Note that the explanations in this section assume use of Axis 1. For the special relay, special register, dedicated
instructions, and error codes for Axis 2, refer to the following.
• Special relay and special register:  Page 62, Section 7.4 (2)
• Dedicated instructions:  Page 137, Section 7.12
• Error codes:  Page 173, Section 7.14 (1)
64
Description
Setting range
Near-point Dog Method
Stopper 1
Stopper 2
Stopper 3
Count 1
Count 2
No Method
Forward RUN
Reverse RUN
-2147483648 to 2147483647
1 to 200000
0 to 32767
0 to 2147483647
0 to 65535
Reference
Page 71, Section 7.6.1
Page 89, Section 7.6.2
Default
Near-point Dog Method
Forward RUN
0
1
1000
0

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents