Author Topic: DDCSV1.1 4 Axis controller  (Read 307390 times)

Offline chriscnc

  • Jr. Member
  • **
  • Posts: 39
Re: DDCSV1.1 4 Axis controller
« Reply #325 on: January 19, 2017, 08:35:06 PM »
how do you feel this controller compares to the SMC4-4-16A16B.. I know it's only 50khz vs 500khz but my machine only needs around 45khz max. so I'm more wondering motion control and look ahead, and G code compatibility.

Offline BrokenEye

  • Jr. Member
  • **
  • Posts: 30
  • Country: gb
Re: DDCSV1.1 4 Axis controller
« Reply #326 on: January 20, 2017, 03:20:49 AM »
This may help
Backup, then Backup the Backup then Backup again

Offline antonio

  • Jr. Member
  • **
  • Posts: 31
  • Country: it
Re: DDCSV1.1 4 Axis controller
« Reply #327 on: January 25, 2017, 06:20:10 AM »
hi guys again.
So I've another problem, this time with backlash.
I put on setting anable x,y backlash and parameter of backlash x&y 0.12 also the velocity modifyed but on manual mode no difference when change the directions. it seems backlash not working.
Any idea??
thx lot

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #328 on: January 25, 2017, 10:33:00 AM »
When it starts to run a file we see:

Syntax Check: nnn

What does the nnn mean? Is it a line number or an error code?
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #329 on: January 26, 2017, 08:22:36 AM »
My g-code keeps hanging up on this controller!

It works fine on the SMC4-4

Can someone please post or pm me a small g-code file that works on their DD controller

Note that this machine just converts g-code instructions into electrical drives for the stepper controllers so there is no need for feeds/speeds/z-axis movements.

Attatched is the latest from EstlCam

I have tried diffferent memory sticks to no avail. I suspect it maybe a LF/CR problem but why do some lines work?

I am loosing patience with this controller - I like it because unlike the SMC one it supports a pendant that works a treat!

I need to know if I have a faulty DD or what

Many thanks in advance and what does the Syntax check number mean??

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

Offline gerritv

  • Full Member
  • ***
  • Posts: 115
  • Country: ca
  • St Catharines
    • My Hobbies
Re: DDCSV1.1 4 Axis controller
« Reply #330 on: January 26, 2017, 10:22:45 AM »


Note that this machine just converts g-code instructions into electrical drives for the stepper controllers so there is no need for feeds/speeds/z-axis movements.


Many thanks in advance and what does the Syntax check number mean??
If the DDCS does not have a default Spindle or Feedrate setting, then you have a Gcode syntax error. In previous threads people have asked you to add a F<some number> and S<some number> Have you tried that? I use Grbl, and it will not run a Gcode program unless those values are set because contrary to your statement above, without those values set it has no clue how fast to move.
 Just because a simulator shows a pretty picture, doesn't mean it is correct Gcode from the controllers' point of view.

Offline awemawson

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7828
  • Country: gb
  • East Sussex, UK
Re: DDCSV1.1 4 Axis controller
« Reply #331 on: January 26, 2017, 10:26:01 AM »
How can it move the steppers without the feed rate ?
Andrew Mawson
East Sussex

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #332 on: January 26, 2017, 11:11:15 AM »
Because this Controller has parameters that set default Feed and Speed rates and also to use/ignore g-code feeds and speeds .

It has paramerters (over 130 ignoring the tool offsets that don't work!) in total.

This is what I am using:

G00 speed is 400 mm/min, G01 is 200 mm/min and ignore g-code speeds and feeds

Things move at my default feed rates in x and y and then the g-code just stops on a line!!
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline awemawson

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7828
  • Country: gb
  • East Sussex, UK
Re: DDCSV1.1 4 Axis controller
« Reply #333 on: January 26, 2017, 11:25:42 AM »
So just maybe the feed default also doesn't work like the tool offsets  :scratch:
Andrew Mawson
East Sussex

Offline gerritv

  • Full Member
  • ***
  • Posts: 115
  • Country: ca
  • St Catharines
    • My Hobbies
Re: DDCSV1.1 4 Axis controller
« Reply #334 on: January 26, 2017, 11:58:27 AM »
So just maybe the feed default also doesn't work like the tool offsets  :scratch:
That plus it is bad habit to not specify the parameters for a job in the program itself. If you change the defaults in DDCS for another job, then run this one there will be bad surprises.

Will, in all the typing you have done on this topic you could easily have just entered the F and S codes and tried it. Then you would  know if that was it or not.

Offline philf

  • Hero Member
  • *****
  • Posts: 923
  • Country: gb
Re: DDCSV1.1 4 Axis controller
« Reply #335 on: January 26, 2017, 02:10:53 PM »
Will,

For everyone's sake just type F100 into your gcode file, try it, and report back.

Phil
Phil Fern
Location: Marple, Cheshire

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #336 on: January 26, 2017, 05:11:29 PM »
Will do, but for the sake of info. all the original files I ran had F and S settings and a lot of other stuff that people suggested I delete. Done so, now its just moving in X and Y with default G00 & G01 speeds. See above post.

I will try to video the thing tomorrow, the motors run in X and Y (thats all I have) and then after a few lines (and movement) the controller stops!

I have to do a reset, and then restart from a line number then it may move a biot more.

Please read my posts carefully!

Can someone send me a working DDCNC g-code file so I can test this on my setup. Maybe its a parameter setting or the controller is duff!
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #337 on: January 26, 2017, 05:21:01 PM »
Quick test: added F100

Same behavior ( as I would expect from post #332)

It runs, it moves and the it stops.

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

Offline philf

  • Hero Member
  • *****
  • Posts: 923
  • Country: gb
Re: DDCSV1.1 4 Axis controller
« Reply #338 on: January 26, 2017, 05:42:28 PM »
Quick test: added F100

Same behavior ( as I would expect from post #332)

It runs, it moves and the it stops.

Video tomorrow

Will,

In which case try changing the "Ignore Gcode Speeds" parameter so that it doesn't ignore them.

Leave the F100 in.

From what you say about some parameters not working maybe the "Ignore Gcode Speeds" parameter does work and the G01 preset speed doesn't.

Phil.
Phil Fern
Location: Marple, Cheshire

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #339 on: January 27, 2017, 03:54:59 AM »
Thanks Phil, yes thought of this in the wee small hours !

Will try later!
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline philf

  • Hero Member
  • *****
  • Posts: 923
  • Country: gb
Re: DDCSV1.1 4 Axis controller
« Reply #340 on: January 30, 2017, 04:11:33 PM »
Thanks Phil, yes thought of this in the wee small hours !

Will try later!

Hi Will,

Did you try it?

Phil.
Phil Fern
Location: Marple, Cheshire

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #341 on: February 01, 2017, 09:01:32 AM »
Been meaning to reply Phil - but I am so frustrated with this!

Yes I set the parameters to read speed and feed (even tho' I am only using X&Y)

Wrote a very simple bit of code to just move in the X direction with feed

Worked a treat!

Simple edited the file to change X to Y and doesn't work. Just stops on each line.

I have been going through the parameter file to see if there is something else!
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline Biggles

  • Full Member
  • ***
  • Posts: 236
  • Country: gb
Re: DDCSV1.1 4 Axis controller
« Reply #342 on: February 01, 2017, 12:09:51 PM »
Hi guys, I have nil experience with this kind of language but I suggest looking at the code again; Using an online simulator,( https://nraynaud.github.io/webgcode/) and pasting the code of file SqSpiral-2.txt.
Line 9, is coming up as not being recognise and being skipped. I.e. G91.1 could this be the problem?
Running the code with line 9 deleted seems to be OK.  :coffee:

Offline chriscnc

  • Jr. Member
  • **
  • Posts: 39
Re: DDCSV1.1 4 Axis controller
« Reply #343 on: February 01, 2017, 04:07:42 PM »
G91.1 is INC IJK mode.... why do this v.s Absolute? just G90

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #344 on: February 02, 2017, 05:51:20 AM »
I really think its my controller. I have run the various files qon Estlcam and my other controller and they work fine.

Would you believe this code won't run:

(Project Mill_Test)
G00 X0.0 Y0.0
G1 X20.0 F200.0
G1 X40.0 F400.0
G1 X30.0 F300.0

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

Offline David Jupp

  • Sr. Member
  • ****
  • Posts: 302
  • Country: gb
  • Teesside - UK
Re: DDCSV1.1 4 Axis controller
« Reply #345 on: February 02, 2017, 05:59:43 AM »
Not all controllers recognise M30.  May or may not be part of your problem.

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #346 on: February 02, 2017, 09:40:58 AM »
Thanks for the reply David, the M30 just causes a beep at the end. Same problem without it. I just like the beep to say its run to the end of the file
Engineer and Chemist to the NHC.ie
http://www.nationalhomebrewclub.ie/forum/

Offline Simon0362

  • Jr. Member
  • **
  • Posts: 33
  • Country: fr
Re: DDCSV1.1 4 Axis controller
« Reply #347 on: February 02, 2017, 09:50:55 AM »
Will, after my troubles with a second set of parentheses within a comment (see #284), I would be very cautious using any text within the file title that was not straight alpha-numeric......so remove the "_" from the filename.
Sounds really stupid and probably not the solution but worth a try!
BR
Simon

Offline awemawson

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7828
  • Country: gb
  • East Sussex, UK
Re: DDCSV1.1 4 Axis controller
« Reply #348 on: February 02, 2017, 10:29:28 AM »
Will,

M30 is not only end of program, but also 'rewind', so the code pointer should reset to the top of the list.

(name derived from the old paper tape program loading days that sadly I remember well  :bugeye: )
Andrew Mawson
East Sussex

Offline Will_D

  • Hero Member
  • *****
  • Posts: 668
  • Country: ie
    • National Homebrew Club of Ireland
Re: DDCSV1.1 4 Axis controller
« Reply #349 on: February 02, 2017, 11:16:15 AM »
Latest trip to Frustration Towers i.e. the garage.

Switch On controller and reset it.
Run this little "Safe Program":

(Project Make Safe)
G17 G21 G90 G40 G49 G80

F250.0
G00 Z5.000
G00 X0.0 Y0.0 Z0.0

M30
%

Ok it runs to the end and beeps as expected Displays are 0,0,0

Run this little file (now named MT01.txt)

G00 X0.0 Y0.0
G1 X20.0 F400.0
M30
%

Ok as expected Feed Used 400, X left at 20, Beep

Run this little file (MT02.txt)

G00 X0.0 Y0.0
G1 X20.0 F400.0
G1 X30.0 F300.0
M30
%

and it stops on the line #1: G1 X20.0 F400.0 leaving x,y at 0,0

However if I run the safe program it then works as expected.

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