Interface INCT_Interpreter
Interface that should be implemented in the interpreter software library. Through this interface, CAM system interacts with the interpreter at all stages of interpreting G-code.
Namespace: STNCInterpreter
Assembly: STNCInterpreter.dll
Syntax
[Guid("3692B7BE-D814-40C3-AA71-DEAB06028410")]
[InterfaceType(ComInterfaceType.InterfaceIsIUnknown)]
public interface INCT_Interpreter
Methods
AfterInterprete()
Informs interpreter about the end of the interpretation of the current frame.
Declaration
void AfterInterprete()
BeforeInterprete()
Informs interpreter about the end of the current frame translation and the beginning of its interpretation.
Declaration
void BeforeInterprete()
DefineRegister(string, out int)
Declaration
bool DefineRegister(string Addr, out int Index)
Parameters
Type | Name | Description |
---|---|---|
string | Addr | |
int | Index |
Returns
Type | Description |
---|---|
bool |
EndOfProgram()
Return to CAM system the program termination flag. Translation and interpretation of the G-code well be completed.
Declaration
bool EndOfProgram()
Returns
Type | Description |
---|---|
bool |
GetIdentifier()
Return to CAM system interpreter library identifier
Declaration
string GetIdentifier()
Returns
Type | Description |
---|---|
string |
GetRegisters()
Return to CAM system list of interpreter registers.
Declaration
INCT_RegisterList GetRegisters()
Returns
Type | Description |
---|---|
INCT_RegisterList |
Initialize()
Informs interpreter about the completion of the transfer of all CAM system interfaces and the ability to perform initialization of the interpreter.
Declaration
void Initialize()
Interprete(int)
Declaration
void Interprete(int ExecNum)
Parameters
Type | Name | Description |
---|---|---|
int | ExecNum |
NextOperation()
Informs interpreter about beginning of the next operation interpretation.
Declaration
void NextOperation()
SetInterface(object)
Receiving interfaces from CAM system. The method will be called several times: according to the number of transmitted interfaces.
Declaration
void SetInterface(object Intf)
Parameters
Type | Name | Description |
---|---|---|
object | Intf | CAM interfacee |
TransLine(string, out int, out bool, out bool)
Declaration
void TransLine(string CurrentLine, out int ProcessedChars, out bool NextLine, out bool BreakLine)
Parameters
Type | Name | Description |
---|---|---|
string | CurrentLine | |
int | ProcessedChars | |
bool | NextLine | |
bool | BreakLine |