MLBlkWriteModPos

Pipe Network motion icon

 Function - Sets the value of the period of a block in user units.

Inputs

Input

Data Type

Range

Unit

Default

Description

ID

DINT

1 to 1024

N/A

No default

ID number of a created Pipe Block.

ModuloPosition

LREAL

No range

User units

No default

Designated new Period Value for selected Pipe Block.

Outputs

Output

Data Type

Range

Unit

Description

Default (.Q)

BOOL

FALSE, TRUE

N/A

Remarks

  • The output value of a block is reset each time it reaches its period value.

Figure 1: Modulo position of the axis.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

//Set the Period of a Pipe Block to 300  
MLBlkWriteModPos( PipeNetwork.MyGear, 300 );

See Also