Equipment parameters

INCT_Equipment — CAM system interface that implements access to some equipment parameters.

Description of interface methods:

Method

Method Description

Description of use

GetAxisIndex

The function returns the index of the machine axis by its address (integer).

Input parameter: Addr (string) — axis address ('X', 'Y', 'Z', etc. as indicated in the kinematic diagram of the machine).

To control the movement of the tool (using INCT_CLData.AddMotion or CreateLinearMotionFormer), it is necessary to set the axes indexes that the GetAxisIndex function returns.

GetAxisIndexByNum

The function returns the index of the main or additional axis of the robot by its number (integer).

Input parameter: AxisNum (integer) — number axis robot (1-6). Ext (logical): False — main axis, True — additional axis.

If the robot's axis is set by a number (not an address), you can use the function GetAxisIndexByNum to get the axis index. Typically, Motoman robot axes can be obtained this way.

GetXYZindex

The function returns the index of the axis associated with moving along the X or Y or Z coordinates by the specified parameter (see INCT_CLData.AddCircle).

Input parameter: Ort (integer)

1 – X; 2 – Y; 3 – Z.

To get the axis indexes associated with the X, Y, Z of the current tool.

CurrentLatheToolWidth

The function returns the width of the current turning tool (number).

Used to set the groove width step in INCT_LatheGroovingCycleFormer.

GetSpindlesCount

The feature returns the number of spindles of the current machine (integer).

To perform commands of the spindles machine by number. For example, SPos[SpindelIndex] = Value for CNC Sinumerik.

GetAxisIndexBySpindleIndex

The function returns the spindle axis number by the spindle index (integer).

Input parameter: SpindleIndex (integer) — spindle index, possible values from 0 to GetSpindlesCount -1.

GetOperationGroup

The feature returns the type of CAM system operation (TNCOperationGroup).

Type TNCOperationGroup:

ogUnknown Unknown
ogMill — Mill
ogLathe Lathe
ogAuxiliary Auxiliary
ogWireEDM Electrical erosion
ogWelding All sorts of welding
ogAdditive Various additive surfacing-type operations
ogWaterJet Hydro abrasive cutting
ogSawing Sawing

It should only be used in the development of interpreters in extreme cases.

The feature is introduced to compensate for the position of the turning tool in the CAM system turning operation, without the possibility of setting the corrector value.