Motion Library - Delay

Name

Description

Return type

MLDelayInit

Initializes a delay object

BOOL

FunctionMLDelayInitPipe Network motion icon

Description

Initializes a delay object. Returns TRUE if the function succeeded. This FB is automatically created in the compiled code of a Pipe Network. It is included in the MLPN_CREATE_OBJECT (created in STClosed"Structured text" A high-level language that is block structured and syntactically resembles Pascal) which is typically executed in a project as part of the startup sequence of the Pipe Network.

Arguments

Input

BlockID

Description

ID number of a created Pipe Block

 

Data type

DINT

 

Range

[-2147483648, 2147483648]

 

Unit

N/A

 

Default

CycleDelay

Description

Number of delay cycles

 

Data type

DINT

 

Range

[0 , 9]

 

Unit

Cycle

 

Default

0

Example

Structured Text

 

MLDelayInit(PipeNetwork.DELAY1, 2 );

 

Ladder Diagram

MLDelayInit: LD example

 

Function Block Diagram

MLDelayInit: FBD example

Go back to the top of the page [Top]