1pub mod general {
2 pub const SYNC: &str = "\0";
3
4 pub const STATUS_REPORT: &str = "?";
5 pub const CYCLE_START: &str = "~";
6 pub const FEED_HOLD: &str = "!";
7 pub const UNLOCK: &str = "$X";
8 pub const START_HOMING: &str = "$H";
9 pub const CHECK: &str = "$C";
10
11 pub const GET_NGC_PARAMETERS: &str = "$#";
12 pub const GET_STARTUP_LINES: &str = "$N";
13
14 pub const GET_PROGRAM_DEMARCATION: &str = "%";
15 pub const NO_TOOL: &str = "None";
16}
17
18pub mod state {
19 pub const GET_PARSER_STATE: &str = "$G";
20 pub const GET_INFO: &str = "$I";
21 pub const GET_INFO_EXTENDED: &str = "$I+";
22 pub const GET_ALARM_CODES: &str = "$EA";
23 pub const GET_ERROR_CODES: &str = "$EE";
24}
25
26pub mod settings {
27 pub const GET: &str = "$$";
28 pub const GET_ALL: &str = "$+";
29 pub const GET_DETAILS: &str = "$ES";
30 pub const GET_GROUPS: &str = "$EG";
31}
32
33pub mod sdcard {
34 pub const MOUNT: &str = "FM";
35 pub const DIR: &str = "F";
36 pub const REWIND: &str = "FR";
37 pub const RUN: &str = "F=";
38 pub const UNLINK: &str = "FD=";
39 pub const DUMP: &str = "F<=";
40}
41
42pub mod format {
43 pub const METRIC: &str = "###0.000";
44 pub const IMPERIAL: &str = "##0.0000";
45}
46
47pub mod signals {
48 pub const BASE: &str = "XYZABCEPRDHSBTOW";
49 pub const THC: &str = "AERTOVHDU";
50}