Table of Contents

Enum KeywordType

Namespace
DuetAPI.Commands
Assembly
DuetAPI.dll

Enumeration of conditional G-code keywords

[JsonConverter(typeof(JsonNumberEnumConverter<KeywordType>))]
public enum KeywordType : byte

Fields

Abort = 6

Abort instruction

Break = 5

Break instruction

Continue = 10

Continue instruction

Echo = 9

Echo operation

Else = 3

Else condition

ElseIf = 2

Else-if condition

Global = 11

Global operation

If = 1

If condition

None = 0

No conditional code

Set = 8

Set operation

Skip = 12

Skip the rest of the current line (no-op)

Var = 7

Var operation

While = 4

While condition