SymbolTable ¶ SMC_GVarType_ToString (Function) SMC_INCSymbolTable (Interface) GetSubprogramSignature (Method) LookupGlobalVar (Method) StoreSubprogramSignature (Method) SMC_NCSymbolResult (Enum) SMC_NCSymbolTable (FunctionBlock) GetSubprogramSignature (Method) LookupGlobalVar (Method) SetSubprogramError (Method) StoreSubprogramSignature (Method) SMC_NC_SubSignature (Struct)
SMC_GJUMP_TARGET (UNION) ¶ TYPE SMC_GJUMP_TARGET : UNION InOut: Name Type name STRING sentenceNo UDINT targetIndex DINT
SMC_GSentence (STRUCT) ¶ TYPE SMC_GSentence : STRUCT Represents one sentence of a G-Code file InOut: Name Type Comment pos SMC_NC_SourcePosition The source-position of the start of the sentence t SMC_GSentence_Type u SMC_GSentence_Union nNumGWords UDINT The number of G-words (stored in the G-Word queue) nNumGExpTokens UDINT The summed number of g-expression tokens for all G-words of the sentence lenAddData UDINT The summed additional data size fro all g-expression tokens of the sentence bStepSuppress BOOL Whether the sentence starts with ‘/’
SMC_GSentenceQueue (FB) ¶ FUNCTION_BLOCK SMC_GSentenceQueue The sentence queue transports the g-code sentences from the parser ( SMC_NCTokenParser ) to the interpreter ( SMC_NCInterpreter ). Methods: AddDataCapacity AddDataSpaceLeft AppendAddData AppendGExpToken AppendGWord AppendSentence EndOfData ExpTokenCapacity ExpTokenQueueFull ExpTokenSpaceLeft GetGWordIterator GetJumpCommand GetProgramName GetSentenceFromStart GetSentenceIterator Init InitP IsEmpty JumpSubCall JumpSubRet JumpToSentence JumpToTarget NumSentences RemoveFirstSentence ResetJumpTarget SentenceCapacity SentenceQueueFull SentenceSpaceLeft SetEndOfData SetPointers WordCapacity WordQueueFull WordSpaceLeft Structure: AddDataCapacity (Method) AddDataSpaceLeft (Method) AppendAddData (Method) AppendGExpToken (Method) AppendGWord (Method) AppendSentence (Method) EndOfData (Method) ExpTokenCapacity (Method) ExpTokenQueueFull (Method) ExpTokenSpaceLeft (Method) GetGWordIterator (Method) GetJumpCommand (Method) GetProgramName (Method) GetSentenceFromStart (Method) GetSentenceIterator (Method) Init (Method) InitP (Method) IsEmpty (Method) JumpSubCall (Method) JumpSubRet (Method) JumpToSentence (Method) JumpToTarget (Method) NumSentences (Method) RemoveFirstSentence (Method) ResetJumpTarget (Method) SentenceCapacity (Method) SentenceQueueFull (Method) SentenceSpaceLeft (Method) SetEndOfData (Method) SetPointers (Method) WordCapacity (Method) WordQueueFull (Method) WordSpaceLeft (Method)
SMC_GSentence_DynCall (STRUCT) ¶ TYPE SMC_GSentence_DynCall : STRUCT A dynamic subprogram call using an expression for the subprogram name InOut: Name Type Comment sentenceNumber UDINT types ARRAY [0..(SoftMotion_NC2_Constants.EVAL_STACK_SIZE - 1)] OF SMC_GVar_Type_Ext The type information about all arguments to DYNCALL. The first argument is the subprogram name. nArgs UDINT The number of arguments (including the subprogram name), at least 1. symbolTable SMC_INCSymbolTable The symbol table is passed to the interpreter as part of the sentence data.
SMC_GSentence_GWords (STRUCT) ¶ TYPE SMC_GSentence_GWords : STRUCT Additional data for gwords-sentences InOut: Name Type sentenceNumber UDINT
SMC_GSentence_Union (UNION) ¶ TYPE SMC_GSentence_Union : UNION InOut: Name Type gwords SMC_GSentence_GWords subret SMC_GSentence_SubRet subcall SMC_GSentence_SubCall dyncall SMC_GSentence_DynCall let SMC_GSentence_Let
SMC_GVarDecl (STRUCT) ¶ TYPE SMC_GVarDecl : STRUCT A G-Code variable declaration InOut: Name Type name STRING vtype SMC_GVar_Type
SMC_GVar_Type (ENUM) ¶ TYPE SMC_GVar_Type : The supported types of variables (and formal subprogram parameters) in G-Code Attributes: qualified_only InOut: Name T_BOOL T_LREAL T_STRING T_OTHER
SMC_GWord_Iterator (FB) ¶ FUNCTION_BLOCK FINAL SMC_GWord_Iterator This iterator allows to iterate all g-words of a g-sentence. It can be retrieved from the sentence-queue for the first sentence ( SMC_GSentenceQueue.GetGWordIterator ), or for any sentence from a sentence iterator ( SMC_GSentence_Iterator.GetGWordIterator ). For each sentence, a g-expression token iterator ( SMC_GExpToken_Iterator ) can be created. Methods: Advance GetCount GetGExpTokenIterator GetValue Init IsValid Structure: Advance (Method) GetCount (Method) GetGExpTokenIterator (Method) GetValue (Method) Init (Method) IsValid (Method)