List of interpreter registers
INCT_RegisterList - interface that returns the interpreter function INCT_Interpreter.GetRegisters. The interface provides work with the list of interpreter registers.
Description of interface methods:
Method |
Method Description |
Description of use |
Get_Count |
The function should return the number of interpreter registers to SprutCAM X. No input parameters. |
When forming a general list of registers, SprutCAM X calls the Get_Count function, gets the number of registers, and then sequentially, for each register, calls the Get_Item function. |
Get_Item |
By register number, the function should return the INCT_Register interface to SprutCAM X (see below). Input parameter: Index (integer) - register number. Numbering starts with 0. |
INCT_Register - interface, which is returned by the function interpreter INCT_RegisterList.Get_Item. The interface provides work with the parameters of the selected interpreter register.
Description of interface methods:
Method |
Method Description |
Description of use |
Get_Addr |
The function should return the register address (string) to SprutCAM X. No input parameters. |
The register address is used by SprutCAM X to find the register in the register list. |
Get_Id |
The function should return the register identifier in the machine kinematic diagram (string) to SprutCAM X. No input parameters. |
Register identifier in the kinematic scheme of the machine, if applicable. Otherwise, the string is empty. |
Get_Name |
The function should return the register name (string) to SprutCAM X. No input parameters. |
The unique name of the register. Used to uniquely identify the register in the list. |
Get_Comment |
The function should return a register comment (string) to SprutCAM X. No input parameters. |
The function is called, but in the current version the value returned by the function is not used. |
Get_Sign |
The function should return a register character type (type TNCSign) to SprutCAM X. sgnNoSign - without sign; No input parameters. |
The function is called, but in the current version the value returned by the function is not used. |
Get_Point |
The function should return register point type to SprutCAM X (the TNCPoint enumerated type). pntNoPoint - without point; No input parameters. |
The function is called, but in the current version the value returned by the function is not used. |
Get_BeforePoint |
The function should return to SprutCAM X the number of characters to the register point (integer). No input parameters. |
The function is called, but in the current version the value returned by the function is not used. |
Get_AfterPoint |
The function should return the number of characters after the register point (integer) to SprutCAM X. No input parameters. |
The function is called, but in the current version the value returned by the function is not used. |
Get_LeadingZeros |
The function should return to SprutCAM X a sign of the presence of leading register zeros (boolean). No input parameters. |
The function is called, but in the current version the value returned by the function is not used. |
Get_TrailingZeroes |
The function should return to SprutCAM X the sign of the presence of non-significant register zeros (logical). No input parameters. |
The function is called, but in the current version the value returned by the function is not used. |
Get_ValueAvail |
The function should return a register type to SprutCAM X (the TNCValueAvailType enumerated type). vatValue - the register consists of an address and a value; No input parameters. |
|
Get_Values |
The function should return a list of register values to SprutCAM X (interface INCT_RegisterValues). No input parameters. |
INCT_RegisterValues.Get_Count - number of values INCT_RegisterValues.Get_Value - index value (Index - integer) The list of register values is used in determining the register and its value. |
Get_Modal |
The function should return the register modality (logical) to SprutCAM X. No input parameters. |
Used when copying register values after interpreting the current frame. Modal registers are included in INCT_BlockExecArray only if the register value has changed in the current frame. Modeless always, if present in the current frame. |