Mitsubishi Electric MELSEC-L02SCPU User Manual page 141

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

Advertisement

(b) Function
• These instructions start operation based on the desired data number specified by "n" among "Positioning
data" No.1 to 10 set beforehand using the programming tool.
Ex.
Timing chart when "Positioning data" No.1 is executed
Starts positioning data No.1.
[IPPSTRT1 K1]
IPPSTART1 execution
OFF
command
Axis 1 start instruction in
OFF
execution (SM1848)
Axis 1 BUSY (SM1840)
OFF
Axis 1 positioning complete
(SM1841)
• When positioning control starts successfully, the Axis 1 busy (SM1840) turns on. (1))
• When positioning 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 the Axis stop instruction (IPSTOP1) is executed or an error is detected during positioning, the axis
decelerates to a stop and the Axis 1 positioning completion (SM1841) does not turn on.
The number of steps is basically two.
(c) Error
In the following cases, an operation error occurs. Error flag (SM0) turns on and an error code is stored into
SD0.
• A value other than 1 to 10 is specified in "n":
• Inapplicable device is specified in "n":
• The positioning function for the target axis is not set to "Use":
(d) Program example
Program that starts "Positioning data" No.1 for Axis 1 when M0 turns on
Axis 1 Positioning data
No.1
No.2
No.3
No.9
No.10
v
Executes positioning data No.1.
ON
ON
ON
1)
ON
OFF
CHAPTER 7 POSITIONING FUNCTION
Control method
ACC/DEC time
DEC/STOP time
Dwell time
Command speed
Positioning address
2)
2)
(Error code: 4100)
(Error code: 4101)
(Error code: 4116)
t
7
139

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents