Display for Laser/CNC mode

13»

Comments

  • Could not reproduce that error. DisplayList.h defines it
    #define UI_STATUS_UPD_F(status) {uid.setStatusP(status);uid.refreshPage();}

    Where do you get that error?
  • seems to be mismatch anywhere in my merging.
    I´ll start fresh one...can´t find what happened

  • edited February 2017
    OK, no mismatch from my side.

    downloaded development version and in configuration.h just set :


    #define SUPPORT_LASER 1 // set 1 to enable laser support
    #define LASER_PIN 67    // set to pin enabling laser
    #define LASER_ON_HIGH 1 // Set 0 if low signal enables laser
    #define LASER_WARMUP_TIME 0// wait x milliseconds to start material burning before move


    #define DOOR_PIN 68
    #define DOOR_PULLUP 1
    #define DOOR_INVERTING 1

    then you should be able to reproduce error message.
    if laser not activated it compiles fine .
    reason :
    door open message is coupled with Laser support.
    but message should be active in all modes if door is open as door is also active in all modes

    so line 888 in printer.h should be changed from:

    #if defined(DOOR_PIN) && DOOR_PIN > -1 && SUPPORT_LASER       

    to

    #if defined(DOOR_PIN) && DOOR_PIN > -1


    so any idea about error message :

    exit status 1
    'UI_STATUS_UPD_F' was not declared in this scope

    ??
  • Ok, could reproduce. Have moved it to Printer.cpp so it is now using known macros. 
  • Thanks, compiles now also in my Setup, will check functions tonight.


  • did a short check, function has 2 problems :

    1. Message "door open" is shown after closing door

    2. executing gcode gets ugly slow. seems communication to host takes about 10 times more.
    have a short gcode file which takes  about 2 seconds to execute without door activated.
    time rises to 20 seconds when door is activated
  • Ok, I think i have seen the problem. Apart from having order swapped it always went into last condition updating screen which is slow. Hope new update fixes this correctly.
  • thanks ,saw update will check this evening and inform you the result
  • Well done :-)
    works as wanted without slowing down
  • Back to coordinates...

    Quote:
    I see now you have replaced the extruder/bed place with Xw/Yw/Zw (why w?) Might be an idea to have both on startscreen and G92 modded everywhere as this is more helpfull after calibration.

    so the reason for the"w" is "work"  coordinate.

    so in cnc and laser mode it´s useful to show both coordinates and as i saw in other post other users want the g92 coordinates
    in printer mode.
    so what do you think of showing  both in cnc and laser ,  so left side original machine coordinates indexed with "m" and right side
    the g92 modded coordinates without index.( in these two modi  temperatures are useless).

    and in printer mode left side temperatures as it is and right side g92 coords ?




  • Yes, that solution would be ok. So like what you did already. Just we would need to do it for all display types. Would be better then my last solution only showing one of both depending on mode.
  • ok, so can you take the part for the different display types? ( i just have the st7920 and ks0108 )
  • Yes, but when I have some more time. Need to fix host first so we can release that.
  • ok, thanks   i´ll  follow up
  • something new regarding an update ? hope youll find the time in near future
  • You mean switch for modes? No had no time. Concentrate on host release atm.
  • ok, so i´ll Keep waiting with my personal update
Sign In or Register to comment.