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. - Verifies if the axis received a trigger event.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
ID |
DINT |
No range |
N/A |
No default |
ID Name of the Axis block. |
InputID |
DINT |
No range |
N/A |
No default |
ID of the triggered Fast input of an axis (i.e., IN1 and IN2 on S300 "Servostar 300 drive" See Servo Drive in Glossary). InputID INT Range = 0, 1
|
edge |
DINT |
No range |
N/A |
No default |
Configures the Inputs as:
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
|
|
Returns TRUE when the function successfully executes. See Pipe Network - General Rules for more information. |
Remarks
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLAxisIsTrigged (PipeNetwork.Axis1, 0,1 ) ;
See Also