Author Topic: About to give up  (Read 1571 times)

Offline Will_D

  • Sr. Member
  • ****
  • Posts: 468
  • Country: ie
    • National Homebrew Club of Ireland
About to give up
« on: January 24, 2017, 10:55:27 AM »
I am getting very frustrated with my DDCSV NC controller.

I have just tried to run the attatched file. It gets to line 8:

G01 X51.50 Y25.00

and moves a bit then the controller hangs up! The timer is running in the top RH corner but thats it.

Only thing then to do is het the reset button and then re-zero in the MAC coordinate system.

As you can see I generated this from a sketch of a 25 x 50 block using Estlcam to keep things simple. I have edited out all but the moves and still it won't work

Talking of Estlcam when I try to connect a genuine (afaik) Arduino Uno I get an error message:

Unexpected bootloader version: 3.3
I see the Tx Rx lights flashing.
Then get
No response from controller

Please help - this is driving me nuts!
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline awemawson

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 5422
  • Country: gb
  • East Sussex, UK
Re: About to give up
« Reply #1 on: January 24, 2017, 12:48:18 PM »
Delete line 8 and see if it obeys the rest of the lines. Look for any odd, non printing characters just before or just after line 8 (may need to do that in a binary editor)

Mind you is it actually line 8 that's hanging it, or maybe the previous line - did Z actually go down to -0.5 ?
Andrew Mawson
East Sussex

Offline Merlin201314

  • Full Member
  • ***
  • Posts: 121
  • Country: gb
  • London
Re: About to give up
« Reply #2 on: January 24, 2017, 01:47:42 PM »
I am getting very frustrated with my DDCSV NC controller.

I have just tried to run the attatched file. It gets to line 8:

G01 X51.50 Y25.00

and moves a bit then the controller hangs up! The timer is running in the top RH corner but thats it.

Only thing then to do is het the reset button and then re-zero in the MAC coordinate system.

As you can see I generated this from a sketch of a 25 x 50 block using Estlcam to keep things simple. I have edited out all but the moves and still it won't work

Talking of Estlcam when I try to connect a genuine (afaik) Arduino Uno I get an error message:

Unexpected bootloader version: 3.3
I see the Tx Rx lights flashing.
Then get
No response from controller

Please help - this is driving me nuts!
Can you please upload the DXF?
So I can try with my controller and Estlcam
Thanks


Inviato dal mio iPad utilizzando Tapatalk

Offline David Jupp

  • Sr. Member
  • ****
  • Posts: 275
  • Country: gb
  • Teesside - UK
Re: About to give up
« Reply #3 on: January 24, 2017, 02:22:49 PM »
Oddly enough, I've just bought a 3 pack of Arduino Nano clones - 2 for use with EstlCAM and one as a spare (Nano essentially being a Uno but squeezed onto a much smaller board).  This is to let me use a PC with USB port to drive my engraver and potentially my mill - and also EstlCAM controller doesn't have the limit on number of lines that Mach3 (free) has. 

I'll probably also buy an EstlCAM licence for the CAM functionality.

Interesting things I did learn whilst searching for these, there are those out there who advertise what claims to be a Nano, but has a different version of the Atmel chip on board with less memory - check the listings very carefully.  Luckily I spotted that and decided that for a whole 1 or so per board, I'd make sure to get the correct chip.  Not sure if same issues exist for Uno.

Despite having the CH340 serial/usb chip in place of the FTDI chip, the boards I purchased worked flawlessly when I asked
EstlCAM to program the board.

Must admit I was using the latest EstlCAM beta, not the 'production' version.  Looks like a lot of work has gone on in between.   Might be worth trying a different build of EstlCAM to see if issue is with the program or the board.

When asking a question, I got very prompt response from Christian at EstlCAM - might be worth dropping him a line.

Offline Will_D

  • Sr. Member
  • ****
  • Posts: 468
  • Country: ie
    • National Homebrew Club of Ireland
Re: About to give up
« Reply #4 on: January 24, 2017, 05:08:29 PM »
Can you please upload the DXF?
So I can try with my controller and Estlcam
Thanks

Hi Merlin, thanks for the help

Here it is! Not the biggest dxf file

Had to rename the file to .txt to post it but it is a dxf!!
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline Will_D

  • Sr. Member
  • ****
  • Posts: 468
  • Country: ie
    • National Homebrew Club of Ireland
Re: About to give up
« Reply #5 on: January 24, 2017, 05:10:06 PM »
Re. my Arduino: Not sure if its a R3 Version.

Newer R3's don't have the big (!!) reset button. So may have to get a new one.
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline David Jupp

  • Sr. Member
  • ****
  • Posts: 275
  • Country: gb
  • Teesside - UK
Re: About to give up
« Reply #6 on: January 25, 2017, 02:46:47 AM »
Not sure if this helps - I pulled your nc file into NCPlot.  That suggests the code is OK, the plot of the path looks fine.

Offline j1312v

  • Jr. Member
  • **
  • Posts: 25
Re: About to give up
« Reply #7 on: January 25, 2017, 04:25:13 AM »
Hi,

just for curiosity, is that the first G01? if so you may need to specify the feed.

Best,

J

Offline AdeV

  • Madmodder Committee
  • Hero Member
  • *****
  • Posts: 1925
  • Country: gb
Re: About to give up
« Reply #8 on: January 25, 2017, 05:41:48 AM »
Hi,

just for curiosity, is that the first G01? if so you may need to specify the feed.

Best,

J

It's the second G01 command; maybe the first one is hanging due to needing a feed rate?
Also, doesn't the spindle speed need to be set somewhere?
Cheers!
Ade.
--
Location: Wallasey, Merseyside. A long way from anywhere.
Or: Zhengzhou, China. An even longer way from anywhere...
Skype: adev73

Offline j1312v

  • Jr. Member
  • **
  • Posts: 25
Re: About to give up
« Reply #9 on: January 25, 2017, 08:46:23 AM »
Just downloaded the program and you probably you need to put the feed rate, otherwise the controller doesn't know what to do.

Offline Will_D

  • Sr. Member
  • ****
  • Posts: 468
  • Country: ie
    • National Homebrew Club of Ireland
Re: About to give up
« Reply #10 on: January 25, 2017, 09:42:40 AM »
I only have X & Y axes fitted with steppers.

For debugging these are disconnected from the drivers.

Alll I am doing is driving the controller's axis displays.

I just wonder is it the usb stick??

Will try a different one when the garage warms up.

I am sure the g-code is good as estlcam runs it ok (in sim mode - no Arduino connected)

Thanks for all the help.
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline Will_D

  • Sr. Member
  • ****
  • Posts: 468
  • Country: ie
    • National Homebrew Club of Ireland
Re: About to give up
« Reply #11 on: January 25, 2017, 09:46:53 AM »
Should have posted the above earlier!!

Anyways an update:

Tried different memory stick and same problem.

Ran the code on the SMC4-4 (no hardware connected) and all worked fine.

Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline philf

  • Hero Member
  • *****
  • Posts: 779
  • Country: gb
Re: About to give up
« Reply #12 on: January 25, 2017, 12:09:44 PM »
As has been suggested try adding a feed rate (F100) e.g.

(Project Mill_Test)
(Created by Estlcam version 9 build 9.046)
(Required tools:)
(End mill 3mm)
F100
G00 Z5.00
G00 X50.00 Y-1.50
G00 Z0.50
G01 Z-0.50
G01 X51.50 Y25.00
G01 X0.00
G01 Y0.00
G01 X50.00
G00 Z5.00
G00 X0.00 Y0.00

Maybe the controller assumes a feed rate of zero if you don't put one in and it would, understandably, never get anywhere.

I wouldn't worry about a spindle speed at this stage but it can be added with e.g. S1000

Your GCode doesn't draw a proper rectangle by the way - it draws a non closed shape with a sloping right hand side!

Phil.

Phil Fern
Location: Marple, Cheshire

Offline Merlin201314

  • Full Member
  • ***
  • Posts: 121
  • Country: gb
  • London
Re: About to give up
« Reply #13 on: January 25, 2017, 04:16:36 PM »
https://nraynaud.github.io/webgcode/


This is a simple online g-code simulator, just to check the file eventually...
my 2 cents..

Offline Will_D

  • Sr. Member
  • ****
  • Posts: 468
  • Country: ie
    • National Homebrew Club of Ireland
Re: About to give up
« Reply #14 on: January 26, 2017, 08:29:36 AM »
Thanks Merlin, Nice simulator.

As expected the code looks fine on the sim - just as expected.
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/