Interpreters development
  • Interpreters development
v3.0.4
Search Results for

    Show / Hide Table of Contents

    Equipment parameters

    INCT_Equipment - a CAM system interface that provides access to some equipment parameters.

    Description of the interface methods:

    MethodMethod descriptionDescription of use
    GetAxisIndex

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

    Input parameter: Addr (string) - axis address ('X', 'Y', 'Z', etc., as specified in the machine kinematic scheme).

    To control the tool movement (with INCT_CLData.AddMotion or CreateLinearMotionFormer), the axis indexes returned by GetAxisIndex must be specified.
    GetAxisIndexByNum

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

    Input parameters: AxisNum (integer) - robot axis number (1-6); Ext (boolean): False - robot axis, True - additional axis.

    If a robot axis is set by a number (not by an address), GetAxisIndexByNum can be used to get the axis index. As a rule, the axes of Motoman robots are obtained this way.
    GetXYZindex

    The function returns the index of the axis linked to the movement along the X, Y or Z coordinate by the specified parameter (see INCT_CLData.AddCircle).

    Input parameter: Ort (integer):

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

    To get the indexes of the axes linked to X, Y, Z of the current tool.
    CurrentLatheToolWidthThe function returns the width of the current turning tool (real number).Used to set the groove width step in INCT_LatheGroovingCycleFormer.
    GetSpindlesCountThe function returns the number of spindles of the current machine (integer).To execute commands that control a machine spindle by its number. For example, SPOS[n] = Value for the Sinumerik controller: spindle numbers in the NC program start from 1 and spindle indexes start from 0, so the axis of spindle n is GetAxisIndexBySpindleIndex(n - 1).
    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 function returns the type of the operation in the CAM system (TNCOperationGroup).

    The TNCOperationGroup type:

    ogUnknown - unknown;
    ogMill - milling;
    ogLathe - turning;
    ogAuxiliary - auxiliary;
    ogWireEDM - wire EDM;
    ogWelding - various kinds of welding;
    ogAdditive - various additive operations such as cladding;
    ogWaterJet - water jet cutting;
    ogSawing - sawing.

    Use it in interpreters only as a last resort.

    The function was added to compensate for the position of a turning tool in a turning operation of the CAM system where the offset value cannot be set.

    INCT_Equipment2 - a CAM system interface.

    Description of the interface methods:

    Method Method description Description of use
    GetCurrentToolRadius The function returns the radius of the current tool (real number). Can be used to calculate the overshoots for CYCLE90 in Sinumerik.

    INCT_Equipment_Channels - a CAM system interface that provides access to the machine channels. The interface is requested from the INCT_Equipment object; check the result of the request: in earlier versions of the CAM system the object may not support it.

    Description of the interface methods:

    Method Method description Description of use
    Get_Count The function returns the number of machine channels (integer).
    Get_CurrentIndex The function returns the index of the channel the current operation belongs to (integer). Numbering starts from 0. To interpret multichannel programs: allows determining which channel's program the interpreter is interpreting.
    Get_Channel The function returns the channel interface (INCT_Channel) by index.
    Input parameter: Index (integer) - channel index, possible values from 0 to Get_Count - 1.

    INCT_Channel - a CAM system interface that provides access to the machine channel parameters.

    Description of the interface methods:

    Method Method description Description of use
    Get_Name The function returns the channel name specified in the machine kinematic scheme (string).
    In this article