MLIntInit

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 integrator 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

Output ModuloPosition of Integrator object.

Modulo

BOOL

0, 1

N/A

TRUE

TRUE when mode is modulo.

Modulo mode adapts the output values according to the ModuloPosition (modulo).

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

 

 

Returns TRUE if the Integrator object is initialized.

See Pipe Network - General Rules.

Remarks

Figure 1: MLIntInit

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Initiate an Integrator Pipe Block named “MyIntegrator” with a Modulo of 360
MLIntInit(MyIntegrator, 360.0, true );

See Also

MLBlkCreate

MLIntWriteOutVal