-
Notifications
You must be signed in to change notification settings - Fork 2
/
changelog.txt
85 lines (68 loc) · 4.61 KB
/
changelog.txt
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
RGB Status Light Plugin for CNC machines
Copyright (c) 2021 JAC
Version 1.0 - November 7, 2021
Changelog
---
For use with grblHAL: (Official GitHub) https://github.com/grblHAL
Wiki (via deprecated GitHub location): https://github.com/terjeio/grblHAL/wiki/Compiling-GrblHAL
Written by JAC for use with the Expatria grblHAL2000 PrintNC controller boards:
https://github.com/Expatria-Technologies/grblhal_2000_PrintNC
PrintNC - High Performance, Open Source, Steel Frame, CNC - https://wiki.printnc.info
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.
This RGB control plugin is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with GrblHAL. If not, see <http://www.gnu.org/licenses/>.
Copyright reserved by the author.
---
Changelog:
Version 1.0 First official release
Added licensing information
Moved to rgb directory as a named plugin
Requested including in grblHAL plugin_init.h
Updated readme.txt
Moved this information to changelog.txt
Moved pending items and ideas to todo.txt
NEW: Made idle light colour a configurable variable in the code, will move to $ setting in future
NEW: Tested against new serial-api with and IR remote control plugin (separate plugin)
NEW: Inspection light cycles to red or red/magenta if cutter is on
NEW: Locally connect Auxin to button that can toggle inspection light
FIXED: Reset button in UI causes all lights to go off
Note: Port assignment in the init function needs a rework, works for grblHAL2000 but is not properly dynamic yet
--- Historical entries in chronological order ---
Version .1 Imported from JAC project from grbl-Mega and adjusted for basic STATE lights
Version .2 Added checks for spindle on and override with RED to indicate warning
Moved alarm and spindle checks from report function to realtime new loop function
Simplified switch statement for static state light indicators
Moved RGB color table to a struct/array, simplifying rgb_set_state() to 3 lines
First check-in to personal git repo
Fixed bug in handling state_get() that was causing lights to indicate idle after alarm trigger
Version .3 Add discrete light sequences for particular alarms
Added configuration array so lights can be easily mapped to current & new alarm codes
Added three different delay variables to configs to improve communication
Standarized on three slow red flashses to indicate ALARM
Followed by (with no RGB_OFF in between these levels):
ALARM INFORM e.g. Yellow for homing event
ALARM DETAIL (If Exists) e.g. Green for seek
ALARM HINT (If Exists) e.g. Red for X axis
Added STATE_HOLD flashing yellow
Added OnProgramCompleted (M2/M30), Chequered Flag flash sequence
Version .4 Added Inspection Light, turned on via MCode `M356 Q1` and off via `M356 Q2`
This may require additional trigger option, if can't send mcode during cycle run
Added Flood || Mist indicator (Magenta) during spindle on condition
Added extensive comments throughout code
Corrected small bug in Alarm loop that was causing some alarms to have 2 instead of 3 RED flashes at start
Version .5 Extended handling of Inspection Light cases
-If Spindle is also on, 0.5s White (ACK), 0.5s Red (Caution) then loop 5s white light, followed by 0.5s red
-If Flood or Mist are also on, they flash for .5s after Red in both situations
Version .6 Added rgb_delay_ms() non-blocking delay function for lights
Re-factored entire alarm module to use rgb_delay_ms, making the code easier to read and use
Version .7 August 10, 2021
Fixed bugs in otherlights function
Removed various pieces of unused code
Cleaned up many of the comments