MLAxisReadBoolParam
This function/function block was added in KAS v4.02.
Function Block - Read an Axis Boolean property of a Pipe Network Axis.
Inputs
Input |
Data Type |
Range |
Unit |
Default |
Description |
---|---|---|---|---|---|
AxisID |
DINT |
No range |
N/A |
No default |
ID Name of the Axis block. |
ParameterNumber |
INT |
-32768 to +32767 |
N/A |
No default |
ML_AXIS_PARAM_IGNORE_DRIVE_LIM_STATUS = 1038.
|
Outputs
Output |
Data Type |
Range |
Unit |
Description |
---|---|---|---|---|
OK |
BOOL |
FALSE, TRUE |
N/A |
Indicates whether this function block has completed without error. |
Value |
BOOL |
FALSE, TRUE |
N/A |
Value read. |
Remarks
None
FBD Language Example
FFLD Language Example
IL Language Example
Not available.
ST Language Example
(*Check if Axis Drive Limit Active is ignored*)
Inst_MLAxisReadBoolParam(PipeNetwork.AXIS1, ML_AXIS_PARAM_IGNORE_DRIVE_LIM_STATUS);
IF Inst_MLAxisReadBoolParam.OK THEN
value := Inst_MLAxisReadBoolParam.Value;
END_IF;
See Also