MLSmpConPNAxisThis function connects a sampler block to a specific variable from a PipeNetwork Axis.
Figure 11-100: MLSmpConPNAxis function
| BlockID | Description | ID Name of the SMP function block in the Pipe Network |
| Data type | DINT | |
| Range | [-2147483648, 2147483648] | |
| Unit | n/a | |
| Default | — | |
| AxisID | Description | ID Name of the Axis the sampler is connected to |
| Data Type | DINT | |
| Range | [-2147483648, 2147483648] | |
| Unit | n/a | |
| Default | — | |
| Variable | Description |
Variable to be connected to. You need to use one of the following Internal Defines :
|
| Data Type | UINT | |
| Range |
n/a (use available macros) |
|
| Unit | n/a | |
| Default | — |
|
Default (.Q) |
Description |
FunctionA 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. block is operational See more details here |
| Data type | BOOL | |
| Unit | n/a |
BOOL
//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 );
|
Copyright © 2015 Kollmorgen™ |
|