MLDerInit

Pipe Network motion icon

 FunctionClosed 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.

See Pipe Network - General Rules.

Remarks

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