/******************************************************************************\

                  This file is part of the Buildbotics firmware.

         Copyright (c) 2015 - 2023, Buildbotics LLC, All rights reserved.

          This Source describes Open Hardware and is licensed under the
                                  CERN-OHL-S v2.

          You may redistribute and modify this Source and make products
     using it under the terms of the CERN-OHL-S v2 (https:/cern.ch/cern-ohl).
            This Source is distributed WITHOUT ANY EXPRESS OR IMPLIED
     WARRANTY, INCLUDING OF MERCHANTABILITY, SATISFACTORY QUALITY AND FITNESS
      FOR A PARTICULAR PURPOSE. Please see the CERN-OHL-S v2 for applicable
                                   conditions.

                 Source location: https://github.com/buildbotics

       As per CERN-OHL-S v2 section 4, should You produce hardware based on
     these sources, You must maintain the Source Location clearly visible on
     the external case of the CNC Controller or other product you make using
                                   this Source.

                 For more information, email info@buildbotics.com

\******************************************************************************/

//(CODE, NAME,      SYNC)
CMD('$', var,          0) // Set or get variable
CMD('#', sync_var,     1) // Set variable synchronous
CMD('s', seek,         1) // [switch][flags:active|error]
CMD('a', set_axis,     1) // [axis][position] Set axis position
CMD('l', line,         1) // [targetVel][maxJerk][axes][times]
CMD('%', sync_speed,   1) // [offset][speed] Command synchronized speed
CMD('p', speed,        1) // [speed] Spindle speed
CMD('I', input,        1) // [a|d][port][mode][timeout] Read input
CMD('d', dwell,        1) // [seconds]
CMD('P', pause,        1) // [type] Pause control
CMD('S', stop,         0) // Stop move, spindle and load outputs
CMD('U', unpause,      0) // Unpause
CMD('j', jog,          0) // [id][axes]
CMD('r', report,       0) // <0|1>[var] Enable or disable var reporting
CMD('R', reboot,       0) // Reboot the controller
CMD('c', resume,       0) // Continue processing after a flush
CMD('E', estop,        0) // Emergency stop
CMD('X', shutdown,     0) // Power shutdown
CMD('C', clear,        0) // Clear estop
CMD('F', flush,        0) // Flush command queue
CMD('D', dump,         0) // Report all variables
CMD('h', help,         0) // Print this help screen
