SMC_GCODE_TEXT (STRUCT)

 

TYPE SMC_GCODE_TEXT : STRUCT

This data type is used to transmit the string of the last decoded line of the CNC file to the FB SMC_GCodeViewer. The data source is connected to the eponymous output of the SMC_NCDecoder module.

InOut:

Name

Type

Comment

str

STRING(80)

String representing the current line

iLineNumber

DINT

Line number (from N word)

bNewLine

BOOL

TRUE when a new line has been decoded in this cycle; FALSE else

bClearList

BOOL

TRUE when the Decoder has been started from new, what implies that a buffer that may store the last lines should be emptied.