MLPipeCreate
Function - Create a new pipe object.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
Name |
STRING |
No range |
N/A |
No default |
Name for the newly created Pipe. |
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
ID |
DINT |
|
|
Assigned ID number of the created Pipe. |
Remarks
A Pipe contains an Input Pipe Block (Master, PMP, or Sampler), a Converter Output Pipe Block, and any Transformation Pipe Block that can be in between.
-
-
Pipes are created in the Pipe Network using the graphical engine.
You do not have to add MLPipeCreate function blocks to their programs.
The code with MLPipeCreate commands are automatically generated and called in a program with PipeNetwork(MLPN_CREATE_OBJECTS).
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Create a new pipe
PipeAXIS1 := MLPipeCreate( 'PipeAXIS1' );
See Also
- MLPipeAct
- MLPipeAddBlock
- MLPipeDeact
- Pipe Network Functions for the PLC - MLPN_CREATE_OBJECTS