Motion Library - Delay
-
-
For a description of the this pipe block and its parameters, see Pipe Blocks Description
Name |
Description |
Return type |
Initializes a delay object |
BOOL |
MLDelayInit
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 ST"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
Function Block Diagram