MLTrigSetEdge
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. - 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, 2 |
N/A |
The edge to trigger on. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Q |
BOOL |
No range |
N/A |
|
Remarks
- 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);