Page tree
Skip to end of metadata
Go to start of metadata

number AxisGetPos (number axisId)

Getting the current working coordinate of the specified axis.

Options:

  • number axisId - axis number, an integer from 0 to 8 (one of the constants defined in the Axis list can be passed as this parameter).

Return value:

  • value of the current working coordinate of the specified axis.

number AxisGetMachinePos (number axisId)

Getting the current machine coordinate of the specified axis.

Options:

  • number axisId - axis number, an integer from 0 to 8 (one of the constants defined in the Axis list can be passed as this parameter).

Return value:

  • value of the current machine coordinate of the specified axis.

number GetCurFeedrate ()

Getting the current speed of movement.

Return value:

  • the module of the velocity vector in XYZ space.

void SetFeedrate (number value)

Setting the speed of movement.

Options:

  • number value - the desired speed along the trajectory (equivalent to the parameter F in the G-code).

number GetFeedrateOverridePercent ()

Getting the percentage of overriding the current speed of movement.

Return value:

  • percentage of the actual speed of movement from the set.

number GetGCodeFeedrate ()

Getting the speed of movement specified in the G-code.

Return value:

  • travel speed specified in the G-code.

number GetGeneralProbeFeed ()

Getting the material search speed specified in the parameters of the milling mode.

Return value:

  • material search speed, mm / min.

void AxisZeroPos (number axisId)

Zeroing the current working coordinate of the specified axis.

Options:

  • number axisId - axis number, an integer from 0 to 8 (one of the constants defined in the Axis list can be passed as this parameter).

bool UseSafeZ ()

Allows you to check whether climbing to a safe height is allowed in the parameters of the milling mode.

Return value:

  • true - climbing to a safe height is allowed;
  • false - climbing to a safe height is prohibited.

number GetGeneralSafeZ ()

Getting the safe height specified in the parameters of the milling mode.

Return value:

  • safe height of single crossings, mm.

number GetGeneralTipHeight ()

Obtaining a correction for the height of the probing sensor specified in the parameters of the milling mode.

Return value:

  • correction for the height of the probe probe, mm (default value: 0).

string GetCurrentDistanceMode ()

Getting the current positioning mode.

Return value:

  • one of the constants: Abs - for absolute positioning (G90), Inc - for incremental positioning (G91).

number GetCurrentMotionMode ()

Getting the current modal mode of movements (G0, G1, G2, G81, etc.).

Return value:

  • an integer corresponding to the current modal mode of movements; can be passed as a parameter to the SetCurrentMotionMode (number motionMode) function.

void SetCurrentMotionMode (number motionMode)

Setting the current modal mode of movements (G0, G1, G2, G81, etc.).

Options:

  • number motionMode - an integer corresponding to the set modal mode of movements; as this parameter, the value obtained when calling the GetCurrentMotionMode () function can be passed.

Axis (axis identifiers)

  • X;
  • Y;
  • Z;
  • A;
  • B;
  • C;
  • U;
  • V;
  • W.