Inout Const
|
prgName
|
STRING(255)
|
The name of the program or subprogram. This is usually the full path of the CNC file. E.g. for the file with full path ‘/some/dir/name.cnc’.
|
Input
|
pBufSentences
|
POINTER TO SMC_GSentence
|
Pointer to the sentence buffer
|
nSizeBufSentences
|
UDINT
|
Size of the sentence buffer in bytes. Must hold at least 2 sentences.
|
pBufGWords
|
POINTER TO SMC_GWord
|
Pointer to the gword buffer
|
nSizeBufGWords
|
UDINT
|
Size of the G-Word buffer in bytes. Must hold at least 64 gwords.
|
pBufGExpTokens
|
POINTER TO SMC_GExpression_Token
|
Pointer to the expression token buffer
|
nSizeBufGExpTokens
|
UDINT
|
Size of the expression token buffer in bytes. Must hold at least 128 expressions.
|
pBufAddData
|
POINTER TO BYTE
|
Pointer to the additional data buffer
|
nSizeBufAddData
|
UDINT
|
Size of the additional data buffer in bytes. Must hold at least 256 bytes.
|
Return
|
InitP
|
BOOL
|
|