Enum CodeFlags
Code bits to classify G/M/T-codes
[Flags]
[JsonConverter(typeof(JsonNumberEnumConverter<CodeFlags>))]
public enum CodeFlags
Fields
Asynchronous = 1Code execution finishes as soon as it is enqueued in the code queue
EnforceAbsolutePosition = 128Enforce absolute positioning via prefixed G53 code
HasExplicitLineNumber = 8192Indicates if this code has an explicit line number (e.g. N1 G1 X10)
IsFromConfig = 32Code comes from config.g or config.g.bak
IsFromConfigOverride = 64Code comes from config-override.g
IsFromFirmware = 1024Indicates if this code was requested from the firmware
IsFromMacro = 8Code originates from a macro file
IsInternallyProcessed = 4096Code has been processed internally (if this is set the internal execution of a code is skipped)
IsLastCode = 2048Indicates if this is the last code on the line
IsNestedMacro = 16Code originates from a system macro file (i.e. RRF requested it)
IsPostProcessed = 4Code has been postprocessed (i.e. it has been processed by the internal DCS code processor)
IsPreProcessed = 2Code has been preprocessed (i.e. it has been processed by the DCS pre-side code interceptors)
IsPrioritized = 256Execute this code as quickly as possible and skip codes that have the Unbuffered flag set
None = 0Placeholder to indicate that no flags are set
Unbuffered = 512Do NOT process another code on the same channel before this code has been fully executed. Note that priority codes may still override codes that have this flag set