MLAxisReadBoolParam

Pipe Network motion icon 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

1038

ML_AXIS_PARAM_IGNORE_DRIVE_LIM_STATUS

Ignore Drive Limit Active

Read / Write

Static

  • The default value is FALSE.
  • When TRUE, the Pipe Network motion engine ignores the DS-402 Status wordbit #11 (Internal Limit Active).
  • See Overtravel Conditions.

1039

ML_AXIS_PARAM_DRIVE_OVERRIDE_ON_LIMIT_ACTIVE

Drive Override on Limit Active

Read / Write

Static

  • Set to TRUE if the drive ignores controller demand position when DS-402 Status word bit #11 (Internal Limit Active) is on.
  • Set to FALSE if the Pipe Network is responsible for stopping an axis when DS-402 Status word bit #11 is on.
  • The default value for axes connected to AKD-family drives is TRUE.
    • For all other axes, the default value is FALSE.

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

MLAxisWriteBoolParam