MLDerInit
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. - Initializes an derivator object.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
BlockID |
DINT |
-2147483648 to 2147483647 |
N/A |
No default |
ID number of a created Pipe Block. |
ModuloPosition |
LREAL |
No range |
User units |
360.0 |
Input ModuloPosition of Derivator object. |
Outputs
Input |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
Default (.Q) |
BOOL |
|
|
Returns TRUE if the Derivator object is initialized. |
Remarks
- Function block A function block groups an algorithm and a set of private data. It has inputs and outputs. is automatically called if a Derivator Block is added to the Pipe Network, with user-defined settings entered in the Pipe Blocks Properties screen.
- Input ModuloPosition is defined to manage the periodicity Motor systems having a reciprocating or oscillating motor that operates synchronously with the periodicity of the source which supplies the electrical energy. The period of execution of a pipe is the time spent between two successive computations of set values for the same pipe. The period of execution of a pipe is specified by the PERIOD parameter of the input pipe block. (modulo) of the input values.
-
-
Derivator objects are normally created in the Pipe Network using the graphical engine.
You do not have to add MLDerInit function blocks to their programs The act of performing a sequence of instructions or commands..
Parameters are entered directly The orientation components of a vector in space. in pop-up windows and the code is automatically added to the current project.
Figure 1: MLDerInit
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Create and Initiate a Derivator object
MyDerivator := MLBlkCreate( 'MyDerivator', 'DERIVATOR' );
MLDerInit( MyDerivator, 360.0 );
See Also