MLAxisGenEN
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. - Enables or disables the internal TMP "Trapezoidal Motion Profile" This pipe block is a source block that frequently serves as a virtual master for a system composed of several pipes. Generally, a trapezoidal motion profile generator is used to generate a flow of values with a first derivative which produces a trapezoidal trajectory generator of the axis.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
ID |
DINT |
No range |
N/A |
No default |
ID Name of the Axis block. |
Enable |
BOOL |
0, 1 |
N/A |
No default |
Boolean switch to activate the generator. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
No range |
N/A |
Returns TRUE when the function successfully executes. See Pipe Network - General Rules for more information. |
Remarks
-
-
This function or function block returns cached data.
See Program a Multi-Core Controller for more information.
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
MLAxisGenEN( PipeNetwork.Axis1, true) ;
See Also