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 |
See Axis Parameters. |
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
Axis Parameters
ID |
Parameter |
Name |
R/W |
Update Rate Type |
Description |
---|---|---|---|---|---|
ML_AXIS_PARAM_IGNORE_DRIVE_LIM_STATUS |
Ignore Drive Limit Active |
Read / Write |
|
||
ML_AXIS_PARAM_DRIVE_OVERRIDE_ON_LIMIT_ACTIVE |
Drive Override on Limit Active |
Read / Write |
|
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