MLDelayInit

Pipe Network motion icon

 Function - Initializes a delay 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.

CycleDelay

DINT

0, 9

Cycle

No default

Number of delay cycles.

Outputs

Output

Data Type

Range

Unit

Description

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Remarks

  • This is automatically created in the compiled code of a Pipe Network.
    • It is included in the MLPN_CREATE_OBJECT (created in ST) which is typically executed in a project as part of the startup sequence of the Pipe Network.
  • Returns TRUE if the function succeeded.

FBD Language Example

FFLD Language Example

IL Language Example

Not available.

ST Language Example

MLDelayInit(PipeNetwork.DELAY1, 2 );