- CommandItems = {}
-
- # Pre-defined Command Items
- CommandItem( name='auto', paramTypes=[ {'pname':'auto', 'ptype':'lookup', 'lookup-vals':['AUTO_RUN','AUTO_STEP','AUTO_RESUME','AUTO_PAUSE'], 'optional':False }, {'pname':'run_from', 'ptype':'int', 'optional':True} ], help='run, step, pause or resume a program. auto legal values: AUTO_RUN, AUTO_STEP, AUTO_RESUME, AUTO_PAUSE' ).register_in_dict( CommandItems )
- CommandItem( name='brake', paramTypes=[ {'pname':'onoff', 'ptype':'lookup', 'lookup-vals':['BRAKE_ENGAGE','BRAKE_RELEASE'], 'optional':False} ], help='engage or release spindle brake. Legal values: BRAKE_ENGAGE or BRAKE_RELEASE' ).register_in_dict( CommandItems )
- CommandItem( name='debug', paramTypes=[ {'pname':'onoff', 'ptype':'int', 'optional':False} ], help='set debug level bit-mask via EMC_SET_DEBUG message' ).register_in_dict( CommandItems )
- CommandItem( name='feedrate', paramTypes=[ {'pname':'rate', 'ptype':'float', 'optional':False} ], help='set the feedrate' ).register_in_dict( CommandItems )
- CommandItem( name='flood', paramTypes=[ {'pname':'onoff', 'ptype':'lookup', 'lookup-vals':['FLOOD_ON','FLOOD_OFF'], 'optional':False} ], help='turn on/off flood coolant. Legal values: FLOOD_ON, FLOOD_OFF' ).register_in_dict( CommandItems )
- CommandItem( name='home', paramTypes=[ {'pname':'axis', 'ptype':'int', 'optional':False} ], help='home a given axis' ).register_in_dict( CommandItems )
- CommandItem( name='load_tool_table', paramTypes=[], help='reload the tool table' ).register_in_dict( CommandItems )
- CommandItem( name='maxvel', paramTypes=[ {'pname':'rate', 'ptype':'float', 'optional':False} ], help='set maximum velocity' ).register_in_dict( CommandItems )
- # CommandItem( name='mdi', paramTypes=[ {'pname':'mdi', 'ptype':'string', 'optional':False} ], help='send an MDI command. Maximum 255 chars' ).register_in_dict( CommandItems )
- CommandItem( name='mist', paramTypes=[ {'pname':'onoff', 'ptype':'lookup', 'lookup-vals':['MIST_ON','MIST_OFF'], 'optional':False} ], help='turn on/off mist. Legal values: MIST_ON, MIST_OFF' ).register_in_dict( CommandItems )
- CommandItem( name='mode', paramTypes=[ {'pname':'mode', 'ptype':'lookup', 'lookup-vals':['MODE_AUTO','MODE_MANUAL','MODE_MDI'], 'optional':False} ], help='Set mode. Legal values: MODE_AUTO, MODE_MANUAL, MODE_MDI).' ).register_in_dict( CommandItems )
- CommandItem( name='override_limits', paramTypes=[], help='set the override axis limits flag.' ).register_in_dict( CommandItems )
- CommandItem( name='program_open', paramTypes=[ {'pname':'filename', 'ptype':'string', 'optional':False}], help='Open an NGC file.' ).register_in_dict( CommandItems )
- CommandItem( name='rapidrate', paramTypes=[{'pname':'rate', 'ptype':'float', 'optional':False}], help='set rapid override factor' ).register_in_dict( CommandItems )
- CommandItem( name='reset_interpreter', paramTypes=[], help='reset the RS274NGC interpreter' ).register_in_dict( CommandItems )
- CommandItem( name='set_adaptive_feed', paramTypes=[ {'pname':'onoff', 'ptype':'int', 'optional':False} ], help='set adaptive feed flag ' ).register_in_dict( CommandItems )
- CommandItem( name='set_analog_output', paramTypes=[ {'pname':'index', 'ptype':'int', 'optional':False}, {'pname':'value', 'ptype':'float', 'optional':False} ], help='set analog output pin to value' ).register_in_dict( CommandItems )
This file has been truncated. show original