MC_EStop
Description
-
-
This function or function block returns cached data. See Programming a Dual Core Controller for more information.
Arguments
For more detail on how inputs and outputs work, refer to PLCopen Function Blocks - General Rules
Input
En |
Description |
A positive transition of this input causes an E-stop on the specified axis |
Data type |
BOOL |
|
Range |
0, 1 |
|
Unit |
N/A |
|
Default |
— |
|
Axis |
Description |
Axis identifier |
Data type |
AXIS_REF |
|
Range |
1-256 |
|
Unit |
N/A |
|
Default |
— |
Output
OK |
Description |
Indicates the E-stop was executed. If an invalid Axis input was specified, this output is not energized and no E-stop is performed. See more details here. |
Data type |
BOOL |
Usage
Call MC_EStop to generate an emergency stop for an axis.
Call MC_ResetError to reset the emergency stop.
Related Functions
Example
Structured Text
(* MC_EStop ST"Structured text" A high-level language that is block structured and syntactically resembles Pascal example *)
ON EStopButton DO
MC_EStop( Axis1 );
MC_EStop( Axis2 );
END_DO;
Function Block Diagram
Ladder Diagram