MLAxisStop
Function Block - Stop with the specified deceleration.
This does not remove the input source, but does stop the drive from continuing to move.
- This function stops any current Generator Motion.
- It causes the axis to start ignoring any changes in Pipe position to be added into the reference position.
- It decelerates, if moving, at a programmed rate.
-
-
- This function or function block returns cached data.
- See Program a Multi-Core Controller.
- After stopping the drive, the motion must be restarted by realigning the Actual Position with the Reference Position.
- See Axis Pipe Block about positions.
- When the stop occurs, the master keeps moving and the axis starts ignoring the Pipe Position value and begins a controlled stop based on the input parameters.
See Axis Pipe Block for more information about Pipe Position.- At this point, any Axis Block level profile (issued from an FB like MLAxisAbs, MLAxisRel...) are aborted.
- When the stop is complete, it is up to the application to decide how to move the axis, master, or both to a position where they can be realigned, and the master restarted.
- The MLAxisReAlign function is used to move the axis to a restart position in order to enable synchronized machine motion to start again.
- Once the realign function is successfully completed, the Pipe Position is again summed with the Generator Position to create the Reference Position.
Inputs
|
Input |
Data Type See Data Types. |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
ID |
DINT |
1 to 1024 |
N/A |
No default |
ID of the Axis block. |
|
Start |
BOOL |
FALSE, TRUE |
N/A |
No default |
Initiates the stop action for the Axis block. |
|
Deceleration |
LREAL |
No range |
User units / sec2 |
No default |
The declaration used to bring the axis to a stop. |
Outputs
|
Output |
Data Type See Data Types. |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
Becomes TRUE when the Axis is completely stopped. |
|
GenPos |
LREAL |
No range |
User units |
|
|
PipePos |
LREAL |
No range |
User units |
|
|
RealignPos |
LREAL |
No range |
User units |
Realign Position is the Reference Position at which the stop is triggered.
|
|
StopPos |
LREAL |
No range |
User units |
Corresponds to the last Reference Position sent to the drive at the time when the Axis is completely stopped.
|
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
Inst_MLAxisStop(PipeNetwork.AXIS1, bStop, 200000);
If Inst_MLAxisStop.Done Then
Axis1_PipePosition := Inst_MLAxisStop.PipePos;
Axis1_GeneratorPosition := Inst_MLAxisStop.GenPos;
Axis1_RealignPosition := Inst_MLAxisStop.RealignPos;
Axis1_StopPosition := Inst_MLAxisStop.StopPos;
End_if;
See Also







