Controls

Push Buttons

Controls are QPushButtons that can be placed anywhere you like. Use the Name from the list below for each control widget objectName. Replace the (1-9) with the joint number or axis index. More controls are in Tools and Coordinate Systems

Control Push Buttons

Control Function

Object Name

Open a G code File

open_pb

Edit a G code File

edit_pb

Reload a G code File

reload_pb

Edit Tool Table

edit_tool_table_pb

Reload Tool Table

reload_tool_table_pb

Save As a New Name

save_as_pb

Quit the Program

quit_pb

E-Stop Toggle

estop_pb

Power Toggle

power_pb

Run a Loaded G code File

run_pb

Run From Line

run_from_line_pb

Step one Logical Line

step_pb

Pause a Running Program

pause_pb

Resume a Paused Program

resume_pb

Stop a Running Program

stop_pb

Home All Joints

home_all_pb

Home a Joint (0-8)

home_pb_(0-8)

Unhome All Joints

unhome_all_pb

Unhome a Joint (0-8)

unhome_pb_(0-8)

Manual Mode

manual_mode_pb

Jog Plus Axis (0-8)

jog_plus_pb_(0-8)

Jog Minus Axis (0-8)

jog_minus_pb_(0-8)

Spindle Forward

spindle_fwd_pb

Spindle Reverse

spindle_rev_pb

Spindle Stop

spindle_stop_pb

Spindle Faster

spindle_plus_pb

Spindle Slower

spindle_minus_pb

Flood Toggle

flood_pb

Mist Toggle

mist_pb

Clear Error History

clear_error_history_pb

Show HAL

show_hal_pb

HAL Meter

hal_meter_pb

HAL Scope

hal_scope_pb

_images/controls-01.png

Note

Touch Off buttons require a Double Spin Box named touchoff_dsb

Note

Tool Touch Off buttons require a Double Spin Box named tool_touchoff_dsb

Options

These buttons are toggle type buttons press to turn on press again to turn off. They are normal push buttons but in code they are set to checkable

Flood Toggle                           flood_pb
Mist Toggle                            mist_pb
Optional Stop at M1                    optional_stop_pb
Block Delete line that starts with /   block_delete_pb
Feed Override Enable/Disable           feed_override_pb

Axis Index

X 0
Y 1
Z 2
A 3
B 4
C 5
U 6
V 7
W 8

Sliders

A QSlider is used to control the following functions and the corresponding label shows the value of the slider.

Function              Object Name                 Status Label
Jog Velocity          jog_vel_sl                  jog_vel_lb
Feed Override         feed_override_sl            feedrate_lb
Rapid Override        rapid_override_sl           rapid_override_lb
Spindle Override      spindle_override_sl         spindle_override_0_lb

The following settings are from the DISPLAY section of the ini file if found.

Jog Velocity minimum              MIN_LINEAR_VELOCITY
Jog Velocity maximum              MAX_LINEAR_VELOCITY
Jog Velocity default              DEFAULT_LINEAR_VELOCITY
Feed Override maximum             MAX_FEED_OVERRIDE
Spindle Override maximum          MAX_SPINDLE_OVERRIDE

Spin Boxes

Spindle Speed           spindle_speed_sb

Double Spin Boxes

Touch Off Value         touchoff_dsb
Tool Touch Off Value    tool_touchoff_dsb

Note

You don’t have to use all the controls, the ones found will be connected to the correct code. Nothing is mandatory to use it’s Flexible.