MLTrigClearFlag
Function - Clears the flag of an initiated Trigger block.
Inputs
|
Input |
Data Type |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
BlockID |
DINT |
1 to 1024 |
N/A |
No default |
ID number of an initiated Trigger object. |
Outputs
|
Output |
Data Type |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
|
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
- The block captures the position and time of the next event.
- Once triggered, a block has to be reset before it can be triggered again.
- All events sent to a block while in a triggered state are ignored.
- The position and time information is lost.
-
-
The Fast Input assigned to a Trigger block has to be reset before information on a new event can be captured.
MLAxisRstFastIn is used at the same time as MLTrigClearFlag.
Fast Homing - Inputs
See these topics for more information:
- Example: Fast Homing with the Pipe Network Motion Engine Axis Pipe Block
- Example: Fast Homing with the PLCopen Motion Engine
- Fast Inputs with Pipe Network Motion
- Pipe Network Registration and Fast Homing
- Example: Registration Position Capture with Pipe Network Trigger Block
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Clear Trigger Flag
MLTrigClearFlag( PipeNetwork.TRIGGER );
See Also






