MLDelayInit
Function 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 a delay object.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
BlockID |
DINT |
-2147483648 to 2147483648 |
N/A |
No default |
ID number of a created Pipe Block. |
CycleDelay |
DINT |
0, 9 |
Cycle |
0 (zero) |
Number of delay cycles. |
Remarks
- 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.
- Returns TRUE if the function succeeded.
FBD Language
FFLD Language
ST Language
MLDelayInit(PipeNetwork.DELAY1, 2 );