Interpreters development
  • Interpreters development
v3.0.4
Search Results for

    Show / Hide Table of Contents

    List of used types

    All types required for the interaction of the CAM system with the interpreter library are listed in the type libraries. Where to get the packages with them and which version to choose is described on the Interpreter library page.

    The following TLB files contain descriptions of the types used for interaction with the interpreter library:

    STNCInterpreter.tlb — the main list of types

    STNCAnalyzer.tlb — types used to manage the NC program text analysis

    STNCFormers.tlb — types used to simplify tool path construction (linear/circular movements, cycles).

    STNCConnect.tlb — types used to protect the interpreter.

    STNCCustomInterpreter.tlb — types for an interpreter with its own parameters.

    The main list of types (STNCInterpreter.tlb)

    Types Type description
    TNCExecObj
    INCT_BlockExecObject
    INCT_BlockExecArray
    List of objects to interpret
    TNCSpindleCommand
    INCT_BaseReg
    INCT_SysState
    INCT_SysState2
    INCT_SpindleState
    Register list
    TNCOperationGroup
    INCT_Equipment
    INCT_Equipment2
    INCT_Equipment_Channels
    INCT_Channel
    Equipment parameters
    TNC3DPoint
    TNCFeedType
    TNCPlaneType
    TNCLengthCompensationMode
    TNCRadiusCompensationMode
    TNCGotoMode
    TNCDrillingCycleType
    TNCLatheCycleType
    TNCSystemMeasure
    TNCFeedrateMeasure
    TNCThreadOrientation
    TNCThreadLeadType
    TNCTooltipMode
    TNCEulerAnglesConvention
    TNCFlipType
    TNCMillingCycleType
    TNCAddOriginFlipMode
    TNCSPositioningMode
    TNCOriginSolutionState
    INCT_CLData
    INCT_CLData2
    INCT_CLData_CutTo5d
    INCT_CLData_AutoAxesBrakes
    INCT_CLData_Comment
    INCT_CLData_BreakCommand
    INCT_CLData_Insert
    INCT_CLData_Print
    INCT_CLData_Wait
    INCT_CLData_LngID
    INCT_AddOriginByShiftAndRotate
    INCT_AddOriginByPhysicAxes
    INCT_OriginSolver
    Forming the tool path in machine axes
    INCT_CLData_PocketCycleFormer Circular pocket milling cycle
    TNC3DMatrix
    INCT_GeomCLData
    Forming the tool path in geometric axes
    TNCMessageType
    INCT_Kernel
    INCT_Kernel2
    CAM system kernel interface
    TNCGetPartDirection
    TNCGetPartOrigin
    INCT_ProgramManager
    INCT_ProgramManager2
    INCT_Program
    INCT_GetPartByUser
    NC program management
    TNCSign
    TNCPoint
    TNCValueAvailType
    INCT_RegisterValues
    INCT_Register
    INCT_RegisterList
    List of interpreter registers
    INCT_InterpreterState Turning stock removal cycle
    INCT_Interpreter Interpreter interface

    Types used to manage the NC program text analysis (STNCAnalyzer.tlb)

    Types Type description
    INCT_Analyzer
    INCT_Analyzer2
    INCT_Comments
    INCT_Brackets
    INCT_Quotes
    INCT_UnionLineChars
    INCT_EndOfLineChars
    Managing NC program text analysis

    Types used to simplify tool path construction (STNCFormers.tlb)

    Types Type description
    INCT_LinearMotionFormer
    INCT_GeomLinearMotionFormer
    Linear movements
    TNCCircularMode
    TNCConstructArcMode
    TNCAxisType
    INCT_CircularMotionFormer
    Circular movements
    TNCDCAxisIndexes
    TNCDrillingCycleMoveType
    TNCReturnLevel
    INCT_DrillingCycleEvents
    INCT_DrillingCycleFormer
    Drilling cycle
    TNCDrillingCycleShiftType
    TNCShiftAxis
    TNCShiftValues
    TNCShiftPath
    SetOfTNCShiftPath
    INCT_DrillingCycleWithShiftFormer
    Drilling cycle with shift
    TNCStartLevelType
    TNCDegressionType
    TNCClearanceType
    TNCRetractionType
    INCT_PeckDrillingCycleEvents
    INCT_PeckDrillingCycleFormer
    Drilling cycle with chip breaking
    TNC2DPoint
    TNCLCAxisIndexes
    TNCLatheCycleMoveType
    TNCGrooveDirection
    INCT_LatheCycleEvents
    INCT_LatheGroovingCycleFormer
    Turning grooving cycle
    TNCThreadApproach
    TNCThreadCuttingDirection
    TNCThreadSequenceType
    INCT_LatheThreadCuttingCycleEvents
    INCT_LatheThreadCuttingCycleFormer
    INCT_LatheThreadCuttingCycleFormer2
    Turning threading cycle
    TNCLSRPointType
    TNCCutDepthCalcMethod
    TNCPassReturnMethod
    TNCMachiningProcessing
    TNCLatheMachiningType
    TNCLatheMachiningDirection
    TNCLatheStepType
    TNCLatheStartPointMode
    TNCLatheMachiningStyle
    INCT_LatheCycleArcEvents
    INCT_LatheStockRemovalCycleEvents
    INCT_LatheStockRemovalCycleEvents2
    INCT_LatheStockRemovalCycleEvents3
    INCT_LatheStockRemovalCycleFormer
    INCT_LatheStockRemovalCycleFormer2
    Turning stock removal cycle
    TNCMillingThreadType
    TNCMillingCycleMoveType
    INCT_MillingCycleEvents
    INCT_ThreadMillingCycleFormer
    Thread milling cycle
    TNCFlatSpiralStepType
    TNCSpiralDirection
    TNCTypeOfProcessing
    TNCPocketCycleMoveType
    INCT_PocketCycleEvents
    INCT_PocketCycleFormer
    Circular pocket milling cycle

    Types used to protect the interpreter (STNCConnect.tlb)

    Types Type description
    INCT_Connect Protection interface

    Types for an interpreter with its own parameters (STNCCustomInterpreter.tlb)

    Types Type description
    TCustomParameterType
    INCT_CustomParameter
    INCT_CustomParameters
    Description of the parameters: the name (Name) and type (ParamType: cpInt, cpFlt, cpStr, cpBol, cpArray, cpComplex) of each parameter; parameters of the cpArray and cpComplex types have nested parameters (Count, Childs, ChildsByName)
    INCT_CustomValue
    INCT_CustomValues
    Parameter values: the name (Name) and value (Int, Flt, Str); nested values: Count, Childs, ChildsByName
    INCT_CustomInterpreter Interface of an interpreter with its own parameters (see below)

    INCT_CustomInterpreter is an interface that the interpreter object (the one returned by NCT_GetInterface) implements if the interpreter has its own parameters. The parameter values are stored in a *.sncix file: the file refers to the interpreter and stores the values of its parameters; it has no library of its own.

    The *.sncix file is created in the Interpreter configurator window. The window opens with the Interpreter configurator item in the Utilities list of the CAM system or with the Interpreter configurator item in ENCY Tuner. In the window, select the interpreter file in the Interpreter field, set the parameter values and save them to a *.sncix file with the Save as button. For the interpreter to work with these values, select the *.sncix file instead of the *.snci file wherever the interpreter file is selected: the interpreter file selection window accepts both file types.

    Method or property Description
    Parameters Read-only property that returns INCT_CustomParameters, the list of the interpreter's parameters. The Interpreter configurator window uses it to show the parameters and save their values to the *.sncix file.
    SetCustomValues(Values: INCT_CustomValues) The CAM system calls the method after loading the interpreter library, before reading its registers, and passes the parameter values from the *.sncix file. If the interpreter is selected by its own *.snci file rather than a *.sncix file, Values is empty (nil / null).

    An interpreter whose object implements INCT_CustomInterpreter cannot be a parent interpreter: the CAM system stops loading the descendant with an error.

    In this article