MLAxisIsCnctd
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. - Check if a pipe is currently connected to the axis. Returns TRUE if a pipe is connected.
Arguments
Input
ID |
Description |
ID Name of the Axis block |
Data type |
DINT |
|
Range |
— |
|
Unit |
N/A |
|
Default |
— |
Output
Default (.Q) |
Description |
Returns true when function successfully executes See Function - General Rules for more information. |
Data type |
BOOL |
|
Unit |
N/A |
Example
Structured Text
MLAxisIsCnctd(PipeNetwork.Axis1 ) ;
|
Ladder Diagram
Function Block Diagram