grblHAL core  20241107
messages.h File Reference

Go to the source code of this file.

Data Structures

struct  message_t
 

Enumerations

enum  message_code_t {
  Message_None = 0 , Message_CriticalEvent = 1 , Message_AlarmLock = 2 , Message_AlarmUnlock = 3 ,
  Message_Enabled = 4 , Message_Disabled = 5 , Message_SafetyDoorAjar = 6 , Message_CheckLimits = 7 ,
  Message_ProgramEnd = 8 , Message_RestoreDefaults = 9 , Message_SpindleRestore = 10 , Message_SleepMode = 11 ,
  Message_EStop = 12 , Message_HomingCycleRequired = 13 , Message_CycleStartToRerun = 14 , Message_ReferenceTLOEstablished = 15 ,
  Message_MotorFault = 16 , Message_CycleStart2Continue = 17 , Message_TPCycleStart2Continue = 18 , Message_ProbeFailedRetry = 19 ,
  Message_ExecuteTPW = 20 , Message_ProbeProtected = 21 , Message_Stop = 22 , Message_NextMessage
}
 
enum  message_type_t {
  Message_Plain = 0 , Message_Info , Message_Warning , Message_Error ,
  Message_Debug
}
 

Functions

const message_tmessage_get (message_code_t id)
 

Enumeration Type Documentation

◆ message_code_t

Enumerator
Message_None 

0 - reserved, do not change value.

Message_CriticalEvent 

1

Message_AlarmLock 

2

Message_AlarmUnlock 

3

Message_Enabled 

4

Message_Disabled 

5

Message_SafetyDoorAjar 

6

Message_CheckLimits 

7

Message_ProgramEnd 

8

Message_RestoreDefaults 

9

Message_SpindleRestore 

10

Message_SleepMode 

11

Message_EStop 

12

Message_HomingCycleRequired 

13

Message_CycleStartToRerun 

14

Message_ReferenceTLOEstablished 

15

Message_MotorFault 

16

Message_CycleStart2Continue 

17

Message_TPCycleStart2Continue 

18

Message_ProbeFailedRetry 

19

Message_ExecuteTPW 

20

Message_ProbeProtected 

21

Message_Stop 

22

Message_NextMessage 

23 - next unassigned message number.

◆ message_type_t

Enumerator
Message_Plain 
Message_Info 
Message_Warning 
Message_Error 
Message_Debug 

Function Documentation

◆ message_get()

const message_t* message_get ( message_code_t  id)