List of interpreter registers
INCT_RegisterList - the interface returned by the interpreter function INCT_Interpreter.GetRegisters. The interface provides work with the list of interpreter registers.
Description of the interface methods:
| Method | Method description | Description of use |
|---|---|---|
| Get_Count | The function must return the number of interpreter registers to the CAM system. No input parameters. | When forming the common list of registers, the CAM system calls the Get_Count function, gets the number of registers, and then calls the Get_Item function for each register in turn. |
| Get_Item | The function must return the INCT_Register interface (see below) to the CAM system by the register number. Input parameter: Index (integer) - register number. Numbering starts from 0. |
INCT_Register - the interface returned by the interpreter function INCT_RegisterList.Get_Item. The interface provides work with the parameters of the selected interpreter register.
Description of the interface methods:
| Method | Method description | Description of use |
|---|---|---|
| Get_Addr | The function must return the register address (string) to the CAM system. No input parameters. |
The CAM system uses the register address to find the register in the list of registers. |
| Get_Id | The function must return the register identifier in the machine kinematic scheme (string) to the CAM system. No input parameters. |
The register identifier in the machine kinematic scheme, if applicable. Otherwise, the string is empty. |
| Get_Name | The function must return the register name (string) to the CAM system. No input parameters. |
The unique register name. It is used to identify the register in the list unambiguously. |
| Get_Comment | The function must return the register comment (string) to the CAM system. No input parameters. |
The function is called, but in the current version the value it returns is not used. |
| Get_Sign | The function must return the register sign type (the TNCSign enumerated type) to the CAM system. sgnNoSign - no sign; sgnMinus - minus only; sgnPlusAndMinus - plus and minus. No input parameters. |
The function is called, but in the current version the value it returns is not used. |
| Get_Point | The function must return the register point type (the TNCPoint enumerated type) to the CAM system. pntNoPoint - no point; pntPoint - the point may or may not be present; pntAlwaysPoint - the point is always present. No input parameters. |
The function is called, but in the current version the value it returns is not used. |
| Get_BeforePoint | The function must return the number of register digits before the point (integer) to the CAM system. No input parameters. |
The function is called, but in the current version the value it returns is not used. |
| Get_AfterPoint | The function must return the number of register digits after the point (integer) to the CAM system. No input parameters. |
The function is used to check the correctness of arcs, so it is important to set the number of digits after the point correctly. The tool path generator uses this function inside the kernel. |
| Get_LeadingZeros | The function must return the flag of leading zeros in the register (boolean) to the CAM system. No input parameters. |
The function is called, but in the current version the value it returns is not used. |
| Get_TrailingZeroes | The function must return the flag of trailing (non-significant) zeros in the register (boolean) to the CAM system. No input parameters. |
The function is called, but in the current version the value it returns is not used. |
| Get_ValueAvail | The function must return the register type (the TNCValueAvailType enumerated type) to the CAM system. vatValue - the register consists of an address and a value; vatOnlyAddr - the register consists of an address only; vatBoth - the register can consist either of an address only, or of an address and a value. No input parameters. |
It is used when determining the register and its value. |
| Get_Values | The function must return the list of register values (the INCT_RegisterValues interface) to the CAM system. No input parameters. |
INCT_RegisterValues.Get_Count - the number of values INCT_RegisterValues.Get_Value - the value by index (Index - integer) The list of register values is used when determining the register and its value. |
| Get_Modal | The function must return the register modality flag (boolean) to the CAM system. No input parameters. |
It is used when copying register values after the current block is interpreted. Modal registers get into INCT_BlockExecArray only if the register value has changed in the current block. Non-modal registers always get there if they are present in the current block. |