Skip to content

Commit

Permalink
add EMCStatusUI message
Browse files Browse the repository at this point in the history
  • Loading branch information
machinekoder committed Jun 7, 2018
1 parent 33f5635 commit 7d10a0d
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/machinetalk/protobuf/message.proto
Original file line number Diff line number Diff line change
Expand Up @@ -220,6 +220,7 @@ message Container {
optional EmcStatusIo emc_status_io = 602 [(nanopb).type = FT_IGNORE];
optional EmcStatusTask emc_status_task = 603 [(nanopb).type = FT_IGNORE];
optional EmcStatusInterp emc_status_interp = 604 [(nanopb).type = FT_IGNORE];
optional EmcStatusUI emc_status_ui = 605 [(nanopb).type = FT_IGNORE];

optional EmcCommandParameters emc_command_params = 610 [(nanopb).type = FT_IGNORE];

Expand Down
17 changes: 17 additions & 0 deletions src/machinetalk/protobuf/status.proto
Original file line number Diff line number Diff line change
Expand Up @@ -497,3 +497,20 @@ message EmcStatusUserCommand {
required int32 index = 1; /// User command index.
optional string command = 2; /// User command separated by semicolon. E.g. G1A20;G1A0 Remove Filament.
}

/**
* EMC status user interface message.
*/
message EmcStatusUI {
option (nanopb_msgopt).msgid = 1117;

optional bool spindle_brake_visible = 1; /// Spindle brake control visible
optional bool spindle_cw_visible = 2; /// Spindle CW control visible
optional bool spindle_ccw_visible = 3; /// Spindle CCW control visible
optional bool spindle_stop_visible = 4; /// Spindle stop control visible
optional bool spindle_plus_visible = 5; /// Spindle plus control visible
optional bool spindle_minus_visible = 6; /// Spindle minus control visible
optional bool spindle_override_visible = 7; /// Spindle override control visible
optional bool coolant_flood_visible = 8; /// Coolant flood control visible
optional bool coolant_mist_visible = 9; /// Coolant mist control visible
}

0 comments on commit 7d10a0d

Please sign in to comment.