Mitsubishi Electric MELSEC-L02SCPU User Manual page 150

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

Advertisement

The following operations take place in the case of fast OPR
IPOPR1(P) execution command
Axis 1 start instruction in
execution (SM1848)
Axis 1 BUSY (SM1840)
Axis 1 positioning complete
(SM1841)
• When fast OPR starts successfully, the Axis 1 busy (SM1840) turns on. (1))
• When fast OPR is complete, the Axis 1 busy (SM1840) turns off and Axis 1 positioning completion
(SM1841) turns on. (2))
• The Axis 1 positioning completion (SM1841) will turn off the next time the applicable axis is started.
• If operation cannot be started because
• If the Axis stop instruction (IPSTOP1) is executed or an error is detected during fast OPR, the axis
decelerates to a stop and the Axis 1 positioning completion (SM1841) does not turn on.
The number of steps is basically two.
(d) Error
In the following cases, an operation error occurs. Error flag (SM0) turns on and an error code is stored into
SD0.
• Inapplicable device is specified in
• The OPR Method for the target axis is set to "No method":
• The positioning function for the target axis is not set to "Use":
(e) Program example
Program that starts machine OPR of Axis 1 when M0 turns on
Device used
D1, D2
148
V
ON
OFF
ON
OFF
ON
1)
OFF
ON
D0
Original position return type
Fast OPR
is outside the setting range, the Axis 1 error (SM1845) turns on.
S
:
S
Item
Standby address
OP or standby address
2)
2)
(Error code: 4101)
(Error code: 4116)
(Error code: 4116)
Setting item
Machine OPR
0 (Ignored)
t

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents