MLAxisIsTrigged
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. - Checks if the axis got a trigger event.
Arguments
Input
|
ID |
Description |
ID Name of the Axis block |
|
Data type |
DINT |
|
|
Range |
— |
|
|
Unit |
N/A |
|
|
Default |
— |
|
|
InputID |
Description |
ID of the triggered Fast input of an axis (ie IN1 and IN2 on S300
|
|
Data type |
DINT |
|
|
Range |
— |
|
|
Unit |
N/A |
|
|
Default |
— |
|
|
edge |
Description |
Configures the Inputs as 0= Disabled, 1=Rising Edge |
|
Data type |
DINT |
|
|
Range |
— |
|
|
Unit |
N/A |
|
|
Default |
— |
Output
|
Default (.Q) |
Description |
Returns true when function successfully executes. See Function - General Rules for more information. |
|
Data type |
BOOL |
|
|
Unit |
N/A |
Related Functions
Example
Structured Text
|
MLAxisIsTrigged (PipeNetwork.Axis1, 0,1 ) ;
|
Ladder Diagram
Function Block Diagram





