MC_Stop Overview
Element Name | Element Type | Description |
---|---|---|
Execute | Input | Edge detected request to execute the function block. |
Axis | Input/Output | Axis reference variable. This can not be a constant. |
Deceleration | Input | Specify the deceleration of the stop move. |
Jerk | Input | Specify the change in rate of deceleration (unit/second3). |
Done | Output | Indicates the operation of the function block is finished. |
Busy | Output | Indicates the function block is currently being executed. |
CommandAborted | Output | Indicates the function block execution was aborted. |
Error | Output | Indicates whether an error occurs or not. |
ErrorID | Output | Error Identification number. |
MC_Stop Status Monitoring
Before MC_Stop Execute = TRUE
After MC_Stop Execute = TRUE
Structured Text Example
//Set reference for axis
Axis1 := 1;
//check that axes are ready
IF (_AX01_RDY) AND (_AX01_SV_ON) THEN
//Example of MC_Stop fb
INST_MC_STOP(Execute:=Execute_MCStop, Axis:=Axis1, Deceleration:=50000.0,
Jerk:=1000.0, ErrorID=>INST_MC_STOP.ErrorID);
END_IF;
LM503-1