This function block is used to read the G-Code buffer of the MC_MovePath. The G-Code commands are sorted in ascending order, starting with the rently active command. The table is updated automatically by changing the ArrayIndex of the G-Code Buffer.
Recommended task: | Event |
Libraries used: | MC_SYS_40bd09 or higher MOTION_CONTROL_40bd11 or higher;her MOTION_TYPES_40bd11 or higher TECH_TYPES_40bd12 or higher |
Marking: | Data type: | Description: |
---|---|---|
a_GCodeDisplay | MC_GCodeDisplayString_BMARRAY | MovePath G-Code buffer |
a_GCodeBuffer | a_GCodeBufferStringArray | G-Code array |
Marking: | Data type: | Description: |
---|---|---|
x_Enable | BOOL | TRUE: Release of the function block, this starts the reading of the G-code buffer. |
i_GetGCodeLines | INT | Number of required G-Code lines [1..20] |
i_CurrentGCodeDisplayBuffer | INT | Current step/index of G-code buffer |
Marking: | Data type: | Description: |
---|---|---|
x_Active | BOOL | TRUE: fb is doing and readout the G-code buffer FALSE: fb is in Standby |
x_Error | BOOL | TRUE: TRUE: fb has an error |
w_ErrorID | WORD | If x_Error = TRUE this out output shows a detailled error information number. |