Welcome to Our Community

Some features disabled for guests. Register Today.

Issue with UGS while sending movement commands

Discussion in 'Control Software' started by ashish B, Oct 15, 2018.

  1. ashish B

    ashish B New
    Builder

    Joined:
    Feb 18, 2017
    Messages:
    62
    Likes Received:
    5
    I have built Kyo's Sphinx and I am using Phoenix controller with latest GRBL.

    In general the UGS works fine but I have a weird issue.

    When open a GCode, it follows it fine. However if I give it a command like Y-10, it moves 10mm but if I now issue Y10, it keeps going in +ve Y direction and stops at any expected length. If I move Y+ click by click in jog control it works just fine and moves Y to 10mm just as it should
    I have properly calibrated limit switches and homing. My $100, $101 and $102 are 200
     
  2. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,461
    Likes Received:
    1,915
    you need to know more Gcode (-:

    Gcode has modal commands, this means that once they are used they stay in effect until changed.
    I suspect that you are expecting it to be in G0 state after a jog, but it is not, and also it might be in relative mode instead of absolute.
    So, you must tell it what you want!

    G90 to get absolute mode
    G0 Y10 to go to Y=10
    that then makes it remember it is in G0 mode and further moves can be made without the G0 but I usually include it just to be sure.

    Since we do not know what UGS is doing in the background we must make sure we supply full information when we give a manual command.
     
    Mark Carew likes this.
  3. ashish B

    ashish B New
    Builder

    Joined:
    Feb 18, 2017
    Messages:
    62
    Likes Received:
    5
    Thanks David.
    I will check on the things you mentioned above.I am very new to all this and slowly learning. Thanks for sharing somerhing new
     
  4. Mark Carew

    Mark Carew OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Jun 28, 2013
    Messages:
    2,758
    Likes Received:
    2,440
    We are using OpenBuilds CONTROL for our machines now but I do remember something similar to this happening in grbl panel. Try using Y0 instead of Y-10 to go back so the dros count down back to zero.
     
  5. ashish B

    ashish B New
    Builder

    Joined:
    Feb 18, 2017
    Messages:
    62
    Likes Received:
    5
    I will try that as well. Does openbuild control only work with xpro ?
     
  6. David the swarfer

    David the swarfer OpenBuilds Team
    Staff Member Moderator Builder Resident Builder

    Joined:
    Aug 6, 2013
    Messages:
    3,461
    Likes Received:
    1,915
    there are 2 parts to the software:
    1 - the CAM software which is a live web based application
    2 - the machinedriver, which delivers the Gcode to the machine controller and allows jogging etc for setup.

    you can find the CAM application at OpenBuilds CAM Gcode Creator - Public Beta
    it can import a few drawing formats and allow you to add cuts to it then generate the Gcode.
    IF you have installed the driver then it can deliver the Gcode directly to the driver.
    If not, then you can just export the Gcode for use with any driver (or GRBL/Smoothie GUI of your choice)

    While I prefer bCNC as a GUI, I do use this system for the odd job where I need to draw something and quickly cut it at the machine instead of firing up the CAD/CAM computer. My machine controller is an old i7 netbook running Ubuntu Linux connected to a standard Arduino UNO with DQ542 drivers to run the machine. The Openbuilds CAM system gives me easy platform independant CAD to CAM right at the machine when I need it. The downside is that the internet is not always available here in Africa.

    I have to say I prefer this machine driver to UGS anyday (-: (but bCNC is my favourite)
     
    Peter Van Der Walt likes this.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice