MLSmpConPNAxis
Function - Connects a sampler block to a specific Pipe Network axis variable.
Inputs
|
Input |
Data Type |
Range |
Unit |
Default |
Description |
|---|---|---|---|---|---|
|
BlockID |
DINT |
1 to 1024 |
N/A |
No default |
ID Name of the SMP function in the Pipe Network. |
|
AxisID |
DINT |
1 to 256 |
N/A |
No default |
ID Name of the axis the sampler is connected to. |
|
Variable |
UINT |
N/A Use available macros. |
N/A |
No default |
Variable to be connected to. Use one of these Internal Defines:
|
Outputs
|
Output |
Data Type |
Range |
Unit |
Description |
|---|---|---|---|---|
|
Default (.Q) |
BOOL |
FALSE, TRUE |
N/A |
|
Remarks
Figure 1: MLSmpConPNAxis
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
//Connect a sampler block named “SAMPLER” to a variable named ML_PIPE_POSITION from a Pipe Network Axis named PipeNetwork.AXIS1
MLSmpConPNAxis( PipeNetwork.SAMPLER , PipeNetwork.AXIS1, ML_PIPE_POSITION );






