Gscreen - a GTK / Glade / Python based screen
Is this functionality needed? I could not think of a need to have the machine out of estop but machine off, so I combined them.
It's easy to have them separate if there is a good reason.
It's a corner-case, but if you have motors that need to home themselves (bldc + enccoders) then you can use the fact that f-errors are not raised with the machine off to sequence the motor homing.
(the on-button starts the home sequence, then the homing sequence turns on emc2 when finished)
E-stop kills the power, so precludes this.
yes i was thinking having the machine on button start the homing sequence if not homed already .
but also looking at the possibility if someone hit the on button , and the machine was in a state of danger , last thing we need is a table shooting at full tilt
so perhaps on selecting machine on , a unhomed led , to alert user to initalise homing before continuing may be a better solution
yes a follow error to go to machine off status , so this can be restarted by selecting machine on again and possibly rehome sequence , due to the fact that a follow error would have resulted in lost position , so rehome
yes a follow error to go to machine off status , so this can be restarted by selecting machine on again and possibly rehome sequence , due to the fact that a follow error would have resulted in lost position , so rehome[/quote]
the way i have it working here John , is that the Estop will toggle machine power to off on activation also
and needs then the gui to be set active again before continuing , my thoughts are to have an additional led next to the Estop led which shows machine on so you can instantly see either the machine on status and Estop Status together
i.e 2 greens and your cooking on gas ! , one red one green and your goose is cooked , or someones hit the Estop etc
If I had a dollar for every time an accidental push of the E-Stop had the machine off with no indication I'd have 10 or so bucks... some kind of indication that an E-Stop is in is a big help.
It's still based on master branch.
We added another led to the estop button for machine on.
now push once estop reset
push again machine off
push again estop / machine off
you can hide the pointer and zoom the plot with buttons.
under the head [DISPLAY]
DISPLAY = AXIS
change it to
DISPLAY = gscreen
then run linuxcnc normally and select that config.
It you get a weird number for VO percentage and the screen is too big for the display
add a DEFAULT_VELOCITY = something sane under the [TRAJ] heading