MLAxisTimeStamp
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. - Returns the timestamp A sequence of characters, denoting the date and/or time at which a certain event occurred. of the triggered axis.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
En |
BOOL |
FALSE, TRUE |
N/A |
No default |
|
ID |
DINT |
No range |
N/A |
No default |
ID Name of the Axis block. |
InputID |
DINT |
0, 1 |
N/A |
No default |
|
edge |
DINT |
0, 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 A function block groups an algorithm and a set of private data. It has inputs and outputs. 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