MC_AbortTrigger
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
Execute |
BOOL |
0, 1 |
N/A |
No default |
On the rising edge A rising edge is the transition of a digital signal from low to high. It is also called positive edge, request to abort the MC_TouchProbe function block. |
Axis |
AXIS_REF |
1, 256 |
N/A |
No default |
Identifies the axis specified in the MC_TouchProbe function block which is to be aborted. |
TriggerInput |
TRIGGER_REF |
INT |
N/A |
No default |
Identifies the fast input The inputs are taken into account at each cycle depending on the system periodicity (for example each millisecond). Under certain circumstances this can be insufficient when more accuracy is needed, or if a quick response is required from the system. To fill the gap, a drive may have some Fast Input connections (generally one or two). When an event happens that triggers a Fast Input (e.g. when a sensor sends a rising edge), the detection of a signal occurs faster (which can be 1000 times more accurate than the system periodicity). Then the timestamp associated with this input can be provided to the IPC to take corrective action specified in the MC_TouchProbe function block which is to be aborted. The structure elements are: Direction INT Range = 1, 2.
InputID INT Range = 0, 1
TrigidINT Range = 0, 256.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Done |
BOOL |
No range |
N/A |
Function A function calculates a result according to the current value of its inputs. A function has no internal data and is not linked to declared instances. block has completed. |
Busy |
BOOL |
No range |
N/A |
Indicates this function block is executing. |
Error |
BOOL |
No range |
N/A |
Indicates the function block did not complete due to an error. The ErrorID output indicates the type of error when this output is high. |
ErrorID |
INT |
No range |
N/A |
When the Error output is:
See PLCopen Function Block ErrorIDs for more information. |
Remarks
-
- This function block starts a motion-related action and stores data for calculations and error checking.
See Call Function Blocks Multiple Times in the Same Cycle if using a dual-core controller.
See Pipe Network - General Rules for more information.
FBD Language Example
Not available.
FFLD Language Example
IL Language Example
Not available.
ST Language Example
(* MC_AbortTrigger ST example *)
Inst_MC_AbortTrigger( AbortReq, Axis1, TriggerInputRef );
//Inst_MC_AbortTrigger is an instance of MC_AbortTrigger
See Also