MC_EStop
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
En |
BOOL |
FALSE, TRUE |
N/A |
No default |
A positive transition of this input causes an E-stop on the specified axis. |
Axis |
AXIS_REF |
1 to 256 |
N/A |
No default |
The AXIS_NUM element of the AXIS_REF structure.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
FALSE, TRUE |
N/A |
|
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
- See Function Blocks - General Rules about how inputs and outputs work.
- Call MC_EStop to generate an emergency stop for an axis.
- Call MC_ResetError to reset the emergency stop.
- Actions of an E-stop:
- Stops motion interpolation.
- Clears all moves from the queue (active and next).
- Changes the axis state to ErrorStop.
- See PLCopen State Machine for more information.
- Request the drive to open the position loop and disable the drive.
- The E-stop remains in effect until the application calls MC_ResetError to reset the E-stop.
Figure 1: MC_EStop
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
(* MC_EStop ST example *)
ON EStopButton DO
MC_EStop( Axis1 );
MC_EStop( Axis2 );
END_DO;
See Also