MLAxisTimeStamp
Function - Returns the timestamp of the triggered axis.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
En |
BOOL |
FALSE, TRUE |
N/A |
No default |
Enables execution. |
ID |
DINT |
No range |
N/A |
No default |
ID Name of the Axis block. |
InputID |
DINT |
0, 1 |
N/A |
No default |
ID of the triggered Fast input of an axis.
|
edge |
DINT |
0 to 2 |
N/A |
No default |
Configures the Inputs as:
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
FALSE, TRUE |
N/A |
Returns TRUE when the function successfully executes. |
Q |
DINT |
|
Microseconds |
Returns the time stamp value. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLAxisTimeStamp(PipeNetwork.Axis1, 0, 1 ) ;
See Also