MLTrigSetEdge
Function - Sets the edge configuration for a trigger block (e.g., rising, falling, etc.)
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
BlockID |
DINT |
-2147483648 to 2147483647 |
N/A |
No default |
ID number of the trigger block. |
Edge |
DINT |
0 to 2 |
N/A |
No default |
The edge to trigger on.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
BOOL |
FALSE, TRUE |
N/A |
|
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
- This block should be called prior to calling MLAxisCfgFastIn.
- The value at the Edge input must match the value at MLAxisCfgFastIn’s Mode input.
Fast Homing - Inputs
See these topics for more information:
- Fast Homing Example with the Pipe Network Motion Engine Axis Pipe Block
- Fast Homing Example with the PLCopen Motion Engine
- Fast Inputs with Pipe Network Motion
- Pipe Network Registration and Fast Homing
- Registration Position Capture Example with Pipe Network Trigger Block
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
TrigEdgeChanged := MLTrigSetEdge (TrigBlockID,TrigEdge);