MadModder

The Shop => CNC => Topic started by: Joules on July 23, 2016, 05:57:33 AM

Title: DDCSV1.1 4 Axis controller
Post by: Joules on July 23, 2016, 05:57:33 AM
Look what turned up this morning, it wasn't expected for a couple more weeks at least.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0064_zpsykctyism.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0064_zpsykctyism.jpg.html)

It's just been unboxed, not powered up and checked over yet.

In the mean time I had bought...

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0063_zpszz4fbnn9.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0063_zpszz4fbnn9.jpg.html)

The BBC micro:bit and dual DC motor controller to have a go mocking up a smart power feed for the mill.  I haven't programmed seriously since my early 20's, and that was 6502 assembler code.  I watched a few videos of kids programming these things and got utterly frustrated with "OLD GUY" syndrome not even being able to make the development kit work via bluetooth   :palm:   Programmer I am not, but I do have a task and target in mind so it shouldn't be that hard   :scratch:  Kid's can do it.
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Rudd on July 23, 2016, 06:23:56 AM
Looks interesting....I luv new bits of hardware kit... :)
I'm not a programmer either....
but I managed to get a bluetooth transceiver to work with my Lenovo Android....


Its for Yuri's dro project when I get round to making a pcb for the hardware :Doh:

Watching with interest to see how this developes....( no pun intended....)
Title: Re: DDCSV1.1 4 Axis controller
Post by: nrml on July 23, 2016, 07:42:01 AM
Here are some pictures of the inside of mine. I still haven't powered it up yet. Just had a peek inside even though I didn't really understand what I was looking at. The build quality of the board is excellent. I'll let the knowledgeable people comment on the choice of components.

(http://i1376.photobucket.com/albums/ah18/nrml76/IMG_20160508_151337028_zpsebkv180l.jpg) (http://s1376.photobucket.com/user/nrml76/media/IMG_20160508_151337028_zpsebkv180l.jpg.html)
(http://i1376.photobucket.com/albums/ah18/nrml76/IMG_20160508_151624631_zpsv5vl5vpd.jpg) (http://s1376.photobucket.com/user/nrml76/media/IMG_20160508_151624631_zpsv5vl5vpd.jpg.html)
(http://i1376.photobucket.com/albums/ah18/nrml76/IMG_20160508_151649275_zpsqz2ccpzg.jpg) (http://s1376.photobucket.com/user/nrml76/media/IMG_20160508_151649275_zpsqz2ccpzg.jpg.html)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on July 23, 2016, 07:49:18 AM
It's alive....

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0066_zpsmovzbnmv.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0066_zpsmovzbnmv.jpg.html)

My cheap 24v PSU works as well, I've had it a while but never powered it up.  I did check the voltage out before hooking up just so there were no nasty surprises.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0065_zps9cl9xsg1.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0065_zps9cl9xsg1.jpg.html)

I like the display, for a lathe or mill where it's in your face the display is fine.  On a large router it's finding somewhere for it to live, where it isn't going to get knocked loading the machine, but easy reach for viewing and button pushing.   Hmmmm, pendant is on my wish list.   For the price, I hope to be very impressed once I get it cutting.

LOL nrml, I pulled mine apart as a speck of dust was between the LCD screen and the front plastic screen, but wasn't going to own up to pulling it apart yet.  I also removed the bleeper tag as my hearing isn't what it used to be.  I can hear it now   :headbang: 
Title: Re: DDCSV1.1 4 Axis controller
Post by: Pete. on July 23, 2016, 08:12:43 AM
Would you run us through the basics of how you would utilise this piece of kit please? I can see/read up on what it is, but how is it used?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on July 23, 2016, 09:08:43 AM
Do you mean end use, or how to install on existing equipment ?

For me, I am replacing a bad controller and LinuxCNC PC with the above for a CNC router, if that works out for me I will be looking at doing a manual mill conversion to CNC  for use in the workshop.  I am no expert at this and learning like most others here.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Pete. on July 23, 2016, 09:14:51 AM
I mean how do you input stuff into the device to get it to do the stuff you want it to do. Do you load files into it by sd card or is all the inputting done on the buttons?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on July 23, 2016, 09:30:50 AM
Got you....   Input is via a USB flash drive (memory stick, second picture) you generate g-code in a 3rd party application, or even write it in a text application.  Look at the display picture and you can see the second screen option on the bottom is File Page, this is where you select your job from.  Not sure if you can modify the g-code on the device from the front panel like you can on the other controller.  You have manual control from the front for jogging the machine to position and home/zero, switching the spindle on and off if it's controlled from the controller.  Thats about the depth of my understanding for now.
Title: Re: DDCSV1.1 4 Axis controller
Post by: raynerd on July 24, 2016, 12:28:47 AM
Just asking...what is the benefit of this over a pic with Mach3 or Linux cnc? (If my understanding is correct, that is what it is replacing)
Title: Re: DDCSV1.1 4 Axis controller
Post by: nrml on July 24, 2016, 03:43:25 AM
No PC involved for machine control.
No need for sourcing obsolete PCs and testing for latency(if you don't have any lying around).
No breakout boards or adapters.
Compact.
You can do all the CAD and CAM work in a comfortable place and transfer it to the machine on a USB stick.
Much cheaper than a Mach 3 licence plus all the necessary hardware.

Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on July 24, 2016, 05:49:38 AM
Yeah, and there are a few flavors of these things around too.  I'm getting reasonable step rates (ie >50KHz) out of mine. It'd be good to see one with an Ethernet interface. Our laser cutter controller at work has one and it's quite convenient to be able to just push a file onto it..

PK
Title: Re: DDCSV1.1 4 Axis controller
Post by: nrml on July 24, 2016, 07:47:44 AM
That's exactly what I was thinking too. I've been thinking of having a Raspberry Pi permanently hooked to the USB Port to network the device. I don't know if it will see the Pi as a storage device or not.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on July 24, 2016, 05:36:32 PM
Here's the 91 page manual:

robokits.download/datasheets/DS_DDCSV1_EN.pdf (http://robokits.download/datasheets/DS_DDCSV1_EN.pdf)
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on July 24, 2016, 06:33:51 PM
Been looking at these as a cheap alternative to old PC's and license fees.
Just had a quick look at the manual and it's very clear except how to get the 0 - 10v out for speed control ?

Can anyone compare this unit with this one. ?

http://www.aliexpress.com/item/4-axis-3-5-Inch-LCD-Screen-CNC-controller-lathe-mini-milling-machine-servo-USB-stepper/32324927105.html?ws_ab_test=searchweb201556_10,searchweb201602_5_10057_10056_10055_10049_10017_405_404_10059_10058_10040_10060,searchweb201603_6&btsid=00101d51-e9e1-4749-bea1-9cb7ad4661ea

I am days away from pulling the plug of a more expensive 2 axis lathe controller.

http://www.aliexpress.com/item/EMS-free-New-Version-English-Panel-shipping-2-Axis-CNC-controller-for-lathe-and-grinding-machine/1961245550.html?ws_ab_test=searchweb201556_10,searchweb201602_5_10057_10056_10055_10049_10017_405_404_10059_10058_10040_10060,searchweb201603_6&btsid=35fcd8ff-c46d-4fa4-aee5-15273fe238ba

The unit Joules has won't do threading, this one will plus it does face threads, tapered threads, multi-start threads and run a tool changer.

At £425 odd pounds it's less than a decent PC, monitor, windows license, Mach 4 license and an external controller.

Main thing is it works as is and isn't a work in progress by 3 different companies who won't talk to one another.
Title: Re: DDCSV1.1 4 Axis controller
Post by: nrml on July 24, 2016, 07:28:03 PM
If I am reading the TC55H advertisement right, it seems to suggest that the maximum number of lines of code it can handle are 1000. The DDCS doesn't seem to be limited in this regard.

The DDCS seems to have an ARM9 processor for device control and a separate FPGA chip to feed the G code to the machine. Most of the other flavours of these control boxes don't seem do it that way.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Brass_Machine on July 24, 2016, 10:33:08 PM
So, does this thing replace just the PC portion of a CNC setup? Or does it come with the motor drivers too?

Eric
Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on July 25, 2016, 04:45:46 AM
It replaces two elements of the system:
The PC (and machine control software)
The isolation between the machine controller and the drives.

You really want your motor drives to be separate from the machine controller for any, non trivial, cnc build.
Title: Re: DDCSV1.1 4 Axis controller
Post by: DMIOM on July 25, 2016, 05:26:31 AM
I mean how do you input stuff into the device to get it to do the stuff you want it to do. Do you load files into it by sd card or is all the inputting done on the buttons?

With one of these http://madmodder.net/index.php/topic,11387.msg135880.html#msg135880 of course!  :mmr:

Dave
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on July 25, 2016, 11:49:42 AM
OK, second look at this unit, I deciphered the 0-10v spindle out, not got round to hooking up a stepper or two yet.  I am however puzzled by the display showing two sets of co-ordinates, this doesn't seem to be covered in the manual.  I suppose one is absolute and the other relative ???  or something like.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0072_zpsctrkkuh6.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0072_zpsctrkkuh6.jpg.html)

Changing from metric to imperial doesn't seem to be an option.  It's metric only ???  I also found a rounding anomaly in the 0.01 count increments, it stepped by .009 the first and third manual increment.  The tool path display is a nice touch, lots more playing before any serious work can be done though.   Fair points raised by John, but tapping by CNC is miles down my list of requirements.  Mostly 2D profile cutting at differing Z settings than full blown 2.5D work.

p.s   My lack of knowledge on G54 offsets ???    The button beeps got tiresome quick, fortunately a single setting turns it off.  LOL
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on July 25, 2016, 12:36:36 PM
G54 work offset showing as asserted (it's modal), so perhaps your two set of co-ordinates are work and machine ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on July 25, 2016, 01:39:03 PM
 Metric is G21, imperial is G20 in the code.
You normally have an initiation line at the start of a program that sets the defaults and resets any modal commands. Can't see any commands in the g code list to cancel them though.

Also no tool length offsets so need to be careful with Z zero
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on July 25, 2016, 02:06:34 PM
Cheers John, G20-21 was what I was thinking of, in a fashion.   Lower down my Parameter page, 32 tool offsets are available.  However with the router having an ER collet, I end up zeroing each tool prior to a job.  I may make a tool sensor this time for auto length setting.  When I finally move to a mill, one of this lot will have sorted it out and I can just follow the pack....

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0073_zps6se06jyv.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0073_zps6se06jyv.jpg.html)

Very different to the SMC4-4-16A16B, no direct gcode editing on this unit, so it's back to the PC for editing.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on July 26, 2016, 12:37:22 PM
My first motor test using an ancient stepper for testing.  This is also the first test of these really cheap stepper drivers.   What I hadn't realised was this controller doesn't have an enable line, I was going to use this to trigger my cooling fans for the stepper drivers.   Never mind plan B & C will sort it out.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0074_zps6hipsmkf.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0074_zps6hipsmkf.jpg.html)

The jury is still out on this controller as I can't tweak the g-code directly at the unit, so still need to go back to the PC to mod the code.  Unlike PK's controller, I do however like the USB flash drive on a short extension cable and easy operation of this unit.   Once I have a box made up to house all the parts it will be time to wire up the CNC router and see if it's all been worth it.

The stepper drivers are rated for 24VDC and upto 3A per phase, and cost a measly £9.00 each, so they should be good for a small mill.  Or NEMA23 3.1nm sized motor without issue, it can go higher but I would leave some headroom with these drivers.
Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on July 26, 2016, 04:34:00 PM
The large screen is a plus on your unit too!
The 'tweak the code' function on mine gets old pretty quick if you have to do anything more than change a feed rate...

Mine does have an enable line, though it's wired through the DB25's on the back rather than the terminals for step and dir..
Could you use some combination of an M code triggered generic output and an extra switch block on the E-Stop circuit?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on July 26, 2016, 05:07:48 PM
Cheers PK, yeah I can use the coolant control for fan operation.   I guess we are in early days with these new controllers, lots of little niggles, that I'm sure will get resolved over time with newer units.  I can't fault it as is, for the price.  Shame we don't have access to files that appear in the manual (userVar.set) and where we are on firmware updates.  Some hacking and modding is in order   :coffee:  cos thats what we do....
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 04, 2016, 08:29:51 AM
3D printing can improve your cable management.  I have just completed the wiring loom for the 4 axis stepper drivers.   A mate of mine used to build commercial ROV's, he generally smiled at my wiring, well it paid off as I raised my game, cheers Drew   :thumbup:

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/Stepper%20Controller/IMG_0075_zps1rrif7yx.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/Stepper%20Controller/IMG_0075_zps1rrif7yx.jpg.html)

My own simple design clips, figured 16 would be enough, I went onto use 32 so far.  Takes about 8 minutes to print 16 and the basic design can be altered to handle other services or incorporate clips for attachment as required.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/Stepper%20Controller/IMG_0077_zpsicf8hpju.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/Stepper%20Controller/IMG_0077_zpsicf8hpju.jpg.html)

It adds a bit of time to the wiring, but vastly improves the appearance and rigidity of it.  Get those rats nests under control and know what cables are going where.    :zap:

Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on August 04, 2016, 08:52:41 AM
Very nice Jules - makes a nice neat layout  :thumbup:

Now can you please add Hellerman sleeves to those wires on the D-Type sockets, I'd have shot my wiremen if they'd left them naked like that :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 04, 2016, 09:04:51 AM
 :palm: I knew someone would comment on those after I posted the image.  Printed boots in the works now.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 04, 2016, 10:29:25 AM
After appropriate chastisement.  I am correcting my ways....   Boot designed.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/Stepper%20Controller/D%20Boots_zpsxqeqhghd.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/Stepper%20Controller/D%20Boots_zpsxqeqhghd.jpg.html)

Printed and fitted.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/Stepper%20Controller/IMG_0078_zps2qapm44d.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/Stepper%20Controller/IMG_0078_zps2qapm44d.jpg.html)

As I should have done before I posted the first picture    :bow:

p.s  The front and rear pins are doubled up to spread the current through the connector so sleeves would only come down to the top of the pin.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on August 04, 2016, 10:39:43 AM
Very neat, but the idea of the Hellerman sleeves is to ensure that there are no stray strands between ways, and no hairs of solder either. The sleeve is threaded on and pulled over the joints one by one as they are made. They also give a little support to the wire, not that that is needed in your application.

... still very neat covers though  :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: SwarfnStuff on August 05, 2016, 01:48:06 AM
WOW Jules,
   That last pic is a work of art.  :clap: Now where are the rats going to nest?
John B
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 17, 2016, 07:38:58 AM
LOL, don't worry John, things here needed a speed up and back on a temporary arrangement to try getting the machine back up and running.  Your rat's nest is behind the fold down panel.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/temp%20cabinet_zpsuvnumgsp.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/temp%20cabinet_zpsuvnumgsp.jpg.html)

I state this is a temporary arrangement   :poke:   I now have the router XYZ up and running from the controller.   I'm really happy with the stepper drivers as they are running very cool with the hybrid motors on the router, they heated up some with the old none hybrid steppers I used for testing.  Todays job is try and finish the wiring for the VFD and get that under control from the DDCSV.  Once thats complete it's onto tweaking the settings to get things dialled in and think about how this will all translate to a CNC mill.

Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on August 17, 2016, 10:00:22 AM
Very neat Joules  :thumbup:

So what's your overall impression of that Chinese controller - is it up to snuff ?

Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 17, 2016, 11:19:19 AM
I've just completed the install.  I have a bad (weak) stepper on my Z   :(

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0091_zpsgv1du3zh.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0091_zpsgv1du3zh.jpg.html)

I am very impressed by the controller, once I deciphered the VFD manual I now have full speed control from the controller via the 0-10v output and spindle on/off - M3/M5.  The controller has plenty of options for altering settings related to its operation, you really need to read through the pdf manual a few times to take in all the settings.  Extremely easy to program and navigate, you can tab through the settings using the X+ key.  For setting the spindle options I was hopping between the home screen, config and 5 tabs to spindle settings.  Still lots to learn.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0092_zpsqxvifiwp.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0092_zpsqxvifiwp.jpg.html)

Compared to a PC and software, not really much to compare, this thing boots in about 10 seconds from cold and is ready to run whatever you have stored on the flash drive.   I really like the option to set soft limits for a machine, no messing with limit switches (you accept the risk though if it looses steps)

My double co-ordinates are machine setting in small, and everything else.  You can scroll through the G54-59 to Mach (Machine) and zero in my case everything is zero'd in the centre of the router bed.

To sum up, it took me weeks to setup Linuxcnc when it was EMC2, this has been done in just a few hours.  I will be getting another to do a future mill install.  Even my cheap stepper drivers have been fine so far and they should be good for NEMA23 3.1nm sized motors.

 :thumbup: :thumbup:  says it all really, talk about it in a few months.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0093_zpsfendpwwf.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0093_zpsfendpwwf.jpg.html)

OK, behind the panel is not that bad.  Editing the g-code on a tablet in a text editor is also a breeze, so those simple changes can be done at the machine very quickly.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on August 17, 2016, 02:25:36 PM
That's good to hear Jules.

The reason I ask is that I 'feel' another biggish project coming on  :bugeye:

I'm  probably going to liberate a fair few square foot of workshop space in the near future and have in mind to build a CNC machine from scratch. Currently I'm toying with getting a small bench top diddy CNC mill as a test bed, and finally getting to grips with Linux and LinuxCNC by playing with it before getting serious with a self build. Previously I've totally failed to make any inroads into get LinuxCNC running and it's a failing I want to rectify.

So if anyone has a Denford Novamill sized doorstop they want shot of I'm your man - doesn't necessarily have to work just be mechanically sound and hopefully reasonably equipped.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 17, 2016, 06:28:45 PM
Turns out my bad stepper was a bad delrin nut, it had tightened up and stalling the lead screw.   Heated the alloy carrier to 155 ℃ and cycled the leadscrew, freed it up a treat.  Just had to re loctite the nut in as the heat had released it.   Had a thermocouple in the carrier so I knew what temperature I was at.  Now flooding the bronze bushes with oil as they got dried out as well.

I also sussed out how to send XYZ to my zero position from the controller before shutting the machine down.   

 :D   Looking good
Title: Re: DDCSV1.1 4 Axis controller
Post by: Pete. on August 17, 2016, 06:33:26 PM
You have managed to glue Delrin nuts into a carrier with Loctite? What grade was it you used? I had to pin a Delrin nut to stop it slipping.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 17, 2016, 06:47:20 PM
In that case Pete I will wait till morning and see if it falls out.  I think if the nut has a less than perfect finish in an unpolished bore, the loctite will probably hold it pretty firm.

The loctite in question was some clone product from the local farm shop used to glue tractors back together   :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on August 17, 2016, 06:56:45 PM
Joules,
That setup is looking very impressive. I feel we are rapidly getting to where the hardware is advancing faster than software. Bit in the news today where Intel are stopping development of the Atom chip and concentrating on the ARM chip.

The unit I have just shipped in from China whilst only being 2 axis as its for a lathe can handle encoders, tool turret, coolant, spindle, Chuck and oiling. It's basically a Fanuc 0T clone for sub £400.

We live in interesting times   
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 18, 2016, 10:09:49 AM
Pete, just done my testing and running the Z into each end stop, the nut is well fixed with my loctite.  Pretty sure its all keyed into the imperfections than physically glued the Delrin.
Title: Re: DDCSV1.1 4 Axis controller
Post by: RobWilson on August 18, 2016, 11:17:40 AM
Loooookin  mighty fine Joules  :thumbup:

Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: Pete. on August 18, 2016, 11:49:35 AM
Certainly is :thumbup:

Next time I make a delrin nut I will turn the OD rough and loctite it in.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 18, 2016, 02:06:37 PM
Pete, it still needs to be a pretty close fit.  A smooth bearing with a cross hatch cut with a scribe will do, but the more surface area locked the stronger the bond.   Cheers lads, might have a mill making it's way up North for a CNC conversion.  Looks like I need to order another controller, already have the stepper drivers, Oooh yeah will need to figure what motors I am going to need too.

Another CNC thread coming soon   :loco:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on August 18, 2016, 04:19:23 PM
... The controller has plenty of options for altering settings related to its operation, you really need to read through the pdf manual a few times to take in all the settings.  Extremely easy to program and navigate, you can tab through the settings using the X+ key.  For setting the spindle options I was hopping between the home screen, config and 5 tabs to spindle settings.  Still lots to learn.
Is this the same pdf thats available on the net or is it on a CD?

Really enjoying this thread as I am slowly succumbing to the CNC virus.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 18, 2016, 05:06:01 PM
Will, I used the pdf you posted the link too.
Title: Re: DDCSV1.1 4 Axis controller
Post by: nrml on August 18, 2016, 05:38:00 PM
It's good to hear from someone who knows what they are doing that this little box is up to scratch. I really ought to get mine up and running. I wonder if these boxes will wipe out the demand for Mach3 and Linux CNC from a significant portion of the DIY CNC market as word spreads around. I am amazed that neither has made a serious effort to adapt to modern platforms. I wouldn't bet against them going the way of Nokia unless they have something amazing in the pipeline.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 18, 2016, 05:52:18 PM
Thanks nrml, that's quite a compliment.  Believe me alot of this is new ground for me I am biting the bullet and moving into CNC machining on a small-ish scale.  So I didn't consider myself a competent person   :scratch:

Yeah, when the word gets out I think these little controllers are going to make some big changes to established CNC hardware and software providers.  I was chatting tonight with someone I look up too in regards CNC machines and we discussed similar thoughts.
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on August 19, 2016, 03:49:38 PM
Well Thursday night I had to pop up to Sheffield to collect some magazines and as Rotherham where Joules lives is only 3/4" away on the map decided to pop in and see this controller and his 3D printing.

First off the controller.
Knew roughly what to expect having had read the book and seen the pictures but in the flesh it looks a class package. First thing that struck me was the wiring on the revers which is shown on here. After having wired up countless CNC controls over the years what struck me was he's not got enough wires. It looks very skimpy but on close inspection there are enough.
4 dedicated to the VFD for switching and feed and 6 dedicated for step and direction on each driver plus the odd ground signal. Mustn't forget the 24v input either and that's it.

Joules, like me doesn't believe in limit switches. If you don't know where you are you should be making marmalade and not machining.
Only thing I'd add would be an e-stop
Are you listening Joules ???

Colour me impressed.

So for a simple system like this you have this controller, 24v power supply, three stepper driver and three stepper motors.

That's it - nothing else unless you count the VFD.

No big bulky computer and monitor, no keyboard or mouse to get in the way. No breakout board, no windows license, no Mach license or optional outside controller.

On cost alone you are quids in using one of these.

I can see these being a game changing piece of kit. Can't wait to get mine.

On the 3D printing side, being as I own a UP Plus 2 I knew what to expect but after seeing the attention to detail that Joules put in both in design and printing it far exceeded anything I have done. The graduated micrometer adjustment for the Quorn was an exact work of art, the pictures in the Quorn thread do not do it justice.

Don't know if it has ever been made clear but Joules does this, design and prototype printing for a living so if anyone wants anything doing please get in touch. I'm sure you won't be disappointed.

I know of two things I'll shortly be sending for design and get the STL files
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 19, 2016, 04:19:02 PM
Thanks John, the cheques in the post...

I have spent all afternoon in my finest Yorkshire accent shouting  "EEE STOP" it didn't do nowt  :(

OK, OK I'll get one of those red nose jobs for kicking when all hell breaks loose.

Corrr, another two wires to add...  Tut !!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on August 20, 2016, 07:15:34 AM
I have spent all afternoon in my finest Yorkshire accent shouting  "EEE STOP" it didn't do nowt  :(

Seriously though, a simple voice recognition system that would respond to a loud shout of "STOP" in your chosen accent would be much better than trying to hit the big red button.

One voice controlled e-Stop could shut down multiple machines in your shop or all shop power except for the lights.
Title: Re: DDCSV1.1 4 Axis controller
Post by: mattinker on August 20, 2016, 07:49:17 AM
I like the idea, but when my compressor is running, shouting "STOP" might not be loud enough to be detected!

Regards, Matthew
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on August 20, 2016, 07:58:10 AM
Dependant on what part of you was caught in the machine, the pitch of your voice might change by several octaves  :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 20, 2016, 08:09:32 AM
I am going to mount one of those big mushroom stop buttons on a pole hanging down from the ceiling over the router.  Be handy if I could mount it on old lighting track then drag it to where I am currently working.   A wireless E-Stop sounds as reliable as a chocolate fireguard, likewise voice activated with all the radio songs that have STOP in the lyrics...

I normally hang around the controls till a job has started then wander off doing other stuff, so unless I had a stop button next to the computer nothing is going to happen fast, by me.

Perhaps there's a market for a buttock clenching stop button   :med:

Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 20, 2016, 11:04:52 AM
The final problem of my controller install is solved.  I wanted the cooling fans for the stepper drivers to be software controlled.  When John saw them it was wired in permanently.  My issue had been fitting an internal power supply for 12v systems, i.e fans, lights etc.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0101_zpsg6quihvm.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0101_zpsg6quihvm.jpg.html)

These little power supplies are highly efficient and dirt cheap.

http://hobbycomponents.com/power/698-xl60009-dc-dc-step-up-boost-converter

It shares a common ground with the main 24v PSU.   The controller has isolated grounds for different sections, it's not a good idea to bridge these grounds together as you can end up with lots of interference issues from electrical noise.   Earlier back in the thread you may have seen nrml's post of the internals and the 12vdc regulator that is rated at 250ma.   Well it's not enough to drive the fans direct but fine for powering a 12v reed relay (don't forget a back EMF diode).  Got a Maplins dual reed relay as it was cheaper than the single ??? and wired it into the controller on M8/9 and the 12v internal supply.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0098_zpsjxl9rbxx.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0098_zpsjxl9rbxx.jpg.html)

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0100_zpsvdpfzy0b.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0100_zpsvdpfzy0b.jpg.html)

The connections are soldered and sealed in Sugru, handy stuff but you need a number of jobs to make use of the once opened pack   :(   Hot glue would probably have worked fine too.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0097_zpsqcbwutnc.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0097_zpsqcbwutnc.jpg.html)

I can now toggle the fans on off from the front panel as shown with M8 in bold.  More to the point M8 is g-code controlled so I can turn the fans on prior to a job and turn them off after the job.  If I needed that second reed can be used for anything else I might want to switch via M8, with no further load on the controller.

And that concludes the basic install for the router.  YES, I am very pleased with this controller, it does more than I was able to do with the old router controller and LinuxCNC, that isn't a reflection on LinuxCNC, but more my abilities to understand and use it.   I hope this thread has proved useful and inspires others to get one of these controllers and give it a go.
Title: Re: DDCSV1.1 4 Axis controller
Post by: David Jupp on August 21, 2016, 09:47:02 AM
  A wireless E-Stop sounds as reliable as a chocolate fireguard,

Could be made safe - just think of all the overhead cranes with wireless control.  Basically there has to be a continual handshake between button unit and base station, any loss of handshake (loss of signal, power loss, or E-stop pressed) kills the drives.  Same basic approach is used to transport safety related signals over Ethernet etc.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on August 21, 2016, 09:55:29 AM
Thats a fair point David, now where did I put that damned wireless E-Stop.....
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on August 21, 2016, 10:31:09 AM
The best place to fit an stop is between the cheeks of your backside, never fails to work
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on August 21, 2016, 12:44:59 PM
The best place to fit an stop is between the cheeks of your backside, never fails to work

John,

See reply #52 - Jules got there first  :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on September 06, 2016, 07:02:23 AM
I figured this information might be appropriate here for anyone getting a DDCSV1.1   This is straight from my Desktop Mill CNC Conversion thread, and refers to this pendant.

http://www.aliexpress.com/item/CNC-Pulse-Generator-4-Axis-MPG-Pendant-Handwheel-Emergency-Stop-for-Siemens-FAGOR-GSK/2009058806.html

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/CNC%20Mill/IMG_0113_zpskqi1yzzz.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/CNC%20Mill/IMG_0113_zpskqi1yzzz.jpg.html)

Colours and connection as below.

GND      =  Black
WHA+   =  Yellow
WHB+   =  White
A-IN      =  Blue
Z-IN      =  Light Blue
Y-IN      =  Orange
X-IN      =  Brown

+5V-W  =  Red
WHA-    =  Pink
WHB-    =  Transparent
GND      =  Purple and Green Black
X100     =  Blue Black
X10       =  Grey
x1         =  Green
ESTOP   =  Red Black

You end up with 3 wires left over, this means the GND could be common'd up and reduce the pin count to 14 so a 15way D could be used, but the connector shell would be very tight so think the 25way is still the one to use.  The above ONLY applies to the pendant linked above, the wiring is not universal so check before you follow the above guide.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/CNC%20Mill/IMG_0114_zpstuclqrl2.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/CNC%20Mill/IMG_0114_zpstuclqrl2.jpg.html)

These are the MPG (pendant) settings used for this particular pendant.  Note top left of the screen it's displaying MPG (Pendant Mode)
Title: Re: DDCSV1.1 4 Axis controller
Post by: nrml on September 07, 2016, 10:40:10 AM
A quick question about the E-Stop wiring  if you don't mind.

The instruction diagram on the pendant I bought (identical to yours I think) says: ''Red/Black lines for COM, Normal circumstances -  Red/Black and Silver /Black conduction, Red/Black and Green/Black off''. https://www.aliexpress.com/item/CNC-4-Axis-MPG-Pendant-Handwheel-Emergency-Stop-For-Siemens-Mitsubishi-Systems/2043005167.html?spm=2114.13010608.0.90.wtPq8J

Doesn't this mean that Red/Black should be connected to ground and Silver/Black connected to the E-Stop terminal on the control unit? I am presuming that breaking the circuit by pressing the button activates the E-stop rather than completing the circuit.
What I scribbled down in my manual is identical to what you have posted apart from this discrepancy.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on September 07, 2016, 10:55:49 AM
nrml, all I did was use a continuity tester to determine which two pairs got connected when the button was pressed, the logic for the MPG ESTOP is short to ground for stop.  I think you do have the option to change the logic to high, but you only need 2 wires to operate the stop.

For me an external ESTOP will also be fitted, this way the unit can still function if the pendant is removed, if the use logic high it won't allow the DDCSV to function without modifying the parameter when the pendant is removed.
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on September 07, 2016, 11:09:34 AM
That makes sense if all the logics are low. Any short and it stops.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on September 07, 2016, 11:25:06 AM
Perhaps worth pointing out for future reference that conventionally an ESTOP chain is a closed loop running (potentially) through several devices / limits / sensors so that any device in the chain can interrupt continuity and drop out a safety relay or whatever.

So on a big mill for instance there might be a lubrication level sensor, door open sensor and an air pressure sensor all in series with the ESTOP button and the ESTOP safety relay coil.

This has the advantage that any broken wire or dislodged plug will trigger a stop, whereas if 'short to earth' is the operation, a broken wire or dislodged plug may not allow you to assert ESTOP
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on September 07, 2016, 12:31:23 PM
But is the E Stop circuit is fed a live and expects to see return to work any short or dislodged plug will put in in E Stop mode and it can't be reset until the fault is rectified.

Basically all switches need to be Normally Closed.

Some early machines and breakout boards for that matter had NO switches and only when closed and nothing happened did a fault become obvious.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on September 07, 2016, 12:43:31 PM
This is purely the Estop on the pendant.  The controller Estop can be set up active high, +12v keeps things on so you can chain switches, as the pendant will be mostly out the way it won't be the stop of choice.

If you look at the bottom of the parameters screen, you see the Extended Buttons options.  The Estop is set to active low (should have disabled it), as I don't have one so active high would disable the controller for now.  Have just tested and confirmed that.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Muzzerboy on September 14, 2016, 08:56:10 AM
John S - did you see / consider these Tomatech controllers too?http://tomatech-cnc.com/PicDetail.aspx?ColumnId=96&ArticleId=626&Language=36&Terminal=41 (http://tomatech-cnc.com/PicDetail.aspx?ColumnId=96&ArticleId=626&Language=36&Terminal=41) They look pretty powerful too.

Go on, tell us it's one of the controllers you've bought to try out...

Murray
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on September 14, 2016, 10:25:08 AM
Very similar Murray but there web site is shite, they show the same controller for everything. Even the two axis lathe has fives axis on the Acer.   

Many of these people are just resellers. We bought direct from the factory.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on September 15, 2016, 05:12:48 AM
A word of caution whilst playing with the controller.  I managed to delete my system file on the controller.  The MODE button acts as delete when on the file page.  The system keeps running till you reboot, then it has no system, or missing part to boot.  I was very concerned that system files have no write protection.  Fortunately I was able to rebuild the system files on the controller from my second 4 Axis controller.  This is really a WARNING, that you can potentially brick your controller by playing about, especially if you only have the one.  I hadn't made backups of the files, I have now, but still need to reset all my preference settings.  If you look at the end of the manual, it does say how to update the firmware, I followed that procedure to reinstall the system files.

Starting to learn lots more about these things, such as selecting a file using START runs the G-Code in simulation mode.   Very useful to test your code for errors and see how it displays on the tool path screen.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on September 15, 2016, 05:33:19 PM
Hi Joules, My DDCSV1.1 arrived today. Very quick delivery from a German supplier (8 days & also via Parcel Motel in Belfast).

I note that the power requirements are 18 to 32 volts. The other PSU/Driver/Steppers have a 36V PSU but it can be adjusted down to 32 V.

All seems good so far.

Now its just a time to: RTFM!  RTFM!! RTFM!!!

The MPG controller is on the sloooow boat!

Will be interesting to compare/contrast it to the SMC4-4!!

I hope ye all know what RTFM means??
Title: Re: DDCSV1.1 4 Axis controller
Post by: NeoTech on September 15, 2016, 05:47:58 PM
I have considered one of these prefabbed controllers as well because USB cnc cards is just a effing headache.. I was looking into this one for a plasma table.

http://www.startsh.com/eng/ccx3.html (http://www.startsh.com/eng/ccx3.html)
Title: Re: DDCSV1.1 4 Axis controller
Post by: tom osselton on September 15, 2016, 08:22:33 PM
It means your cnc is stuck in Manual!!
 :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: tom osselton on September 15, 2016, 08:28:28 PM
I have considered one of these prefabbed controllers as well because USB cnc cards is just a effing headache.. I was looking into this one for a plasma table.

http://www.startsh.com/eng/ccx3.html (http://www.startsh.com/eng/ccx3.html)
Do you have a torch height controler? I know a guy using these he seems pleased.
http://proma-elektronika.com/index.php/en/products
Title: Re: DDCSV1.1 4 Axis controller
Post by: NeoTech on September 16, 2016, 08:19:24 AM
No i have not.. I have a Hypertherm PMX85 that i wanna connect up to a Proma or similar tho. Using the CPC connector.. But i have problems getting the damn windows crapstorm software to behave like a plasma cutter instead of a router with trickery.. Thats why i started to consider a dedicated controller instead.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on September 16, 2016, 06:30:43 PM
Just searching around for more info!

Found this very informative new you-tube vid:



Note that my s/w version is 2016-05-11-73-NOR and his is even later. (2016-05-19-77-NOR)

NB: Also the English(y) manual that we have  is for a 2015-11-18-12
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on September 21, 2016, 06:01:24 AM
Yesterday was design and build a tool sensor to use with the controller.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/Tool%20Sensor_zps5l7b3rkf.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/Tool%20Sensor_zps5l7b3rkf.jpg.html)

The body of course is 3D printed    :thumbup:  a cheap switch with a very repeatable action, in this case it's a keyboard switch.  The spring just allows some tolerance so the switch doesn't get crushed if the spindle over shoots.

(http://i7.photobucket.com/albums/y253/joulesbee/CNC%20Misadventures/IMG_0124_zpstncwlnqs.jpg) (http://s7.photobucket.com/user/joulesbee/media/CNC%20Misadventures/IMG_0124_zpstncwlnqs.jpg.html)

The real surprise is that this setup is repeatable to 0.01mm every time.  Next time I would use a brass sleeve for the moving anvil, as the PLA has just a tad too much friction but may improve over time.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on October 14, 2016, 10:45:01 AM
Joules and any others with these boxes,
I have also bought one and it is as good as I was hoping for - I have a home conversion BF20 mill dating back to 2009 and, following a house move and enforced mill downtime, decided that it was time to an upgrade - so the stepper drivers have been updated with many more volts to help everything along. I was alerted to these boxes following a thread on the ME site and decided to take the plunge - 150€ delivered from Hong Kong was not bad!

Wired it up in about 3 hours - 2 hours to find the tools, wire, etc, etc and 1 hour to connect and make it work - helped that it was just replacing the output from a Mach 3 BOB but still, very swift. Nowhere near Joules' stunning install though - my only excuse is that I am waiting to fully install everything and also waiting for the pendant to arrive. The truth is that it will probably be in the same state in 5 years time....

Sooooooooooo...................I have a few questions that 'someone' might be able to enlighten me:

Regards,
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on October 14, 2016, 06:26:11 PM
Hi Simon,

I have one of these boxes and am fairly impressed so far.

Struggling with the Chinglish manual.

I also have two displays in the axis area!

The ddcnc.com site mentioned for updates/downloads is black listed by most web servers as "malicious".

There seems to be many software versions about, so there must be some s/w development going on.


Still investigating tho'

HTH Will

Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on October 21, 2016, 05:13:21 PM
I now have the x-axis under stepper/maual control. There is a fair bit of backlash but wth??

Its been a long day trying to get G-Code working on this controller.

Have bought the book "CNC Milling in the Workshop" by Dr Marcus Brown.

Tried sending some recommended initialisation code and commands to the controller and the stepper without much success.

Found that I had to set up a LOT of parameters in the controller to sensible values.

Also keep the g-code simple (not like in the book)

Have just managed a simple g-code run with backlask compensation and it seems to work within 5 microns :beer:

Code is here:

(Start Init Block)
(WSD 21/10/16)
G21 (Set mm)
G90 (use abs distances)
(End Init)
F30                 (6)
G1 X  0.0 Y 0.0     (7)
M0                  (8)
G1 X  2.0           (9)
M0                  (10)
G1 X  3.0           (11)
M0                  (12)
G1 X  2.0           (13)
M30

The hard work is done in the settings file for the controller:

Like max speeds, accelerations, enable backlash, define backlash!

There is a lot more to cnc than just adding a stepper and controller and computer! But hey if it was easy every one would be doing it!

What's that I hear? Every one in industry is already doing it!

This learning curve will go into the CNC basics thread eventually
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 24, 2016, 11:34:25 AM
Hello!

My DDCSV1.1 (HW vers. 1.4) just arrived from china :)
But I accidentally managed it to delete the chinese language file while browsing around the file system.
I have searched everywhere for an firmware upgrade but yes, the company is dead. I asked many resellers and contacted all possible e-mail addresses and searched the internet high and low including all pages releated to ddcnc.com on Archive.org.
MadModder could you please send me the chinese file from the second folder of the /mnt/ directory.
I know this file is not critical, but please help me fix my mistake!

Btw, if anybody is interested, here's a bootlog of my CNC controller:
Code: [Select]
recode complete!
ÿ

Init RTC....OK

DDR size: 32MB

SD Port0 Booting Fail - No/Bad Card Insert

NAND Booting (XtraROM 2K-page 4 Address Cycle) Success

Clock Skew

 DQSODS 0x1010

 CKDQSDS 0x888800

Code Executes at 0x00900000

Nand Boot Loader entry (20120921).

Get NANDLoader image from block 0x0 ..

Load file length 0x3DB1C0, execute address 0x0

Linux version 2.6.35.4 (root@localhost.localdomain) (gcc version 4.2.1) #241 PREEMPT Sun Mar 6 03:31:38 CST 2016
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: W55FA93
Memory policy: ECC disabled, Data cache writeback
CPU type 0x00fa5c30 is W55FA93
w55fa93_external_clock = 12.0 MHz
w55fa93_apll_clock = 72000 KHz
w55fa93_upll_clock = 192000 KHz
w55fa93_system_clock = 192000 KHz
w55fa93_cpu_clock = 192000 KHz
w55fa93_ahb_clock = 96000 KHz
w55fa93_apb_clock = 48000 KHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=32M vt.global_cursor_default=0
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28140k/28140k available, 4628k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xc2800000 - 0xe0000000   ( 472 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0142000   (1256 kB)
      .text : 0xc0142000 - 0xc03bd000   (2540 kB)
      .data : 0xc03be000 - 0xc03db140   ( 117 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:32
Console: colour dummy device 80x30
console [ttyS1] enabled
Calibrating delay loop... 95.64 BogoMIPS (lpj=478208)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource w55fa93-timer1
register clock device
w55fa93_edma_init
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 54
alg: No test for stdrng (krng)
io scheduler noop registered (default)
---w55fa93fb_init ----w55fa93 frame buffer init
###########w55fa93 frame buffer probe############
1*** fbi->fb->fix.smem_len = 0x3fc00
REG_LCM_LCDCInt = 0x20000 !!!
Vsync flag is encountered !!!
check_var(var=c1c3a020, info=c1c3a000)
w55fa93fb_set_par !!! =================
Console: switching to colour frame buffer device 60x34
w55fa93 LCD driver has been installed successfully
W55FA93 uart driver has been initialized successfully!
w55fa93-uart0: ttyS0 at MMIO 0xb8008000 (irq = 13) is a W55FA93
w55fa93-uart1: ttyS1 at MMIO 0xb8008100 (irq = 24) is a W55FA93
brd: module loaded
loop: module loaded
MTD nand init !!!
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
chip->ecc.bytes = 0x22 !!!!
Scanning device for bad blocks
Bad eraseblock 0 at 0x000000000000
Bad eraseblock 1 at 0x000000020000
Bad eraseblock 2 at 0x000000040000
Bad eraseblock 3 at 0x000000060000
Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000600000-0x000007e00000 : "NAND FS 0"
0x000007e00000-0x000008000000 : "NAND FS 1"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Init CONFIG_W55FA93_USB_HOST_LIKE_PORT1
ohci_hcd_w55fa93_drv_probe
usb_hcd_w55fa93_probe
get_pll
External clock = 12MHz
NF: 32, NR: 2, NO: 1
PLL is 192   ---
div1 = 1
div0 = 1
div0 = 2
div0 = 3
div0 = 4
Div1 = 0,  Div0 = 3
USBH IP  Reset
CONFIG_W55FA93_USB_HOST_LIKE_PORT1
w55fa93-ohci w55fa93-ohci: Nuvoton W55FA93 OHCI Host Controller
w55fa93-ohci w55fa93-ohci: new USB bus registered, assigned bus number 1
w55fa93-ohci w55fa93-ohci: irq 18, io mem 0xb1009000
ohci_w55fa93_start
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB device plug in
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
<--w55fa93_udc_probe-->
mice: PS/2 mouse device common for all mice
input: W55FA93 TouchScreen as /class/input/input0
input: W55FA93 Keypad as /class/input/input1
W55FA93 keypad driver has been initialized successfully!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Freeing init memory: 1256K
usb 1-1: new full speed USB device using w55fa93-ohci and address 2
jffs2_scan_inode_node(): CRC failed on node at 0x021c57d8: Read 0xffffffff, calculated 0x4f7b911d
input: Telink Wireless Receiver as /class/input/input2
generic-usb 0003:248A:8566.0001: input: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-w55fa93-ohci-1/input0
input: Telink Wireless Receiver as /class/input/input3
generic-usb 0003:248A:8566.0002: input: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-w55fa93-ohci-1/input1
USB device plug in
Empty flash at 0x077341fc ends at 0x07734800
Empty flash at 0x077370cc ends at 0x07737800
jffs2_scan_inode_node(): CRC failed on node at 0x0773afe0: Read 0xffffffff, calculated 0xdf63b2ba
Empty flash at 0x0773b46c ends at 0x0773b800
Empty flash at 0x0773eacc ends at 0x0773f000
w55fa93_gpio_configure()-1,14
w55fa93_gpio_configure()-0,1
w55fa93_gpio_configure()-1,13
w55fa93_gpio_configure()-0,0
w55fa93_gpio_configure()-0,3
w55fa93_gpio_configure()-0,4
w55fa93_gpio_configure()-0,5
w55fa93_gpio_configure()-0,6
w55fa93_gpio_configure()-0,7
w55fa93_gpio_configure()-0,5
w55fa93_gpio_configure()-4,2
w55fa93_gpio_configure()-4,3
w55fa93_gpio_configure()-4,4
w55fa93_gpio_configure()-4,5
w55fa93_gpio_configure()-4,6
w55fa93_gpio_configure()-4,7
w55fa93_gpio_configure()-1,2
w55fa93_gpio_configure()-1,3
w55fa93_gpio_configure()-1,4
w55fa93_gpio_configure()-1,5
w55fa93_gpio_configure()-1,6
w55fa93_gpio_configure()-3,0
w55fa93_gpio_configure()-3,1
w55fa93_gpio_configure()-3,2
w55fa93_gpio_configure()-3,12
w55fa93_gpio_configure()-3,13
w55fa93_gpio_configure()-3,14
w55fa93_gpio_configure()-3,15
motion driver has been initialized successfully!

JFFS2 notice: (291) check_node_data: wrong data CRC in data node at 0x07733c88: read 0x16da4fd0, calculated 0x659bc5b5.




cp: cannot stat '/udisk-sda1/install/*': No such file or directory

Please press Enter to activate this console.

[deleted a few hundred blank new lines here]


set:40000000,io:40001000
GUI_X_InitOS
open /dev/input/mouse1 success,fd is 6
Create thread sucess!
xresis 480
,yresis 272,16,0,0,960
r:11,5,0
g:5,6,0
b:0,5,0
t:0,0,0


recode complete!

EDIT:
This problem is now solved!

If anyone needs a firmware upgrade to 2016-06-10-80, you can download one here:
http://data.bmuessig.eu/CNC/DDCSV11/install.zip

Just unzip the files onto an USB stick (FAT32 formatted) and plug it into the controller while it is powered off. Then apply power and the update is performed!

This also works for people who have accidentally deleted files in one of their system directories. As the copying is part of the init script, it should still work fine, even if the system files are corrupted or missing (I have no idea about the linuxrc though). However, I don't think this can fix a missing linuxrc file though, but it will upgrade/repair your GUI frontend, the language files and the G-Code helper files.

I am not responsible for bricking your controller. I am neither responsible for loss of functions or any malfunction. This update is just provided as is by good will of me.
ALSO THESE FILES WERE DUMPED FROM A 3-AXIS CONTROLLER, I CAN'T TELL WHAT WILL HAPPEN IF YOU INSTALL THIS ONTO A 4-AXIS CONTROLLER!
USING THE UPDATE AT ALL IS ENTIRELY IN YOUR RESPONSIBILITY!!!


I am also working on an improved English language file with fewer issues. Have fun! :)

To you, Chinese manufacturers,
I am hosting this file on my server as you managed it to have made the only official firmware update site no longer available anymore.
Therefore I am helping other people out who have similar issues.
If you have a problem with this, contact me via email: issues@bmuessig.eu

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 25, 2016, 07:44:24 PM
I have started improving the English translation.
Any help is greatly appreciated.

The current WIP can be found here:
https://gist.github.com/bmuessig/cac1750c01ababf316678cc7710e3972
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on October 26, 2016, 04:49:51 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 26, 2016, 05:58:03 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
@Simon0362
It would be really great if you could send me the actual firmware upgrade file instead of the one I built myself from what I dumped and reverse-engeneered. I will host the file on my server. In case that you could get the 3-axis one, I would host it as well. I am still working on the translations. I hope you find them useful :)
Finally proper English text!
The mail address would be [contact (at) bmuessig (dot) eu]
I am not able to PM you as this feature seems to be disabled for me.

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Brass_Machine on October 26, 2016, 09:35:34 AM
...
I am not able to PM you as this feature seems to be disabled for me.

Regards,
Benedikt

Hi Benedkt,

I disabled PMs for users with less than 5 posts. We were getting spammers that joined just to send PMs. Head over to the introductions board, make a couple of quick posts and the PM function will be open to you.  :thumbup:

Also, I edited your post to change your email... this way your email address cannot be scraped by spammers.

Thanks for participating!

Eric
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 27, 2016, 10:21:22 AM
...
I am not able to PM you as this feature seems to be disabled for me.

Regards,
Benedikt

Hi Benedkt,

I disabled PMs for users with less than 5 posts. We were getting spammers that joined just to send PMs. Head over to the introductions board, make a couple of quick posts and the PM function will be open to you.  :thumbup:

Also, I edited your post to change your email... this way your email address cannot be scraped by spammers.

Thanks for participating!

Eric
Thanks, I will go ahead and do that :)

So here's an update on the Firmware.
First, the firmware for 3 and 4 axis controllers seems to be the same. The firmware Simon sent me works fine on my 3-axis model. And unfortunately no, it does not enable the missing axis, but I might look into a free way of upgrading the models, as they are electrically the same.
I assume it is a simple configuration flag somewhere in the flash.
So, I have started reverse engineering the firmware. The settings of the machine (such as last loaded file name, etc) are kept in /mnt/nand-1-2 but are hidden from the user in the file tab. For the translation, I have modified the firmware and the binaries and added better translations. I still can't figure out what some do, so I would be glad if somebody who used the CNC controller in action for longer than I did, could have a look. Also, I am not speaking English natively, so I might have introduced some new issues into the translations. Maybe one could kindly have a look :)
The current state of translation can be found below. The eng file is the new translation while the original is called org for comparison.
https://gist.github.com/bmuessig/cac1750c01ababf316678cc7710e3972

Of course: :worthless: so here you go:
(http://bmuessig.eu/content/IMG_0360-JPG.jpg)

The controller seems to be well built and even the software is actually quite well made. I am quite surprised how much work was put into the firmware by zswan (debug strings are a nice thing and the binaries are also unstripped ;)).

If you want, you can read a little bit more on my site: http://bmuessig.eu/posts/ddcsv11-cnc-controller-modding-part-1

The Linux image also contains surprisingly many unnecessairy drivers and kernel modules (e.g. USB mouse and keyboard drivers) which actually sort of work.
I am also probably going to find a way to get a root shell spawned onto the secondary, outer, serial port, but that has quite low priority now.
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on October 27, 2016, 06:09:19 PM
I have recently took delivery of the latest version from Rattn Motor called the RMHV2.1
Looks the same as the 1.1 but different legend membrane on the front.

If it helps I have uploaded the manual here.

http://www.stevenson-engineers.co.uk/files/RMHV2.1%20PLC%20offline%20control%20user%20manual-1.pdf

Here is where I got mine from.

https://www.aliexpress.com/item/EU-Delivery-4-Axis-PLC-Controller-500KHz-off-line-operation-for-CNC-Router-Engraving-Milling-Machine/32664122826.html?spm=2114.13010608.0.0.V9yTdt

Later on I'll boot it up and see what version the software is. This is a 4 axis one.
I can also download the firmware is someone explains how to do it it words of 2 syllables and Github and Sourgeforce must not be any of them.

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 27, 2016, 06:15:59 PM
I have recently took delivery of the latest version from Rattn Motor called the RMHV2.1
Looks the same as the 1.1 but different legend membrane on the front.

If it helps I have uploaded the manual here.

http://www.stevenson-engineers.co.uk/files/RMHV2.1%20PLC%20offline%20control%20user%20manual-1.pdf

Here is where I got mine from.

https://www.aliexpress.com/item/EU-Delivery-4-Axis-PLC-Controller-500KHz-off-line-operation-for-CNC-Router-Engraving-Milling-Machine/32664122826.html?spm=2114.13010608.0.0.V9yTdt

Later on I'll boot it up and see what version the software is. This is a 4 axis one.
I can also download the firmware is someone explains how to do it it words of 2 syllables and Github and Sourgeforce must not be any of them.
Hello!

After studying the manual and having a good look, I can say it won't be neccessairy to dump the firmware which you can do by heading over to the file tab and going up a folder and copying the linuxrc file and all files from the /mnt/nand1-1 directory to the supplied USB disk and copying them to a PC. Files can be copied by hovering over them and pressing the FRO button. Then heading over to the USB disk mount and pressing 2nd to paste the file.
But your CNC controller will certainly run the same firmware with just a different membrane overlay. If you could tell us the firmware version we could see if this is a newer version.

2016-06-10-80 NAND is currently the latest one we got and the version I am basing my improved firmware on.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on October 28, 2016, 06:00:41 PM
On a related topic - what is everybody using as their stepper driver units?
I ask because I have been using a set of 3 M542 (I think) drivers with a home brew and somewhat dangerous 32V linear supply which works perfectly with the DDCSV1.1. However I decided to upgrade this at the same time as the controller and bought a 4 axis board using TB6600s allegedly capable of 45V input - but specified on the  Toshiba data sheet as only 42V max.

Plugged it in, adjusted each channel for current and it howls, whistles, hums and every other known sound - and the nice chunky heatsink on the back *will* need a fan or two to keep it from going into meltdown.

Guess it will do for the moment or I will roll back to the older one - whichever happens, I am in the market for 4 driver units for NEMA 23, 3.5A 200step steppers other properties not to hand!

What are the preferred units - and ideally nothing in the mega buck department please!
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 28, 2016, 06:07:37 PM
On a related topic - what is everybody using as their stepper driver units?
I ask because I have been using a set of 3 M542 (I think) drivers with a home brew and somewhat dangerous 32V linear supply which works perfectly with the DDCSV1.1. However I decided to upgrade this at the same time as the controller and bought a 4 axis board using TB6600s allegedly capable of 45V input - but specified on the  Toshiba data sheet as only 42V max.

Plugged it in, adjusted each channel for current and it howls, whistles, hums and every other known sound - and the nice chunky heatsink on the back *will* need a fan or two to keep it from going into meltdown.

Guess it will do for the moment or I will roll back to the older one - whichever happens, I am in the market for 4 driver units for NEMA 23, 3.5A 200step steppers other properties not to hand!

What are the preferred units - and ideally nothing in the mega buck department please!
Simon
Hello!

I have just bought three new drivers for my CNC when I switched to the DDCSV1.1. They should arrive tomorrow.
(http://i.imgur.com/5yXos50.jpg)
https://www.amazon.de/SainSmart-Router-Stepper-Drivers-axiscontrol/dp/B00898T40W/ref=sr_1_1?ie=UTF8&qid=1477608546&sr=8-1

What is your opinion on them? I am sure they should be enough to drive my Nema 17 steppers.
They are based on the Toshiba TB6600 stepper motor driver IC: http://www.mouser.com/ds/2/408/TB6600HG-483084.pdf

I have two supplies to choose from: a 12V 10A supply or a 24V 5A supply (which is also used by the controller).
Any thoughts? Which one should I use?
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on October 28, 2016, 06:59:43 PM
Simon,

I use these:

https://www.cnc4you.co.uk/Microstepping-Driver/Stepper-Motor-Driver-4.5A,-50V-CNC-Microstepping-CW5045 (https://www.cnc4you.co.uk/Microstepping-Driver/Stepper-Motor-Driver-4.5A,-50V-CNC-Microstepping-CW5045)

The drives and my 3.5 N-m motors run nice and cool (and quiet). My motors are rated at 4.2A with windings in parallel but I don't run them that hard.

Cheers.

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: kayzed1 on October 28, 2016, 08:08:05 PM
Simon,

I use these:

https://www.cnc4you.co.uk/Microstepping-Driver/Stepper-Motor-Driver-4.5A,-50V-CNC-Microstepping-CW5045 (https://www.cnc4you.co.uk/Microstepping-Driver/Stepper-Motor-Driver-4.5A,-50V-CNC-Microstepping-CW5045)

The drives and my 3.5 N-m motors run nice and cool (and quiet). My motors are rated at 4.2A with windings in parallel but I don't run them that hard.



That was the stepper driver i bought that did not work, i have a cheapO version of it  on the rotab at the moment ..i think it was about £13.
Lyn.


Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on October 29, 2016, 06:01:32 AM
Great work being done with the firmware.

Does any one have more up to date English manuals?

My s/w version is 2016-05-11-73-NOR, there is 2016-05-19-77-NOR in one of the posts above,and recently by Benedikt 2016-06-10-80 NAND, but  the English(y) manual that we have  is for a 2015-11-18-12.

I gues the fomat is YYYY-MM-DD-IncrementingNumber-BooleanTerm
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 29, 2016, 06:24:50 AM
Great work being done with the firmware.

Does any one have more up to date English manuals?

My s/w version is 2016-05-11-73-NOR, there is 2016-05-19-77-NOR in one of the posts above,and recently by Benedikt 2016-06-10-80 NAND, but  the English(y) manual that we have  is for a 2015-11-18-12.

I gues the fomat is YYYY-MM-DD-IncrementingNumber-BooleanTerm
Oh, I am sorry. My version is actually 2016-06-10-80-NOR.

So after looking through the firmware, the format seems to be YYYY-MM-DD-BUILD-MEMORY
Basically, NOR stands for NOR-Flash (the production version). The other value is EXT which i discovered by looking through the other values in the motion binary.
I think when they developed it, they had an option to run the code off an USB stick or something that allowed them to run the application from a place different to the Flash memory.

Will, could you maybe help me translating the GUI from Chinglish to proper English.
I am using the currently latest and most likely last version of the software available. If we find an even newer one, that would of course be great. But fortunately the language file is seperate from the changes in the binary.
There are a few untranslated lines left (that I don't understand) and a few lines need to be shortened to fit on the screen. Apart from that it is almost done.
Also somebody should better check if the translations fit the purpose (and are clear and understandable).
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on October 29, 2016, 07:35:13 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 29, 2016, 07:39:05 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on October 29, 2016, 08:08:18 AM
Simon,

I use these:

https://www.cnc4you.co.uk/Microstepping-Driver/Stepper-Motor-Driver-4.5A,-50V-CNC-Microstepping-CW5045 (https://www.cnc4you.co.uk/Microstepping-Driver/Stepper-Motor-Driver-4.5A,-50V-CNC-Microstepping-CW5045)

The drives and my 3.5 N-m motors run nice and cool (and quiet). My motors are rated at 4.2A with windings in parallel but I don't run them that hard.

Cheers.
Phil.

Hi all,
I use the same drivers in my OMIOx2200 CNC, i have to say that they are really good, i just changed the power supply to a 50 volts, so the motors are much more reliable, less heating and less problems..... :zap:

Cheers.
Emanuel
 
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on October 29, 2016, 08:27:52 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt

Thanks a lot!!!! :beer:
So: if the 3/4 axis are the same firmware, why we pay the difference between the 2 controllers?
There's a flag somwhere that tell to the controller which is 3 and which is 4 axis for sure, as the electronic board and output connectors and signal are the same..... :doh:
Am i wrong?
Cheers...
Emanuel
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 29, 2016, 08:37:17 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Thanks a lot!!!! :beer:
So: if the 3/4 axis are the same firmware, why we pay the difference between the 2 controllers?
There's a flag somwhere that tell to the controller which is 3 and which is 4 axis for sure, as the electronic board and output connectors and signal are the same..... :doh:
Am i wrong?
Cheers...
Emanuel
You are welcome.

No, you are absolutely right. There is just a flag that sets whether it is a 3 or 4 axis controller.
This is either a simple digital flag/setting, a change in the linux image (which could be changed) or a simple solder bridge on the PCB. The hardware for the other axis is there. The backside of the unit simply says NC for the A-axis pins on the 3-axis controller.

I will look some more into this and possibly into finding an easy way to upgrade 3 to 4 axis controllers.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on October 29, 2016, 09:28:27 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip (http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip)

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Thanks a lot!!!! :beer:
So: if the 3/4 axis are the same firmware, why we pay the difference between the 2 controllers?
There's a flag somwhere that tell to the controller which is 3 and which is 4 axis for sure, as the electronic board and output connectors and signal are the same..... :doh:
Am i wrong?
Cheers...
Emanuel
You are welcome.

No, you are absolutely right. There is just a flag that sets whether it is a 3 or 4 axis controller.
This is either a simple digital flag/setting, a change in the linux image (which could be changed) or a simple solder bridge on the PCB. The hardware for the other axis is there. The backside of the unit simply says NC for the A-axis pins on the 3-axis controller.

I will look some more into this and possibly into finding an easy way to upgrade 3 to 4 axis controllers.


I wonder if the difference is just the label, chinese often do that, they are not expecting normal people opening the control box and change things, but we are not normal people :) !!!!!!
So...... i will open the box and check, but i'm pretty sure i'm right, i will post pictures of what i find out soon.
Many thanks for now,
Regards
Emanuel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 29, 2016, 09:37:25 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip (http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip)

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Thanks a lot!!!! :beer:
So: if the 3/4 axis are the same firmware, why we pay the difference between the 2 controllers?
There's a flag somwhere that tell to the controller which is 3 and which is 4 axis for sure, as the electronic board and output connectors and signal are the same..... :doh:
Am i wrong?
Cheers...
Emanuel
You are welcome.

No, you are absolutely right. There is just a flag that sets whether it is a 3 or 4 axis controller.
This is either a simple digital flag/setting, a change in the linux image (which could be changed) or a simple solder bridge on the PCB. The hardware for the other axis is there. The backside of the unit simply says NC for the A-axis pins on the 3-axis controller.

I will look some more into this and possibly into finding an easy way to upgrade 3 to 4 axis controllers.


I wonder if the difference is just the label, chinese often do that, they are not expecting normal people opening the control box and change things, but we are not normal people :) !!!!!!
So...... i will open the box and check, but i'm pretty sure i'm right, i will post pictures of what i find out soon.
Many thanks for now,
Regards
Emanuel

As you can see in the menu, there is the A axis box. it is simply empty on the 3 axis model. The settings for the A axis are all present on the 3 axis model. I don't know if the 3-axis model still parses the A axis gcode commands. This is yet to be found out. But yes, there is a simply flag. Finding out where it is stored is probably rather easy. I will disassemble the rest of the firmware now and have a closer look. When they manufacture it, they simply use the 4 axis board, set the flag (using either uart or through USB or maybe even with button presses) and then stick the 3 axis label on.

Let's try something crazy! Anybody with a 4-axis machine. Could you copy me the linuxrc file that sits at / of the internal file manager. Use [FRO] to copy and [2ND] to paste.

Also I just found out the FPGA is mapped to /dev/motion
I can't wait to dump the entire flash.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on October 29, 2016, 11:32:09 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip (http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip)

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Thanks a lot!!!! :beer:
So: if the 3/4 axis are the same firmware, why we pay the difference between the 2 controllers?
There's a flag somwhere that tell to the controller which is 3 and which is 4 axis for sure, as the electronic board and output connectors and signal are the same..... :doh:
Am i wrong?
Cheers...
Emanuel
You are welcome.

No, you are absolutely right. There is just a flag that sets whether it is a 3 or 4 axis controller.
This is either a simple digital flag/setting, a change in the linux image (which could be changed) or a simple solder bridge on the PCB. The hardware for the other axis is there. The backside of the unit simply says NC for the A-axis pins on the 3-axis controller.

I will look some more into this and possibly into finding an easy way to upgrade 3 to 4 axis controllers.


I wonder if the difference is just the label, chinese often do that, they are not expecting normal people opening the control box and change things, but we are not normal people :) !!!!!!
So...... i will open the box and check, but i'm pretty sure i'm right, i will post pictures of what i find out soon.
Many thanks for now,
Regards
Emanuel

As you can see in the menu, there is the A axis box. it is simply empty on the 3 axis model. The settings for the A axis are all present on the 3 axis model. I don't know if the 3-axis model still parses the A axis gcode commands. This is yet to be found out. But yes, there is a simply flag. Finding out where it is stored is probably rather easy. I will disassemble the rest of the firmware now and have a closer look. When they manufacture it, they simply use the 4 axis board, set the flag (using either uart or through USB or maybe even with button presses) and then stick the 3 axis label on.

Let's try something crazy! Anybody with a 4-axis machine. Could you copy me the linuxrc file that sits at / of the internal file manager. Use [FRO] to copy and [2ND] to paste.

Also I just found out the FPGA is mapped to /dev/motion
I can't wait to dump the entire flash.


I'll Try, hope i don't delete all the firmware, as is very easy to do with just pressing the "MODE" button...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 29, 2016, 11:37:08 AM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip (http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip)

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Thanks a lot!!!! :beer:
So: if the 3/4 axis are the same firmware, why we pay the difference between the 2 controllers?
There's a flag somwhere that tell to the controller which is 3 and which is 4 axis for sure, as the electronic board and output connectors and signal are the same..... :doh:
Am i wrong?
Cheers...
Emanuel
You are welcome.

No, you are absolutely right. There is just a flag that sets whether it is a 3 or 4 axis controller.
This is either a simple digital flag/setting, a change in the linux image (which could be changed) or a simple solder bridge on the PCB. The hardware for the other axis is there. The backside of the unit simply says NC for the A-axis pins on the 3-axis controller.

I will look some more into this and possibly into finding an easy way to upgrade 3 to 4 axis controllers.


I wonder if the difference is just the label, chinese often do that, they are not expecting normal people opening the control box and change things, but we are not normal people :) !!!!!!
So...... i will open the box and check, but i'm pretty sure i'm right, i will post pictures of what i find out soon.
Many thanks for now,
Regards
Emanuel

As you can see in the menu, there is the A axis box. it is simply empty on the 3 axis model. The settings for the A axis are all present on the 3 axis model. I don't know if the 3-axis model still parses the A axis gcode commands. This is yet to be found out. But yes, there is a simply flag. Finding out where it is stored is probably rather easy. I will disassemble the rest of the firmware now and have a closer look. When they manufacture it, they simply use the 4 axis board, set the flag (using either uart or through USB or maybe even with button presses) and then stick the 3 axis label on.

Let's try something crazy! Anybody with a 4-axis machine. Could you copy me the linuxrc file that sits at / of the internal file manager. Use [FRO] to copy and [2ND] to paste.

Also I just found out the FPGA is mapped to /dev/motion
I can't wait to dump the entire flash.


I'll Try, hope i don't delete all the firmware, as is very easy to do with just pressing the "MODE" button...
Well if you accidentially do, don't power down the machine. I can send you a 3 axis replacement so it would still boot.
But thank you for trying it.

So I have made some progress myself, not with the firmware, but with my actual CNC. I connected the new stepper drivers and it works perfectly  :D
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on October 29, 2016, 02:07:37 PM
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon
Hi,
I requested a copy of the latest firmware from my supplier (fly-xy) and I received a zip with the install files. Please PM me if you want a copy - or are able to host it 'somewhere'.

No idea if it is good or not but it might help someone out - maybe Benedikt or someone more Linux-savvy can check it out. BTW, its for the 4 axis version.
BR
Simon

I would be more than happy to have the new firmware (4 Axis), would you be happy to email me as an attachment?
[emanuel(063) (at)][outlook](dot)[com]
Thank you so much, i can manage to upload the files in a host and nake them available for all
Regards
Emanuel
Hello!

You can download the version Simon sent me from here:
http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip (http://data.bmuessig.eu/CNC/DDCSV11/install-stock-2016061080.zip)

I am already hosting the file so that anybody can download it. The 3 and 4 axis controllers use the same firmware.

Regards,
Benedikt
Thanks a lot!!!! :beer:
So: if the 3/4 axis are the same firmware, why we pay the difference between the 2 controllers?
There's a flag somwhere that tell to the controller which is 3 and which is 4 axis for sure, as the electronic board and output connectors and signal are the same..... :doh:
Am i wrong?
Cheers...
Emanuel
You are welcome.

No, you are absolutely right. There is just a flag that sets whether it is a 3 or 4 axis controller.
This is either a simple digital flag/setting, a change in the linux image (which could be changed) or a simple solder bridge on the PCB. The hardware for the other axis is there. The backside of the unit simply says NC for the A-axis pins on the 3-axis controller.

I will look some more into this and possibly into finding an easy way to upgrade 3 to 4 axis controllers.


I wonder if the difference is just the label, chinese often do that, they are not expecting normal people opening the control box and change things, but we are not normal people :) !!!!!!
So...... i will open the box and check, but i'm pretty sure i'm right, i will post pictures of what i find out soon.
Many thanks for now,
Regards
Emanuel

As you can see in the menu, there is the A axis box. it is simply empty on the 3 axis model. The settings for the A axis are all present on the 3 axis model. I don't know if the 3-axis model still parses the A axis gcode commands. This is yet to be found out. But yes, there is a simply flag. Finding out where it is stored is probably rather easy. I will disassemble the rest of the firmware now and have a closer look. When they manufacture it, they simply use the 4 axis board, set the flag (using either uart or through USB or maybe even with button presses) and then stick the 3 axis label on.

Let's try something crazy! Anybody with a 4-axis machine. Could you copy me the linuxrc file that sits at / of the internal file manager. Use [FRO] to copy and [2ND] to paste.

Also I just found out the FPGA is mapped to /dev/motion
I can't wait to dump the entire flash.


I'll Try, hope i don't delete all the firmware, as is very easy to do with just pressing the "MODE" button...
Well if you accidentially do, don't power down the machine. I can send you a 3 axis replacement so it would still boot.
But thank you for trying it.

So I have made some progress myself, not with the firmware, but with my actual CNC. I connected the new stepper drivers and it works perfectly  :D


That's a good new, but the controller works perfectly, you will be pleased with it, much better than Mach3, clean pulse and fast response, the only problem is that accept Fanuc G.code most than everything, so i suggest you to be very careful before you run the machine with some metal under the spindle :bang: ....


I ordered this motor and controller set, as i am not happy at all for the stepper motors, there's even an alternative cheaper chinese one, but i choose the good one.
after pushing my cnc to the limit i realized that i need Brushless for the best accuracy, i'll keep you posted as soon as i have them at work.....



https://www.teknic.com/products/clearpath-brushless-dc-servo-motors/
Cheers
Emanuel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 01, 2016, 04:29:23 AM
Hi all,
Any progress diassembling the DDCSV1.1 linux image?

Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on November 01, 2016, 06:06:03 AM
He's probably got that confused trying to keep up with 25,852 quoted messages  :wave:
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 01, 2016, 06:51:44 AM
Give him a break John, he's only just joined and is learning the ropes  :med:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 01, 2016, 09:54:44 AM
Give him a break John, he's only just joined and is learning the ropes  :med:
Sorry :bow:  try to learn.....
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 08, 2016, 04:23:52 PM
Oh, I am sorry, but I have not made much progress disassemblying the image. However the firmware is now almost ready. String lengths and content make a lot more sence now than they did before.

Right now I am finishing my CNC in my spare time. Currently I am looking into making a panel for my controller.
This is the design that I am going to submit to the company who lasers these control panels:

(http://data.bmuessig.eu/CNC/Pandora/Pandora_RTM_Screenshot.png)

Any suggestions or improvements are highly appreciated :)

These are the translations of the different strings on the panel:
"CNC-FRÄSMASCHINE" = "CNC-MILLING MACHINE"
"NOT-HALT" = "Emergency stop"
"AUS/EIN" = "OFF/ON"

I am willing to share the original SolidWorks and DXF drawings on request so that you can modify them (or I can help you do this) and get one lasered yourself.
The holes for the controller are exactly measured from the actual DDCSV1.1 unit. The other holes are for the USB panel mount and for two screw mount panel switches. One being an emergency stop and one being a soft on/off rotary switch.

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 09, 2016, 05:39:44 AM
Nice job,  very clean panel, at the end you just need the minimum, the rest is on the screen(personal opinion).


I started milling some 2,5D shapes on wood to try the controller and how accurate is, i have to say that i'm quite happy for what i got ...
I will post some pictures just for share, they are just random shapes done in solidworks in a few minutes, but they give the idea.
Mach post processor it doesen't work, need some changes in the final file to work properly (this controller is generic fanuc G-Code)
Of course i will share pictures of my little router...
The tolerance measured on wood  really surprised me.... let's look at the pictures later! :)


 :worthless:
Catch you later guys
Regards

Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 09, 2016, 08:41:34 AM
If you allow me,  I would suggest you to add the space for the "All Zero"  button in the front of the panel,  that will save you to push the keyboard twice during the piece zero setup before the Z probe,  Then if you are very demanding you can even add the Center Finder button,  as is allowed by the controller setup...
Cheers 🍻

Inviato dal mio SM-N9005 utilizzando Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 09, 2016, 02:30:03 PM
I tried to upload some pictures,  but it says I'm not allowed to do that due to security check failures

Inviato dal mio SM-N9005 utilizzando Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 09, 2016, 02:32:47 PM
2 attempt to upload pictures as promised......
Every comment is fully approved and appreciate

Inviato dal mio SM-N9005 utilizzando Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Maciej on November 12, 2016, 01:56:06 AM
Hi All,
I would like to thank all that contributed to this thread, it give me some inside into this box before I bought it. The contribution to Chinglisch=>English translation is greatly appreciated.
I bought the the X6-1500GT from carving-cnc (now it is called Omiocnc) some 3 years ago, similar to this https://www.omiocnc.com/products/x6-2200l-usb.html but 1.5kW spindle. The machine is well made mechanically for hobby work more than enough. The controller box is ok apart from the usb card / Windows + Mach3. It started to skip steps, the motors would stall, looks like noise or breaks in communication somewhere... I never find out what was the cause, after I got windows update reset the pc in the middle of the job I had enough.
I pull the trigger and got DDCSV1.1. Old Dell PC provided the case, rest I butchered from old CNC controller box.
Here are the pics of the old controller https://goo.gl/photos/Fn9C33iL88yi99XT9
And the new one with DDCSV:
https://goo.gl/photos/qcFnpDHyAJk3gcRn7

So far so good. I think everything is working. I am missing the ATC function from mach 3 with 2 sensor plates setup, one fixed and one mobile. I have yet to figureout the following:
1) Probe mode 1 operation and the tools offset, how to use it. Currently I am using Mode 2 which behaves as I expect, it resets Z to 0 using the mobile probe.
2) My Home (x=0,y=0 machine coord) point is on the left and back of the table. Y axes home switch was convenient to put at the back. In Mach3 I could setup coordinates to Home other than 0 but I do not thin I can do it with DDCSV. As a result The machine travels to Home once at the beginning of the job and twice at the end... It may be the Post-processor I am using. (Aspire, with Fanuc post.)

I cut simple holder for ER16 collets, pics are at the end of the new CNC box album.

Maciej
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 12, 2016, 04:35:38 AM
Hi All,
I would like to thank all that contributed to this thread, it give me some inside into this box before I bought it. The contribution to Chinglisch=>English translation is greatly appreciated.
I bought the the X6-1500GT from carving-cnc (now it is called Omiocnc) some 3 years ago, similar to this https://www.omiocnc.com/products/x6-2200l-usb.html but 1.5kW spindle. The machine is well made mechanically for hobby work more than enough. The controller box is ok apart from the usb card / Windows + Mach3. It started to skip steps, the motors would stall, looks like noise or breaks in communication somewhere... I never find out what was the cause, after I got windows update reset the pc in the middle of the job I had enough.
I pull the trigger and got DDCSV1.1. Old Dell PC provided the case, rest I butchered from old CNC controller box.
Here are the pics of the old controller https://goo.gl/photos/Fn9C33iL88yi99XT9
And the new one with DDCSV:
https://goo.gl/photos/qcFnpDHyAJk3gcRn7

So far so good. I think everything is working. I am missing the ATC function from mach 3 with 2 sensor plates setup, one fixed and one mobile. I have yet to figureout the following:
1) Probe mode 1 operation and the tools offset, how to use it. Currently I am using Mode 2 which behaves as I expect, it resets Z to 0 using the mobile probe.
2) My Home (x=0,y=0 machine coord) point is on the left and back of the table. Y axes home switch was convenient to put at the back. In Mach3 I could setup coordinates to Home other than 0 but I do not thin I can do it with DDCSV. As a result The machine travels to Home once at the beginning of the job and twice at the end... It may be the Post-processor I am using. (Aspire, with Fanuc post.)

I cut simple holder for ER16 collets, pics are at the end of the new CNC box album.

Maciej
Hi,  I have a omio X6 2200, just bought,  and first of everything I throw away the Cnc card,  is useless,  it was give me  continuous error and stop the job in the middle of the operation so I got  a 4 axis Ddcsv1.1 as you,  but I'm struggling to find out how the mode1 of the probe works.....  By the way,  playing around with the  controller at the beginning, I managed to delete the main program,  so I downloaded one from a link provided by a member of the forum,  but now I have a 3 axis machine and I cannot find the right firmware...  Anyway,  good job,  and if you manage to find out about the probe keep us posted,  I'm working on the parameters "tool offset"  to find out what they are,  as they are not mentioned anywhere in the manual.
Regards,
 Emanuel

Sended by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on November 12, 2016, 05:23:41 AM

 The controller box is ok apart from the usb card / Windows + Mach3. It started to skip steps, the motors would stall, looks like noise or breaks in communication somewhere... I never find out what was the cause, after I got windows update reset the pc in the middle of the job I had enough.

Maciej

Maciej,

Ideally a Mach3 PC shouldn't be connected to the outside world at all. Mine is running XP with no antivirus, no updates enabled, no internet or network connection. I load code from a USB stick. Even then, plugging in a USB stick mustn't be done whilst a CNC job is running.

I can see the appeal of a stand alone controller and if I was starting from scratch now it's probably the way I'd go.

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 12, 2016, 06:56:36 AM
so I got  a 4 axis Ddcsv1.1 as you,  but I'm struggling to find out how the mode1 of the probe works.....  By the way,  playing around with the  controller at the beginning, I managed to delete the main program,  so I downloaded one from a link provided by a member of the forum,  but now I have a 3 axis machine
Wait as second, that sounds really interesting. I thought the version I got was for a 4-axis machine. If you are really right that would mean we could upgrade machines by just replacing motion.out with a 4-axis version. Anyone with a 4-axis machine, could you please copy motion.out and email me that one to contact [at] bmuessig [dot] eu

I will compare and see what I can do.

By the way, pretty nice results, Merlin!


So I have made progress on my CNC and sent the machining files to the company who does laser cuts. It will be a 1 mm stainless steel panel.
About the extra buttons, I forgot to add them, but I am fine with a few more button presses.

Also in my new translation I have fixed the meaning of the GotoZ and Zero commands. They now tell you that they are for either setting one axis to a custom value or for going to a custom value. And there are still the options to Goto zero or to set zero. Pretty easy to understand now :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 12, 2016, 08:21:41 AM
so I got  a 4 axis Ddcsv1.1 as you,  but I'm struggling to find out how the mode1 of the probe works.....  By the way,  playing around with the  controller at the beginning, I managed to delete the main program,  so I downloaded one from a link provided by a member of the forum,  but now I have a 3 axis machine
Wait as second, that sounds really interesting. I thought the version I got was for a 4-axis machine. If you are really right that would mean we could upgrade machines by just replacing motion.out with a 4-axis version. Anyone with a 4-axis machine, could you please copy motion.out and email me that one to contact [at] bmuessig [dot] eu

I will compare and see what I can do.

By the way, pretty nice results, Merlin!


So I have made progress on my CNC and sent the machining files to the company who does laser cuts. It will be a 1 mm stainless steel panel.
About the extra buttons, I forgot to add them, but I am fine with a few more button presses.

Also in my new translation I have fixed the meaning of the GotoZ and Zero commands. They now tell you that they are for either setting one axis to a custom value or for going to a custom value. And there are still the options to Goto zero or to set zero. Pretty easy to understand now :)
So,  is your language file updated now?  Is still stored in your link previously posted?  I'm translating the other macro Chinese commented files,  that will help a lot even for the probe macro.
Emanuel

Sended by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 12, 2016, 07:48:14 PM
so I got  a 4 axis Ddcsv1.1 as you,  but I'm struggling to find out how the mode1 of the probe works.....  By the way,  playing around with the  controller at the beginning, I managed to delete the main program,  so I downloaded one from a link provided by a member of the forum,  but now I have a 3 axis machine
Wait as second, that sounds really interesting. I thought the version I got was for a 4-axis machine. If you are really right that would mean we could upgrade machines by just replacing motion.out with a 4-axis version. Anyone with a 4-axis machine, could you please copy motion.out and email me that one to contact [at] bmuessig [dot] eu

I will compare and see what I can do.

By the way, pretty nice results, Merlin!


So I have made progress on my CNC and sent the machining files to the company who does laser cuts. It will be a 1 mm stainless steel panel.
About the extra buttons, I forgot to add them, but I am fine with a few more button presses.

Also in my new translation I have fixed the meaning of the GotoZ and Zero commands. They now tell you that they are for either setting one axis to a custom value or for going to a custom value. And there are still the options to Goto zero or to set zero. Pretty easy to understand now :)
So,  is your language file updated now?  Is still stored in your link previously posted?  I'm translating the other macro Chinese commented files,  that will help a lot even for the probe macro.
Emanuel

Sended by my tapatalk
Yes I have just updated the file.
It still is and will always be available through this link: https://gist.github.com/bmuessig/cac1750c01ababf316678cc7710e3972


EDIT:
I have put the modded firmware on GitHub:
https://github.com/bmuessig/ddcsv11

Also I have started an open source repo that can not be taken down by anyone. It will however rely on parts of the non-free image to work. I will provide programs to patch a distributed copy of the original firmware with the new components.
This version can be found here: https://github.com/bmuessig/mod-ddcv11/
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 14, 2016, 04:35:32 AM
Edit: wrong url for the open source repo. Fixed one is:
https://github.com/bmuessig/mod-ddcv11/
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 14, 2016, 11:05:58 AM
Wooho!
I made it!

Sure, it is not the best or most complicated script, but it works and is tested.

I was able to build firmware that allows running commands as root!!!  :D
Everything placed in commands.sh on the USB disk is run once at boot.

Wooho!

ps
Code: [Select]
  PID USER       VSZ STAT COMMAND
    1 root      1124 S    init       
    2 root         0 SW   [kthreadd]
    3 root         0 SW   [ksoftirqd/0]
    4 root         0 SW   [events/0]
    5 root         0 SW   [khelper]
    8 root         0 SW   [async/mgr]
   81 root         0 SW   [sync_supers]
   83 root         0 SW   [bdi-default]
   84 root         0 SW   [kblockd/0]
   93 root         0 SW   [khubd]
   96 root         0 SW   [kseriod]
  187 root         0 SW   [kswapd0]
  188 root         0 SW   [aio/0]
  189 root         0 SW   [crypto/0]
  227 root         0 SW   [mtdblock0]
  232 root         0 SW   [mtdblock1]
  247 root         0 SW   [kpsmoused]
  262 root         0 SW   [usbhid_resumer]
  283 root         0 SW   [scsi_eh_0]
  284 root         0 SW   [usb-storage]
  287 root         0 SWN  [jffs2_gcd_mtd0]
  293 root         0 SWN  [jffs2_gcd_mtd1]
  341 root      1124 S    /bin/sh /mnt/nand1-1/motion.out
  342 root      1124 S    init       
  345 root      1120 S    /bin/sh /mnt/nand1-2/commands.sh
  346 root      1124 R    ps

ls -al /dev/
Code: [Select]
drwxr-xr-x    5 root     root         2180 Jan  1 00:00 .
drwxr-xr-x   14 root     root            0 Jan  1 00:00 ..
crw-rw----    1 root     root     189,   1 Jan  1 00:00 1-1
drwxr-xr-x    3 root     root           60 Jan  1 00:00 bus
crw-------    1 root     root       5,   1 Jan  1 00:00 console
crw-------    1 root     root      10,  63 Jan  1 00:00 cpu_dma_latency
crw-------    1 root     root      29,   0 Jan  1 00:00 fb0
crw-rw-rw-    1 root     root       1,   7 Jan  1 00:00 full
drwxr-xr-x    2 root     root          120 Jan  1 00:00 input
crw-------    1 root     root       1,  11 Jan  1 00:00 kmsg
brw-------    1 root     root       7,   0 Jan  1 00:00 loop0
brw-------    1 root     root       7,   1 Jan  1 00:00 loop1
brw-------    1 root     root       7,   2 Jan  1 00:00 loop2
brw-------    1 root     root       7,   3 Jan  1 00:00 loop3
brw-------    1 root     root       7,   4 Jan  1 00:00 loop4
brw-------    1 root     root       7,   5 Jan  1 00:00 loop5
brw-------    1 root     root       7,   6 Jan  1 00:00 loop6
brw-------    1 root     root       7,   7 Jan  1 00:00 loop7
-rw-r--r--    1 root     root            3 Jan  1 00:00 mdev.seq
crw-------    1 root     root       1,   1 Jan  1 00:00 mem
crw-rw----    1 root     root     254,   0 Jan  1 00:00 motion
crw-------    1 root     root      90,   0 Jan  1 00:00 mtd0
crw-------    1 root     root      90,   1 Jan  1 00:00 mtd0ro
crw-------    1 root     root      90,   2 Jan  1 00:00 mtd1
crw-------    1 root     root      90,   3 Jan  1 00:00 mtd1ro
brw-------    1 root     root      31,   0 Jan  1 00:00 mtdblock0
brw-------    1 root     root      31,   1 Jan  1 00:00 mtdblock1
crw-------    1 root     root      10,  62 Jan  1 00:00 network_latency
crw-------    1 root     root      10,  61 Jan  1 00:00 network_throughput
crw-rw-rw-    1 root     root       1,   3 Jan  1 00:00 null
crw-rw-rw-    1 root     root       5,   2 Jan  1 00:00 ptmx
drwxr-xr-x    2 root     root            0 Jan  1 00:00 pts
brw-------    1 root     root       1,   0 Jan  1 00:00 ram0
crw-rw-rw-    1 root     root       1,   8 Jan  1 00:00 random
brw-rw----    1 root     root       8,   0 Jan  1 00:00 sda
brw-rw----    1 root     root       8,   1 Jan  1 00:00 sda1
crw-rw-rw-    1 root     root       5,   0 Jan  1 00:00 tty
crw-------    1 root     root       4,   0 Jan  1 00:00 tty0
crw-------    1 root     root       4,   1 Jan  1 00:00 tty1
crw-------    1 root     root       4,  10 Jan  1 00:00 tty10
crw-------    1 root     root       4,  11 Jan  1 00:00 tty11
crw-------    1 root     root       4,  12 Jan  1 00:00 tty12
crw-------    1 root     root       4,  13 Jan  1 00:00 tty13
crw-------    1 root     root       4,  14 Jan  1 00:00 tty14
crw-------    1 root     root       4,  15 Jan  1 00:00 tty15
crw-------    1 root     root       4,  16 Jan  1 00:00 tty16
crw-------    1 root     root       4,  17 Jan  1 00:00 tty17
crw-------    1 root     root       4,  18 Jan  1 00:00 tty18
crw-------    1 root     root       4,  19 Jan  1 00:00 tty19
crw-------    1 root     root       4,   2 Jan  1 00:00 tty2
crw-------    1 root     root       4,  20 Jan  1 00:00 tty20
crw-------    1 root     root       4,  21 Jan  1 00:00 tty21
crw-------    1 root     root       4,  22 Jan  1 00:00 tty22
crw-------    1 root     root       4,  23 Jan  1 00:00 tty23
crw-------    1 root     root       4,  24 Jan  1 00:00 tty24
crw-------    1 root     root       4,  25 Jan  1 00:00 tty25
crw-------    1 root     root       4,  26 Jan  1 00:00 tty26
crw-------    1 root     root       4,  27 Jan  1 00:00 tty27
crw-------    1 root     root       4,  28 Jan  1 00:00 tty28
crw-------    1 root     root       4,  29 Jan  1 00:00 tty29
crw-------    1 root     root       4,   3 Jan  1 00:00 tty3
crw-------    1 root     root       4,  30 Jan  1 00:00 tty30
crw-------    1 root     root       4,  31 Jan  1 00:00 tty31
crw-------    1 root     root       4,  32 Jan  1 00:00 tty32
crw-------    1 root     root       4,  33 Jan  1 00:00 tty33
crw-------    1 root     root       4,  34 Jan  1 00:00 tty34
crw-------    1 root     root       4,  35 Jan  1 00:00 tty35
crw-------    1 root     root       4,  36 Jan  1 00:00 tty36
crw-------    1 root     root       4,  37 Jan  1 00:00 tty37
crw-------    1 root     root       4,  38 Jan  1 00:00 tty38
crw-------    1 root     root       4,  39 Jan  1 00:00 tty39
crw-------    1 root     root       4,   4 Jan  1 00:00 tty4
crw-------    1 root     root       4,  40 Jan  1 00:00 tty40
crw-------    1 root     root       4,  41 Jan  1 00:00 tty41
crw-------    1 root     root       4,  42 Jan  1 00:00 tty42
crw-------    1 root     root       4,  43 Jan  1 00:00 tty43
crw-------    1 root     root       4,  44 Jan  1 00:00 tty44
crw-------    1 root     root       4,  45 Jan  1 00:00 tty45
crw-------    1 root     root       4,  46 Jan  1 00:00 tty46
crw-------    1 root     root       4,  47 Jan  1 00:00 tty47
crw-------    1 root     root       4,  48 Jan  1 00:00 tty48
crw-------    1 root     root       4,  49 Jan  1 00:00 tty49
crw-------    1 root     root       4,   5 Jan  1 00:00 tty5
crw-------    1 root     root       4,  50 Jan  1 00:00 tty50
crw-------    1 root     root       4,  51 Jan  1 00:00 tty51
crw-------    1 root     root       4,  52 Jan  1 00:00 tty52
crw-------    1 root     root       4,  53 Jan  1 00:00 tty53
crw-------    1 root     root       4,  54 Jan  1 00:00 tty54
crw-------    1 root     root       4,  55 Jan  1 00:00 tty55
crw-------    1 root     root       4,  56 Jan  1 00:00 tty56
crw-------    1 root     root       4,  57 Jan  1 00:00 tty57
crw-------    1 root     root       4,  58 Jan  1 00:00 tty58
crw-------    1 root     root       4,  59 Jan  1 00:00 tty59
crw-------    1 root     root       4,   6 Jan  1 00:00 tty6
crw-------    1 root     root       4,  60 Jan  1 00:00 tty60
crw-------    1 root     root       4,  61 Jan  1 00:00 tty61
crw-------    1 root     root       4,  62 Jan  1 00:00 tty62
crw-------    1 root     root       4,  63 Jan  1 00:00 tty63
crw-------    1 root     root       4,   7 Jan  1 00:00 tty7
crw-------    1 root     root       4,   8 Jan  1 00:00 tty8
crw-------    1 root     root       4,   9 Jan  1 00:00 tty9
crw-------    1 root     root       4,  64 Jan  1 00:00 ttyS0
crw-------    1 root     root       4,  65 Jan  1 00:00 ttyS1
crw-rw-rw-    1 root     root       1,   9 Jan  1 00:00 urandom
crw-------    1 root     root       7,   0 Jan  1 00:00 vcs
crw-------    1 root     root       7,   1 Jan  1 00:00 vcs1
crw-------    1 root     root       7, 128 Jan  1 00:00 vcsa
crw-------    1 root     root       7, 129 Jan  1 00:00 vcsa1
crw-rw-rw-    1 root     root       1,   5 Jan  1 00:00 zero

ls -al /bin/
Code: [Select]
drwxr-xr-x    2 root     root            0 Mar  5  2016 .
drwxr-xr-x   14 root     root            0 Jan  1 00:00 ..
lrwxrwxrwx    1 root     root            7 Mar  5  2016 addgroup -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 adduser -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ash -> busybox
-rwxrwxrwx    1 root     root       985372 Nov  4  2015 busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 cat -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 catv -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 chattr -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 chgrp -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 chmod -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 chown -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 cp -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 cpio -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 cttyhack -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 date -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 dd -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 delgroup -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 deluser -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 df -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 dmesg -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 dnsdomainname -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 dumpkmap -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 echo -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ed -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 egrep -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 false -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 fdflush -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 fgrep -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 fsync -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 getopt -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 grep -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 gunzip -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 gzip -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 hostname -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 hush -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ionice -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ip -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ipaddr -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ipcalc -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 iplink -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 iproute -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 iprule -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 iptunnel -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 kill -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 linux32 -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 linux64 -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ln -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 login -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ls -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 lsattr -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 lzop -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 makemime -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 mkdir -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 mknod -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 mktemp -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 more -> busybox
-rwxr-xr-x    1 root     root        10134 Mar  5  2016 motiondev.ko
lrwxrwxrwx    1 root     root            7 Mar  5  2016 mount -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 mountpoint -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 msh -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 mt -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 mv -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 netstat -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 nice -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 pidof -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ping -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ping6 -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 pipe_progress -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 printenv -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 ps -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 pwd -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 reformime -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 rm -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 rmdir -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 run-parts -> busybox
-rwxr-xr-x    1 root     root       129905 Jul  9  2015 rz
lrwxrwxrwx    1 root     root            7 Mar  5  2016 scriptreplay -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 sed -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 setarch -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 sh -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 sleep -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 stat -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 stty -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 su -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 sync -> busybox
-rwxr-xr-x    1 root     root       127506 Jul  9  2015 sz
lrwxrwxrwx    1 root     root            7 Mar  5  2016 tar -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 touch -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 true -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 umount -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 uname -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 uncompress -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 usleep -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 vi -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 watch -> busybox
lrwxrwxrwx    1 root     root            7 Mar  5  2016 zcat -> busybox

ls -al /
Code: [Select]
drwxr-xr-x   14 root     root            0 Jan  1 00:00 .
drwxr-xr-x   14 root     root            0 Jan  1 00:00 ..
-rw-r--r--    1 1000     1000            0 Jun  1  2010 .__init_enable_core__
drwxr-xr-x    2 root     root            0 Mar  5  2016 bin
drwxr-xr-x    5 root     root         2180 Jan  1 00:00 dev
drwxr-xr-x    6 1000     1000            0 Mar  5  2016 etc
lrwxrwxrwx    1 root     root           11 Mar  5  2016 linuxrc -> bin/busybox
drwxr-xr-x    4 1000     1000            0 Jan  1 00:00 mnt
dr-xr-xr-x   36 root     root            0 Jan  1 00:00 proc
drwxr-xr-x    2 root     root            0 Mar  5  2016 sbin
drwxr-xr-x   11 root     root            0 Jan  1 00:00 sys
drwxr-xr-x    2 1000     1000            0 Jan  1 00:00 tmp
drwxrwxrwx    2 root     root            0 Jan  1 00:00 udisk-sda
drwxrwxrwx    3 root     root         4096 Jan  1 00:00 udisk-sda1
drwxr-xr-x    6 root     root            0 Mar  5  2016 usr
drwxr-xr-x    3 1000     1000            0 Mar  5  2016 var

ls -al /etc/
Code: [Select]
drwxr-xr-x    6 1000     1000            0 Mar  5  2016 .
drwxr-xr-x   14 root     root            0 Jan  1 00:00 ..
-rwxr-xr-x    1 1000     1000            1 Mar 25  2008 .netrc
-rwxr-xr-x    1 1000     1000          128 Mar 25  2008 .pppd_info
drwxr-xr-x    4 1000     1000            0 Mar  5  2016 Wireless
drwxr-xr-x    2 1000     1000            0 Mar  5  2016 firmware
-rw-r--r--    1 1000     1000          306 Jul  9  2015 fstab
-rw-r--r--    1 1000     1000          276 Dec  5  2011 fstab~
-rw-r--r--    1 1000     1000           24 Mar 25  2008 group
-rw-r--r--    1 1000     1000           21 Mar 25  2008 gshadow
-rw-r--r--    1 1000     1000          129 Mar 31  2008 inetd.conf
drwxr-xr-x    2 1000     1000            0 Mar  5  2016 init.d
-rw-r--r--    1 1000     1000         3400 Feb 17  2015 inittab
-rw-r--r--    1 1000     1000         3399 Feb 17  2015 inittab~
drwxr-xr-x    2 root     root            0 Mar  5  2016 mdev
-rw-r--r--    1 1000     1000          290 Mar  5  2016 mdev.conf
-rw-r--r--    1 1000     1000          290 Jul  9  2015 mdev.conf~
-rw-r--r--    1 1000     1000          290 Apr 17  2013 mdev_nand.conf
-rw-r--r--    1 1000     1000          290 Aug 15  2013 mdev_nand_mtd.conf
-rw-r--r--    1 1000     1000          290 Apr 17  2013 mdev_sd.conf
-rw-r--r--    1 1000     1000          290 Apr 17  2013 mdev_spi.conf
-rw-r--r--    1 1000     1000           44 Mar 25  2008 networks
-rw-r--r--    1 1000     1000          114 Mar 25  2008 passwd
-rw-r--r--    1 1000     1000          769 Mar  5  2016 profile
-rw-r--r--    1 1000     1000          790 Apr 30  2013 profile_nand
-rw-r--r--    1 1000     1000          769 Feb 17  2015 profile_nand_mtd
-rw-r--r--    1 1000     1000          770 Feb 17  2015 profile_nand_mtd~
-rw-r--r--    1 1000     1000          839 Apr 30  2013 profile_sd
-rw-r--r--    1 1000     1000          400 Apr 30  2013 profile_spi
-rw-r--r--    1 1000     1000          476 Apr 30  2013 profile_spi_romfs
-rw-r--r--    1 1000     1000          790 Jan 10  2014 profile~
-rw-r--r--    1 1000     1000        11248 Mar 25  2008 services
-rw-r--r--    1 1000     1000           78 Mar 25  2008 shadow

cat /etc/init.d/rcS
Code: [Select]
#!/bin/sh   
/bin/mount -t proc none /proc
/bin/mount -t sysfs sysfs /sys
/bin/mount -t devtmpfs devtmpfs /dev
/bin/mkdir /dev/pts
/bin/mount -t devpts devpts /dev/pts
/bin/echo > /dev/mdev.seq
/bin/echo /sbin/mdev > /proc/sys/kernel/hotplug
#/sbin/mdev -s

/bin/mount -t jffs2 -o noatime /dev/mtdblock0 /mnt/nand1-1
/bin/mount -t jffs2 -o noatime /dev/mtdblock1 /mnt/nand1-2

#/bin/echo "n" |  /bin/cp -i /install/* /mnt/nand1-1/.

/sbin/insmod /bin/motiondev.ko
sleep 3s
/bin/cp /udisk-sda1/install/* /mnt/nand1-1/
/mnt/nand1-1/motion.out &

cat /etc/inittab (shortened)
Code: [Select]
# /etc/inittab init(8) configuration for BusyBox
#
# Copyright (C) 1999-2004 by Erik Andersen <andersen@codepoet.org>
#
::sysinit:/etc/init.d/rcS

# /bin/sh invocations on selected ttys
#
# Note below that we prefix the shell commands with a "-" to indicate to the
# shell that it is supposed to be a login shell.  Normally this is handled by
# login, but since we are bypassing login in this case, BusyBox lets you do
# this yourself...
#

#/bin/sh
# Start an "askfirst" shell on the console (whatever that may be)
#::once:-/bin/ls
ttyS1::askfirst:/bin/sh

# Stuff to do when restarting the init process
::restart:/sbin/init

# Stuff to do before rebooting
::ctrlaltdel:/sbin/reboot
::shutdown:/bin/umount -a -r
::shutdown:/sbin/swapoff -a
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 14, 2016, 11:31:36 AM
I AM EXCITED!!!!!! :drool: :drool: :D
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 14, 2016, 12:23:52 PM
I AM EXCITED!!!!!! :drool: :drool: :D
Me too  :beer:

So, this is the screen configuration:
Code: [Select]
mode "480x272-0"
# D: 0.000 MHz, H: 0.000 kHz, V: 0.000 Hz
geometry 480 272 480 272 16
timings 0 125 115 70 36 64 6
accel false
rgba 5/11,6/5,5/0,0/0
endmode

Soon, we will be getting rid of the old bootsplash ;)

EDIT:
I DID IT!

(http://data.bmuessig.eu/CNC/DDCSV11/Images/IMG_0365_small.JPG)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 14, 2016, 01:17:58 PM
NIIIIICE!!!!! :proj:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Dirty Engineer on November 14, 2016, 05:29:16 PM
I've been intently following this thread since I found it several weeks ago. I'm very excited to see where it goes as there seems to be some great talent working with them. I have 2 ISEL ICP 3020 desktop cnc's that I have converted to run GRBL Arduino controllers. I'm pretty happy with how they work other than the need for a dedicated computer for them. Up until now I had not found an all in one solution that I liked. The DDCSV seems to fit the bill perfectly.  I have also been watching the DDCSV1.1 prices drop which is great. The lowest I've currently seen ($130) I've see was here (http://www.ebay.com/itm/500KHz-3-axis-motion-controller-stepper-motor-servo-motor-CNC-driver-Engraving/182310179542)

@Maciej

I see you are using a D-Sub 15 pin connector for your pendant.  From my understanding the pendant needs 16 pins. If I may ask,what wire(s) did you combine or drop to make this work?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 14, 2016, 05:42:50 PM
Here you have the connections colors, and the picture, hope that help
 :worthless:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 14, 2016, 06:05:39 PM
Now I like it!!!

Sended by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 14, 2016, 06:54:06 PM
Now I like it!!!

Sended by my tapatalk
Looks nice!

So I have made a new version of the little firmware patch. Now you can have custom splash screens that are persistent.
You can still execute custom commands from an connected USB stick. This will now no longer cause any flash wear.

To install, just copy the install folder to a USB stick and reboot the CNC controller with the stick inserted.
If you want a custom splashscreen image, replace the splash.ppm inside the install folder with your desired PPM image before you install the upgrade.
After the CNC is completely powered up, power it down and delete the install folder from the USB stick.
You can change the custom splash at any time by creating a new install folder and placing the new image, called splash.ppm inside it.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 14, 2016, 07:00:49 PM
Now I like it!!!

Sended by my tapatalk
Looks nice!

So I have made a new version of the little firmware patch. Now you can have custom splash screens that are persistent.
You can still execute custom commands from an connected USB stick. This will now no longer cause any flash wear.

To install, just copy the install folder to a USB stick and reboot the CNC controller with the stick inserted.
If you want a custom splashscreen image, replace the splash.ppm inside the install folder with your desired PPM image before you install the upgrade.
After the CNC is completely powered up, power it down and delete the install folder from the USB stick.
You can change the custom splash at any time by creating a new install folder and placing the new image, called splash.ppm inside it.
Great job!! ,  this is going to become very interesting now...
So,  where the original "splash.ppm"is resident?

Sended by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 14, 2016, 07:09:42 PM
Now I like it!!!

Sended by my tapatalk
Looks nice!

So I have made a new version of the little firmware patch. Now you can have custom splash screens that are persistent.
You can still execute custom commands from an connected USB stick. This will now no longer cause any flash wear.

To install, just copy the install folder to a USB stick and reboot the CNC controller with the stick inserted.
If you want a custom splashscreen image, replace the splash.ppm inside the install folder with your desired PPM image before you install the upgrade.
After the CNC is completely powered up, power it down and delete the install folder from the USB stick.
You can change the custom splash at any time by creating a new install folder and placing the new image, called splash.ppm inside it.
Great job!! ,  this is going to become very interesting now...
So,  where the original "splash.ppm"is resident?

Sended by my tapatalk
Thanks

Unfortunately I have no idea where the original splash screen sits right now.
It is not anywhere in the file system. You can have a look yourself: http://data.bmuessig.eu/CNC/DDCSV11/Dumps/Files/filesystem.zip
More infos are available here: http://data.bmuessig.eu/CNC/DDCSV11/Dumps/Files/

I guess maybe it is in the bootloader or in a very early stage of the boot process.
Also I have bad news. The file system seems to be completely in RAM. Except for the two flash blocks no data is persistent across boots.
So changing the image would require changing the bootloader which is not going to be an easy task.
I doubt it uses any bootloader I know and have any experience with (not blob, nor uboot, nor adam) :(
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 15, 2016, 04:36:27 AM
 :coffee: It looks like the firmware was previously used for a touchscreen, as it has the screen calibration routine,and it doesen't make sense the wifi module :scratch:
We cannot give up like that!! :med:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 15, 2016, 05:07:08 AM
:coffee: It looks like the firmware was previously used for a touchscreen, as it has the screen calibration routine,and it doesen't make sense the wifi module :scratch:
We cannot give up like that!! :med:
Indeed. I also noticed it contains mouse and keyboard drivers for usb which do work but no pointer is shown.
Ctrl alt del on usb keyboard works fine
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 15, 2016, 05:20:17 AM
I opened the box!!
There's a connector which can possibly be the wifi module connector, as is a tipical TX/RX/rst etc connection diagram, so i will connect a bluetooth module and see what happen :zap:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 15, 2016, 07:02:15 AM
I opened the box!!
There's a connector which can possibly be the wifi module connector, as is a tipical TX/RX/rst etc connection diagram, so i will connect a bluetooth module and see what happen :zap:
Be careful. The port is 3.3v. However i only measured 3 volts on the uart. Maybe it is 2.8v? The oscilloscope told me a peak voltage of about 3v for tx.
Sending data does not seem to work.
The external uart is just for the mpg, but I could spawn a console there.
The bootlog can be found a few posts back.
I doubt we can get into the bootloader but i am going to try it anyways.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 15, 2016, 12:25:47 PM
 :coffee: How strange, the "G53" coordinate command is mentioned in the "english" configuration file, but in someway is hidden in the running program, as  normally is  the "safe" coordinate for the manual tool change if any for the older CnC.
Then i do not find any reference to the "Enable M-Bus I/O command" and "M-Bus I/O default status" ...... :palm:
There's a BIG mistery in this controller.
Work in progress.

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 15, 2016, 01:48:09 PM
Another strange thing regards the linuxrc file.
It is just a symlink to busybox located in /bin
However i doubt deleting it would cause any harm, as I think it is just a ram file system.
Don't quote me on that though yet.
This also means, you can delete any file and it will not cause any harm a firmware upgrade can't fix.
However this also means we can't easily get rid of the original splash screen entirely.
I am starting to wonder if the default splash is located in the busybox binary.

If anybody wonders, we have got 32 MB RAM and the following CPU:
Code: [Select]
Processor : ARM926EJ-S rev 5 (v5l)
BogoMIPS : 95.64
Features : swp half thumb fastmult edsp java
CPU implementer : 0x41
CPU architecture: 5TEJ
CPU variant : 0x0
CPU part : 0x926
CPU revision : 5

Hardware : W55FA93
Revision : 0000
Serial : 0000000000000000

Also I found out there are drivers for a tty on the scren available.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 15, 2016, 06:46:29 PM
:coffee: How strange, the "G53" coordinate command is mentioned in the "english" configuration file, but in someway is hidden in the running program, as  normally is  the "safe" coordinate for the manual tool change if any for the older CnC.
Then i do not find any reference to the "Enable M-Bus I/O command" and "M-Bus I/O default status" ...... :palm:
There's a BIG mistery in this controller.
Work in progress.


So, basically the tty is set up at 115.200 baud? and for what? to communicate between the cpu and who?...... :bang:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 03:37:22 AM
:coffee: How strange, the "G53" coordinate command is mentioned in the "english" configuration file, but in someway is hidden in the running program, as  normally is  the "safe" coordinate for the manual tool change if any for the older CnC.
Then i do not find any reference to the "Enable M-Bus I/O command" and "M-Bus I/O default status" ...... :palm:
There's a BIG mistery in this controller.
Work in progress.

So, basically the tty is set up at 115.200 baud? and for what? to communicate between the cpu and who?...... :bang:
Communicate with you. It's a debug interface!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 03:43:26 AM
 :lol:
I'm not sure he want to communicate with me......
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 03:45:57 AM
I am going to delete all the programs from the controller, and try to reboot, lets see if your theory is valid, if not i will have a bricked controller :(

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 03:46:51 AM
:lol:
I'm not sure he want to communicate with me......
Neither wants it to communicate with me
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 03:50:28 AM
:lol:
I'm not sure he want to communicate with me......
Neither wants it to communicate with me
Last night i was browsing, and i found a chinese website, they sell this controller for 10 us$ each :palm: umbelievable, i was shocked, all this work for 10 dollars.
You have to buy a minimum quantity, but never the less is 10$.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 16, 2016, 04:54:58 AM
Details, links and maybe a group purchase?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 05:56:10 AM
There you go...
http://www.wdtrade.com/showroom/product/1686378/Economic_CNC_Router_Controller_DDCSV1.aspx
Don't know if they consider a small quantity, but here is the link
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on November 16, 2016, 06:35:04 AM
There you go...
http://www.wdtrade.com/showroom/product/1686378/Economic_CNC_Router_Controller_DDCSV1.aspx
Don't know if they consider a small quantity, but here is the link

I wouldn't expect too much from them - clicking on the other items they have to offer including "robotic laser welding machine" and "semiconductor end pump laser marker" all reveal a price of................10$....... :scratch:
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 06:42:54 AM
 :scratch:  I had just a quick look, it was really the middle of the night when i looked, sorry, was just to help and save some money if possible.
Peronally i don't think they worth 130/180 us$, i can buy a much better 5 axis one for 750$ and it has the PLC included with tool change and other very useful functions, not mention that is working with the REAL Fanuc G-Code, so compared to this one is even cheap.
i Bought This one  just for fun, as i was courious to see if was working.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on November 16, 2016, 09:46:49 AM
Merlin, no need to apologise, and I didn't mean to be negative - really appreciate what you and especially Benedikt have been doing tearing open the software innards and decoding the Chinglish.

Rather hoping it might lead to further developing the DDCSV to add in a few missing 'simple' commands...

Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 10:23:56 AM
I'm really doing nothing but just some bootscreen better than the original one, the heavy task is all on Benedikt shoulders, i wish i could help more, but i am good in 3d parametric design and graphic, nothing else :palm: .


BUT, for anything you need and i can help, here i am! :D
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 10:43:19 AM
Quote
Peronally i don't think they worth 130/180 us$, i can buy a much better 5 axis one for 750$
Well I am absolutely stunned for how cheap they managed to sell this controller. They are absolutely worth their price as the product quality is quite high.
However as always with Chinese products the firmware is garbage.

Thanks a lot guys for your positive feedback!
Glad our work is helping others too :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 10:52:50 AM
I was wonder if there is any combination in the keyboard to press at the startup than can boot in some programming mode? :med:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 10:57:25 AM
I was wonder if there is any combination in the keyboard to press at the startup than can boot in some programming mode? :med:
If there is a way, then it is through the internal serial console or jtag. The device also always tries to boot from sd card first. I have not inspected the Mainboard too carefully, but maybe there is a header or even an unpopulated sd slot?

Also we can always try fixing the userland stuff. This would fix most problems except for the bootscreen and the axis configuration (i guess at least).
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 10:59:58 AM
i'll have a look now and post some pictures, in the meantime my Probe routine is not working anymore, is the 2nd time that happen, any experience in the matter?
It start probing, but it not sense the touch, the connections are good as before
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 11:05:36 AM
I was wonder if there is any combination in the keyboard to press at the startup than can boot in some programming mode? :med:
If there is a way, then it is through the internal serial console or jtag. The device also always tries to boot from sd card first. I have not inspected the Mainboard too carefully, but maybe there is a header or even an unpopulated sd slot?

Also we can always try fixing the userland stuff. This would fix most problems except for the bootscreen and the axis configuration (i guess at least).
No SD card connections,  just a jumper and 2 touch connectors on the board,  maybe some sort of testing point, nothing on the other side of the board

Sended by my tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 11:09:22 AM
i'll have a look now and post some pictures, in the meantime my Probe routine is not working anymore, is the 2nd time that happen, any experience in the matter?
It start probing, but it not sense the touch, the connections are good as before
Hmm thanks for checking the SD slot. I am on the train home so I wasn't able to check myself.

Sorry, i am not using probe at all. Instead I manually probe my workpiece.

Here, Merlin201314, the bootlog again:
Code: [Select]
recode complete!
ÿ

Init RTC....OK

DDR size: 32MB

SD Port0 Booting Fail - No/Bad Card Insert

NAND Booting (XtraROM 2K-page 4 Address Cycle) Success

Clock Skew

 DQSODS 0x1010

 CKDQSDS 0x888800

Code Executes at 0x00900000

Nand Boot Loader entry (20120921).

Get NANDLoader image from block 0x0 ..

Load file length 0x3DB1C0, execute address 0x0

Linux version 2.6.35.4 (root@localhost.localdomain) (gcc version 4.2.1) #241 PREEMPT Sun Mar 6 03:31:38 CST 2016
CPU: ARM926EJ-S [41069265] revision 5 (ARMv5TEJ), cr=00053177
CPU: VIVT data cache, VIVT instruction cache
Machine: W55FA93
Memory policy: ECC disabled, Data cache writeback
CPU type 0x00fa5c30 is W55FA93
w55fa93_external_clock = 12.0 MHz
w55fa93_apll_clock = 72000 KHz
w55fa93_upll_clock = 192000 KHz
w55fa93_system_clock = 192000 KHz
w55fa93_cpu_clock = 192000 KHz
w55fa93_ahb_clock = 96000 KHz
w55fa93_apb_clock = 48000 KHz
Built 1 zonelists in Zone order, mobility grouping on.  Total pages: 8128
Kernel command line: root=/dev/ram0 console=ttyS1,115200n8 rdinit=/sbin/init mem=32M vt.global_cursor_default=0
PID hash table entries: 128 (order: -3, 512 bytes)
Dentry cache hash table entries: 4096 (order: 2, 16384 bytes)
Inode-cache hash table entries: 2048 (order: 1, 8192 bytes)
Memory: 32MB = 32MB total
Memory: 28140k/28140k available, 4628k reserved, 0K highmem
Virtual kernel memory layout:
    vector  : 0xffff0000 - 0xffff1000   (   4 kB)
    fixmap  : 0xfff00000 - 0xfffe0000   ( 896 kB)
    DMA     : 0xff600000 - 0xffe00000   (   8 MB)
    vmalloc : 0xc2800000 - 0xe0000000   ( 472 MB)
    lowmem  : 0xc0000000 - 0xc2000000   (  32 MB)
    modules : 0xbf000000 - 0xc0000000   (  16 MB)
      .init : 0xc0008000 - 0xc0142000   (1256 kB)
      .text : 0xc0142000 - 0xc03bd000   (2540 kB)
      .data : 0xc03be000 - 0xc03db140   ( 117 kB)
Hierarchical RCU implementation.
RCU-based detection of stalled CPUs is disabled.
Verbose stalled-CPUs detection is disabled.
NR_IRQS:32
Console: colour dummy device 80x30
console [ttyS1] enabled
Calibrating delay loop... 95.64 BogoMIPS (lpj=478208)
pid_max: default: 32768 minimum: 301
Mount-cache hash table entries: 512
CPU: Testing write buffer coherency: ok
devtmpfs: initialized
NET: Registered protocol family 16
bio: create slab <bio-0> at 0
SCSI subsystem initialized
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
Switching to clocksource w55fa93-timer1
register clock device
w55fa93_edma_init
JFFS2 version 2.2. (NAND) © 2001-2006 Red Hat, Inc.
ROMFS MTD (C) 2007 Red Hat, Inc.
msgmni has been set to 54
alg: No test for stdrng (krng)
io scheduler noop registered (default)
---w55fa93fb_init ----w55fa93 frame buffer init
###########w55fa93 frame buffer probe############
1*** fbi->fb->fix.smem_len = 0x3fc00
REG_LCM_LCDCInt = 0x20000 !!!
Vsync flag is encountered !!!
check_var(var=c1c3a020, info=c1c3a000)
w55fa93fb_set_par !!! =================
Console: switching to colour frame buffer device 60x34
w55fa93 LCD driver has been installed successfully
W55FA93 uart driver has been initialized successfully!
w55fa93-uart0: ttyS0 at MMIO 0xb8008000 (irq = 13) is a W55FA93
w55fa93-uart1: ttyS1 at MMIO 0xb8008100 (irq = 24) is a W55FA93
brd: module loaded
loop: module loaded
MTD nand init !!!
NAND device: Manufacturer ID: 0xad, Chip ID: 0xf1 (Hynix NAND 128MiB 3,3V 8-bit)
chip->ecc.bytes = 0x22 !!!!
Scanning device for bad blocks
Bad eraseblock 0 at 0x000000000000
Bad eraseblock 1 at 0x000000020000
Bad eraseblock 2 at 0x000000040000
Bad eraseblock 3 at 0x000000060000
Creating 2 MTD partitions on "NAND 128MiB 3,3V 8-bit":
0x000000600000-0x000007e00000 : "NAND FS 0"
0x000007e00000-0x000008000000 : "NAND FS 1"
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
Init CONFIG_W55FA93_USB_HOST_LIKE_PORT1
ohci_hcd_w55fa93_drv_probe
usb_hcd_w55fa93_probe
get_pll
External clock = 12MHz
NF: 32, NR: 2, NO: 1
PLL is 192   ---
div1 = 1
div0 = 1
div0 = 2
div0 = 3
div0 = 4
Div1 = 0,  Div0 = 3
USBH IP  Reset
CONFIG_W55FA93_USB_HOST_LIKE_PORT1
w55fa93-ohci w55fa93-ohci: Nuvoton W55FA93 OHCI Host Controller
w55fa93-ohci w55fa93-ohci: new USB bus registered, assigned bus number 1
w55fa93-ohci w55fa93-ohci: irq 18, io mem 0xb1009000
ohci_w55fa93_start
hub 1-0:1.0: USB hub found
hub 1-0:1.0: 2 ports detected
USB device plug in
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
<--w55fa93_udc_probe-->
mice: PS/2 mouse device common for all mice
input: W55FA93 TouchScreen as /class/input/input0
input: W55FA93 Keypad as /class/input/input1
W55FA93 keypad driver has been initialized successfully!
usbcore: registered new interface driver usbhid
usbhid: USB HID core driver
Freeing init memory: 1256K
usb 1-1: new full speed USB device using w55fa93-ohci and address 2
jffs2_scan_inode_node(): CRC failed on node at 0x021c57d8: Read 0xffffffff, calculated 0x4f7b911d
input: Telink Wireless Receiver as /class/input/input2
generic-usb 0003:248A:8566.0001: input: USB HID v1.11 Keyboard [Telink Wireless Receiver] on usb-w55fa93-ohci-1/input0
input: Telink Wireless Receiver as /class/input/input3
generic-usb 0003:248A:8566.0002: input: USB HID v1.11 Mouse [Telink Wireless Receiver] on usb-w55fa93-ohci-1/input1
USB device plug in
Empty flash at 0x077341fc ends at 0x07734800
Empty flash at 0x077370cc ends at 0x07737800
jffs2_scan_inode_node(): CRC failed on node at 0x0773afe0: Read 0xffffffff, calculated 0xdf63b2ba
Empty flash at 0x0773b46c ends at 0x0773b800
Empty flash at 0x0773eacc ends at 0x0773f000
w55fa93_gpio_configure()-1,14
w55fa93_gpio_configure()-0,1
w55fa93_gpio_configure()-1,13
w55fa93_gpio_configure()-0,0
w55fa93_gpio_configure()-0,3
w55fa93_gpio_configure()-0,4
w55fa93_gpio_configure()-0,5
w55fa93_gpio_configure()-0,6
w55fa93_gpio_configure()-0,7
w55fa93_gpio_configure()-0,5
w55fa93_gpio_configure()-4,2
w55fa93_gpio_configure()-4,3
w55fa93_gpio_configure()-4,4
w55fa93_gpio_configure()-4,5
w55fa93_gpio_configure()-4,6
w55fa93_gpio_configure()-4,7
w55fa93_gpio_configure()-1,2
w55fa93_gpio_configure()-1,3
w55fa93_gpio_configure()-1,4
w55fa93_gpio_configure()-1,5
w55fa93_gpio_configure()-1,6
w55fa93_gpio_configure()-3,0
w55fa93_gpio_configure()-3,1
w55fa93_gpio_configure()-3,2
w55fa93_gpio_configure()-3,12
w55fa93_gpio_configure()-3,13
w55fa93_gpio_configure()-3,14
w55fa93_gpio_configure()-3,15
motion driver has been initialized successfully!

JFFS2 notice: (291) check_node_data: wrong data CRC in data node at 0x07733c88: read 0x16da4fd0, calculated 0x659bc5b5.




cp: cannot stat '/udisk-sda1/install/*': No such file or directory

Please press Enter to activate this console.

[deleted a few hundred blank new lines here]


set:40000000,io:40001000
GUI_X_InitOS
open /dev/input/mouse1 success,fd is 6
Create thread sucess!
xresis 480
,yresis 272,16,0,0,960
r:11,5,0
g:5,6,0
b:0,5,0
t:0,0,0


recode complete!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 11:20:19 AM
i connected a wireless mouse on the usb port and booted, the controller is reading the mouse in the setting page, as the lines are changing when i press the buttons.
It doesen't make ani sense.....
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 11:22:50 AM
i connected a wireless mouse on the usb port and booted, the controller is reading the mouse in the setting page, as the lines are changing when i press the buttons.
It doesen't make ani sense.....
Mouse and keyboard are supported.
The application does not really make any use of them though.
Also inside on the connector there is a secondary usb port.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 01:09:28 PM
Benedikt,
Which program i need to read and modify the "MOTION.OUT" file?
Thanks
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 01:19:55 PM
Benedikt,
Which program i need to read and modify the "MOTION.OUT" file?
Thanks
On windows there is a program called notepad++. On linux you can use gedit or nano.
For Mac you can use visual studio code or similar programs.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 01:34:45 PM
I already tried notepad days ago, it just read a nonsense caracters, nothing to modify rather than a fef ascii code which is not what we need
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 01:39:07 PM
I already tried notepad days ago, it just read a nonsense caracters, nothing to modify rather than a fef ascii code which is not what we need
https://notepad-plus-plus.org/

If you mean the original file (or the new motion.elf) then you need bless or hxd
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 01:54:01 PM
Thanks a lot!!! :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 05:34:01 PM
The splash is resident in the bootloader!!!


I deleted all the files in the nand1/nand2 and the main root, the controller is bricked and it turn on with a persistent splash screen(the original one), nothing more..DEAD!!
Now i am going to try to reload the files from the usb and see what happens :palm:
 :lol:
Good luck Emanuel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 05:37:17 PM
The splash is resident in the bootloader!!!


I deleted all the files in the nand1/nand2 and the main root, the controller is bricked and it turn on with a persistent splash screen(the original one), nothing more..DEAD!!
Now i am going to try to reload the files from the usb and see what happens :palm:
 :lol:
Good luck Emanuel
That's expected to happen. Changing the bootlogo is also possible by altering the command line that is passed to the kernel by the bootloader.
If we knew how the bootloader was called, we could try finding a way in through it.

Just install the full firmware upgrade and everything should work again.
After that, just reinstall the latest mod to get the custom splash screen back.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 05:41:08 PM
Just done, all good as before :med:
The OMIO cnc clearly bought the entire firmware, as they have their own logo on the machines with the same controller
the question is: where they got the boot loader from?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 16, 2016, 05:42:52 PM
Just done, all good as before :med:
The OMIO cnc clearly bought the entire firmware, as they have their own logo on the machines with the same controller
the question is: where they got the boot loader from?
I guess the just changed the splash screen. Or the company who made these did that.
It is absolutely trivial to do so, as soon as we have more info on how the controller's bootloader works and which one it is (uboot - probably not, blob, etc.)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 16, 2016, 05:45:15 PM
The Digital Dream has shutted down, they no longer exist, maybe someone else took over the project
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 17, 2016, 04:51:15 AM
My question is:
If without firmware in the nand the bootLogo still working, that mean the image is embedded inside the bootloader no?
Am i wrong?
SO, how they uploaded the Bootloader into the ROM?  by the second usb port? Or they can connect the controller via a debug interface?
Be an ignorant like me is very frustrating :palm:  (some times)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 17, 2016, 10:17:46 AM
Can somebody with a 4-axis controller please send me their linuxrc file?

That would be great!
Thanks in advance!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 17, 2016, 10:30:47 AM
Mine is the one i downloaded from you, i'm assuming is a 3 axis,  Sorry

Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on November 17, 2016, 11:07:13 AM
Hi everyone, newbie here, I got myself a DDCSV1.1 box too, the hardware looks spot on , been fiddling about in the filesystem already , looking for the flag that makes a 4 axis system too, has anyone found the config data for the FPGA yet, it may be in there IDK , glad I found this place though  :zap: OOPS
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 17, 2016, 11:12:12 AM
Welcome,
Benedikt is looking into the firmware, is a hard task, but the guy know what he's doing.
I am thinking about buy another 4 axis and get the firmware from it.....
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 17, 2016, 11:16:35 AM
Hi everyone, newbie here, I got myself a DDCSV1.1 box too, the hardware looks spot on , been fiddling about in the filesystem already , looking for the flag that makes a 4 axis system too, has anyone found the config data for the FPGA yet, it may be in there IDK , glad I found this place though  :zap: OOPS
Hey there!

It's most likely not in the file system. I guess it is just a check inside the main program (motion.[out|elf]) which disables the A axis commands and hides the A field in the UI.
The driver does not seem to check anything (motiondev.ko) and I personally doubt the busybox is doing anything interesting either. I was going to play wth the bootloader soon and see if it can do anything of interest (e.g. some processor / nand / commandline flags maybe?).
My initial idea was if there is maybe a special file in /mnt/nand1-x but I doubt it.
However nand1-1 seems to be a very interesting place. It is often referenced and some old unused scripts use it as a place for /lib and add a bin folder to $PATH.
The nand1-2 holds config data. It could be a perfect place for a special file. I have not found any interesting string references yet, but maybe a 4 axis owner could have a look inside and tell me what files he finds there.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 17, 2016, 12:40:43 PM
Interesting news:

Busybox, the FPGA driver and the main program are 100% the same for both models!
They have just been compared from one 3-axis machine to one 4-axis machine using SHA256 checksums.

So replacing the linuxrc file won't help anything and can't downgrade a machine either.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on November 17, 2016, 01:24:36 PM
Interesting news:

Busybox, the FPGA driver and the main program are 100% the same for both models!
They have just been compared from one 3-axis machine to one 4-axis machine using SHA256 checksums.

So replacing the linuxrc file won't help anything and can't downgrade a machine either.

The plot thickens , there is not another Rom on the other side of the board is there, I haven't been that far yet ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 17, 2016, 03:11:15 PM
I have managed to put it into USB boot mode so it can boot linux from an USB stick.
To do this you have to put a 10KOhm resistor across R91.

CPU datasheet can be found here:
http://www.nuvoton.com/resource-files/N3290xDataSheetrevisionA5.1.pdf (Pinout at 3.4)

Also we have a ridiculus amount of Flash memory: 1 Gigabit (128 MB).
Datasheet here: http://www.hynix.com/product/filedata/fileDownload.do?seq=4176

However it does not seem like the bootloader responds to anything sent over serial, so I fear this is the end of the road (for now from this side).
I have no idea how to get the bootloader to do anything more than to try to boot from USB, there is absolutely no documentation on it and I am not able to get it's source code nor can I actually dump the bootloader. I would not be surprised if it actually resides in a mask rom in the CPU.

I am not going to put uboot on it for a couple of reasons:
   - If I brick the controller I will have to pay another 160€, which I just can't spend atm (or learn to use my JTAG, but then I would still have nothing to copy back)
   - Getting uboot to work will require a lot of work, however somebody else has actually started to work on uboot on this CPU and it might work)
   - Nobody without a JTAG is most likely going to be able to flash uboot. While USB boot is there I have no clue if this would somehow make us able to install uboot from a usb stick. And even then would you have to put a 10KOhm jumper across the two pins.

Now we should focus on finding a way of mounting the flash chip from Linux and getting access to the boot loader configuration from there.
Or we could work on the translations some more.

Any input from you, fellow modders?
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on November 17, 2016, 05:27:34 PM
I have the so called V2..1 version as sold by Ratn Machine on Ebay.
This one boots up with their screen set on it and it's 4 axis.
I'll copy anything off mine provided that someone tells me in words of one syllable how to and it doesn't stop this one working
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 17, 2016, 05:44:05 PM
I have the so called V2..1 version as sold by Ratn Machine on Ebay.
This one boots up with their screen set on it and it's 4 axis.
I'll copy anything off mine provided that someone tells me in words of one syllable how to and it doesn't stop this one working
Thanks a lot. Could you please copy the /mnt/nand1-1/motion.out file please?
This is all that is needed for now because I need to make a little script. Later I would love if you could that script from a USB stick that will copy the other required files.

First, insert the USB stick that came with it or any other FAT32 formatted stick into the controller. Now you need to go to press the button to switch between Pages until you land on the File page for the second time. This is important as there is a glitch with the copying.
Now you need to go to the .. entry and press enter. Now do that until you reach the uppermost level (/) where you won't see the .. entry anymore.
When that's done, you head over to the mnt folder, then to the nand1-1 folder and hover over the motion.out file (just make sure the blue bar is over it). Now press the FRO/SRO button. Then you go to the .. again until you reach the uppermost level again.
Enter the udisk-sda1 folder and now just press 2ND. Now go back to the Main page.
You can now power the controller off and remove the USB. After you have send me the file I will craft you a little "firmware upgrade" that will not do anything but copy a few files I need for further analysis. Thanks a lot in advance for your participation.

This is how the new bootlogo looks like:
(http://bmuessig.eu/content/IMG_0382-JPG.jpg)

And this is the output of the bootloader when bridging the resistor:
(http://bmuessig.eu/content/remmina-2016-11-17-21.png)

I have posted some more pictures in my article over here:
http://bmuessig.eu/posts/ddcsv11-cnc-controller-modding-part-2
Title: Re: DDCSV1.1 4 Axis controller
Post by: Cncdane on November 17, 2016, 07:00:28 PM
Just bought this, and this has become a bit of a nightmare for me. I really like the feel of the controller, but whenever I try to run a programme, will it stop after a few lines, and the controller stays busy and speed goes to zero. Most often, I have to power cycle the controller to make it respond to the buttons. I can reset, but most often can I not even jog the axises. Restarting or resuming the program just make the controller go busy.

I have not wired up the controller to my CNC (got no endstops, and fears a  crash, given the problems I have so far). Am I missing something?

Tried code generated with several post processors from Fusion360, as well as F-Engrave, and the outcome is the same.
Title: Re: DDCSV1.1 4 Axis controller
Post by: MachineShopMan on November 17, 2016, 10:19:36 PM
I also just bought this, and it takes time to learn it. but i'm still moving forward.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 18, 2016, 03:25:41 AM
Just bought this, and this has become a bit of a nightmare for me. I really like the feel of the controller, but whenever I try to run a programme, will it stop after a few lines, and the controller stays busy and speed goes to zero. Most often, I have to power cycle the controller to make it respond to the buttons. I can reset, but most often can I not even jog the axises. Restarting or resuming the program just make the controller go busy.

I have not wired up the controller to my CNC (got no endstops, and fears a  crash, given the problems I have so far). Am I missing something?

Tried code generated with several post processors from Fusion360, as well as F-Engrave, and the outcome is the same.
I am not using a code generator (yet?) but my manually written gcode works just fine.
Have you installed the latest update?

http://data.bmuessig.eu/CNC/DDCSV11/
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on November 18, 2016, 03:29:55 AM


I have no idea how to get the bootloader to do anything more than to try to boot from USB, there is absolutely no documentation on it and I am not able to get it's source code nor can I actually dump the bootloader. I would not be surprised if it actually resides in a mask rom in the CPU.


I don't doubt your analysis but nonetheless I am somewhat surprised that they would go for a masked ROM - would it have been done on the grounds of cost/volume production? or as a security protection?
I was involved in this sort of production many years ago and there was a high risk seen for having a large stock of junk in the event that the ROM program needed modification - but that was a good few years ago and the economics have probably changed a lot since then...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 18, 2016, 03:46:44 AM
If you provide me an email address i send you some testing files that works great with this controller, so opening them with notepad will give you an idea, or you can compare them with the non working one and find the "strange G-Code".
Attached you can find a file, just rename it as (.tap) and load into the controller.
it works
1) select the file you want to load
2)press "START" instead of "ENTER", that will start the controller in "simulate" mode, so you can see the path before you start the machine.
3)be patient, if is a long file you have to wait, is not the faster controller on earth
4)press"START" again, then the machine will start
5)have a coffee and watch you machine working as aspected... :coffee:
If not then your controller is not set properly or it has a problem
keep us posted
Regards
Emanuel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 18, 2016, 07:02:42 AM


I have no idea how to get the bootloader to do anything more than to try to boot from USB, there is absolutely no documentation on it and I am not able to get it's source code nor can I actually dump the bootloader. I would not be surprised if it actually resides in a mask rom in the CPU.


I don't doubt your analysis but nonetheless I am somewhat surprised that they would go for a masked ROM - would it have been done on the grounds of cost/volume production? or as a security protection?

I was involved in this sort of production many years ago and there was a high risk seen for having a large stock of junk in
the event that the ROM program needed modification - but

that was a good few years ago and the economics have probably changed a lot since then...

Great to have somebody from the industy in our team.
My assumption is that the bootloader is installed by the chip manufacturer by masking it. However i was not yet able to prove this. Atmel does the same in some of there arm chips which is having a known to be working bootloader in rom.
I assume this is the same here for three reasons:

- Other devices with this CPU have the same bootlog from the loader
- the manual which i have not yet read due to lack of time states that the cpu can boot from usb which might indicate a factory installed bootloader.
- the device shows a bootloader even without any flash connected and the chip is not advertised to contain any flash

The benefits are robustness of the first stage bootloader, easier loading of a kernel or second stage bootloader like uboot.

Also they probably got it right however there is of course a risk that the bootloader has some issues.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on November 18, 2016, 09:29:25 AM

My assumption is that the bootloader is installed by the chip manufacturer by masking it. However i was not yet able to prove this. Atmel does the same in some of there arm chips which is having a known to be working bootloader in rom.
I assume this is the same here for three reasons:

- Other devices with this CPU have the same bootlog from the loader
- the manual which i have not yet read due to lack of time states that the cpu can boot from usb which might indicate a factory installed bootloader.
- the device shows a bootloader even without any flash connected and the chip is not advertised to contain any flash

Hmmmm.....not going to disagree with such a well presented set of arguments  :smart:

And to back up your case (and further destroy mine!), I found this on the Nuvoton site:
"Mask ROM Technology

By virtue of 0.5um and 0.35um logic process architectures, Nuvoton has developed 0.5um 5V Logic embedded 0.37um Flat Cell and 0.35um 3.3V/5V Logic embedded 0.32um Flat Cell processes to support ROM needs. Nuvoton offers the most competitive Flat Cell ROM Device size in the industry. This allows us to provide an efficient and cost-effective solution for Code Mask requirements and flexible production management for ROM based products.
" http://www.nuvoton.com/hq/foundry-service/technologies/mask-rom-process/?__locale=en (http://www.nuvoton.com/hq/foundry-service/technologies/mask-rom-process/?__locale=en)

Simon


Title: Re: DDCSV1.1 4 Axis controller
Post by: Dirty Engineer on November 18, 2016, 10:22:57 AM
Just bought this, and this has become a bit of a nightmare for me. I really like the feel of the controller, but whenever I try to run a programme, will it stop after a few lines, and the controller stays busy and speed goes to zero. Most often, I have to power cycle the controller to make it respond to the buttons. I can reset, but most often can I not even jog the axises. Restarting or resuming the program just make the controller go busy.

I have not wired up the controller to my CNC (got no endstops, and fears a  crash, given the problems I have so far). Am I missing something?

Tried code generated with several post processors from Fusion360, as well as F-Engrave, and the outcome is the same.

FYI you have to use Fanuc/Gcode code in MM not inch. Mach3 style code will not work.  More info starting around 3:30 minute mark and going forward in this video. 
[ Invalid YouTube link ]

I also just bought this, and it takes time to learn it. but i'm still moving forward.

This is a great video of setting up this controller.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 18, 2016, 10:49:23 AM
The mm/inches are decided by the G20(imperial) or G21(metric) command at the beginning of every G-code file, and the controller is able to accept both codes.
Even the pure Fanuc G-codes are not working, you need a generic G-code generator, or it doesen't work.
This controller has a very limited set of instructions available in memory, so do not aspect big jobs, but it works and if you manage to compile your own g-code file by merging several routines it will do the job as a professional one.
This is my poor opinion :thumbup: .
Cheers
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 18, 2016, 10:56:49 AM
If we were going totally crazy, we could try to improve the program. But that would most likely end in a full rewrite. However it is absolutely possible.
What we would need to do is get a development toolchain going and then we would need to reverse engineer the motion driver interface.
Of course, we would then need to get screen output and button input working and develop proper routines. It would be a ton of work and it might not be worth it.
I doubt we can get the original source, but maybe somebody knows the people who made it. We never know.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on November 18, 2016, 12:06:01 PM
I think I recognised the GUI routines as being possibly by Micrium , I played about with uc/OS a while back https://www.micrium.com/products/, worth a look I think
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 18, 2016, 01:00:26 PM
I think I recognised the GUI routines as being possibly by Micrium , I played about with uc/OS a while back https://www.micrium.com/products/, worth a look I think
Thanks. I like how this is starting to get shape.
But shouldn't we go for a more open source and free GUI?
Basically the GUI needs to write directly to the framebuffer as there is of course no actual window manager running on the controller.

How about GtkFb: http://ha.redhat.com/f/pdf/gtkfb.pdf
Quote
This builds both shared and static libraries. For simplicity, I’ve built xpm, png, and
jpeg image loaders into gdk-pixbuf. In a real-world case, you would probably use
dynamically loaded image loaders if you chose to use shared libraries.
The stripped, shared GtkFB libraries occupy about 2 MB of disk space. Additionally
FreeType is 202KB, libjpeg is 138KB, libpng 126KB, libz (needed by libpng) 58KB.
To  give  a  feel  for  typical  memory  usage,  I  ran  the
testgtk
program  (included  in
the GTK+ sources) which shows various widgets. I opened three windows named
button box, buttons,
and
clist
and then analyzed the memory requirements. Estimating
memory requirements in a virtual-memory system is a bit hard, because memory can
be dynamically paged in and out.
The RSS size (the total amount of physical memory used, not counting pages swapped
out) was 3.4MB. In Linux a page from a shared library is not written to swap but just
discarded, as it can just be read from the file when needed again. The total virtual
memory size was 6.6MB, out of which 2.3MB were shared with other processes

After all we have 32 MB RAM and 128 MB Flash so size is not that critical.

Or we can go for QT if that one would work better.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 18, 2016, 02:50:04 PM
http://www.pv-automation.com/download
Choose the Raspberry pi2 one software and have a look, maybe can give you some ideas guys :coffee:
Title: Re: DDCSV1.1 4 Axis controller
Post by: slim.e on November 18, 2016, 06:59:37 PM
Hi Benedikt,
I thought to join in the discussion and maybe can help testing. I own a 4axis version that originally came with a july firmware on it that has gone already. However, the version I received from thanksbuyer was with chinese front panel they did not want to replace. Today I wanted to load your yesterdays firmware but did not succeed.
The start-up hangs at the "do not unpower" splash for longer than 20 min. After restart I can not come across the bootloader ... Luckily I could revert to the former version by simply installing it the usual way.
I am now worrying if my hardware is somewhat different from yours ... Is there anything different in the procedure with installing the latest heavy mod version?
I will look for hardware revisions and dump if I get some councelling, as I am not a linux person ...
thanks for looking into this interesting piece of hardware.
Keep it going

Ralf
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 18, 2016, 07:05:13 PM
Hi Benedikt,
I thought to join in the discussion and maybe can help testing. I own a 4axis version that originally came with a july firmware on it that has gone already. However, the version I received from thanksbuyer was with chinese front panel they did not want to replace. Today I wanted to load your yesterdays firmware but did not succeed.
The start-up hangs at the "do not unpower" splash for longer than 20 min. After restart I can not come across the bootloader ... Luckily I could revert to the former version by simply installing it the usual way.
I am no worrying if my hardware is somewhat different from yours ... Is there anything different in the procedure with installing the latest heavy mod version?
I will look for hardware revisions and dump if I get some councelling, as I am not a linux person ...
thanks for looking into this interesting piece of hardware.
Keep it going

Ralf
Hello Ralf!

You're welcome  :beer:

Have you tried the version with -dump at the end? This one will not work (as I broke something there).
The other one however should work file.

EDIT: I was wrong. Sorry! The version I provided does not even work with my own machine. I will fix it real quick.

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 18, 2016, 07:09:58 PM
Hi Benedikt,
I thought to join in the discussion and maybe can help testing. I own a 4axis version that originally came with a july firmware on it that has gone already. However, the version I received from thanksbuyer was with chinese front panel they did not want to replace. Today I wanted to load your yesterdays firmware but did not succeed.
The start-up hangs at the "do not unpower" splash for longer than 20 min. After restart I can not come across the bootloader ... Luckily I could revert to the former version by simply installing it the usual way.
I am no worrying if my hardware is somewhat different from yours ... Is there anything different in the procedure with installing the latest heavy mod version?
I will look for hardware revisions and dump if I get some councelling, as I am not a linux person ...
thanks for looking into this interesting piece of hardware.
Keep it going

Ralf
Hello Ralf!

You're welcome 

Have you tried the version with -dump at the end? This one will not work (as I broke something there).
The other one however should work file.

EDIT: I was wrong. Sorry! The version I provided does not even work with my own machine. I will fix it real quick.

Regards,
Benedikt
What's new in your last version?
What I'm missing?

Sended by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 18, 2016, 07:22:51 PM
Hi Benedikt,
I thought to join in the discussion and maybe can help testing. I own a 4axis version that originally came with a july firmware on it that has gone already. However, the version I received from thanksbuyer was with chinese front panel they did not want to replace. Today I wanted to load your yesterdays firmware but did not succeed.
The start-up hangs at the "do not unpower" splash for longer than 20 min. After restart I can not come across the bootloader ... Luckily I could revert to the former version by simply installing it the usual way.
I am no worrying if my hardware is somewhat different from yours ... Is there anything different in the procedure with installing the latest heavy mod version?
I will look for hardware revisions and dump if I get some councelling, as I am not a linux person ...
thanks for looking into this interesting piece of hardware.
Keep it going

Ralf
Hello Ralf!

You're welcome 

Have you tried the version with -dump at the end? This one will not work (as I broke something there).
The other one however should work file.

EDIT: I was wrong. Sorry! The version I provided does not even work with my own machine. I will fix it real quick.

Regards,
Benedikt
What's new in your last version?
What I'm missing?

Sended by my tapatalk
I am working on a completely new installer that will make upgrading a lot easier than it is now.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 18, 2016, 07:36:17 PM
Hi Benedikt,
I thought to join in the discussion and maybe can help testing. I own a 4axis version that originally came with a july firmware on it that has gone already. However, the version I received from thanksbuyer was with chinese front panel they did not want to replace. Today I wanted to load your yesterdays firmware but did not succeed.
The start-up hangs at the "do not unpower" splash for longer than 20 min. After restart I can not come across the bootloader ... Luckily I could revert to the former version by simply installing it the usual way.
I am no worrying if my hardware is somewhat different from yours ... Is there anything different in the procedure with installing the latest heavy mod version?
I will look for hardware revisions and dump if I get some councelling, as I am not a linux person ...
thanks for looking into this interesting piece of hardware.
Keep it going

Ralf
Hello Ralf!

You're welcome 

Have you tried the version with -dump at the end? This one will not work (as I broke something there).
The other one however should work file.

EDIT: I was wrong. Sorry! The version I provided does not even work with my own machine. I will fix it real quick.

Regards,
Benedikt
What's new in your last version?
What I'm missing?

Sended by my tapatalk
I am working on a completely new installer that will make upgrading a lot easier than it is now.
Thanks, 
Did you figure out why there is a jumper inside the board?  In the link I posted they use the jumper on their board to upgrade the firmware,  and they use the same processor/fpga if Im not wrong,  but unfortunately as much as I want to help, I'm not an expert on Linux.

Sended by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 18, 2016, 08:00:06 PM
Hi Benedikt,
I thought to join in the discussion and maybe can help testing. I own a 4axis version that originally came with a july firmware on it that has gone already. However, the version I received from thanksbuyer was with chinese front panel they did not want to replace. Today I wanted to load your yesterdays firmware but did not succeed.
The start-up hangs at the "do not unpower" splash for longer than 20 min. After restart I can not come across the bootloader ... Luckily I could revert to the former version by simply installing it the usual way.
I am no worrying if my hardware is somewhat different from yours ... Is there anything different in the procedure with installing the latest heavy mod version?
I will look for hardware revisions and dump if I get some councelling, as I am not a linux person ...
thanks for looking into this interesting piece of hardware.
Keep it going

Ralf
Hello Ralf!

You're welcome 

Have you tried the version with -dump at the end? This one will not work (as I broke something there).
The other one however should work file.

EDIT: I was wrong. Sorry! The version I provided does not even work with my own machine. I will fix it real quick.

Regards,
Benedikt
What's new in your last version?
What I'm missing?

Sended by my tapatalk
I am working on a completely new installer that will make upgrading a lot easier than it is now.
Thanks, 
Did you figure out why there is a jumper inside the board?  In the link I posted they use the jumper on their board to upgrade the firmware,  and they use the same processor/fpga if Im not wrong,  but unfortunately as much as I want to help, I'm not an expert on Linux.

Sended by my tapatalk
As I said, it puts the CPU into "Boot from USB" mode.

The new upgrade works and is now published:
http://data.bmuessig.eu/CNC/DDCSV11/install-mod-20161119.zip

It should fix anything and allow the following new features:
- Custom GUI application support (if we choose to make one)
- Allows better and easier upgrades in the future
- Can run startup scripts from the controllers internal flash or from usb
- Can display a splash screen (if you delete the splash.ppm before installing you won't get a splash)
- Easy splash changing by just copying a new splash to the root of an usb and rebooting
- Fixed the too long soft and hard limit triggered strings
And more

EDIT:
I have updated the file with a few improvements.
If anyone installing the upgrade wants to help us understand the controller more, please consider sending us the dump of the old firmware and your hardware parameters.
This can be done quite easily by copying the upgrade to the root of the usb stick (as usual) and then creating a folder called "dump".
When you now execute the upgrade, it will copy all interesting files to this folder. You can then later send us the resulting folder (zip it and mail it to us or attach it to a post).
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 19, 2016, 06:48:54 AM
So I am making progress...

(http://data.bmuessig.eu/CNC/DDCSV11/Images/Screenshot-2016-11-19-12-46-33.png)

I am building a proper C and C++ toolchain for the controller so that we can finally write own C programs for it and port some interpreters such as Lua or Python.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 06:56:06 AM
More info please!

Sended by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 19, 2016, 07:00:08 AM
More info please!

Sended by my tapatalk
I am building a C, C++ toolchain and kernel for the controller. In the background I am working on a GUI that runs on the controller...
I was also told more info about the proprietairy bootloader used. Might be worth a try!

About the firmware, just download it!
Don't bother with the dumping, it will take ages!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 08:11:12 AM
So, how i install the firmware?
there's more than a folder,
Thank you in advance.
Emanuel
PS. did you got the front panel laser cutted?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 19, 2016, 08:19:42 AM
So, how i install the firmware?
there's more than a folder,
Thank you in advance.
Emanuel
PS. did you got the front panel laser cutted?
Similar to how it was before. Just copy all folders and files to the usb stick.

The panel is in still made by the company. I hope it will arrive soon.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 08:54:22 AM
So, how i install the firmware?
there's more than a folder,
Thank you in advance.
Emanuel
PS. did you got the front panel laser cutted?
Really courious to see it finished, i'm working on mine, just waiting for the carbon fiber sheet to arrive and then i will machine it.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 19, 2016, 08:56:21 AM
So, how i install the firmware?
there's more than a folder,
Thank you in advance.
Emanuel
PS. did you got the front panel laser cutted?
Really courious to see it finished, i'm working on mine, just waiting for the carbon fiber sheet to arrive and then i will machine it.
Nice! Good luck!

So the compiler is built successfully! It compiles things and I get the result I expected.
I have not tried the binaries yet but I will soon do that.

(http://data.bmuessig.eu/CNC/DDCSV11/Images/Screenshot-2016-11-19-14-53-42.png)

EDIT: I tested it and it works!  :bugeye:
Wow, even my framebuffer code seems to run. That's great!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 09:18:08 AM
Fantastic!!!!!!


At the end it will be left just the board of the original controller...
I'm designing a new front panel and  Keyboard with all the buttons integrated including the MPG.
Let's see what i can do :-))
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 09:26:21 AM
So, i guess we could use even a better screen for the controller?
Assuming we could get and connect a better one? (like in the raspberry i mean)
I know we are just in a very early stage, is just a curiosity............
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 19, 2016, 09:31:16 AM
So, i guess we could use even a better screen for the controller?
Assuming we could get and connect a better one? (like in the raspberry i mean)
I know we are just in a very early stage, is just a curiosity............
Sounds interesting. Keep me updated!

No, we can't change the screen for a couple of reasons:
 - Size: it might be hard to find one that fits exactly (however if you redo the front that might not be a big deal)
 - Kernel: the kernel only contains drivers for the screen that is currently instelled; everything else would require us to write a driver and build an entirely new kernel
 - Connector: it might be hard or even impossible to find another screen that would work with the connector and connections available (I am just guessing as I haven't see the connector yet)

But the original screen isn't bad. Resolution and size are alright for a CNC, don't you think so too?


Currently I am trying to compile a framebuffer graphics library to use on the controller.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 09:53:51 AM
The screen is not bad at all, is just because the plastic membrane that cover the screen is weak, and the keyboard will be pierced soon with an intensive use
of the caps, and i am using a lot the router milling pieces for my printers.
Don't know how much the keyboard will last to be honest
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 19, 2016, 09:54:58 AM
The screen is not bad at all, is just because the plastic membrane that cover the screen is weak, and the keyboard will be pierced soon with an intensive use
of the caps, and i am using a lot the router milling pieces for my printers.
Don't know how much the keyboard will last to be honest
I am all for replacing the membrane, but not the screen. So do you know a way to get a membrane made?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 10:03:29 AM
The screen is not bad at all, is just because the plastic membrane that cover the screen is weak, and the keyboard will be pierced soon with an intensive use
of the caps, and i am using a lot the router milling pieces for my printers.
Don't know how much the keyboard will last to be honest
There's a company in London that do panels and custom made adhesive keyboard, i just have to do the design and be very specific in what i want, but it can be done.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 10:05:19 AM
Of course we can get rid of the DDCSV1.1 logo from the front panel then :D
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 19, 2016, 07:19:39 PM
Of course we can get rid of the DDCSV1.1 logo from the front panel then :D
I really dislike the DDCSV1.1 name anyhow. It is so misleading. Even the hardware is revision 1.4.
Can we just decide for a new name all together?
Especially given that we need a name for the new firmware.

I have made progress with writing a small graphics library to assist me with writing small programs. Eventually I will port GTK/Cairo or some other library to the CNC controller.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 19, 2016, 07:32:57 PM
Well...  As you are the bigger contributor to this project you will have the honor(or duty) to give a name to this new baby,  then we can suggest smaller adjustments if you agree,  what do you think about that?

Sent by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 20, 2016, 09:15:00 AM
Well...  As you are the bigger contributor to this project you will have the honor(or duty) to give a name to this new baby,  then we can suggest smaller adjustments if you agree,  what do you think about that?

Sent by my tapatalk
I am bad at naming, but some names could be:
 OCNCC -> offline cnc controller (or LCNCC = Linux CNC controller)
 Pandora -> as in how my CNC is called (due to the build being rather difficult and time consuming and as there always was something that went wrong)

But if you dislike them, I will think a little more about another name.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on November 20, 2016, 09:29:41 AM
Box Clever CNC

or

MMCNC    (Mad Modder CNC)

and nice work on the software side  :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 20, 2016, 09:42:24 AM
FLUFFY

FLexible

Unix controlled

Four Axis

FullY featured controller

Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 20, 2016, 09:47:14 AM
Well...  As you are the bigger contributor to this project you will have the honor(or duty) to give a name to this new baby,  then we can suggest smaller adjustments if you agree,  what do you think about that?

Sent by my tapatalk
Pandora is the right name for me, as in this project there's a lot of thing that will go wrong at some time, so why not?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 20, 2016, 10:13:30 AM
Benedikt, i am quite happy to sacrifice my controller if you want to go for a complete different way,


Have a look at this link, is not the program, is all the dependencies in python to have a look, including the GUI toolkit "tkinter"
https://github.com/vlachoudis/bCNC (https://github.com/vlachoudis/bCNC)
Here you have the link,
I had downloaded this program as i own 2 "smoothieboard 5 axis", and i use them for my printers "32 bit processor obviously"  then i decided to buy the stand alone controller instead to install everything on a raspberry pi3
Hope that can help a bit, let me know your opinion please
Emanuel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 20, 2016, 10:45:01 AM
Thanks a lot for all the input  :thumbup:

So how about Pandora MMCNC?

Still a nice name, awemawson!

Best of both  :borg:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 20, 2016, 10:59:19 AM
We could use the MMCNC for the controller and the Pandora for the software no?
I'll send you a splash sample in a few minutes
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 20, 2016, 11:16:40 AM
Benedikt, i am quite happy to sacrifice my controller if you want to go for a complete different way,


Have a look at this link, is not the program, is all the dependencies in python to have a look, including the GUI toolkit "tkinter"
https://github.com/vlachoudis/bCNC (https://github.com/vlachoudis/bCNC)
Here you have the link,
I had downloaded this program as i own 2 "smoothieboard 5 axis", and i use them for my printers "32 bit processor obviously"  then i decided to buy the stand alone controller instead to install everything on a raspberry pi3
Hope that can help a bit, let me know your opinion please
Emanuel
Well I wouldn't mind naming it as you suggested.
Let's see what the other members think then we decide on a name.

Your idea sounds good and if I had known this a few months earlier, I wouldn't have bought a DDCSV1.1MMCNC.
But we'll stick with what we have. About the program, I don't know if porting it is possible. It might be worth a try, but remember, we still need to find out how the motion driver works and how we can communicate with it.
Unfortunately nobody here has an ARMv5 capable version of IDA or anything remotely similar to disassemble (and possibly turn back into C code to make it at least a little bit easier to understand) the attached file.   :(
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 20, 2016, 11:25:17 AM
Here you have a sample, is open to any suggestion of course :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on November 20, 2016, 02:36:22 PM
That would float my boat.

Lovely image!

Just as an aside: Wasn't the idea behind Pandora's Box was NOT to open it?

It may after all contain Schroedinger's Cat!!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 20, 2016, 03:16:16 PM
Pandora's box has landed in the wrong place, this is an open source forum, so there's no chance....... :med:
 :headbang:
Title: Re: DDCSV1.1 4 Axis controller
Post by: tom osselton on November 20, 2016, 04:25:22 PM
Still the file folder could be named " do not open box " the electrics should have it anyways.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 21, 2016, 11:38:07 AM
Ok guys.... good news about the G-Code compatibility,
As i work with Visi19 Cam, the generated G-code is for a Fanuc machine, or can be changed for other Fanuc models, never the less is still complicated.
So i generated a simple square 3 axis interpolated toolpath (Is the orange path in the toolpath-1 picture).
Then generated the .NC G-code, wich is quite long :palm: . (attached as a .txt file if someone want to give it a look) just rename the .txt  to  .NC and load on a usb pendrive.
I just deleted 3 "strange" codes at the beginning of the file as they do not exist in the MMCNC language, just left the spindle on and speed setup, deleted the tool change,  and .......... IT WORKS!!!!
I have to say, i am impressed how the 3 axis are interpolated, very smooth, no material left or glitch in the path.
So clearly it can work if we find the way to add some more G-command to the library (with associated routine of course).
Any comment is fully apreciated
Regards



Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 21, 2016, 12:07:48 PM
 :Doh: PS.
The tool is a 4 mm ballmill, it won't go deep more than 4mm, so is safe to try if you want to.
the toolpath is just the orange one, is not the full pocket, the gray part is untouched by the tool and has to be considered solid part.
Just to be clear
Cheers
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 22, 2016, 05:22:39 PM
Hy all,
just come across this one.....
https://www.youtube.com/watch?v=8Pi-ramLLSo (https://www.youtube.com/watch?v=8Pi-ramLLSo)






Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 23, 2016, 02:39:35 AM
If you have a close look at the video 📹,  you can clearly see at some point that at the right bottom ↘ of the display under the firmware version is not saying D DREAM  but RATTMOTOR,  so clearly they changed the firmware,  WE NEED TO FIND THE BLOODY WAY TO DO IT!!!

Sent by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 23, 2016, 03:22:32 AM
If you have a close look at the video 📹,  you can clearly see at some point that at the right bottom ↘ of the display under the firmware version is not saying D DREAM  but RATTMOTOR,  so clearly they changed the firmware,  WE NEED TO FIND THE BLOODY WAY TO DO IT!!!

Sent by my tapatalk
The only impressive thing would be if they had changed the bootlogo. Changing the text in the bottom right is easy. I did it on the custom firmware i made.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 23, 2016, 03:31:00 AM
Heiii, welcome back!!
they did indeed!!
Look



This is another company that use the same controller, and is changed
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 23, 2016, 03:59:29 AM
So, Benedikt, you will need IDA for doing the job? as i understand?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 23, 2016, 04:25:16 AM
So, Benedikt, you will need IDA for doing the job? as i understand?
Yes, indeed :(
However if somebody could do it for me or point out a somewhat similarly featured armv5 decompiler then it could still work.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 23, 2016, 05:47:43 AM
I just received a message from a friend, it say that with the 4 axis software installed, even if the DRO is not showed on the display, the axis is still working :jaw:
Let's give it a try!!!! :drool:
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on November 23, 2016, 07:55:57 AM
That Ratnmachine one in the video is the one I have.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 03:43:18 AM
Ok guys, i'm looking to build some macros for the tool change, hoping that now Benedikt can finally open the core of the program.
The other shield is now this: normally in a serious controller you have a PLC which can be programmed exactly to do the job, just by calling a function,  and in this case is not present i guess, unless Benedikt find out that we have one embedded and is just there sleeping, which i doubt.
Or we will need a portion of the memory to store routines that can be called by the command(M6 in this case), and dedicated screen page to setup all the steps to store the tools position on the "map"
Never the less, we have the TOOL OFFSET for 13 tools in the setting function, so why is there if we cannot use it'?
There's something souspicious here :coffee:


I strongly invite all of us to give a personal opinion, no matter if good or not, anything help at this stage if we want to build up something that really work.
Regards
Emanuel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 24, 2016, 05:15:35 AM
 :mmr:
I have been sent IDA and someone is in contact with somebody else having access to NDA info on the bootloader.


What a great community!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 05:18:23 AM
:mmr:
I have been sent IDA and someone is in contact with somebody else having access to NDA info on the bootloader.


What a great community!


NICE!!!!!
Hopefully we will do it!!


Was IDA the version you need?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 24, 2016, 10:34:17 AM
So, while this is not related to the controller modding, I have just received my lasered plate in the mail.
I already temporarily installed the components. It does not look bad but the fit is really tight at some spots even though I have planned plenty of tolerance in.

(http://data.bmuessig.eu/CNC/Pandora/IMG_0423_small.JPG)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 10:38:23 AM
Nice job,
Shame for the 2 holes near the controller, i'm assuming they are to retain it in place,
You should receive 2 piece of plastic with your controller, and 2 bolts and nuts
I'll post you the pictures in a few minutes if you don't mind, im just in the process to finish mine under the router
 :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 24, 2016, 11:07:19 AM
Blimey that's the size of a Rugby pitch - spreads off my monitor and onto the workshop walls and ceiling  :bugeye:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 11:13:37 AM
Blimey that's the size of a Rugby pitch - spreads off my monitor and onto the workshop walls and ceiling  :bugeye:
Sorry, i always have problem uploading pictures, don't know why
Any help is apreciated :bow:
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 24, 2016, 11:19:00 AM
I expect that you are on a Unix machine, but in Windows, resizing is dead easy. right click the file in Explorer, select 'open with' and 'paint' then select 'resize, then 'pixels' then 640 x 480 - save file with a new name, then everyone can enjoy your pictures without knocking the boy off his bicycle on the other side of the road  :ddb:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 12:01:42 PM
 :lol: :lol: :lol: :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 12:04:53 PM
Here you go.......(Maybe)
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 24, 2016, 12:05:45 PM
Nice picture size  :thumbup: :thumbup: :thumbup: :thumbup: :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 12:10:20 PM
Here is my Panel, need just paint the carved letters white inside,  clean up and finish with a hand of transparent on top.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 12:22:35 PM
And here is Mounted on the new controller box front Bezel
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 24, 2016, 01:28:22 PM
Is not that bad......
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 25, 2016, 09:41:09 AM
The back panel,
here is the link on eBay for the pc case: http://www.ebay.co.uk/itm/112007556057
Is small, but do the job.
 :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 25, 2016, 09:43:08 AM
The back Panel
Looks great! Good idea to use a PC case.
I went for the angled panel as you know.

By the way I managed to secure the controller by messing with the plastic pieces a little, so this problem is now thankfully solved.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 25, 2016, 09:49:03 AM
The back Panel
Looks great! Good idea to use a PC case.
I went for the angled panel as you know.

By the way I managed to secure the controller by messing with the plastic pieces a little, so this problem is now thankfully solved.
Ohh really god, is a pain when the things doesen't fit as aspected!! :thumbup: :thumbup:
I was looking for the angled case, but i couldn't find anything, so i just got this one...
will post the pictures of finished case soon, including the internal layout.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 25, 2016, 02:12:45 PM
Question:
Did anyone found out how to work with the "tool offset" in the parameter list?
I am trying to understad how i can use them, but no results nor response from the controller
Very frustrating!!!! :bang:

Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 25, 2016, 05:17:44 PM
Here is the painted panel guys
 :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 25, 2016, 06:02:15 PM
Looking good apart from the bottom right hand corner - what happened there  :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 25, 2016, 06:03:38 PM
Nothing,  is just the light 💡  reflection

Sent by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 25, 2016, 06:05:45 PM
Will post better pictures tomorrow  :thumbup: :thumbup:

Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 26, 2016, 05:51:09 PM
Hi all,
here is the final result,
i'm not happy at all about how i positioned the spindle switch! :bang: It should be much lower.
Never mind, the next will be much better than this one......... :ddb:
Cheers
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on November 27, 2016, 06:25:37 AM
Question:

Has anyone used and calibrated the Backlash parameters #437 to #445?

If so do they work?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 27, 2016, 08:12:00 AM
Someone in another forum try, he said they works great for him, but honestly i do not use them as i do not have backlash in my axis.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on November 27, 2016, 09:12:58 AM
Someone in another forum try, he said they works great for him, but honestly i do not use them as i do not have backlash in my axis.

You may not be able to measure it, but trust me you DO have backlash  :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 27, 2016, 09:17:14 AM
I do agree with you, but as i changed the ballscrew for the C0 grade, even if my backlash is 0.004 (and should be less as the ballscrews are pre-charged) i cannot measure it as my caliper do only 0,01..... so i do not have backlash

 :ddb:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on November 27, 2016, 01:54:59 PM
Hum.........
After all of the uploading, downloading and all the rest of the jazz, I seem to have lost the parameters that I setup the DDCSV1 with.....

I have at least one image of the firmware contents, does anyone know which file contains the actual settings (like steps per mm, etc) and how - if possible - I can use this to replace the default numbers.

Otherwise I will have to start again from zero which is *not* my Sunday evening plan.... :(
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 27, 2016, 02:06:15 PM
Hum.........
After all of the uploading, downloading and all the rest of the jazz, I seem to have lost the parameters that I setup the DDCSV1 with.....

I have at least one image of the firmware contents, does anyone know which file contains the actual settings (like steps per mm, etc) and how - if possible - I can use this to replace the default numbers.

Otherwise I will have to start again from zero which is *not* my Sunday evening plan.... :(
The file is called "settings"  and you have to reset all the parameters,  as is not a text file,  so.....  Take your time and input all parameters again,  and then, I strongly recommend you to make a copy of it...

Sent by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on November 27, 2016, 02:32:07 PM
I think there is a textfile called UserVar that is supposed to be another way of entering parameters, how the hell it works or what the format is I have no Idea. this is from the information Sheet, such as it is.

3.4.1Parameter loading method

 "This file is a text file with an expanded-name of set. The users can modify all the parameter
and all the parameter can be modified in the parameter list. We will provide a demo of set file
and the client can only modify the corresponding item in this demo. Pay special attention that
each parameter item has the only corresponding parameter mark. This parameter mark can’t be
modified or deleted."

 hope this is of some use
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 27, 2016, 02:43:12 PM
I think there is a textfile called UserVar that is supposed to be another way of entering parameters, how the hell it works or what the format is I have no Idea. this is from the information Sheet, such as it is.

3.4.1Parameter loading method

 "This file is a text file with an expanded-name of set. The users can modify all the parameter
and all the parameter can be modified in the parameter list. We will provide a demo of set file
and the client can only modify the corresponding item in this demo. Pay special attention that
each parameter item has the only corresponding parameter mark. This parameter mark can’t be
modified or deleted."

 hope this is of some use
We never figured out how this was supposed to work. Unfortunately. I might think about writing a quick and ready program for altering the settings file on a PC. Might be worth it. Especially if it would give some contextual help and possibly some converters. I was just thinking, why not a PHP program so people could use it online  :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 27, 2016, 02:47:42 PM
I think there is a textfile called UserVar that is supposed to be another way of entering parameters, how the hell it works or what the format is I have no Idea. this is from the information Sheet, such as it is.

3.4.1Parameter loading method

 "This file is a text file with an expanded-name of set. The users can modify all the parameter
and all the parameter can be modified in the parameter list. We will provide a demo of set file
and the client can only modify the corresponding item in this demo. Pay special attention that
each parameter item has the only corresponding parameter mark. This parameter mark can’t be
modified or deleted."

 hope this is of some use
We never figured out how this was supposed to work. Unfortunately. I might think about writing a quick and ready program for altering the settings file on a PC. Might be worth it. Especially if it would give some contextual help and possibly some converters. I was just thinking, why not a PHP program so people could use it online  :scratch:
Why not?  A php would be better I think


Sent by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on November 27, 2016, 04:24:50 PM
A PHP program would be an excellent idea - massively less tedious than 'step, step, step, step, ' 'enter', 'up arrow', 'enter' for each yes/no choice!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 29, 2016, 03:28:52 AM
Great, so PHP it'll be.
I'll work on it when I find some spare time.
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 29, 2016, 02:55:16 PM
Hi All and welcome,
I'm a​n old beginner from Hu​n​gary. ​ :)​

I just have this ​controller, version: 2016-06-10-80NOR

I would like use it with TB6560 3ax. stepper driver, but I can't find, where can I decrease
500KHz (200ns) pulse to 30KHz (33.333ns)  due to no this option anymore.

How could I solve this problem?

Thanks for your help.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 29, 2016, 03:24:19 PM
Hi, and welcome,
First of everything have a look at this one, is very interesting about your driverr


http://www.glyn.de/data/glyn/media/doc/TB6560AHQ-E_en_090324.pdf (http://www.glyn.de/data/glyn/media/doc/TB6560AHQ-E_en_090324.pdf)


This can give you an idea of your stepper controller to start.


The only parameter you can adjust on the controller, version: 2016-06-10-80NOR is in the setting page, line 416 "delay between step and direction" "xxxxxxns"
Hope that can help a bit
Regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 29, 2016, 04:05:25 PM
Hi, and welcome,
First of everything have a look at this one, is very interesting about your driverr


http://www.glyn.de/data/glyn/media/doc/TB6560AHQ-E_en_090324.pdf (http://www.glyn.de/data/glyn/media/doc/TB6560AHQ-E_en_090324.pdf)


This can give you an idea of your stepper controller to start.


The only parameter you can adjust on the controller, version: 2016-06-10-80NOR is in the setting page, line 416 "delay between step and direction" "xxxxxxns"
Hope that can help a bit
Regards

Thank you very much for your help. I will try some trick tomorrow...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 30, 2016, 04:36:59 AM
Old Zozo,
a question for you, where did you get the 33.333 conversion of the 30KHz in ns(p) p=period?
Because my conversion is totally different, so maybe something is wrong? Or the decimal point is in the wrong place?
For the avoid of doubt, check this one:
https://www.unitjuggler.com/convert-frequency-from-kHz-to-ns(p).html?val=200 (https://www.unitjuggler.com/convert-frequency-from-kHz-to-ns(p).html?val=200)
Anyway, the division is 1/Freq,   EXP: 1/8000000(8MHz)=125ns
so, 30 KHz are 33333.3333ns. am i wrong?
Regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 30, 2016, 06:28:49 AM
Hi Merlin, you are right, of course.   I was wrong, I wrote microsec, no ns  :bang:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 30, 2016, 06:31:53 AM
Hi Merlin, you are right, of course.   I was wrong, I wrote microsec, no ns  :bang:
No worries, we are here to help if we can :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 30, 2016, 06:57:41 AM
Hi Merlin, you are right, of course.   I was wrong, I wrote microsec, no ns  :bang:
No worries, we are here to help if we can :beer:

Thanks.  (Hungarians uses decimal point this way: 33.333,333   English uses 33333.333)

I looked at my TB6560 driver, the OSC capacitor a small SMD part, unfortunately I can't change it.
I'll try some parameter later yet.
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 30, 2016, 12:48:46 PM
I'm not happier. I tried everything.
Stepper motors are very loud, they runs irregular, noisily, jarring.
You can hear.

https://drive.google.com/file/d/0B92KqmQ4Au7naVRnSEU0M1BQQnc/view?usp=sharing (https://drive.google.com/file/d/0B92KqmQ4Au7naVRnSEU0M1BQQnc/view?usp=sharing)

After 10 minutes motors are hot, with half current setting.
When they are standby,  all vacillate.

What I tried:

TB6560: http://www.osservatoriobassano.org/TCS2015/3%20Axis%20TB6560%203.5A%20Stepper%20Motor%20Driver%20Board%20Manual.pdf (http://www.osservatoriobassano.org/TCS2015/3%20Axis%20TB6560%203.5A%20Stepper%20Motor%20Driver%20Board%20Manual.pdf)

-half, 1/8, 1/16 step
-decay mode slow to fast



DDCSV1.1: 
-time between DIR and Pulse  300 to 1500
-pulse signal LOW an HI

I have no more idea.
Perhaps software down-grade...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on November 30, 2016, 01:33:47 PM
Hi,
I give you my opinion, but just take it as an advise, nothing more...
The controller board you are using is manifactured for a Mach3 use, as is using a parallel port, and is tuned for the latency and other problem that the parallel port connected to a PC have in real time running.
Your new controller is much much faster and have nothing to do with this board :palm:
You need to use separate stepper driver for each axis, and you can find them really cheap on ebay if you want to start with an entry model.
I would suggest you to buy a good one once and forever, so your system is then matched as it should be, quiet and running cool.
Then get rid of the parallel port once and forever, as this is the pourpouse to buy that kind of controller...
I will make a short video of mine running with digital stepper driver http://www.ebay.co.uk/itm/EU-Stock-4PCS-DM556D-Digital-Stepper-Motor-Driver-50VDC-5-6A-For-CNC-Router-/142190444856 (http://www.ebay.co.uk/itm/EU-Stock-4PCS-DM556D-Digital-Stepper-Motor-Driver-50VDC-5-6A-For-CNC-Router-/142190444856) (those are mine, but you dont need that much, you can find digital ones and much much cheaper.


Those one are perfect  http://www.ebay.co.uk/itm/CNC-2DM542-Microstep-Stepper-Motor-Driver-4-2A-Controller-24-48V-DC-Nema17-23-34/251117211299 (http://www.ebay.co.uk/itm/CNC-2DM542-Microstep-Stepper-Motor-Driver-4-2A-Controller-24-48V-DC-Nema17-23-34/251117211299)


i am happy with that and no missing steps or heating or noise, strong holding torque and auto-tuning firmware..... just have a look if you have time.
Once you have built the controller it will work even for future machines if you upgrade the chassis.
Any comment is fully apreciated as usual
Regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on November 30, 2016, 02:19:54 PM
On another subject RE the parameters, I copied the entire list printed in the "Datasheet" and I found out that you can indeed load the parameters from a file named uservar.set saved to a USB stick, it appears that you need a full complement for them to load, I tried just using 1 at first  ( #33=200  ) but it didn't load so I wrote the whole lot out, and it did work!! can't guarantee that the others work but I think they just might.


i enclose the first uservar.set file I tried with arbitrary numbers so you may want to change them  don't forget to change the extension to .set
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 30, 2016, 03:16:14 PM

The controller board you are using is manifactured for a Mach3 use, as is using a parallel port, and is tuned for the latency and other problem that the parallel port connected to a PC have in real time running.
Your new controller is much much faster and have nothing to do with this board :palm:
....................


 :thumbup: :clap:  What a true. You help me a lot, thank you very much. I just order some digital driver, thanks for links and advise.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 02, 2016, 05:00:22 AM
On another subject RE the parameters, I copied the entire list printed in the "Datasheet" and I found out that you can indeed load the parameters from a file named uservar.set saved to a USB stick, it appears that you need a full complement for them to load, I tried just using 1 at first  ( #33=200  ) but it didn't load so I wrote the whole lot out, and it did work!! can't guarantee that the others work but I think they just might.


i enclose the first uservar.set file I tried with arbitrary numbers so you may want to change them  don't forget to change the extension to .set
Thanks a lot. This really helps me as i just don't have time to figure this out myself right now. I will work on the editor soon.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on December 03, 2016, 01:11:44 PM
Hello, I am new member of the forum, I also have the DDCSV panel, my question is if you can use a power supply like Link http://www.ebay.es/itm/351766147198?_trksid=p2060353.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT     to power the panel or it would be better a PC type.
Greetings.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on December 03, 2016, 03:25:27 PM
Hello, I am new member of the forum, I also have the DDCSV panel, my question is if you can use a power supply like Link http://www.ebay.es/itm/351766147198?_trksid=p2060353.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT (http://www.ebay.es/itm/351766147198?_trksid=p2060353.m1438.l2649&ssPageName=STRK%3AMEBIDX%3AIT)     to power the panel or it would be better a PC type.
Greetings.
I am using this one to power up mine, is cheap, small and plenty of power to drive the controller
http://www.ebay.co.uk/itm/172058668488 (http://www.ebay.co.uk/itm/172058668488)
Cheers
PS. If you give us an idea of in which part of this globe you live, that would be great, thank you :beer:

Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on December 03, 2016, 05:03:15 PM
Thanks for your answer, I'm in Spain, it's nice to see the great work you're doing.
regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 04, 2016, 09:18:17 AM
By the way, BrokenEye, does the order of the statements in the file matter?
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on December 04, 2016, 01:58:46 PM
It doesn't seem to, no
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 04, 2016, 06:25:31 PM
It doesn't seem to, no
Great!

Would you mind trying the output of the online PHP settings editor I am working on?
http://bmuessig.eu/tools/pandora-configurator/?b64=JiYNCiMzMz02OSANCiMzND02NDANCiMzNT02NDANCiMzNj02NDANCg0KIzM4PTY0MA0KIzM5MD0wDQojMzkxPTANCiMzOTI9MQ0KIzM5Mz0wDQojNDE2PTMwMA0KIzQxNz0yMDAwDQojNDE4PTANCiM0MTk9MA0KIzQyMD0xDQojNDIxPTANCg0KIzQxPTE2MDAwDQojNDI9MTYwMDANCiM0Mz0xNjAwMA0KIzQ0PTE2MDAwDQojNDU9NjAwDQojNDY9NjAwDQojNDc9NjAwDQojNDg9NjAwDQojMTAwPTgwMDANCiMxMDE9ODAwMA0KIzEwMj00MDAwDQojMTAzPTEyMDAwDQojMjYzPTEyMDANCiMyNjQ9MTIwMA0KIzI2NT0xMjAwDQojMjY2PTEyMDANCg0KIzE1PTENCiM3Nj0xNTAwDQojNzc9ODAwMA0KIzc4PTMwMDANCiM3OT0zMDAwDQojODA9NTAwMA0KIzgyPTUNCiM4OT01DQojOTk9NTAwDQojNDM1PTgwMDANCiM0MzY9ODAwMA0KDQojMTY9MQ0KDQojOTg9MjQwMDANCiMyMjA9MQ0KIzIyMT0xMjAwMA0KIzIyMj0xDQoNCiMyMjQ9Mw0KIzIyNz0xDQojNDIyPTANCiM0MzM9MTExMQ0KDQojMjIzPTENCiMyMjU9MQ0KIzIyNj0xDQojMjI4PTENCiMyMjk9MQ0KDQojNTI9MQ0KIzUzPTENCiM1ND0xDQojNTU9MQ0KIzU2PTgwMDANCiM1Nz04MDAwDQojNTg9ODAwMA0KIzU5PTgwMDANCiM2MD0wDQojNjE9MA0KIzYyPTANCiM2Mz0wDQojNjQ9MA0KIzY1PTANCiM2Nj0wDQojNjc9MA0KIzgzPTEwDQojODQ9MTANCiM2NT0xMA0KIzg2PTEwDQoNCiM2OD0xDQojNjk9MjANCiM3MD0wDQojNzE9MA0KIzcyPTANCiM3Mz0wDQojNzQ9MA0KIzc1PTEwDQoNCiM0MDA9MQ0KIzQwMT0xDQojNDAyPTENCiM0MDM9MQ0KIzQwND0xDQojNDA1PTENCiM0MDY9MQ0KIzQwNz0xDQojNDA4PTANCiM0MDk9MA0KIzQxMD0wDQojNDExPTANCiM0MTI9MA0KIzQxMz0wDQojNDE0PTANCiM0MTU9MA0KDQojMzc0PTANCiMzNzU9LTQwMA0KIzM3Nj0tNDAwDQojMzc3PS00MDANCiMzNzg9LTQwMA0KIzM3OT00MDANCiMzODA9NDAwDQojMzgxPTQwMA0KIzM4Mj00MDANCg0KIzQyOD0xDQojNDI5PTANCiM0MzA9MQ0KIzQzMT0wDQojNDMyPTANCg0KIzQyMz0xDQojNDI0PTANCiM0MjU9MQ0KIzQyNj0wDQojNDI3PTANCiM0NDY9MA0KIzQ2Nz0wDQoNCiM0Mzc9MA0KIzQzOD0wDQojNDM5PTANCiM0NDA9MA0KIzQ0MT0wDQojNDQyPTANCiM0NDM9MA0KIzQ0ND0wDQojNDQ1PTANCg0KIzE9MA0KIzI9NDAwDQojNDk1PTAuMDAyDQojMjUwPTENCiMyNTM9MA0KIzQ5OT04ODg4ODgNCg0KJiYNCg== (http://bmuessig.eu/tools/pandora-configurator/?b64=JiYNCiMzMz02OSANCiMzND02NDANCiMzNT02NDANCiMzNj02NDANCg0KIzM4PTY0MA0KIzM5MD0wDQojMzkxPTANCiMzOTI9MQ0KIzM5Mz0wDQojNDE2PTMwMA0KIzQxNz0yMDAwDQojNDE4PTANCiM0MTk9MA0KIzQyMD0xDQojNDIxPTANCg0KIzQxPTE2MDAwDQojNDI9MTYwMDANCiM0Mz0xNjAwMA0KIzQ0PTE2MDAwDQojNDU9NjAwDQojNDY9NjAwDQojNDc9NjAwDQojNDg9NjAwDQojMTAwPTgwMDANCiMxMDE9ODAwMA0KIzEwMj00MDAwDQojMTAzPTEyMDAwDQojMjYzPTEyMDANCiMyNjQ9MTIwMA0KIzI2NT0xMjAwDQojMjY2PTEyMDANCg0KIzE1PTENCiM3Nj0xNTAwDQojNzc9ODAwMA0KIzc4PTMwMDANCiM3OT0zMDAwDQojODA9NTAwMA0KIzgyPTUNCiM4OT01DQojOTk9NTAwDQojNDM1PTgwMDANCiM0MzY9ODAwMA0KDQojMTY9MQ0KDQojOTg9MjQwMDANCiMyMjA9MQ0KIzIyMT0xMjAwMA0KIzIyMj0xDQoNCiMyMjQ9Mw0KIzIyNz0xDQojNDIyPTANCiM0MzM9MTExMQ0KDQojMjIzPTENCiMyMjU9MQ0KIzIyNj0xDQojMjI4PTENCiMyMjk9MQ0KDQojNTI9MQ0KIzUzPTENCiM1ND0xDQojNTU9MQ0KIzU2PTgwMDANCiM1Nz04MDAwDQojNTg9ODAwMA0KIzU5PTgwMDANCiM2MD0wDQojNjE9MA0KIzYyPTANCiM2Mz0wDQojNjQ9MA0KIzY1PTANCiM2Nj0wDQojNjc9MA0KIzgzPTEwDQojODQ9MTANCiM2NT0xMA0KIzg2PTEwDQoNCiM2OD0xDQojNjk9MjANCiM3MD0wDQojNzE9MA0KIzcyPTANCiM3Mz0wDQojNzQ9MA0KIzc1PTEwDQoNCiM0MDA9MQ0KIzQwMT0xDQojNDAyPTENCiM0MDM9MQ0KIzQwND0xDQojNDA1PTENCiM0MDY9MQ0KIzQwNz0xDQojNDA4PTANCiM0MDk9MA0KIzQxMD0wDQojNDExPTANCiM0MTI9MA0KIzQxMz0wDQojNDE0PTANCiM0MTU9MA0KDQojMzc0PTANCiMzNzU9LTQwMA0KIzM3Nj0tNDAwDQojMzc3PS00MDANCiMzNzg9LTQwMA0KIzM3OT00MDANCiMzODA9NDAwDQojMzgxPTQwMA0KIzM4Mj00MDANCg0KIzQyOD0xDQojNDI5PTANCiM0MzA9MQ0KIzQzMT0wDQojNDMyPTANCg0KIzQyMz0xDQojNDI0PTANCiM0MjU9MQ0KIzQyNj0wDQojNDI3PTANCiM0NDY9MA0KIzQ2Nz0wDQoNCiM0Mzc9MA0KIzQzOD0wDQojNDM5PTANCiM0NDA9MA0KIzQ0MT0wDQojNDQyPTANCiM0NDM9MA0KIzQ0ND0wDQojNDQ1PTANCg0KIzE9MA0KIzI9NDAwDQojNDk1PTAuMDAyDQojMjUwPTENCiMyNTM9MA0KIzQ5OT04ODg4ODgNCg0KJiYNCg==)

As of now, I didn't have a whole lot of time to work on it, so only the output and input stages are working right now (the serializer and deserializer to the format that the Chinese used).
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on December 05, 2016, 07:00:36 AM
A quick note to hopefully ensure nobody else has to go through the day long debug that I endured yesterday:

Ensure that comments within brackets do not contain additional sets of brackets....in my case my code generator adds the name of the original CAD file to the header in a set of comments - for various reasons I had ended up with a copy of the original file so the filename was in the form " CadFile (1).dxf" which was faithfully copied into the gcode.

The DDCSV didn't throw any errors but briefly flashed 'busy' and then 'ready' without having done anything. Presumably it saw the rest of the code as a mega-comment - or just to be ignored.....whatever it well confused me especially since my short test program worked perfectly....

So - no brackets within brackets is my rule.

BR
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on December 05, 2016, 07:07:28 AM
Which G-code generator are you using?
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on December 05, 2016, 07:44:35 AM
Hi Benedikt, tried the file , and yes it does work .
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on December 05, 2016, 08:14:47 AM
Which G-code generator are you using?

CamBam
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on December 05, 2016, 08:27:09 AM
Which G-code generator are you using?

CamBam
I haven't try it, but maybe it worth give it a try for small 2.5D works
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 05, 2016, 07:21:18 PM
So while I was at it I also built a parser for the language configuration.
Now all that is left to do is build a small HTML based UI.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 09, 2016, 01:52:48 PM
I have made some more progress with the web based configuration interface:
http://bmuessig.eu/tools/pandora-configurator/

Just text fields yet, also no fancy utilities or type checking just yet either.
However, this site is automatically generated from the eng file: http://bmuessig.eu/tools/pandora-configurator/lang_eng

I am planning to make it automatically prepare drop downs for some of the settings and numeric fields for the rest.

EDIT:
I guess it works now. Most stuff just works right now but now all the features need to be added (such as importing files - just the UI part, the PHP for parsing is done; converting between values or a bit better error checking and most importantly the design) :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 10, 2016, 09:37:01 AM
I have found a little more time this weekend to work on the CNC some more. Now you can provide a custom base file that you want to configure.
This can be your custom file that you created with the tool earlier. Remember, as of right now, you will have to host it somewhere on the internet to make it work.
However, this will change at some point and you will then be able to upload files regularily.

The syntax is as follows:
http://bmuessig.eu/tools/pandora-configurator/?base_config=http://pastebin.com/raw/z61cFJkj

Just put any URL that links to the raw file after the base_config=
And DON'T use pastebin. It does work but sometimes, when you are refreshing the page, it rate limit's you and prevents my server from getting the file.
If the file was successfully read, the headline above the table will say "Custom Base Configuration".

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on December 10, 2016, 09:52:08 AM
Thank you Benedikt for your great work!!! :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 10, 2016, 10:05:13 AM
Thank you Benedikt for your great work!!! :beer:
You're welcome  :beer:

So seems like adding uploading capabilities is easier than thought. It is now possible to upload files directly additionally to using the URL approach  :headbang:

The tool is also available via HTTPS: https://bmuessig.eu/tools/pandora-configurator/

EDIT:
Now for the duration of your browser session, the created file is preserved and can be edited again. You can also upload files and now download them with one click (no more copy and paste).
It is now also possible to pass the URL in this way (the old way does not work anymore):
  https://bmuessig.eu/tools/pandora-configurator/?config_source=url&config_url=http://pastebin.com/raw/z61cFJkj
Or pass base64 encoded data in this way:
  https://bmuessig.eu/tools/pandora-configurator/?config_source=base64&config_data=my_long_base64_string
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on December 18, 2016, 06:28:46 AM
Just a head's up, I found that placing "()" in a filename   protects it from being erased by the file manager "Mode" key, I.E the file delete, not had the balls to try it on the linuxrc file yet, but it works on other files, ps you can also put stuff in between the parenthesis, with no ill effects so far.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 20, 2016, 04:09:04 PM
Recently I have been working on a new display driver for the CNC that would allow my modded firmware to communicate with the user. It is making progress and I am soon going to try it on the controller. I'll keep you updated :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on December 20, 2016, 05:16:40 PM
Recently I have been working on a new display driver for the CNC that would allow my modded firmware to communicate with the user. It is making progress and I am soon going to try it on the controller. I'll keep you updated :)
That's sounds like a Christmas gift!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 20, 2016, 07:37:13 PM
Recently I have been working on a new display driver for the CNC that would allow my modded firmware to communicate with the user. It is making progress and I am soon going to try it on the controller. I'll keep you updated :)
That's sounds like a Christmas gift!
Hopefully, I will finish it in time  :scratch:
The current problem is, that the screen is mapped in a strange way. Every second pixel is simply skipped. I have absolutely no clue why.
My program works fine, but something with the framebuffer or it's configuration is wrong.

If somebody want's to try it out anyways, just extract the attached zip file onto a USB disk and power-cycle the CNC with the stick in.
To revert back to normal operation, just remove the USB and power-cycle.
Also note that you need to run the mod firmware (can be identified by the "Powered by MadModder" splash screen) to try this out.

But hey, after all, it is sort of working and actually compiling :beer:
(http://i.imgur.com/8W5eeDX.png)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on December 21, 2016, 03:02:55 AM
Recently I have been working on a new display driver for the CNC that would allow my modded firmware to communicate with the user. It is making progress and I am soon going to try it on the controller. I'll keep you updated :)
That's sounds like a Christmas gift!
Hopefully, I will finish it in time  :scratch:
The current problem is, that the screen is mapped in a strange way. Every second pixel is simply skipped. I have absolutely no clue why.
My program works fine, but something with the framebuffer or it's configuration is wrong.

If somebody want's to try it out anyways, just extract the attached zip file onto a USB disk and power-cycle the CNC with the stick in.
To revert back to normal operation, just remove the USB and power-cycle.
Also note that you need to run the mod firmware (can be identified by the "Powered by MadModder" splash screen) to try this out.

But hey, after all, it is sort of working and actually compiling :beer:
(http://i.imgur.com/8W5eeDX.png)
I am abroad for a few days now, but as soon as I am back I will try it for sure, in the meantime, a happy Christmas to all the community, and thanks Benedikt for your huge effort!
Best regards.


Inviato dal mio iPad utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 22, 2016, 02:57:54 PM
Recently I have been working on a new display driver for the CNC that would allow my modded firmware to communicate with the user. It is making progress and I am soon going to try it on the controller. I'll keep you updated :)
That's sounds like a Christmas gift!
Hopefully, I will finish it in time  :scratch:
The current problem is, that the screen is mapped in a strange way. Every second pixel is simply skipped. I have absolutely no clue why.
My program works fine, but something with the framebuffer or it's configuration is wrong.

If somebody want's to try it out anyways, just extract the attached zip file onto a USB disk and power-cycle the CNC with the stick in.
To revert back to normal operation, just remove the USB and power-cycle.
Also note that you need to run the mod firmware (can be identified by the "Powered by MadModder" splash screen) to try this out.

But hey, after all, it is sort of working and actually compiling :beer:
(http://i.imgur.com/8W5eeDX.png)
I am abroad for a few days now, but as soon as I am back I will try it for sure, in the meantime, a happy Christmas to all the community, and thanks Benedikt for your huge effort!
Best regards.
Thanks, and happy holidays to all of you  :mmr:
As my final gift this year, here's a video and the source code of the video driver:

https://github.com/bmuessig/pdfbtext (https://github.com/bmuessig/pdfbtext)
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on December 23, 2016, 03:00:45 AM
 :beer:...Same to you Benedikt, and thank you for all your work :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Sir Quickly on December 31, 2016, 06:44:16 PM
Hi Guys,
i am a new Member (39 Years old) and very interested on this 4 Axis Controller,
because it is a very nice, cheap and compact Solution....

But for example, i have no Idea how to handle the Toolchange along with the TLS.
TLS should be on a fixed Position.

Does this Controller support the M06 Code for Toolchange?

Happy new Jear!!!  :clap:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 01, 2017, 03:08:48 AM
Hi Guys,
i am a new Member (39 Years old) and very interested on this 4 Axis Controller,
because it is a very nice, cheap and compact Solution....

But for example, i have no Idea how to handle the Toolchange along with the TLS.
TLS should be on a fixed Position.

Does this Controller support the M06 Code for Toolchange?

Happy new Jear!!!  :clap:
Hi, and welcome to the forum,
The M06 command is not supported by the controller, but Benedikt is on it and maybe soon or later we will implement this feature.
I would recommend you to use the tool Zero only above the working plane if you are using a probe  instead of a fixed position for now.
Never the less, the controller is very good for the price and is working great for me.
Happy new year to all :beer: :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Sir Quickly on January 05, 2017, 04:01:19 PM
Quote
The M06 command is not supported by the controller, but Benedikt is on it and maybe soon or later we will implement this feature.

That would be very cool !  For this price the thing is unbeatable  :thumbup:
I will buy a controller and upgrade it if M06 is available.

Quote
I would recommend you to use the tool Zero only above the working plane if you are using a probe  instead of a fixed position for now.

Thank you fir this tip!
 
I am still working on my milling mechanics. When it is finished, there is perhaps the M06 upgrade.
Until then I still have some time.....

Greeting, Tom
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on January 10, 2017, 08:09:21 PM
So I've been following this gem and its a toss up between a Pathpilot hack (linuxcnc) or this to replace Mach3 on a small 3 axis mill. I'm not a Linux guy in any way so i would be cutting my teeth on linux and linuxcnc let alone the pathpilot hack. So i think this DDCS is an awesome option I was also looking at the 4-4-XXXX the 50khz one. So my question is when the Gcode comes to a tool change what happens? In order to do a tool change you must just make separate gcodes ( not sure how to do this with rest option machining) and just keep X and Y g54 and zero Z? Thanks for any info.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on January 12, 2017, 06:10:19 AM
I am not yet ready for full g-code etc. I have 2 axes (X&Y) under control from my pendant and also some very simple g-code (like 15 lines of so: Move to here, travel in x, travel in -x, pause, do some more simple moves) from the DDCSV1 and the usb card.

All good so far.

Am learning Fusion 360 at moment, 4 weeks in and have just about sussed the parametric modelling part.

When it come to g-code and the drivers and the mills then there is a lot to learn.

I assume a converted Sieg is not going to easily handle multi-tool g-code files what with tool libraries and all.

Might be time to spin of a g-code basics thread explaining the various options etc to use with our widely different set-ups. Like 2 tools need two separate g-code files and 2 runs.

Maybe also a Fusion-360 thread as the Auto desks forums are huge and a lot goes unanswered. I am talking about F-360 basic questions from newbies!

Enjoy the New Year

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 12, 2017, 06:22:42 AM
So I've been following this gem and its a toss up between a Pathpilot hack (linuxcnc) or this to replace Mach3 on a small 3 axis mill. I'm not a Linux guy in any way so i would be cutting my teeth on linux and linuxcnc let alone the pathpilot hack. So i think this DDCS is an awesome option I was also looking at the 4-4-XXXX the 50khz one. So my question is when the Gcode comes to a tool change what happens? In order to do a tool change you must just make separate gcodes ( not sure how to do this with rest option machining) and just keep X and Y g54 and zero Z? Thanks for any info.
HI,
The controller do not support tool change, so the best thing to do is to generate separate path of the same job for different tools, or you can add some simple code to your G-code to stop the machine at some point, rise up the Z axis, change the tool, do the Tool Zero and start again, is very easy, or you can jog the axis and change the tool manually, the set the Z zero again as much as you like, the start again with the new G-code.
JUST REMEMBER, do not zero the X-Y axis when you change program keep the current coordinate system, just do the tool zero, all works like a charm for me.
Hope thai what i say is clear....
Any question just ask, we are here
Cheers :beer:
 
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on January 12, 2017, 01:35:28 PM
Hi again.

​I am almost ready :)

1.   I've changed my drivers to DM556D.
2.   I' made a box by my controller, for my controller. (laser cutting, 5W blue diode)
​3.   engraving by my controller​

​All stepper motors​ run well now. (Thanks Merlin)

(http://www.kephost.com/images/2017/01/12/IMG_1621.md.jpg) (http://www.kephost.com/image/vL5p)


But I have some problem still. G02/G03 g-code take mistake. The arc is inverse at some place.
I use Fusion360 for design and generate g-codes. Cps is Fanuc general.

(http://www.kephost.com/images/2017/01/12/IMG_1620a.md.jpg) (http://www.kephost.com/image/vL5T)

(http://www.kephost.com/images/2017/01/12/IMG_1617a.md.jpg) (http://www.kephost.com/image/vL5J)

By the way! Perhaps I forgot reset after previous file..  I don't know.

Have you any idea?  (thanks)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 12, 2017, 05:18:19 PM
Hi again.

​I am almost ready :)

1.   I've changed my drivers to DM556D.
2.   I' made a box by my controller, for my controller. (laser cutting, 5W blue diode)
​3.   engraving by my controller​

​All stepper motors​ run well now. (Thanks Merlin)

(http://www.kephost.com/images/2017/01/12/IMG_1621.md.jpg) (http://www.kephost.com/image/vL5p)


But I have some problem still. G02/G03 g-code take mistake. The arc is inverse at some place.
I use Fusion360 for design and generate g-codes. Cps is Fanuc general.

(http://www.kephost.com/images/2017/01/12/IMG_1620a.md.jpg) (http://www.kephost.com/image/vL5T)

(http://www.kephost.com/images/2017/01/12/IMG_1617a.md.jpg) (http://www.kephost.com/image/vL5J)

By the way! Perhaps I forgot reset after previous file..  I don't know.

Have you any idea?  (thanks)
Hi, I would suggest you to download and use " ESTLCAM" is very easy to use and it works great for me, set up the output code as " generic" and you are done, import your dxf path and in 1 minute you are ready to go! Just try it follow the basic instructions to setup the tools diameter, take a few minutes to understand how it works, I found it very useful, and my controller is working great.
Let us know how is going.....
Regards


Inviato dal mio iPad utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on January 13, 2017, 04:31:45 PM
Quote
...set up the output code as " generic" and...

-Have you though "default" ?

Truly excellent program. A lot of thanks. I've made some g-codes,  tomorrow I'm going to try.
I can't find  X, Y, Z, +/-  end values, but at least I know them. Or  this link could help:
https://nraynaud.github.io/webgcode/ (https://nraynaud.github.io/webgcode/)

Do you use G02/G03 without any problem?  I can see, they are switchable.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 14, 2017, 06:55:49 AM
Quote
...set up the output code as " generic" and...

-Have you though "default" ?

Truly excellent program. A lot of thanks. I've made some g-codes,  tomorrow I'm going to try.
I can't find  X, Y, Z, +/-  end values, but at least I know them. Or  this link could help:
https://nraynaud.github.io/webgcode/ (https://nraynaud.github.io/webgcode/)

Do you use G02/G03 without any problem?  I can see, they are switchable.
Yes i was mean "default" just try jour G-code as it is, you have the option for the milling direction by using Climb milling or Conventional milling, which will switch the G02/G03, but if you are using a Laser it doesen't make any difference i suppose? Is your Laser driven by PWM signal for the power?
How you control the power from engraving to cutting with this controller?
Regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on January 14, 2017, 08:49:54 AM
Wow!   Toolpath generated by Estlcam is right. I tried it with milling.

I tried laser drive by PWM, but rising rate of PWM is very long. Default value is 1111, I set 0, which one equivalent 1sec. Unusable. So I use M10/M11 to switching, power adjusted manually.

Furthermore, I tried to switch with A-Dir. This is unusable too, due to every Dir impulse are only 0.1 sec, always goes to LOW level. There is no continuous HI level.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on January 16, 2017, 09:33:05 AM
 What is the correct/best post processor to use for the g-code generation

Fusion 360 suggests:

"fanuc incremental.cps - generic FANUC (with G91)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 16, 2017, 09:37:44 AM
are you generating 3d path or just 2.5D?
as stated below, EstlCam is a good one for 2.5D path, personally i do not use Fusion as i already have VisiCam which is absolutely amazing for 3D path
Title: Re: DDCSV1.1 4 Axis controller
Post by: Chipist1 on January 16, 2017, 03:19:18 PM
"fanuc incremental.cps - generic FANUC (with G91)

A complete program with incremental programming is very very very hard to debug. I would avoid it like the plague. Use absolut programming (G90)
My 2 cents
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 17, 2017, 08:11:55 AM
"fanuc incremental.cps - generic FANUC (with G91)

A complete program with incremental programming is very very very hard to debug. I would avoid it like the plague. Use absolut programming (G90)
My 2 cents
I totally agree, always use Absolute, it refer always to the starting point, no mess!
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on January 17, 2017, 05:43:51 PM
hi all. I'm new member in this forum. I bought some days ago the controller ddcsv and i'm very happy for it. It seems very good for my little machine. I've one question if somebody can help me. Previuosly I'm used mach3 software and I wrote one script for the home function (I'm found the script on the web). I don't have experiance with g-code. I would like to transfer the same script of mach3 in order to use the same home function with new controller. the x,y axis must been the first and second axis to move till machine arrive to x,y sensors (once arrived the above coordinate must been x0.1 y0.1). now the machine must move to x0.25 and y41.51 and than the z axis has to move in order to found the z sensor (the reason is that my z sensor position is not in x0 y0 coordinates). here below the script:

DoButton( 22 )
DoButton( 23 )
While ismoving()
Wend
code"g1 x0.25 y41.51 f500"
DoButton( 24 )
While ismoving()
Wend
DoOEMButton(104)
DoButton( 25 )

DoOEMButton(133)
DoOEMButton(134)
DoOEMButton(135)

I'm sorry for my english and I hope I've explaned my problem. Somebody can help me? in any case many thanks at all and good work.
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on January 18, 2017, 11:52:45 AM
Hi guys
I'm sorry but I cannot reply in private msg (only read)...probably I'm still waiting for the approval of my account by administrator.
Merlin all confirmed thx..we have to found another way??
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 18, 2017, 11:59:02 AM
Ok Antonio, no worries, but you need to complete your profile, and add all the info, so i can contact you by email,
or you can email me directly, as my email is available
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on January 18, 2017, 12:09:36 PM
Thanks Merlyn all done but still not answer allowed
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on January 19, 2017, 11:19:54 AM
Ok so I used the non G91 generic fanuc script.

It looks a lot better but doesn't run on my DDCSV1.1

Text file attatched

Any one have any ideas.??

Thanks in advance

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 19, 2017, 11:21:44 AM
Which program are you using?
Can you post the dxf?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on January 19, 2017, 11:51:54 AM
Will, at a guess the controller doesn't like the Nxx line numbers for starters.   Heres a file of mine, compare how it is constructed.  You just need to rename it .ngc   It should run on your controller in simulation.



Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on January 19, 2017, 12:02:41 PM
Will, at a guess the controller doesn't like the Nxx line numbers for starters.   Heres a file of mine, compare how it is constructed.  You just need to rename it .ngc   It should run on your controller in simulation.
Joules, his file is full of unknown codes for the DDCSV, mine is working perfectly with the line numbers, is not that, i asked the DXF as to process it and re post again to see the difference..
My two cents :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on January 19, 2017, 03:01:43 PM

It looks a lot better but doesn't run on my DDCSV1.1


Will, you need  delete second line (O1002). After this codes will run, but my controller hate G02/G03.
See above my post.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc 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.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on January 20, 2017, 03:20:49 AM
This may help
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio 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
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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??

Title: Re: DDCSV1.1 4 Axis controller
Post by: gerritv 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.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on January 26, 2017, 10:26:01 AM
How can it move the steppers without the feed rate ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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!!
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on January 26, 2017, 11:25:42 AM
So just maybe the feed default also doesn't work like the tool offsets  :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: gerritv 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.
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf 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
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf 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.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on January 27, 2017, 03:54:59 AM
Thanks Phil, yes thought of this in the wee small hours !

Will try later!
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf 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.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Biggles 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:
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on February 01, 2017, 04:07:42 PM
G91.1 is INC IJK mode.... why do this v.s Absolute? just G90
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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
%
Title: Re: DDCSV1.1 4 Axis controller
Post by: David Jupp on February 02, 2017, 05:59:43 AM
Not all controllers recognise M30.  May or may not be part of your problem.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 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
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson 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: )
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D 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.

Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 02, 2017, 11:19:07 AM
Andrew, I also remember paper tape ! Punched cards were much better as you could put the chats in to correct typos.
Just don't drop them

Problem was when the chat fell out the card reader stopped.

Some days we used to load up a file of data from 10,000 or so cards!!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 02, 2017, 11:28:49 AM
Based on the great work done by others, attatched is a spread sheet of the parameters used by the controller, with my values and the defaults as best as I can find out

It will need renaming!
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on February 02, 2017, 11:39:02 AM
So is the M30 perhaps (rather oddly) cancelling any of the supposedly modal  G17 G21 G90 G40 G49 G80  :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on February 02, 2017, 05:53:50 PM
So is the M30 perhaps (rather oddly) cancelling any of the supposedly modal  G17 G21 G90 G40 G49 G80  :scratch:

Andrew,

Do modal commands carry over from one piece of code to a newly loaded piece of code?

Will,

I mostly use Vectric Cut2d to generate GCode and an initialising string of commands begins every file. Mach3, which I use on my mill, also adds it's own string most of which duplicate those from Cut2d.

It's not a big deal to include an initialisation string and feed rate to every file if it makes your controller work OK. I don't know if Estlcam can do this automatically.

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: DaveS on February 02, 2017, 06:11:04 PM
Will,

I know nothing about your controller but wearing my very faded Fanuc hat, is it possible you can insert a short dwell time between each linear move?
It may help to narrow things down.  Just a thought

Dave
Title: Re: DDCSV1.1 4 Axis controller
Post by: David Jupp on February 03, 2017, 02:29:42 AM


It's not a big deal to include an initialisation string and feed rate to every file if it makes your controller work OK. I don't know if Estlcam can do this automatically.

Phil.

Yes EstlCAM has a tab where you save your standard initialisation/start commands, and another for end of program commands.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on February 03, 2017, 03:20:31 AM
So is the M30 perhaps (rather oddly) cancelling any of the supposedly modal  G17 G21 G90 G40 G49 G80  :scratch:

Andrew,

Do modal commands carry over from one piece of code to a newly loaded piece of code?

Will,

I mostly use Vectric Cut2d to generate GCode and an initialising string of commands begins every file. Mach3, which I use on my mill, also adds it's own string most of which duplicate those from Cut2d.

It's not a big deal to include an initialisation string and feed rate to every file if it makes your controller work OK. I don't know if Estlcam can do this automatically.

Phil.

Phil, I imagine it's very much dependent on the controller, but iirc on the Heidenhain they do while in normal mode, but if you go into MDI then you have to re-enter them.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on February 03, 2017, 04:45:23 AM
Will,
Try reversing the X distances in the program that doesn't work - I see that you have homing set but I am not sure whether you have 'homed'.
Also - and I see a similar issue with mine - what are your MACH values showing?
If you are running the normal default G53 co-ords, the MACH values are shown in smaller text - but these are the ones that are used for keeping within the defined window - and you have software limits set.

So....try physically placing the tool to 0,0,0, then step through to MACH co-ords, do a 'zero all', step back to G53, do another 'zero all', then run your little programme.

I run X and Y to the table physical limits but Z is set by hand each time for a tool change and if I set it such that the MACH co-ords do not permit a retract then nothing moves...
And on that same note, I see that your Z safe height is set to zero which is IMO very unwise since this is usually the height of the top of the surface to machine - the default '5' is far safer.
Best of luck!
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 06, 2017, 10:42:32 AM
In case anyone might still need it, the configuration generator is completed now and will stay on my site for unlimited time.
If anyone would like to host it though, I can send over the PHP code.

http://bmuessig.eu/tools/pandora-configurator/

TLDR for all new owners of this controller:
You can use this website to configure all settings of the controller without having to dial them in on the controller itself.
Just fill in the settings, download the file to a USB stick and reboot the controller with the stick connected.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 06, 2017, 11:06:34 AM
Heyyyy
Benedikt, good to hear from you again,
Thank you for the great work, very apreciated as usual!!!!
 :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on February 08, 2017, 12:54:49 AM
Thanks so much for the configurator.... quick question since it does not support tool change , why does it have all the tool offset settings? i thought you make new code for each tool and just re zero the z... but if it has tool offsets can't i run multiple tools in one code so i can use rest machining?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 08, 2017, 07:59:02 AM
Not much progress as have been a bit unwell!

Hello Benedikt, good to hear from you again,
Thanks for the configuator.

So its obvious my controller is out of date [2016-05-11-73-NOR] as there is no mention of parameter #395 "Allow G53"
So what does this do?

Regards my problem with the code stopping I really suspect its the controller and or its software or parameters.
The code works on another controller and on g-code simulators

Who has the latest version?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 08, 2017, 08:04:40 AM
I will post the firmware I have in my controller, but you can download it from benedikt site, is up to date


Inviato dal mio iPad utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 08, 2017, 09:00:34 AM
Not much progress as have been a bit unwell!

Hello Benedikt, good to hear from you again,
Thanks for the configuator.

So its obvious my controller is out of date [2016-05-11-73-NOR] as there is no mention of parameter #395 "Allow G53"
So what does this do?

Regards my problem with the code stopping I really suspect its the controller and or its software or parameters.
The code works on another controller and on g-code simulators

Who has the latest version?
You can download the latest version from here: https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20161119.zip (https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20161119.zip)
To install it, just unzip it to a blank, FAT32 formatted stick and reboot the controller with the stick inserted. Now wait until the home screen is shown again. The controller might reboot once to finish the upgrade.
I will finish some things up and release a 2017 version soon, so stay tuned :)

Thanks so much for the configurator.... quick question since it does not support tool change , why does it have all the tool offset settings? i thought you make new code for each tool and just re zero the z... but if it has tool offsets can't i run multiple tools in one code so i can use rest machining?
I think it has a manual tool change. So it knows the offsets, but the tool has to be changed by oneself. It will probably just pause until the tool is changed.

Thanks for all the positive feedback so far :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 08, 2017, 09:05:56 AM
I agree about the manual tool change, but how to trigger the pause and tell him which tool we need?


Inviato dal mio iPad utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 08, 2017, 10:10:23 AM
You can download the latest version from here: https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20161119.zip (https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20161119.zip)
To install it, just unzip it to a blank, FAT32 formatted stick and reboot the controller with the stick inserted. Now wait until the home screen is shown again. The controller might reboot once to finish the upgrade.
I will finish some things up and release a 2017 version soon, so stay tuned :)

Well what can I say Benedikt?

 :ddb: :mmr:  :ddb:

Downloaded the code as you suggested and IT WORKS!!

I just need to tweak some parameters

Again many many thanks
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on February 08, 2017, 03:27:33 PM
I thought it can't process a M6 command to even do a pause for a manual tool change. I have a new code/program for each tool and just re-zero the Z axis keeping X/Y positions and run the new file. if it can pause and let me do a manual tool change in the same code using a M6 or T command, I can use rest machining options saving lots of time. I see there is an Enable M commands  in the configurator maybe this need to be turned on? I wonder if there is programming to use more M commands as sub-options to outputs not used.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ryan8 on February 08, 2017, 08:17:44 PM
Regards my problem with the code stopping I really suspect its the controller and or its software or parameters.
The code works on another controller and on g-code simulators

I've been having the same issue, and a google search led me to this thread.

In case others are having similar issues with the DDCSV1.1 controller stalling on gcodes, for me it appears to have been a configuration issue. It seems like the controller will stall if you enable backlash compensation for an axis without setting an offset value. I disabled backlash compensation for the time being and was able to run programs that used to stall successfully.

This may also explain why updating to newer firmware with default configuration settings fixed the issue for you.

I've been really happy with the controller so far, though if there's anything I'd change with the firmware I'd modify having to press the mode button to switch between incremental / continuous / MPG. It's a minor hassle and unnecessary, since the controller should be able to distinguish between single and long presses of the axis movement buttons, and the MPG should be enabled as long as the controller is idle.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 16, 2017, 02:34:22 PM
I have started preparing everything for our completely custom firmware. I am working on bringing Qt (https://www.qt.io/) to the DDCSV11 (Pandora).
Hopefully I can make it work  :scratch:

EDIT: Can't get it to work unfortunately.
However, I managed to compile DirectFB for the DDCSV1.1 (Pandora) :)
Quote
libdirect-1.7.so.6.0.0: ELF 32-bit LSB shared object, ARM, EABI5 version 1 (SYSV), dynamically linked, not stripped

Here's the file tree:
Code: [Select]
.
├── bin
│   ├── cjpeg
│   ├── dfbdump
│   ├── dfbdumpinput
│   ├── dfbfx
│   ├── dfbg
│   ├── dfbinfo
│   ├── dfbinput
│   ├── dfbinspector
│   ├── dfblayer
│   ├── dfbmaster
│   ├── dfbpenmount
│   ├── dfbplay
│   ├── dfbscreen
│   ├── dfbshow
│   ├── dfbswitch
│   ├── directfb-config
│   ├── djpeg
│   ├── fluxcomp
│   ├── freetype-config
│   ├── jpegtran
│   ├── libpng16-config
│   ├── libpng-config -> libpng16-config
│   ├── pngfix
│   ├── png-fix-itxt
│   ├── rdjpgcom
│   └── wrjpgcom
├── include
│   ├── ++dfb
│   │   ├── ++dfb.h
│   │   ├── ++dfb_mangle.h
│   │   ├── ++dfb_unmangle.h
│   │   ├── idirectfbdatabuffer.h
│   │   ├── idirectfbdisplaylayer.h
│   │   ├── idirectfbeventbuffer.h
│   │   ├── idirectfbfont.h
│   │   ├── idirectfb.h
│   │   ├── idirectfbimageprovider.h
│   │   ├── idirectfbinputdevice.h
│   │   ├── idirectfbpalette.h
│   │   ├── idirectfbscreen.h
│   │   ├── idirectfbsurface.h
│   │   ├── idirectfbvideoprovider.h
│   │   └── idirectfbwindow.h
│   ├── directfb
│   │   ├── dfb_types.h
│   │   ├── dfiff.h
│   │   ├── dgiff.h
│   │   ├── direct
│   │   │   ├── atomic.h
│   │   │   ├── build.h
│   │   │   ├── clock.h
│   │   │   ├── compiler.h
│   │   │   ├── conf.h
│   │   │   ├── debug.h
│   │   │   ├── direct.h
│   │   │   ├── fastlz.h
│   │   │   ├── fifo.h
│   │   │   ├── filesystem.h
│   │   │   ├── flz.h
│   │   │   ├── hash.h
│   │   │   ├── init.h
│   │   │   ├── interface.h
│   │   │   ├── interface_implementation.h
│   │   │   ├── list.h
│   │   │   ├── Lists.h
│   │   │   ├── LockWQ.h
│   │   │   ├── log_domain.h
│   │   │   ├── log.h
│   │   │   ├── Magic.h
│   │   │   ├── map.h
│   │   │   ├── memcpy.h
│   │   │   ├── mem.h
│   │   │   ├── messages.h
│   │   │   ├── modules.h
│   │   │   ├── Mutex.h
│   │   │   ├── os
│   │   │   │   ├── clock.h
│   │   │   │   ├── filesystem.h
│   │   │   │   ├── linux
│   │   │   │   │   └── glibc
│   │   │   │   │       ├── filesystem.h
│   │   │   │   │       ├── mutex.h
│   │   │   │   │       ├── thread.h
│   │   │   │   │       ├── types.h
│   │   │   │   │       └── waitqueue.h
│   │   │   │   ├── log.h
│   │   │   │   ├── mem.h
│   │   │   │   ├── mutex.h
│   │   │   │   ├── signals.h
│   │   │   │   ├── system.h
│   │   │   │   ├── thread.h
│   │   │   │   ├── types.h
│   │   │   │   └── waitqueue.h
│   │   │   ├── perf.h
│   │   │   ├── Performer.h
│   │   │   ├── print.h
│   │   │   ├── processor.h
│   │   │   ├── result.h
│   │   │   ├── serial.h
│   │   │   ├── signals.h
│   │   │   ├── stream.h
│   │   │   ├── String.h
│   │   │   ├── system.h
│   │   │   ├── thread.h
│   │   │   ├── TLSObject.h
│   │   │   ├── ToString.h
│   │   │   ├── trace.h
│   │   │   ├── tree.h
│   │   │   ├── types.h
│   │   │   ├── Types++.h
│   │   │   ├── utf8.h
│   │   │   ├── util.h
│   │   │   └── uuid.h
│   │   ├── directfb_build.h
│   │   ├── directfbgl2.h
│   │   ├── directfbgl.h
│   │   ├── directfb_graphics.h
│   │   ├── directfb.h
│   │   ├── directfb++.h
│   │   ├── directfb_keyboard.h
│   │   ├── directfb_keynames.h
│   │   ├── directfb_strings.h
│   │   ├── directfb_util.h
│   │   ├── directfb_version.h
│   │   ├── directfb_water.h
│   │   ├── directfb_water_strings.h
│   │   ├── directfb_windows.h
│   │   └── fusion
│   │       ├── arena.h
│   │       ├── build.h
│   │       ├── call.h
│   │       ├── conf.h
│   │       ├── Debug.h
│   │       ├── fusion.h
│   │       ├── fusion_internal.h
│   │       ├── hash.h
│   │       ├── init.h
│   │       ├── lock.h
│   │       ├── object.h
│   │       ├── property.h
│   │       ├── protocol.h
│   │       ├── reactor.h
│   │       ├── ref.h
│   │       ├── shm
│   │       │   ├── pool.h
│   │       │   ├── shm.h
│   │       │   └── shm_internal.h
│   │       ├── shmalloc.h
│   │       ├── types.h
│   │       └── vector.h
│   ├── directfb-internal
│   │   ├── core
│   │   │   ├── clipboard.h
│   │   │   ├── colorhash.h
│   │   │   ├── coredefs.h
│   │   │   ├── CoreDFB_CallMode.h
│   │   │   ├── CoreDFB.h
│   │   │   ├── CoreDFB_includes.h
│   │   │   ├── CoreGraphicsStateClient.h
│   │   │   ├── CoreGraphicsState.h
│   │   │   ├── CoreGraphicsState_includes.h
│   │   │   ├── core.h
│   │   │   ├── CoreInputDevice.h
│   │   │   ├── CoreInputDevice_includes.h
│   │   │   ├── CoreLayerContext.h
│   │   │   ├── CoreLayerContext_includes.h
│   │   │   ├── CoreLayer.h
│   │   │   ├── CoreLayer_includes.h
│   │   │   ├── CoreLayerRegion.h
│   │   │   ├── CoreLayerRegion_includes.h
│   │   │   ├── CorePalette.h
│   │   │   ├── CorePalette_includes.h
│   │   │   ├── core_parts.h
│   │   │   ├── CoreScreen.h
│   │   │   ├── CoreScreen_includes.h
│   │   │   ├── CoreSlave.h
│   │   │   ├── CoreSlave_includes.h
│   │   │   ├── core_strings.h
│   │   │   ├── CoreSurfaceClient.h
│   │   │   ├── CoreSurfaceClient_includes.h
│   │   │   ├── CoreSurface.h
│   │   │   ├── CoreSurface_includes.h
│   │   │   ├── core_system.h
│   │   │   ├── coretypes.h
│   │   │   ├── CoreWindow.h
│   │   │   ├── CoreWindow_includes.h
│   │   │   ├── CoreWindowStack.h
│   │   │   ├── CoreWindowStack_includes.h
│   │   │   ├── Debug.h
│   │   │   ├── DisplayTask.h
│   │   │   ├── Fifo.h
│   │   │   ├── fonts.h
│   │   │   ├── gfxcard.h
│   │   │   ├── graphics_driver.h
│   │   │   ├── graphics_state.h
│   │   │   ├── input_driver.h
│   │   │   ├── input.h
│   │   │   ├── input_hub.h
│   │   │   ├── Interface.h
│   │   │   ├── layer_context.h
│   │   │   ├── layer_control.h
│   │   │   ├── layer_region.h
│   │   │   ├── layers.h
│   │   │   ├── layers_internal.h
│   │   │   ├── PacketBuffer.h
│   │   │   ├── palette.h
│   │   │   ├── Renderer.h
│   │   │   ├── screen.h
│   │   │   ├── screens.h
│   │   │   ├── screens_internal.h
│   │   │   ├── state.h
│   │   │   ├── surface_allocation.h
│   │   │   ├── surface_buffer.h
│   │   │   ├── surface_client.h
│   │   │   ├── surface_core.h
│   │   │   ├── surface.h
│   │   │   ├── surface_pool_bridge.h
│   │   │   ├── surface_pool.h
│   │   │   ├── SurfaceTask.h
│   │   │   ├── system.h
│   │   │   ├── Task.h
│   │   │   ├── TaskManager.h
│   │   │   ├── TaskThreadsQ.h
│   │   │   ├── Util.h
│   │   │   ├── windows.h
│   │   │   ├── windows_internal.h
│   │   │   ├── windowstack.h
│   │   │   ├── wm.h
│   │   │   └── wm_module.h
│   │   ├── devmem
│   │   │   ├── devmem.h
│   │   │   └── surfacemanager.h
│   │   ├── display
│   │   │   ├── idirectfbdisplaylayer.h
│   │   │   ├── idirectfbpalette.h
│   │   │   ├── idirectfbscreen.h
│   │   │   ├── idirectfbsurface.h
│   │   │   ├── idirectfbsurface_layer.h
│   │   │   └── idirectfbsurface_window.h
│   │   ├── dummy
│   │   │   └── dummy.h
│   │   ├── fbdev
│   │   │   ├── agp.h
│   │   │   ├── fbdev.h
│   │   │   ├── fb.h
│   │   │   ├── surfacemanager.h
│   │   │   └── vt.h
│   │   ├── gfx
│   │   │   ├── clip.h
│   │   │   ├── convert.h
│   │   │   ├── generic
│   │   │   │   └── generic.h
│   │   │   └── util.h
│   │   ├── idirectfb.h
│   │   ├── init.h
│   │   ├── input
│   │   │   ├── idirectfbinputbuffer.h
│   │   │   └── idirectfbinputdevice.h
│   │   ├── media
│   │   │   ├── idirectfbdatabuffer_client.h
│   │   │   ├── idirectfbdatabuffer.h
│   │   │   ├── idirectfbfont.h
│   │   │   ├── idirectfbimageprovider_client.h
│   │   │   ├── idirectfbimageprovider.h
│   │   │   └── idirectfbvideoprovider.h
│   │   ├── misc
│   │   │   ├── conf.h
│   │   │   ├── gfx_util.h
│   │   │   └── util.h
│   │   └── windows
│   │       └── idirectfbwindow.h
│   ├── freetype2
│   │   ├── freetype
│   │   │   ├── config
│   │   │   │   ├── ftconfig.h
│   │   │   │   ├── ftheader.h
│   │   │   │   ├── ftmodule.h
│   │   │   │   ├── ftoption.h
│   │   │   │   └── ftstdlib.h
│   │   │   ├── freetype.h
│   │   │   ├── ftadvanc.h
│   │   │   ├── ftautoh.h
│   │   │   ├── ftbbox.h
│   │   │   ├── ftbdf.h
│   │   │   ├── ftbitmap.h
│   │   │   ├── ftbzip2.h
│   │   │   ├── ftcache.h
│   │   │   ├── ftcffdrv.h
│   │   │   ├── ftchapters.h
│   │   │   ├── ftcid.h
│   │   │   ├── fterrdef.h
│   │   │   ├── fterrors.h
│   │   │   ├── ftfntfmt.h
│   │   │   ├── ftgasp.h
│   │   │   ├── ftglyph.h
│   │   │   ├── ftgxval.h
│   │   │   ├── ftgzip.h
│   │   │   ├── ftimage.h
│   │   │   ├── ftincrem.h
│   │   │   ├── ftlcdfil.h
│   │   │   ├── ftlist.h
│   │   │   ├── ftlzw.h
│   │   │   ├── ftmac.h
│   │   │   ├── ftmm.h
│   │   │   ├── ftmodapi.h
│   │   │   ├── ftmoderr.h
│   │   │   ├── ftotval.h
│   │   │   ├── ftoutln.h
│   │   │   ├── ftpfr.h
│   │   │   ├── ftrender.h
│   │   │   ├── ftsizes.h
│   │   │   ├── ftsnames.h
│   │   │   ├── ftstroke.h
│   │   │   ├── ftsynth.h
│   │   │   ├── ftsystem.h
│   │   │   ├── fttrigon.h
│   │   │   ├── ftttdrv.h
│   │   │   ├── fttypes.h
│   │   │   ├── ftwinfnt.h
│   │   │   ├── t1tables.h
│   │   │   ├── ttnameid.h
│   │   │   ├── tttables.h
│   │   │   ├── tttags.h
│   │   │   └── ttunpat.h
│   │   └── ft2build.h
│   ├── jconfig.h
│   ├── jerror.h
│   ├── jmorecfg.h
│   ├── jpeglib.h
│   ├── libpng16
│   │   ├── pngconf.h
│   │   ├── png.h
│   │   └── pnglibconf.h
│   ├── pngconf.h -> libpng16/pngconf.h
│   ├── png.h -> libpng16/png.h
│   ├── pnglibconf.h -> libpng16/pnglibconf.h
│   ├── zconf.h
│   └── zlib.h
├── lib
│   ├── directfb-1.7-6
│   │   ├── gfxdrivers
│   │   │   ├── libdirectfb_ati128.la
│   │   │   └── libdirectfb_ati128.so
│   │   ├── inputdrivers
│   │   │   ├── libdirectfb_input_hub.la
│   │   │   ├── libdirectfb_input_hub.so
│   │   │   ├── libdirectfb_joystick.la
│   │   │   ├── libdirectfb_joystick.so
│   │   │   ├── libdirectfb_keyboard.a
│   │   │   ├── libdirectfb_keyboard.la
│   │   │   ├── libdirectfb_keyboard.o
│   │   │   ├── libdirectfb_keyboard.so
│   │   │   ├── libdirectfb_linux_input.a
│   │   │   ├── libdirectfb_linux_input.la
│   │   │   ├── libdirectfb_linux_input.o
│   │   │   ├── libdirectfb_linux_input.so
│   │   │   ├── libdirectfb_lirc.la
│   │   │   ├── libdirectfb_lirc.so
│   │   │   ├── libdirectfb_mutouch.la
│   │   │   ├── libdirectfb_mutouch.so
│   │   │   ├── libdirectfb_penmount.la
│   │   │   ├── libdirectfb_penmount.so
│   │   │   ├── libdirectfb_ps2mouse.a
│   │   │   ├── libdirectfb_ps2mouse.la
│   │   │   ├── libdirectfb_ps2mouse.o
│   │   │   ├── libdirectfb_ps2mouse.so
│   │   │   ├── libdirectfb_serialmouse.la
│   │   │   ├── libdirectfb_serialmouse.so
│   │   │   ├── libdirectfb_sonypi.la
│   │   │   ├── libdirectfb_sonypi.so
│   │   │   ├── libdirectfb_ucb1x00_ts.la
│   │   │   ├── libdirectfb_ucb1x00_ts.so
│   │   │   ├── libdirectfb_wm97xx_ts.la
│   │   │   ├── libdirectfb_wm97xx_ts.so
│   │   │   ├── libdirectfb_zytronic.la
│   │   │   └── libdirectfb_zytronic.so
│   │   ├── interfaces
│   │   │   ├── ICoreResourceManager
│   │   │   │   ├── libicoreresourcemanager_test.a
│   │   │   │   ├── libicoreresourcemanager_test.la
│   │   │   │   ├── libicoreresourcemanager_test.o
│   │   │   │   └── libicoreresourcemanager_test.so
│   │   │   ├── IDirectFBFont
│   │   │   │   ├── libidirectfbfont_dgiff.a
│   │   │   │   ├── libidirectfbfont_dgiff.la
│   │   │   │   ├── libidirectfbfont_dgiff.o
│   │   │   │   └── libidirectfbfont_dgiff.so
│   │   │   ├── IDirectFBImageProvider
│   │   │   │   ├── libidirectfbimageprovider_bmp.a
│   │   │   │   ├── libidirectfbimageprovider_bmp.la
│   │   │   │   ├── libidirectfbimageprovider_bmp.o
│   │   │   │   ├── libidirectfbimageprovider_bmp.so
│   │   │   │   ├── libidirectfbimageprovider_dfiff.a
│   │   │   │   ├── libidirectfbimageprovider_dfiff.la
│   │   │   │   ├── libidirectfbimageprovider_dfiff.o
│   │   │   │   ├── libidirectfbimageprovider_dfiff.so
│   │   │   │   ├── libidirectfbimageprovider_gif.a
│   │   │   │   ├── libidirectfbimageprovider_gif.la
│   │   │   │   ├── libidirectfbimageprovider_gif.o
│   │   │   │   ├── libidirectfbimageprovider_gif.so
│   │   │   │   ├── libidirectfbimageprovider_jpeg.a
│   │   │   │   ├── libidirectfbimageprovider_jpeg.la
│   │   │   │   ├── libidirectfbimageprovider_jpeg.o
│   │   │   │   ├── libidirectfbimageprovider_jpeg.so
│   │   │   │   ├── libidirectfbimageprovider_mpeg2.a
│   │   │   │   ├── libidirectfbimageprovider_mpeg2.la
│   │   │   │   ├── libidirectfbimageprovider_mpeg2.o
│   │   │   │   ├── libidirectfbimageprovider_mpeg2.so
│   │   │   │   ├── libidirectfbimageprovider_pnm.a
│   │   │   │   ├── libidirectfbimageprovider_pnm.la
│   │   │   │   ├── libidirectfbimageprovider_pnm.o
│   │   │   │   └── libidirectfbimageprovider_pnm.so
│   │   │   ├── IDirectFBVideoProvider
│   │   │   │   ├── libidirectfbvideoprovider_gif.a
│   │   │   │   ├── libidirectfbvideoprovider_gif.la
│   │   │   │   ├── libidirectfbvideoprovider_gif.o
│   │   │   │   ├── libidirectfbvideoprovider_gif.so
│   │   │   │   ├── libidirectfbvideoprovider_v4l.la
│   │   │   │   └── libidirectfbvideoprovider_v4l.so
│   │   │   ├── IDirectFBWindows
│   │   │   │   ├── libidirectfbwindows_default.a
│   │   │   │   ├── libidirectfbwindows_default.la
│   │   │   │   ├── libidirectfbwindows_default.o
│   │   │   │   └── libidirectfbwindows_default.so
│   │   │   └── IWater
│   │   │       ├── libiwater_default.a
│   │   │       ├── libiwater_default.la
│   │   │       ├── libiwater_default.o
│   │   │       └── libiwater_default.so
│   │   ├── systems
│   │   │   ├── libdirectfb_devmem.a
│   │   │   ├── libdirectfb_devmem.la
│   │   │   ├── libdirectfb_devmem.o
│   │   │   ├── libdirectfb_devmem.so
│   │   │   ├── libdirectfb_dummy.a
│   │   │   ├── libdirectfb_dummy.la
│   │   │   ├── libdirectfb_dummy.o
│   │   │   ├── libdirectfb_dummy.so
│   │   │   ├── libdirectfb_fbdev.a
│   │   │   ├── libdirectfb_fbdev.la
│   │   │   ├── libdirectfb_fbdev.o
│   │   │   └── libdirectfb_fbdev.so
│   │   └── wm
│   │       ├── libdirectfbwm_default.a
│   │       ├── libdirectfbwm_default.la
│   │       ├── libdirectfbwm_default.o
│   │       └── libdirectfbwm_default.so
│   ├── lib++dfb-1.7.so.6 -> lib++dfb-1.7.so.6.0.0
│   ├── lib++dfb-1.7.so.6.0.0
│   ├── lib++dfb.a
│   ├── lib++dfb.la
│   ├── lib++dfb.so -> lib++dfb-1.7.so.6.0.0
│   ├── libdirect-1.7.so.6 -> libdirect-1.7.so.6.0.0
│   ├── libdirect-1.7.so.6.0.0
│   ├── libdirect.a
│   ├── libdirectfb-1.7.so.6 -> libdirectfb-1.7.so.6.0.0
│   ├── libdirectfb-1.7.so.6.0.0
│   ├── libdirectfb.a
│   ├── libdirectfb.la
│   ├── libdirectfb.so -> libdirectfb-1.7.so.6.0.0
│   ├── libdirect.la
│   ├── libdirect.so -> libdirect-1.7.so.6.0.0
│   ├── libfreetype.a
│   ├── libfreetype.la
│   ├── libfreetype.so -> libfreetype.so.6.13.0
│   ├── libfreetype.so.6 -> libfreetype.so.6.13.0
│   ├── libfreetype.so.6.13.0
│   ├── libfusion-1.7.so.6 -> libfusion-1.7.so.6.0.0
│   ├── libfusion-1.7.so.6.0.0
│   ├── libfusion.a
│   ├── libfusion.la
│   ├── libfusion.so -> libfusion-1.7.so.6.0.0
│   ├── libjpeg.a
│   ├── libjpeg.la
│   ├── libjpeg.so -> libjpeg.so.9.2.0
│   ├── libjpeg.so.9 -> libjpeg.so.9.2.0
│   ├── libjpeg.so.9.2.0
│   ├── libpng16.a
│   ├── libpng16.la
│   ├── libpng16.so -> libpng16.so.16.28.0
│   ├── libpng16.so.16 -> libpng16.so.16.28.0
│   ├── libpng16.so.16.28.0
│   ├── libpng.a -> libpng16.a
│   ├── libpng.la -> libpng16.la
│   ├── libpng.so -> libpng16.so
│   ├── libz.a
│   └── pkgconfig
│       ├── ++dfb.pc
│       ├── directfb-internal.pc
│       ├── directfb.pc
│       ├── direct.pc
│       ├── freetype2.pc
│       ├── fusion.pc
│       ├── libpng16.pc
│       ├── libpng.pc -> libpng16.pc
│       └── zlib.pc
└── share
    ├── aclocal
    │   └── freetype2.m4
    ├── directfb-1.7.6
    │   ├── cursor.dat
    │   ├── cursor.png
    │   ├── decker.dgiff
    │   └── decker.ttf
    └── man
        ├── man1
        │   ├── cjpeg.1
        │   ├── dfbg.1
        │   ├── djpeg.1
        │   ├── freetype-config.1
        │   ├── jpegtran.1
        │   ├── rdjpgcom.1
        │   └── wrjpgcom.1
        ├── man3
        │   ├── libpng.3
        │   ├── libpngpf.3
        │   └── zlib.3
        └── man5
            ├── directfbrc.5
            └── png.5

47 directories, 474 files

The code for the Makefile can be found here:
https://gist.github.com/bmuessig/10d105c6b1bd59b0f5401b9b606f8a1d
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 17, 2017, 07:22:22 PM
I have really great news today:
SDL is finally running on the CNC controller!!!
This is probably the biggest breakthrough so far.  :beer:
From here on we could cannibalise LinuxCNC, grbl, etc. and use its code for the GCode and path routines.
I will still have to reverse engineer the motion driver and the keyboard, but be assured we can do that!

Here's a nice photo of running SDL:
(http://data.bmuessig.eu/CNC/DDCSV11/Images/WP_20170218_breakthrough_small.jpg)
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 18, 2017, 06:11:57 AM
Great work Benedikt, much appreciated, NURBS here we come  :D
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 18, 2017, 07:16:00 AM
I have really great news today:
SDL is finally running on the CNC controller!!!
This is probably the biggest breakthrough so far.  :beer:
From here on we could cannibalise LinuxCNC, grbl, etc. and use its code for the GCode and path routines.
I will still have to reverse engineer the motion driver and the keyboard, but be assured we can do that!

Here's a nice photo of running SDL:
FANTASTIC Job Benedikt, you are the hero of this topic :D :beer: :bow:
(http://data.bmuessig.eu/CNC/DDCSV11/Images/WP_20170218_breakthrough_small.jpg)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 18, 2017, 10:46:21 AM
Thanks for the kind words  :beer:

@Merlin201314:
Would you mind sketching out a possible UI?
We are not using an UI framework so I am drawing on a virtual bitmap buffer. You could just use any graphics program and sketch an UI if you find time.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 18, 2017, 11:39:49 AM
I will do that willingly Benedikt,  but i need some imput from you...
should we keep the layout as it is and make it better? or should we draw a complete new one?
Any suggestion is very helpful for a good start
Best regards

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 18, 2017, 11:42:00 AM
I will do that willingly Benedikt,  but i need some imput from you...
should we keep the layout as it is and make it better? or should we draw a complete new one?
Any suggestion is very helpful for a good start
Best regards
I think we should change it a bit. I don't like the Home screen to be honest. It could be simplified. Some things should be moved to actual sub menus. Especially homing and these related functions.
We could keep the tabbed layout if you think that would help. As long as it is well usable and intuitive with the available buttons, everything works really ;)

EDIT: I have more great news:
PNG, BMP and TTF font support is now completely working:

(http://data.bmuessig.eu/CNC/DDCSV11/Images/WP_20170218_text_and_png.jpg)


Here, I would like to get some help.
I am really not that great at understanding and reverse-engineering ARM assembly. Could somebody have a look at following files:
https://www.onlinedisassembler.com/odaweb/H7yyMp7I/0 (download here: http://data.bmuessig.eu/CNC/DDCSV11/Dumps/Files/motion.out (http://data.bmuessig.eu/CNC/DDCSV11/Dumps/Files/motion.out))
https://www.onlinedisassembler.com/odaweb/sy9GUrVy/0 (download here: http://data.bmuessig.eu/CNC/DDCSV11/Dumps/Files/motiondev.ko (http://data.bmuessig.eu/CNC/DDCSV11/Dumps/Files/motiondev.ko))
Otherwise, I will have to properly learn ARM assembly, which is absolutely fine, but it will take me several months to reverse-engineer these files to get basic CNC functionality working.
This is fine, but some help would greatly speed this all up.

We need to get basic CNC-Functionality working. Especially important is the keypad, followed by the stepper outputs, the spindle and coolant control and finally the beeper.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on February 18, 2017, 01:22:28 PM
http://www.usinages.com/threads/essai-de-mon-changeur-outil-proto.94584/page-2
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on February 18, 2017, 02:43:43 PM
Hi UGV,

Welcome to MadModder.

Do you have a drawing of how the tools are retained for your ATC? I am interested in doing something similar for an ER32 spindle.

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 18, 2017, 02:47:28 PM
Nice work, ugv!  :thumbup:

I have just traced out the wiring of the keypad matrix of the controller:
(http://data.bmuessig.eu/CNC/DDCSV11/Images/DDCSV11_Keypad.jpg)

If you need a graphic of the controller front for any reason, I have made the following one:
http://data.bmuessig.eu/CNC/DDCSV11/Images/DDCSV11.jpg
You can use it for anything you want, I release the above image into the public domain, however, credit is always appreciated.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on February 18, 2017, 02:48:03 PM
Hi UGV welcome. Would you like to post an introduction in the Introductions section:

http://madmodder.net/index.php/board,3.0.html

Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on February 18, 2017, 03:00:20 PM
http://madmodder.net/index.php/topic,11953.0.html
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on February 18, 2017, 03:04:33 PM
Hi UGV,

Welcome to MadModder.

Do you have a drawing of how the tools are retained for your ATC? I am interested in doing something similar for an ER32 spindle.

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on February 18, 2017, 04:27:06 PM
Thanks UGV,

What diameter balls are you using and what is the force exerted by the spring?

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 18, 2017, 04:42:53 PM
I have just discovered the root of all evil.
(http://i.imgur.com/FgV8CUD.jpg)
Doesn't that tab control look suspiciously similar...

Our nice controller is based off this reference design:
http://nuvoton.mcuzone.com/N32905.html (http://nuvoton.mcuzone.com/N32905.html)
This can actually be bought from AliExpress. However, I am currently not able to spend ~80€ on one of these (30€ shipping to Germany).
They include the holy grail, the DVD with source code to a lot of things we don't have yet.  :bow:
Unfortunately not to the CNC functions, but to all OS functions, but I am starting to grasp how the CNC functions work.
Having this kit would also enable us to modify the boot screen. We could also use a more modern user interface such as Qt Embedded and we could finally upgrade the system.
https://www.aliexpress.com/item/N32905-NUVOTON-ARM926-core-based-Soc-with-on-chip-32MB-DDR-MDK905-EK-T43-USB-LCDC/1808063633.html (https://www.aliexpress.com/item/N32905-NUVOTON-ARM926-core-based-Soc-with-on-chip-32MB-DDR-MDK905-EK-T43-USB-LCDC/1808063633.html)
Seems like the Chinese like to copy from each other. The above package is probably what they used initially for developing our beloved CNC controller.
The above MCUZone site shows well what the technical specifications of the processor are.

I'll keep you all updated.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 18, 2017, 05:47:56 PM
I have just discovered the root of all evil.
(http://i.imgur.com/FgV8CUD.jpg)
Doesn't that tab control look suspiciously similar...

Our nice controller is based off this reference design:
http://nuvoton.mcuzone.com/N32905.html (http://nuvoton.mcuzone.com/N32905.html)
This can actually be bought from AliExpress. However, I am currently not able to spend ~80€ on one of these (30€ shipping to Germany).
They include the holy grail, the DVD with source code to a lot of things we don't have yet.  :bow:
Unfortunately not to the CNC functions, but to all OS functions, but I am starting to grasp how the CNC functions work.
Having this kit would also enable us to modify the boot screen. We could also use a more modern user interface such as Qt Embedded and we could finally upgrade the system.
https://www.aliexpress.com/item/N32905-NUVOTON-ARM926-core-based-Soc-with-on-chip-32MB-DDR-MDK905-EK-T43-USB-LCDC/1808063633.html (https://www.aliexpress.com/item/N32905-NUVOTON-ARM926-core-based-Soc-with-on-chip-32MB-DDR-MDK905-EK-T43-USB-LCDC/1808063633.html)
Seems like the Chinese like to copy from each other. The above package is probably what they used initially for developing our beloved CNC controller.
The above MCUZone site shows well what the technical specifications of the processor are.

I'll keep you all updated.
i will buy it immediately Benedikt if this can help!!!!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 18, 2017, 05:55:20 PM
I have just discovered the root of all evil.
(http://i.imgur.com/FgV8CUD.jpg)
Doesn't that tab control look suspiciously similar...

Our nice controller is based off this reference design:
http://nuvoton.mcuzone.com/N32905.html (http://nuvoton.mcuzone.com/N32905.html)
This can actually be bought from AliExpress. However, I am currently not able to spend ~80€ on one of these (30€ shipping to Germany).
They include the holy grail, the DVD with source code to a lot of things we don't have yet.  :bow:
Unfortunately not to the CNC functions, but to all OS functions, but I am starting to grasp how the CNC functions work.
Having this kit would also enable us to modify the boot screen. We could also use a more modern user interface such as Qt Embedded and we could finally upgrade the system.
https://www.aliexpress.com/item/N32905-NUVOTON-ARM926-core-based-Soc-with-on-chip-32MB-DDR-MDK905-EK-T43-USB-LCDC/1808063633.html (https://www.aliexpress.com/item/N32905-NUVOTON-ARM926-core-based-Soc-with-on-chip-32MB-DDR-MDK905-EK-T43-USB-LCDC/1808063633.html)
Seems like the Chinese like to copy from each other. The above package is probably what they used initially for developing our beloved CNC controller.
The above MCUZone site shows well what the technical specifications of the processor are.

I'll keep you all updated.
i will buy it immediately Benedikt if this can help!!!!
Hi Merlin!
Fortunately, this contains so many things I have been missing and can't get to work just yet. Like drivers for the keypad, drivers for SPI, I2C and all the communication interfaces it uses to connect to the motor controller chip (huge FPGA, no documentation at all). This kit also contains all the NDA proteted code it seems and a proper datasheet. It also contains the kernel and tools to reprogram our board with a different splashscreen and kernel.
So yes, the most useful thing we could do.

Thank you so much!  :beer:
But I can't accept this offer. It's too much I think.
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on February 19, 2017, 05:05:18 AM
 [/quote] i will buy it immediately Benedikt if this can help!!!! [/quote]

I can be of no help technical :smart:  but very willing to share the cost to help advance the project   :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 19, 2017, 05:11:30 AM
i will buy it immediately Benedikt if this can help!!!! [/quote]

I can be of no help technical :smart:  but very willing to share the cost to help advance the project   :thumbup:
[/quote]
Yeah, me too!!


Inviato dal mio iPad utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 19, 2017, 06:19:36 AM
As we are all taking the benefit from Benedikt's Great work, i could suggest that all of us we can collect the requested sum and send to him, so we all can moving forward with the project...
My 2 cents, lets see what's the thought of the other members...
 :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 19, 2017, 06:24:43 AM
Quote
As we are all taking the benefit from Benedikt's Great work, i could suggest that all of us we can collect the requested sum and send to him, so we all can moving forward with the project...
My 2 cents, lets see what's the thought of the other members...
:mmr:

That is really generous from you, johnsattuk and Merlin  :beer:
How about dividing the price up. I would be paying 40€ and anyone who likes to donate can donate maybe 15€/$.
I am really thankful for helping me out. That will help a lot to advance this project! :)
The least I can do is give you credit on a Thank You screen, as soon as we have a decent user interface built.
However I would still like to add, I can't guarantee that I can make it work. I am investing good parts of my spare time to keep this project going but I can't promise that I can make it work ultimately. There is still a good bit of work left.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 19, 2017, 09:02:45 AM
Quote
As we are all taking the benefit from Benedikt's Great work, i could suggest that all of us we can collect the requested sum and send to him, so we all can moving forward with the project...
My 2 cents, lets see what's the thought of the other members...
:mmr:

That is really generous from you, johnsattuk and Merlin 
How about dividing the price up. I would be paying 40€ and anyone who likes to donate can donate maybe 15€/$.
I am really thankful for helping me out. That will help a lot to advance this project! :)
The least I can do is give you credit on a Thank You screen, as soon as we have a decent user interface built.
However I would still like to add, I can't guarantee that I can make it work. I am investing good parts of my spare time to keep this project going but I can't promise that I can make it work ultimately. There is still a good bit of work left.
A project is a project,  can work or not,  no one know,  but it worth try,  otherwise we don't have any chance to do it,  so I am perfectly happy to give my contribution.....  In all case even just having our personalized splash screen will worth for me!

Sent by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 19, 2017, 09:45:46 AM
Benedikt has a paypal account and I think maybe this would be a good way to pay for that Dev tool, comments ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Merlin201314 on February 19, 2017, 09:51:46 AM
Benedikt has a paypal account and I think maybe this would be a good way to pay for that Dev tool, comments ?
I agree.... 

Sent by my tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on February 19, 2017, 09:57:07 AM
Benedikt has a paypal account and I think maybe this would be a good way to pay for that Dev tool, comments ?

Can you give his PayPal account,  I will send him a donation
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 19, 2017, 10:14:28 AM
the Paypal acct is this one annette.muessig@gmail.com, I haven't sent anything yet, but I intend to
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on February 19, 2017, 10:22:17 AM
Hello, in the DDcsv1, a very low beep sounds when the limit switch is activated, there would be some way to amplify that beep.
Greetings.
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on February 19, 2017, 10:29:38 AM
Can you give his PayPal account,  I will send him a donation, the Paypal acct is this one annette.muessig@gmail.com, I haven't sent anything yet, but I intend to' [/quote]

Thanks, have donated 40 euro.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 19, 2017, 11:00:23 AM
 :zap:

I just sent him the same amount 40 Euro
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on February 19, 2017, 11:05:10 AM
 :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 19, 2017, 12:31:36 PM
Hello!
I can't say it enough:
Thank you all so much!
This really helps a lot.  :thumbup: :mmr: :nrocks:
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 19, 2017, 12:35:30 PM
Hello, in the DDcsv1, a very low beep sounds when the limit switch is activated, there would be some way to amplify that beep.
Greetings.
mine still had the paper label stuck to the buzzer , you could check that first , and obviously peeling it off  :D
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on February 19, 2017, 12:37:39 PM
 :lol: :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on February 19, 2017, 12:52:37 PM
Thank you, unknown of the existence of the label. :doh:
Greetings.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on February 19, 2017, 04:35:15 PM
re bonjour est ce que quelqun pourrait m'aider , j'ai un deuxième controlleur ddcsv mais le 0-10v ne marche plus et le m3 ne marche plus aussi.savez vous quel composant faut il changer ? merci
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 19, 2017, 05:12:45 PM
re bonjour est ce que quelqun pourrait m'aider , j'ai un deuxième controlleur ddcsv mais le 0-10v ne marche plus et le m3 ne marche plus aussi.savez vous quel composant faut il changer ? merci
These ports are opto isolated. You could try changing the opto-isolators inside.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on February 20, 2017, 11:12:46 AM

Hi Merlin!
Fortunately, this contains so many things I have been missing and can't get to work just yet. Like drivers for the keypad, drivers for SPI, I2C and all the communication interfaces it uses to connect to the motor controller chip (huge FPGA, no documentation at all). This kit also contains all the NDA proteted code it seems and a proper datasheet. It also contains the kernel and tools to reprogram our board with a different splashscreen and kernel.
So yes, the most useful thing we could do.

Thank you so much!  :beer:
But I can't accept this offer. It's too much I think.

Benedikt,
Brilliant work, let me know if there is anything I can help or contribute with. Looking forward to being able to take this controller to the next step with the obvious missing elements such as toolchanging support.
As for the UI, I would suggest the following from a recent intensive use of the module:
Single button select for the most frequently used keys:
Apart from that, I wouldn't change much - IMO...

BR
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 20, 2017, 12:37:59 PM
Can't seem to locate any sort of config flash for the FPGA, could it possibly be located in the main flash device ? it has been a while since I played with FPGA's and never with Altera devices, but I still remember the development process, has anyone spotted anything  resembling a storage device, maybe even a serial device ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 20, 2017, 01:16:43 PM
Can't seem to locate any sort of config flash for the FPGA, could it possibly be located in the main flash device ? it has been a while since I played with FPGA's and never with Altera devices, but I still remember the development process, has anyone spotted anything  resembling a storage device, maybe even a serial device ?
Hello BrokenEye,
the configuration flash is U45 on the left of the FPGA and above the little debug connector.
It is an EPCS4N (https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/hb/cfg/cyc_c51014.pdf) 9613X.

Benedikt,
Brilliant work, let me know if there is anything I can help or contribute with. Looking forward to being able to take this controller to the next step with the obvious missing elements such as toolchanging support.
As for the UI, I would suggest the following from a recent intensive use of the module:
Single button select for the most frequently used keys:
  • setting Z to zero (I have a manual toolchange so require to do this every toolchange)
  • Goto zero, all axes
  • Select Machine Co-ords as part of a re-zero process
  • File select - default to the most recent file at the top
Apart from that, I wouldn't change much - IMO...

BR
Simon
Hello Simon,
thanks a lot for your donation!
You already helped so much. However I would be glad if someone helped me to create header files for the two original firmware files. I have posted links to them a few posts above (maybe one page back).
I am going for seperation between the UI and the controller backend. My idea was to use a deamon that listens on 127.0.0.1:some_port for the UI application and then processes the motor movements in the background.
Your UI concepts make sense. If no other member has anything to add, would I add them to the list of ideas and TODO items.

I have just ordered the MDK905 development kit and the DVD with the NDA documents and source code from China. Should be there in two weeks. :beer:

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on February 20, 2017, 06:19:33 PM
Some very clever work being done here but one thing worries me.

It seems for research by others that the original company, Wet Dream or whatever has ceased trading so the units we are buying could be end of line units and all this work could be lost without a continuation of new units.

Now I'm in no way a code kiddy or even close but it appears that we know it's Linux based and some of us can understand the way it is laid out so the next question?

Would this be better applied to a generic controller with a display screen added ? Something like the Raspberry Pi or the Beagle bone black to guarantee  progress ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 20, 2017, 06:49:06 PM
Some very clever work being done here but one thing worries me.

It seems for research by others that the original company, Wet Dream or whatever has ceased trading so the units we are buying could be end of line units and all this work could be lost without a continuation of new units.

Now I'm in no way a code kiddy or even close but it appears that we know it's Linux based and some of us can understand the way it is laid out so the next question?

Would this be better applied to a generic controller with a display screen added ? Something like the Raspberry Pi or the Beagle bone black to guarantee  progress ?
Hello John,
you are right, DigitalDream CNC has ceased trading and the website is now said by Google to conatain malicious content and is not hosting any CNC releated content anymore.
However, there are still hundreds of units on the market that will be sold eventually (at least many of them), so it will still be useful to them and to us obviously.
But yes, I am building the software entirely modular. The motor controlling will be a separate deamon program running on the controller in the background. The UI and the deamon will most likely talk over a local TCP port, but I am open to recommendations here. This all would allow us to use the UI on other platforms such as on a Raspberry Pi. Just the backend deamon would need a rewrite for every new platform.
Since I am using SDL, porting the code to other platforms will be very easy.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 21, 2017, 04:17:35 AM
- DDCSV1 is the 4 axis and 4 axes motion controller which has been researched and developed by Faster CNC for four years. The control period of each position is only 4 milliseconds, with a high control precision. The highest uniaxial output pulse is 500KHz and the pulse width can be adjusted. It supports the common stepper motor and servo motor.

I will do some more digging around for traces of the "Faster CNC" outfit
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on February 21, 2017, 02:11:57 PM
Rattmmotor still makes this controller and claim to have improved the hardware. I have been talking with the factory and claim they can customize the GUI/Screen. I believe they are just a OEM'er but they have contact with the real factory if they are not them.  There Wechat id is jian-dan-ai_7758258
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 21, 2017, 05:02:57 PM
- DDCSV1 is the 4 axis and 4 axes motion controller which has been researched and developed by Faster CNC for four years. The control period of each position is only 4 milliseconds, with a high control precision. The highest uniaxial output pulse is 500KHz and the pulse width can be adjusted. It supports the common stepper motor and servo motor.

I will do some more digging around for traces of the "Faster CNC" outfit
That's interesting! I have totally overseen that one.

Rattmmotor still makes this controller and claim to have improved the hardware. I have been talking with the factory and claim they can customize the GUI/Screen. I believe they are just a OEM'er but they have contact with the real factory if they are not them.  There Wechat id is jian-dan-ai_7758258
I doubt they would give us any header files for the motiondev.c or our main application motion.out. If they would that would save us so many problems. Actual source code would be the best of course. Would you mind dropping them a line, chriscnc?

I have started writing the new improved UI application.
Progress can be seen on GitHub: https://github.com/bmuessig/PandoraUI
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on February 21, 2017, 06:43:17 PM
Hey, Benedikt M.

You bet ive been talking with them already, i think they would be willing (if they can). Let me ask..
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 22, 2017, 03:18:02 AM
This may be of some use, all the function names and locations in the flash
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 22, 2017, 07:52:46 AM
That sounds great

I think i have found out how to upgrade the 3-axis to the 4-axis version.
The board contains an i2c flash chip. From the markings it might be http://pdf1.alldatasheet.com/datasheet-pdf/view/421658/FUJITSU/MB85RC16.html
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 22, 2017, 10:53:34 AM
That sounds great

I think i have found out how to upgrade the 3-axis to the 4-axis version.
The board contains an i2c flash chip. From the markings it might be http://pdf1.alldatasheet.com/datasheet-pdf/view/421658/FUJITSU/MB85RC16.html

U20  Benedikt ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 22, 2017, 12:12:55 PM
That sounds great

I think i have found out how to upgrade the 3-axis to the 4-axis version.
The board contains an i2c flash chip. From the markings it might be http://pdf1.alldatasheet.com/datasheet-pdf/view/421658/FUJITSU/MB85RC16.html

U20  Benedikt ?
Yes, I think that one could be a flash chip. I have not yet looked at the unlabeled DIP chip yet. However the firmware contains I2C EEPROM reading routines, so I am sure this is the way the model is determined. I am completely sure that not the Linux image/filesystem nor the application itself contain any model settings. I think the application is reading from an EEPROM to determine the available axis.

EDIT:
I have already added some essential functions to the UI such as rendering text and images. Also, I searched for the most readable font that was also free and permissive on dafont.com. It ended up being Bitstream Vera (http://www.dafont.com/bitstream-vera-sans.font).

(http://data.bmuessig.eu/CNC/DDCSV11/Images/WP_20170222_pdui_test.jpg)

I would be quite glad for some mock-ups of a new home screen.

Also, if somebody would be kind enough to test the demo application on their controller, I have attached a zip archive with the necessary files. My controller is far away from stock firmware at this point and I can't test if everything works on a controller that has not been tampered with as much as I did.
It needs to be unzipped to an FAT32 formatted USB stick. Then you need to boot the controller with the stick inserted.
However, to run this, the controller needs to run the patched firmware. This can be determined by a custom boot splash and the custom version number in the main menu.
If you still need to upgrade, just download this archive (https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20161119.zip), and unzip it to the uppermost directory of the same USB stick.
The controller will then on the next boot upgrade itself to the latest and improved version. It should on some subsequent reboot show the custom application demo for one boot cycle. To exit the demo, just unplug the USB and reboot (power cycle).

EDIT:
I can confirm the chip is the one I linked. The source code for the main application contains an FRAM I2C driver. Also I just noticed that I ordered the very last development board for our CNC. Now they seem to be sold out. We're lucky! :beer:

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on February 25, 2017, 10:47:57 PM
Hey check out the DDUM CNC card.... its Digital Dreams Mach 3 motion card using a Arm7 and FPGA,  Basically its the DDCSV.... I wonder if we can use its code?

http://www.ebay.com/itm/4-Axis-USB-Controller-Card-400KHz-CNC-MACH3-Breakout-Interface-Board-Win7-8-XP-/251448274439

Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on February 26, 2017, 03:19:18 AM
It does indeed look similar, but it looks like it uses  Cyclone 2 FPGA  instead of a Cyclone 3, the HDL may be different, but I located a manual for perusal.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on February 26, 2017, 03:41:18 PM
More digging looks like the company may be related to Novusun. Im contacting them to findout. Also how the heck did someone get the controller to do a M6 tool change in the video above?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 26, 2017, 04:28:30 PM
Interesting findings! I can't wait to see what you will find out!

The Development Kit is basically 30 mins from my doorstep now but it got caught up in customs  :doh:
The seller was a little to honest with the value of the item. Usually, I have heard, they sometimes tweak the value a little.
Hopefully, UPS will allow me to pay the customs locally or even on my doorstep.
Can't wait to hold that DVD in my hands  :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 01, 2017, 06:54:56 AM
Hello!

The development board just arrived and it is just great.
It does not come with the full datasheet of the processor, however, we get very extensive information on how to configure the bootloader and burn the board.
We can actually change the splash screen image and load a new kernel if we really wanted to.
I have also been provided with the flashing tools and a huge amount of development tools, a virtual machine with everything set up and all the kernel headers and modules I need.  :bow:

EDIT: I have just noticed the file I attached the last time was incomplete. Attached is a copy with all files present.
Also I have found out how to flash the DDCSV1.1 with a new image. This however might have killed my debug port inside my DDCSV1.1 (the USB part of it).
However I think I have completely found out how it would work. So the pins on the white debug connector that you need are:
UD+: Connect this to the green strand of a cut-off USB cable
UD-: Connect this to the white strand of that cable
GND: Connect this to the black strand of that cable
VBUS: Connect this to 3.3v of the same connector or the red strand of the cable (5v) (I am not entirely sure which of these is correct; 3.3v might work too)

Also bridge R91 (the two pins sticking out) with a jumper or cable.
If all that worked (and it did once for me until a cable slipped and fried the UD- pin :(), it should show up as a USB mass storage device (e.g. a USB hdd or USB stick) in your file manager after you turn it on.
At this point you can use nuvoTon Turbo Writer (if you happen to have a copy of it :thumbup:) to write a new boot kernel and splash screen image.
This did work fine with my development kit and I almost got it to work on my own controller. However any further research on kernels and splash screens will now be carried on on my development kit (same screen, same CPU, same RAM) and it should work the same on an actual controller.

Here are some pictures:
(http://data.bmuessig.eu/CNC/DDCSV11/Images/WP_20170302_usb_debug.jpg)
(http://data.bmuessig.eu/CNC/DDCSV11/Images/USB-Debug-DevMan.png)
(http://data.bmuessig.eu/CNC/DDCSV11/Images/USB-Debug.png)

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 05:52:45 PM
Hi Bendikt,
many thanks for your good job with this device.
I've a question... the pandora configuration utility working only with new firmware?
becoyse I have try to put the usb memory with file before to power on the controller but no change found on setting parameters once switched...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 03, 2017, 06:17:42 PM
Hi Bendikt,
many thanks for your good job with this device.
I've a question... the pandora configuration utility working only with new firmware?
becoyse I have try to put the usb memory with file before to power on the controller but no change found on setting parameters once switched...
Thanks!
I am so sorry. There was a bug in the configurator :(
The file needs to be named userVar.set not userVar.set-) and has to be placed in the main directory of a FAT formatted USB stick.
I have just addressed the issue and pushed an update to the configurator that has fixed the issue.
The upgrade for the controller can't do any harm. I would recommend it, but it should not be required. It really helps a lot to understand the different settings however.

Kind regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 06:21:55 PM
Many thanks for your kind reply.
I was sure about the bug and for this reason already changed the extension but no difference too...
I don't know way :doh:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 03, 2017, 06:28:21 PM
Many thanks for your kind reply.
I was sure about the bug and for this reason already changed the extension but no difference too...
I don't know way :doh:
Would you mind performing the upgrade? This will assure that you are running the latest version and makes me able to assist you better since I can play the scenario through on my machine.
The upgrade is easily done in about 5 minutes. You extract the following archive's contents to a FAT formatted USB stick and turn off the controller. Then you plug the USB in and turn the power on. The controller will then upgrade your firmware and will reboot a few times. When it shows the home screen again, you can remove the USB.
The upgrade can be downloaded from here: https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20161119.zip

Kind regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 06:35:01 PM
Yes benedikt
I'm doing right now...
I'm sorry but I don't have any experiance with linux so I don't understand nothing about firmware flash etc etc...
Due to I used my controller with two differente cnc machine I wonder to be able to implemet two different homing functions but I don't know how i can do...
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 06:37:31 PM
This is my job... the front panel


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 06:50:31 PM
Hey Benedikt
new firmware installed.
Now switch off, inserted the usb memory (new formatted with fat) with uservar.set and switch on the contoller.. no change in the setting.. I have to replace one by one manually...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 03, 2017, 07:06:15 PM
Hey Benedikt
new firmware installed.
Now switch off, inserted the usb memory (new formatted with fat) with uservar.set and switch on the contoller.. no change in the setting.. I have to replace one by one manually...
The update was successful? Does it show PLUS in the bottom right on the main screen?
Also, to apply the userVar.set (make sure the Var has a capital V), you need to toggle the power with stick inserted. Similar to the upgrade.
If this still does not work. I will have a look tomorrow if you don't mind.
Also it would help me if you could provide me your userVar.set file.
Btw, your panel looks amazing  :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 07:17:25 PM
Yes Benedikt
also I seen tht bug "-)" fixed on the pandor configurator...
the new firmware perfectly installed "plus" showed
So you are very clear and I understood what you meen.. controller switched off.. I insert the memory (previously copied the file userVar.set from my pc and of course firmware installation files cancelled) and after I switch on the power with memory inserted but no change on the parameter setting... sorry for my english
pls help!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 03, 2017, 07:24:55 PM
Yes Benedikt
also I seen tht bug "-)" fixed on the pandor configurator...
the new firmware perfectly installed "plus" showed
So you are very clear and I understood what you meen.. controller switched off.. I insert the memory (previously copied the file userVar.set from my pc and of course firmware installation files cancelled) and after I switch on the power with memory inserted but no change on the parameter setting... sorry for my english
pls help!
Would you mind e-mailing or PM'ing me your userVar.set file, so that I can have a look?
Thanks,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 07:26:07 PM
..and now I also copy the file into direct folder of controller... switch off and on... no change
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 03, 2017, 07:31:19 PM
..and now I also copy the file into direct folder of controller... switch off and on... no change
This is wiered since it seemed to work for other people. Please send the userVar.set to mail -- bmuessig.eu. Replacing the -- with an @.

EDIT:
Thanks, I have received the file. I will have a look.
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 07:36:19 PM
done by email... In any case ther is the file with extension txt in order to be attachable
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 07:50:10 PM
Bendikt probably becouse my controller is 4 axis insteed 3?
or probably becouse my firmware was the last version and the flash is different?
sorry for my suppositions if so stupids....
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 03, 2017, 08:25:28 PM
Bendikt probably becouse my controller is 4 axis insteed 3?
or probably becouse my firmware was the last version and the flash is different?
sorry for my suppositions if so stupids....
Uh, kill me.  :bang:
I gave you wrong instructions. It took me about 40 minutes to figure this out.
You are supposed to go into the File tab and select the userVar.set entry and press Enter.
That's it......
Tried it with your file and it works flawlessly...
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 03, 2017, 08:36:28 PM
Yeah!! Now is ok... sorry but i was sure that file had been heat hiselfs... without press enter... i'm stupid.
Have a good night Benedikt many thanks and tomorrow i will study for the homing sequency


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on March 04, 2017, 12:58:31 AM
I would be very interesting to compare the firmware of a 4 axis controller to that of the 3 axis version
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 04, 2017, 02:05:40 AM
Hi brokeneye.. can i do something for you? But note i ve already replace my original firmware with this of Benedikt.


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on March 04, 2017, 05:59:59 AM
 Thanks for the response Antonio, your controller still shows the 4 axes X,Y,Z,A ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 04, 2017, 06:04:11 AM
Yes brokeneye and seems still working. I don't have the 4th driver installed yet so i cannot try with motor.. but the dro running when button A pressed


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 04, 2017, 07:37:58 AM
I would be very interesting to compare the firmware of a 4 axis controller to that of the 3 axis version
Fortunately, I already did that. They are 100% the same.
Every file's checksum is the same so I researched further.
The application most likely checks a value in the FRAM chip I found and the adjusts the featureset accordingly.
I am however not doing any research into this territory since this is cutting into the profit margin of the sellers.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on March 04, 2017, 07:45:44 AM
I understand that Benedikt, and neither would I, I just wanted to see if that A axis could be twiddled to run Tangentially for a knife for cutting carbon fibre mat for instance, as a drag knife leaves rounded corners
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 04, 2017, 07:56:40 AM
I understand that Benedikt, and neither would I, I just wanted to see if that A axis could be twiddled to run Tangentially for a knife for cutting carbon fibre mat for instance, as a drag knife leaves rounded corners
I am absolutely sure that if you would theoretically read out the contents of a 4-axis FRAM chip, and you'd copy them to the chip of a 3-axis controller it would absolutely unlock the 4th axis.
So yes, you are right  :beer:

In that respect, I was thinking and I will probably make the part of my application, which is not yet written, which will check license, just available as an .o module.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 04, 2017, 09:32:21 AM
Hello again!

I have just finally finished the translation of the original firmware.
So the labels on https://bmuessig.eu/tools/pandora-configurator/ are now updated.

I have also just released the first firmware update for the DDCSV1.1 controller in 2017!
https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20170304.zip

:beer:

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on March 04, 2017, 12:28:43 PM
I came across this quite comprehensive description of the DDCSV1-4 on the Purlogic site (*) - no doubt you clever chaps already have the information, but just in case here is a link - it's too big to attach here:


http://purelogic.ru/files/downloads/doc/Controller/DDCSV1-4_eng_purelogic.pdf


(* they are the folks who made the Ethernet controlled Torch Height controller for my CNC Plasma Table - seems they are now using this controller in their offerings)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 04, 2017, 07:51:46 PM
Thanks, awemawson!

So, I have started designing the new UI:
(http://data.bmuessig.eu/CNC/DDCSV11/Images/WP_20170305_01_43_46_Pro_new_ui_small.jpg)
(http://data.bmuessig.eu/CNC/DDCSV11/Images/pdui_proposal.png)

I am open for any constructive criticism. However please don't ask for too big changes ;-)
If someone would however, present me a better UI design, feel free to leave an image.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on March 05, 2017, 12:44:17 AM
 :Looks good to me, great work  Benedikt  :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 05, 2017, 03:13:12 AM
WOW!!
god job Benedikt
somebody can tell me how can I change the home sequency?
I've tried with g28 but no move
 :doh:
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on March 05, 2017, 04:19:04 AM
I think the home sequence is fixed at X,Y,Z,A, Antonio, not sure if a Macro could be written to do that, I'm still digging around in the code, so I dont know,sorry.
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 05, 2017, 04:23:44 AM
Manu thanks BrokenEye
why my sequenze starting from z?
 :lol:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 05, 2017, 04:43:40 AM
Manu thanks BrokenEye
why my sequenze starting from z?
 :lol:
I recall reading it will back to a safe height before homing completely, but I may be corrected there.
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 05, 2017, 06:54:33 AM
I've found this on the slib.nc

(G28 X Y Z A)
O9028
#1=#451
#2=#452
#3=#453
#4=#454
IF #450LT0 GOTO1
#5=#488
#6=#489
#7=#490
#8=#491
GOTO2
N1 #5=#1+#488
#6=#2+#489
#7=#3+#490
#8=#4+#491
N2 G90G00X#5Y#6Z#7A#8
IF#455EQ0GOTO3
IF#455EQ1GOTO4
IF#455EQ2GOTO5
IF#455EQ3GOTO6
IF#455EQ4GOTO7
IF#455EQ5GOTO8
IF#455EQ6GOTO9
N3 #9=-#800
#10=-#801
#11=-#802
#12=-#803
GOTO10
N4 #9=-#800-#804
#10=-#801-#805
#11=-#802-#806
#12=-#803-#807
GOTO10
N5 #9=-#800-#808
#10=-#801-#809
#11=-#802-#810
#12=-#803-#811
GOTO10
N6 #9=-#800-#812
#10=-#801-#813
#11=-#802-#814
#12=-#803-#815
GOTO10
N7 #9=-#800-#816
#10=-#801-#817
#11=-#802-#818
#12=-#803-#819
GOTO10
N8 #9=-#800-#820
#10=-#801-#821
#11=-#802-#822
#12=-#803-#823
GOTO10
N9 #9=-#800-#824
#10=-#801-#825
#11=-#802-#826
#12=-#803-#827
N10 G90G00X#9Y#10Z#11A#12
M99

?? :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on March 05, 2017, 12:47:37 PM
Manu thanks BrokenEye
why my sequenze starting from z?
 :lol:

Common practice to take Z out of harms way first
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 05, 2017, 01:19:41 PM
I've found this on the slib.nc

(G28 X Y Z A)
O9028
#1=#451
#2=#452
#3=#453
#4=#454
IF #450LT0 GOTO1
#5=#488
#6=#489
#7=#490
#8=#491
GOTO2
N1 #5=#1+#488
#6=#2+#489
#7=#3+#490
#8=#4+#491
N2 G90G00X#5Y#6Z#7A#8
IF#455EQ0GOTO3
IF#455EQ1GOTO4
IF#455EQ2GOTO5
IF#455EQ3GOTO6
IF#455EQ4GOTO7
IF#455EQ5GOTO8
IF#455EQ6GOTO9
N3 #9=-#800
#10=-#801
#11=-#802
#12=-#803
GOTO10
N4 #9=-#800-#804
#10=-#801-#805
#11=-#802-#806
#12=-#803-#807
GOTO10
N5 #9=-#800-#808
#10=-#801-#809
#11=-#802-#810
#12=-#803-#811
GOTO10
N6 #9=-#800-#812
#10=-#801-#813
#11=-#802-#814
#12=-#803-#815
GOTO10
N7 #9=-#800-#816
#10=-#801-#817
#11=-#802-#818
#12=-#803-#819
GOTO10
N8 #9=-#800-#820
#10=-#801-#821
#11=-#802-#822
#12=-#803-#823
GOTO10
N9 #9=-#800-#824
#10=-#801-#825
#11=-#802-#826
#12=-#803-#827
N10 G90G00X#9Y#10Z#11A#12
M99

?? :scratch:
Yes, the original firmware has limited scripting capabilities. There are even more hooks you can create. One is called T.nc. Also, you can try placing files called 1.nc to 9.nc on your USB stick. I have not yet tried any of these or found out what they do, but the disassembly shows that these strings are used in the program.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 06, 2017, 10:12:17 AM
 :update:
Okay, I have thought a bit over the entire project.
I can't free enough time to actually completely rewrite the entire software alone and reverse engineer the driver interface. Maybe sometime, but not now. So I will now focus on improving the original software even further than already using external utility programs. Yes this is absolutely possible. The first point of attack is writing a parser hook that will preparse your G-Code and allow adding new commands. E.g. we can add new cycles that will be expanded by a deamon program that I will write that will always run in the background. Using the bare minimum set of G-Code of the original this will work quite well. We can even fix bugs in the old G-Code processing.
I have also thought of how to implement these new commands into the original firmware and I will be using the file manager. Deleting certain virtual files will now trigger commands and copying files to special virtual directories will automatically parse and process the files for you. I think this is fine for now.

I suggest we should now all post suggestions of what cycles and additions and fixes to the included G-Code parser should be done. Best would be actual examples of what the result should be.
I will also add Lua scripting capabilities to the next version of the firmware (so Lua can be used to extend the G-Code set).

EDIT:
I wanted to add that you cannot brick/permanently break the controller in any way.
Deleting linuxrc is fine too. It will be regenerated on the next boot when the Linux image is copied into RAM. Deleting any other file is also no problem. Installing the 2017 firmware update I released a couple of days ago will fix everything and restore the controller back to normal.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on March 06, 2017, 10:55:36 AM
You have done more than enough already Benedikt, so I for one am not expecting you to put your stuff on the back burner, I think we all appreciate the work you have already done, Thank you.. :clap:
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 06, 2017, 01:06:23 PM
Many many thanks Benedikt!!!


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: jjae6 on March 07, 2017, 03:33:08 AM
This is my second post. I do not have this driver yet, but I follow the great advances of this forum and DDCSV1.1 with great enthusiasm.

First I want to congratulate Benedikt for his great work.

Second, Now, I'm looking at the file "slib.nc", and I see the following things (please correct me if I am wrong):

(G28 X Y Z A) >>>>> commentary
O9028    >>>>>>>  G28 command  "Return to Reference Point" with "090" and "28"
#1=#451  >>>>>>  Defines a variable, named "# 1" with a "#451" value.
#2=#452  >>>>>>  Same a "#2" whith "#452" value...
I assume for  "# 451...#452...."  values , the program will read it from somewhere.., maybe some values defined by the user...., or variables as current position values of  XYZA axes, speed values, etc, etc.
......
IF #450LT0 GOTO1 >>> IF "#450@ value "is less than" "0" goto  "1" tag
>>>>>Here is a list of a Comparison Operators for "IF":    EQ: Equal ,     NE: Not equal  ,   GT: Greater than    , GE: Greater than or equal  ,    LT: Less than,     LE: Less than or equal
>>>> and  "goto 1"  tag is  the line 1 defined by "N1...." line
....
GOTO2  >> Jumps to tag "2", defined with a "N2.... " line
.....
 Then, If you look at it, in summary,  the G28 movement is defined by the following TAG lines "N2" and "N10", depending on  "GOTO ..." jumps, and the "IF ..." code according to last modified values "# .."
If code jumps to N2  tag  execute "N2 G90G00X#5Y#6Z#7A#8"  ,  And If the code jumps finally to  N10 tag  execute "N10 G90G00X#9Y#10Z#11A#12" . In both cases, it makes "G90" absolute movement , and then "G0" rapid movement, followed by axes movement with their values,  in case of N2 tag:  X#5  Y#6  Z#7  A#8 .... i.e. X with "#5" last  value, Y with "#6" last value...etc,etc., and same in N10 tag...

In short, inside the code I see that you can modify commands as we want, but we need to know all of defined system variables "#..."  for programming.
For example, In theory, Antonio, you can modify the code to go  Z axis wherever you want  ( i.e. Z00 , select N2 line or/and N10 line)
N10 G90G00Z00
G00X#9Y#10A#12
...
Of course, you should take all necessary precautions with these modifications! but in theory,  ( Remember that I do not have this controller yet ...),  you could change the code for i.e. add a tool change command, or add another XX command with "O90XX" .


PS: Excuse my bad english
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on March 07, 2017, 04:38:24 AM
Many many thanks jjae6.
I don't have experiance with linux but only some conventionally and basic command/language as my previous school sutyed. In any case I understood what you meen.. is very clear.
I will study better your comment.
Also sorry for my english too.
I would like to know if it possible to modify direct the slib.nc and put on my device without any damage on the firmware and just in case (if it not work) replace the original in any time.
Many thanks again
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 07, 2017, 04:44:56 AM
Thanks!
I have mostly completed my modifications of the binary now and it works. I have gained control over the file manager and have simplified it. It is now also possible to detect if certain files are deleted or copied. I will use the copy function to rewrite gcode files. When you copy a file to its origin directory, it will be processed and the preprocessor that I am working on will rewrite the file.
Also thanks jjae6 for your input. If you need a list of all controller settings including their descriptions, head over to http://bmuessig.eu/tools/pandora-configurator or take the machine readable version from http://bmuessig.eu/tools/pandora-configurator/lang_eng.json
These are the values from the script that are prefixed with a #
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 09, 2017, 04:48:30 AM
Hello friends. I would like to see the support of the G93 G94 in the controller, this allows using 5 axial cycles for 4 axial machining with a fixed 5 axis. :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 10, 2017, 07:45:53 AM
Hello friends. I would like to see the support of the G93 G94 in the controller, this allows using 5 axial cycles for 4 axial machining with a fixed 5 axis. :thumbup:
Hello maxx2000!

Are you talking about the following commands?
G93: Feed Rate Mode (Inverse Time Mode)
G94: Feed Rate Mode (Units per Minute)

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 10, 2017, 07:51:14 AM
Are you talking about the following commands?
G93: Feed Rate Mode (Inverse Time Mode)
G94: Feed Rate Mode (Units per Minute)
Yes
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 10, 2017, 08:26:29 AM
Are you talking about the following commands?
G93: Feed Rate Mode (Inverse Time Mode)
G94: Feed Rate Mode (Units per Minute)
Yes
I think this might be possible.
In inverse time mode, the preprocessor would just calculate the standard length/time feedrate from the time F parameter. Does this sound plausible? Or am I getting something mixed up?
I have never worked with these modes so far.

EDIT: I would like to start making a list of additional G and M commands we need.
Would anyone who has a suggestion please leave a comment with the G-Code number and maybe a quick description?

Thanks,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 10, 2017, 09:41:21 AM
In inverse time mode, the preprocessor would just calculate the standard length/time feedrate from the time F parameter. Does this sound plausible? Or am I getting something mixed up?
I have never worked with these modes so far.
Yes. In the inverse time mode, F means that the movement must be completed in [unit divided by the number of F] minutes. For example, if the number is F = 2.0, the movement should be completed in half a minute.
Example program in an attachment


G94 - Starting the minute feed.  Enabled by default.

Also not bad to add G95 -  In unit mode, per revolution F in the line means the number of inches / millimeters / degrees per minute, depending on the units of length used, which should pass the control point per revolution of the spindle, depending on the units of length used

 and G96 - constant cutting speed.
Note that the number following address S is equal to the cutting speed in meters per minute. The spindle speed is automatically adjusted to maintain the programmed cutting speed.

P.S. I think it is necessary to set the minimum goal of full compatibility of DDCSV with the MACH3 or LinuxCNC program.
I probably want too much from this controller  :wack:
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 10, 2017, 09:51:06 AM
Code: [Select]

MOTIONRAPID         : G00
MOTIONLINEAR        : G01
MOTIONCW            : G02
MOTIONCCW           : G03
XYPLANE             : G17
ZXPLANE             : G18
YZPLANE             : G19
INCH                : G20
METRIC              : G21
COMPENSATIONOFF     : G40
COMPENSATIONLEFT    : G41
COMPENSATIONRIGHT   : G42
COMPENSATIONPLUS    : G43
COMPENSATIONMINUS   : G44
LENGTHCANCEL        : G49
WORKSYSTEM1         : G54
WORKSYSTEM2         : G55
WORKSYSTEM3         : G56
WORKSYSTEM4         : G57
WORKSYSTEM5         : G58
WORKSYSTEM6         : G59
CANCEL              : G80
DRILL1              : G81
DRILL2              : G82
PECK1               : G83
PECK2               : G73
TAP1                : G84
BORE1               : G85
BORE2               : G86
CANCEL              : G80
ABSOLUTE            : G90
INCREMENTAL         : G91
SETORIGIN           : G92

## added by Udo because of problems with rotary axis speed for 5 axis sim
## ----------------------------------------------------------------------------
MISCSYMBOLICCODE1   : G93     ## INVERSE TIME FEED MODE ON
MISCSYMBOLICCODE2   : G94     ## INVERSE TIME FEED MODE OFF/FEED PER MINUTE ON
## ----------------------------------------------------------------------------

IRETURN             : G98
RRETURN             : G99
ZERORETURN          : G28 G30

PROGRAMSTOP         : M00
OPTIONALSTOP        : M01
SPINDLECW           : M03
SPINDLECCW          : M04
SPINDLEOFF          : M05
TOOLCHANGE          : M06
COOLANTSPFLOOD      : M07
COOLANTON           : M08
COOLANTOFF          : M09
ENDPROGRAM          : M30
WIREON              : M97
I think this list will satisfy anyone by 100% :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 10, 2017, 12:41:29 PM
I think this list will satisfy anyone by 100% :thumbup:
Thanks!

I think I have heard there are accuracy problems in inch mode. Is this true?
I have only used metric so far. But for milling PCBs inches would be useful.

Rather hoping it might lead to further developing the DDCSV to add in a few missing 'simple' commands...
Would you mind telling me what you would like to see implemented?
Now I am far enough to implement basically any additional processing and add additional G-Code commands.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 10, 2017, 02:46:20 PM
Thanks!

I think I have heard there are accuracy problems in inch mode. Is this true?
I have only used metric so far. But for milling PCBs inches would be useful.

Benedik I also use only the metric, this is the Russian standard.
Most likely this is due to the fact that the ball screw has a metric pitch, and 1 inch = 25.4 mm, it is also difficult to recalculate the motor steps in / turn. If we move from the control of the engines according to Step \ Dir to the analog I think everything will be fine and with inches.

Best regards Maxim
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on March 12, 2017, 06:53:46 AM

Rather hoping it might lead to further developing the DDCSV to add in a few missing 'simple' commands...
Would you mind telling me what you would like to see implemented?
Now I am far enough to implement basically any additional processing and add additional G-Code commands.

Hi Benedikt,
My prime requirement is to support tool changes (and yes, I know those are 'T' and not 'G' code.... ;-) ).
Since there appears to be comprehensive tool table support already contained within the existing code, I need support for a toolchange:
a) pause program at a toolchange Txx command
b) option to stop spindle
c)option to move to defined toolchange position
d) defined restart method - I assume that this would be the start button, similar to a standard 'pause' command

What is also useful is to be able to revise the Z position of the tool at this point as well in case it is not in the tool table or the length is no longer accurate. This is the method I used to use with Mach3 (at toolchange pause, physically move the head up, change the tool, move head back roughly down and then manually re-zero the tool prior to restarting the program) which is good for one-off exercises or with undefined tools.

I use a manual method for toolchanges (in Mach3 I had the 'pause on tool change' set) so if the program can stop and allow me to manually do a change, this will mean I can do complete programs, rather than one for each tool. My future plans include an automatic toolchanger and this would require:
definition of a tool change request line, a response input to say the ATC is ready or busy changing, 3-4 outputs to define the tool number in binary (or could be a single line with the tool number encoded in serial form).

This ATC part comes under the 'would be nice' heading whereas I see the basic toolchanging as essential.

canned cycles for drilling - G73 for shallow holes (interesting, not essential but speeds up drilling)

canned cycle for thread milling int/ext - comes under the 'would be nice' heading

On the subject of the UI - the mock-up looked good but I personally like to see the feed rate displayed - I find this is both a confirmation that it is doing what I thought it should be doing ( :-) ) as well as an easy way to determine where feed rates can be adjusted when moving from prototype to final version- if relevant

Thanks for all of your work so far - deeply appreciated.
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 04:02:19 PM
@ Simon the Tool change is key for me tool, we need to more just figure it out as I've seen videos of this controller running a ATC, it has the I/O and tool offsets for it and its been done we just need to know the way to configure it with G command savable settings. There is a setting in the pram for enabling some G and M functions..
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 04:58:29 PM
As can be seen in this pic

(http://www.usinages.com/attachments/20170209_094650-jpg.322975/)
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on March 16, 2017, 05:08:03 PM
j'utilise l'appel de sous programme M98P111 (outil1) M98P2(outil222)... les sous programmes sont dans le dossier "slib" et les cordonnés en G53.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on March 16, 2017, 05:24:35 PM
ugv,
Merci bien, je n'avais aucune idée que les deux instructions a existé...Avez-vous quelques documentation ou des exemples de votre usage? Aussi, pour moi, il est impérative que le program arrête pour le changement manuelle d'être effectué - c'est aussi possible avec les sous programmes?
Cdlt

Does anyone else use these sub programmes for tool changing and is there already a method for pausing the program whilst a manual toolchange is made?

BR
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 05:32:28 PM
Thank you UGV for your reply,  You CNC machine is beautiful. Are you manually adding the M98 to your G code, or is the controller set up to see the M6 T command and refer it to the M98 sub? Also i see you added a slide for your ATC with 2 relays also controlled via the I/O..

Thank you for your time and info
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 06:14:37 PM
Ok Simon I think i understand what UGV is doing after a little digging

So M98 will invoke the controller to run a referenced sub routine. The sub routine is just standard G code and then is using M99 command to end the sub routine. So to stop your spindle and pause for a tool change your sub routine would be:

 G53 to refer back to machine coordinates
 G01 Z to a safe height
 M5 to stop the spindle
 G01 XYZ to your tool change position
 G0 for a Pause and Cycle start
 M3 to turn the spindle back on
 T# G49 to reference the tool length offset from the saved table
 G54 to ref back to work concordance
 M99 to terminate the sub routine.

Here is what i need to understand, Mach can be told to run a VB script or M98 when it sees a M6 or ignore it, can this controller be told to run a M98 when it sees a M6 or do we need to swap out M6 commands in our code for m98.. some CAM postprocessors can be made to do this automatically, But a controller ref M6 to m98 XXXX would be awesome. Also, can the M98 be stored on the controller or needs to be added to the end of the Gcode for M98 reference. There are G and M codes for driving outputs high and low, pauses etc so a full ATC such as UGV is posable as a sub
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 16, 2017, 06:19:09 PM
Ok Simon I think i understand what UGV is doing after a little digging

So M98 will invoke the controller to run a referenced sub routine. The sub routine is just standard G code and then is using M99 command to end the sub routine. So to stop your spindle and pause for a tool change your sub routine would be:

 G53 to refer back to machine coordinates
 G01 Z to a safe height
 M5 to stop the spindle
 G01 XYZ to your tool change position
 G0 for a Pause and Cycle start
 M3 to turn the spindle back on
 T# G49 to reference the tool length offset from the saved table
 G54 to ref back to work concordance
 M99 to terminate the sub routine.

Here is what i need to understand, Mach can be told to run a VB script or M98 when it sees a M6 or ignore it, can this controller be told to run a M98 when it sees a M6 or do we need to swap out M6 commands in our code for m98.. some CAM postprocessors can be made to do this automatically, But a controller ref M6 to m98 XXXX would be awesome. Also, can the M98 be stored on the controller or needs to be added to the end of the Gcode for M98 reference. There are G and M codes for driving outputs high and low, pauses etc so a full ATC such as UGV is posable as a sub
The current version of the Pandora firmware I am working on will support on the fly postprocessing right on the controller. I was asking you all to tell me what it needs to rewrite and do to the code. It can easily replace G-codes by macros, do conditional processing, fix issues, improve accuracy, calculate tool compensation, fix inches by converting it to metric values, and so on. Feel free to suggest anything  :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 06:46:20 PM
Wow Benendikt, that is a heck of a undertaking.... Im not familiar with pandora so i will be no help,  is the goal just the front end and leaving the FPGA alone for motion? or is it a full new rewrite? Are you basing any of it off of LinuxCNC or UCcnc for motion path planning? I'm trying to just better understand how this controller works as it seems to mirror more expensive controllers functions i.e standards. Meaning if i can figure out how to write a M98 sub on this I should be able to do it on a Siemens etc as they should respond the same. Have you seen the feature set of the AU based HIND this would be a good reference for UI and features.. basically the same idea but the DDCSV is 1/4 the price and has better hardware. We could really do something with this if we can get this worked out. Thanks for all your work on this Benedikt... Im happy to help where i can and test as well

http://www.hindtechnology.com/
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on March 16, 2017, 07:08:39 PM
Problem with the HIND is it still uses everything BUT a PC and that's what we are trying to get away from, clunky monitors, keyboards and mouse.
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on March 16, 2017, 07:11:58 PM
One thing lacking on this controller and not available unless you spend 3x the price is support for lathes.

Not a lot of different between lathe and mill until you get to threading and then you need three additional physical inputs. A+, B+ and Z+ or index.
Just an indexing pulse like Mach 3 uses will not work.

Now I don't know if any inputs can be freed up by daisy chaining limits or such like but I have a feeling it's a bridge too far ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 16, 2017, 07:16:27 PM
Wow Benendikt, that is a heck of a undertaking.... Im not familiar with pandora so i will be no help,  is the goal just the front end and leaving the FPGA alone for motion? or is it a full new rewrite? Are you basing any of it off of LinuxCNC or UCcnc for motion path planning? I'm trying to just better understand how this controller works as it seems to mirror more expensive controllers functions i.e standards. Meaning if i can figure out how to write a M98 sub on this I should be able to do it on a Siemens etc as they should respond the same. Have you seen the feature set of the AU based HIND this would be a good reference for UI and features.. basically the same idea but the DDCSV is 1/4 the price and has better hardware. We could really do something with this if we can get this worked out. Thanks for all your work on this Benedikt... Im happy to help where i can and test as well

http://www.hindtechnology.com/
Hi Chris!
I have seen the Hind controller. Interesting project.
Back to the DDCSV, which is now called Pandora (the modded firmware). Initially I wanted to do a full rewrite and I started writing some software and it ran, but I ran out of spare time to reverse-engineer the driver (just yet, this will be done eventually!). So my current goal is to leave the application in place that the Chinese developed and build a layer in between the Linux file system and the firmware. This layer is dynamically rewriting the G-Code files as they are read by the application. I have created a block diagram which I will tidy up and share later. And yes, it works. I have tried it out and it works really nicely.
Essentially all it does is take the original G-Code file and parse it. Then it replaces G-Codes unknown to the chinese application with macros that consist of G-Codes that the chinese application understands. All on the fly. It can also do the different feed rate modes and other corrections, fix invalid comments, do scalings, offsets and just about any change to the code right on the controller, before it is loaded by the firmware. Crazy, isn't it  :loco:
I am also able to intercept actions made in the file manager. E.g. pressing MODE on a file can now not only delete it, but can trigger some other action instead of the deletion (e.g. reboot the controller, rewrite the file with the builtin parser without running it directly, run a shell script...). Same goes for the copy action which could now also trigger additional features. I have also cleaned up the file manager in general and made the names more clear. There are now two folders in the top menu only: USB and a secondary folder which gives access to a new partition in the internal storage of the controller which allows you to store your code there permanently (you can delete it though) without the USB present and a temporary folder in RAM for storing files that will be deleted again when the controller reboots.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 07:20:29 PM
@ John... Yep i don't like the HIND its basically a DDCSV but with external monitor and keyboard. Im just referring to its UI and options as its all based on a single ARM chip, The DDCSV is using a ARM for the front end and a FPGA for motion... I.E if we can get this to match the Hind UI we all will have a much better controller for the cheaps.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 16, 2017, 07:25:00 PM
Here is a quick screenshot of the new file manager:
(http://data.bmuessig.eu/CNC/DDCSV11/Images/WP_20170317_FileManager.jpg)
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 07:33:35 PM
Got ya ok i see what your going for.... Where can i help. I can start making a list of what the controller cant do/has issues with. I'm trying to also identify options and what it can do as there seams to be some hidden features, so it may be helpful with integration with pandora i.e we may just need to reference an internal M command that is already there. Is there any latency or processing issues running this app in parallel.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on March 16, 2017, 08:09:09 PM
Benedikt, can the USB port support a HAL/HID keyboard with Pandora? If so i can program a Teensy for a custom layout mini panel keyboard with screen ref buttons and feed/ spindle override knobs. Pandora would just need to be able to map a keyboard input to functions. This way we have quick access to functions.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 16, 2017, 08:15:13 PM
Got ya ok i see what your going for.... Where can i help. I can start making a list of what the controller cant do/has issues with. I'm trying to also identify options and what it can do as there seams to be some hidden features, so it may be helpful with integration with pandora i.e we may just need to reference an internal M command that is already there. Is there any latency or processing issues running this app in parallel.

Benedikt, can the USB port support a HAL/HID keyboard with Pandora? If so i can program a Teensy for a custom layout mini panel keyboard with screen ref buttons and feed/ spindle override knobs. Pandora would just need to be able to map a keyboard input to functions. This way we have quick access to functions.
That would be great. A list of what needs to be changed and one of the hidden features is always useful!
Parallel processing should work fine. The controller can easily do that at the same time.
Also yes USB HID is fully supported. However there is no actual linux driver for the keypad. The keypad seems to be directly controlled via I2C. I will see what I can do ;)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on March 17, 2017, 04:15:33 AM
Ok Simon I think i understand what UGV is doing after a little digging

So M98 will invoke the controller to run a referenced sub routine. The sub routine is just standard G code and then is using M99 command to end the sub routine. So to stop your spindle and pause for a tool change your sub routine would be:

 G53 to refer back to machine coordinates
 G01 Z to a safe height
 M5 to stop the spindle
 G01 XYZ to your tool change position
 G0 for a Pause and Cycle start
 M3 to turn the spindle back on
 T# G49 to reference the tool length offset from the saved table
 G54 to ref back to work concordance
 M99 to terminate the sub routine.

Here is what i need to understand, Mach can be told to run a VB script or M98 when it sees a M6 or ignore it, can this controller be told to run a M98 when it sees a M6 or do we need to swap out M6 commands in our code for m98.. some CAM postprocessors can be made to do this automatically, But a controller ref M6 to m98 XXXX would be awesome. Also, can the M98 be stored on the controller or needs to be added to the end of the Gcode for M98 reference. There are G and M codes for driving outputs high and low, pauses etc so a full ATC such as UGV is posable as a sub

Chris,
Thanks for the input - since I use a 'manual' toolchange, I need a program stop whilst I go through the undo-replace-tighten routine and I can't see how that will happen with a G0 - or am I just being dim this morning?
The rest of it is very clear and when I get 5 spare moments, I will investigate further...
BR
Simon
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on March 17, 2017, 06:45:12 AM
Folks - I am a machinist hobbyist from Michigan, USA, and have been watching this thread with great interest. The work on reverse engineering this little thing has been nothing short of amazing! :bugeye:

I am building a  2'x4' cnc router and would like to try a DDSCV1 on it, but I have a question that I am hoping you can answer. It will have two steppers on the long axis. Can this unit drive them from separate outputs, or do I have to tie them together on one output? This is easy to do with linuxcnc; how is it done with the DDSCV1?

And to the gentleman who wrote the Pandora configurator PHP script: Part of my day job is web interface design. May I have a copy of your scripts so that I may tinker with it? I like what you have done, but I think we can spiff up the page with some tabs and such, and maybe a guided wizard.

Thanks!

Mark in Dowling, MI
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 17, 2017, 08:15:17 AM
I am building a  2'x4' cnc router and would like to try a DDSCV1 on it, but I have a question that I am hoping you can answer. It will have two steppers on the long axis. Can this unit drive them from separate outputs, or do I have to tie them together on one output? This is easy to do with linuxcnc; how is it done with the DDSCV1?
I correctly understood you, 2 motors on one axis? DDCSV does not allow you to configure the subordinate axis as in the Linux CNC or MACH3
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 17, 2017, 08:45:19 AM
Folks - I am a machinist hobbyist from Michigan, USA, and have been watching this thread with great interest. The work on reverse engineering this little thing has been nothing short of amazing! :bugeye:

I am building a  2'x4' cnc router and would like to try a DDSCV1 on it, but I have a question that I am hoping you can answer. It will have two steppers on the long axis. Can this unit drive them from separate outputs, or do I have to tie them together on one output? This is easy to do with linuxcnc; how is it done with the DDSCV1?

And to the gentleman who wrote the Pandora configurator PHP script: Part of my day job is web interface design. May I have a copy of your scripts so that I may tinker with it? I like what you have done, but I think we can spiff up the page with some tabs and such, and maybe a guided wizard.

Thanks!

Mark in Dowling, MI
Welcome, librarymark!

Thanks for the kind words, glad you liked it! :beer:
I infrequently design websites for other people on request too. I was quite busy and had no time for the design. It really is a pain to use and honestly does not look too visually appealing as it is right now.
I would be glad if you would give this a shot! Especially a wizard would be great. I would also need a tiny admin page, where I can trigger the scripts to re-read the original firmware files to convert them to json files. Currently this is done by passing special GET and POST parameters to the front- and backend.
I will send you the code, however it is currently quite unpolished and should really be reworked. Tell me, how you prefer to handle the front-end and I will greatly improve the back-end.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on March 17, 2017, 11:17:43 AM
M0 pour faire pause et start pour reprendre
Title: Re: DDCSV1.1 4 Axis controller
Post by: jjae6 on March 17, 2017, 12:47:56 PM
I found the firmware for RMHV2.1 (ddcsv from ratt motor), Inside this zip file are some texts translated into English. ( inside all of *.nc files ).

There are really valuable comments as i.e

"(Reads the current machine tool coordinate position ?ÁÈ?µ?Ç?µ??ß?úе?ø?êÎ?ÖÃ)
#20=#864
#21=#865
#22=#866
;Determines whether the system uses the fixed position tool presetting mode or the current position setting mode
(?Ì???Ôµ?Ä?Ê?ÏÂ??Çó?öX??Y??ZµÄ?ø?øÁ?)
IF#571EQ0GOTO1
#1=#572-#20
#2=#573-#21
#3=#574-#22
....."

Maybe can serve to understand all of variables list
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on March 17, 2017, 01:09:25 PM
I am building a  2'x4' cnc router and would like to try a DDSCV1 on it, but I have a question that I am hoping you can answer. It will have two steppers on the long axis. Can this unit drive them from separate outputs, or do I have to tie them together on one output? This is easy to do with linuxcnc; how is it done with the DDSCV1?
I correctly understood you, 2 motors on one axis? DDCSV does not allow you to configure the subordinate axis as in the Linux CNC or MACH3

Yup - two motors on one axis. That's too bad. So I would have to do some sort of pairing after the controller. That would be a nice feature to add.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 17, 2017, 01:47:00 PM
I am building a  2'x4' cnc router and would like to try a DDSCV1 on it, but I have a question that I am hoping you can answer. It will have two steppers on the long axis. Can this unit drive them from separate outputs, or do I have to tie them together on one output? This is easy to do with linuxcnc; how is it done with the DDSCV1?
I correctly understood you, 2 motors on one axis? DDCSV does not allow you to configure the subordinate axis as in the Linux CNC or MACH3

Yup - two motors on one axis. That's too bad. So I would have to do some sort of pairing after the controller. That would be a nice feature to add.
There is just not enough I/O. I am simply tieing the signals of my axis together.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on March 17, 2017, 01:51:42 PM
Are there enough outputs that you could clock values into an external register set to expand the outputs? (This was pretty well standard practise in the early days when the number of pins on a chip were the limiting factor)
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on March 17, 2017, 02:23:23 PM
it's got 4 axis' worth of IO - seems to me that you could hook up 4 stepper drivers and slave two of them in software, but I don't even have one of these yet, so I don't know squat.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on March 17, 2017, 03:34:52 PM
The X output is quite capable of running two stepper controllers.  My old router had 2 X-axis motors each with its own driver module driven from the X-axis signals.
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on March 17, 2017, 04:35:30 PM
The X output is quite capable of running two stepper controllers.  My old router had 2 X-axis motors each with its own driver module driven from the X-axis signals.

OK - I will try that - thanks!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 17, 2017, 06:40:57 PM
The X output is quite capable of running two stepper controllers.  My old router had 2 X-axis motors each with its own driver module driven from the X-axis signals.
This is essentially how I am driving my Y axis and I had no issues so far.

it's got 4 axis' worth of IO - seems to me that you could hook up 4 stepper drivers and slave two of them in software, but I don't even have one of these yet, so I don't know squat.
While this sounds nice, bear in mind the FPGA is handling a lot of the actual drive work. That said, it's most likely just writing a number of steps to go for each axis into an FPGA register. Controlling any of the axis ports in an arbitrary way (using them as IO) is not possible.
However, there is a serial port on the outside. Does anyone know what it does?
What I would want to do is write a driver similar to the motiondev.ko driver that sits in between the application and the actual driver and just records what is sent and might also be able to write data into the stream. I will eventually research this further.
This might make reverse-engineering the firmware itself a lot easier, since it opens up some debug capabilities.
Title: Re: DDCSV1.1 4 Axis controller
Post by: AVK74 on March 18, 2017, 12:14:43 AM
Greetings!
Will the softlimits function work normally?
This function does not work at this time. The axes do not stop at the base points. There is a run up to 5-10mm.
That is, softlimit does not work.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 18, 2017, 08:23:19 AM
Greetings!
Will the softlimits function work normally?
This function does not work at this time. The axes do not stop at the base points. There is a run up to 5-10mm.
That is, softlimit does not work.
Sorry, there is not much I can do (just yet?). Just be a little more conservative with the limits for now.
Title: Re: DDCSV1.1 4 Axis controller
Post by: AVK74 on March 18, 2017, 08:48:14 AM
It would be great if you took note of this problem.
The controller is very good, but without softlimit it is very inconvenient for me to work.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Joules on March 18, 2017, 08:53:36 AM
The soft limits do work, but as you have noted they don't have deceleration ramp as they are approached.  The solution is to set them with a tolerance.  How many times do you need to use the full capacity of the machine bed.  Keep tight control of your work, you shouldn't be running into the soft limits anyway.  Walk the machine head round the part to make sure it fits if it's going to be that close.
Title: Re: DDCSV1.1 4 Axis controller
Post by: AVK74 on March 18, 2017, 09:06:00 AM
The solution is to set them with a tolerance. 
Unfortunately this is not a solution, but a crutch.
In Mach3, this function works perfectly correctly. Only the absence of this function stops me from moving to this panel.
Is no one using softlimit? It's so convenient.
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on March 18, 2017, 09:12:00 AM
Learn to keep within the correct working area. Soft limits, guard rails and centre reservations are for people with a defunct guide dog.
Title: Re: DDCSV1.1 4 Axis controller
Post by: AVK74 on March 18, 2017, 09:41:50 AM
If you do not use this function, it does not mean that it is not needed.
On a large heavy machine, one error can lead to very costly consequences and the dog with the guide as you said is very much needed.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 18, 2017, 10:19:48 AM
If you do not use this function, it does not mean that it is not needed.
On a large heavy machine, one error can lead to very costly consequences and the dog with the guide as you said is very much needed.
You are absolutely right. And we all agree that this feature is useful and much needed.
However right now we really need to use the workaround of defining a slightly smaller working area as what you can actually use.
If you are operating very expensive equipment and need an instant stop, try the hard limits. They worked fine for me.
He was just referring to it being good practice to make sure you never reach any limits.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: jjae6 on March 27, 2017, 10:07:42 AM
Hi Benedikt and other advanced users.!!    :bow:

Another question: it would be possible to use unused inputs, for example inputs from "A" fourth axis to integrate them into a program??  That is, I want to know if we can use control structures like: "IF...,  WHILE..."  with those inputs.

For example:
- G-code program Moves router, for example "X10 Y10".
- G-code program goes into a loop until we activate the "A + Limit" (or another input), then G-code continues and makes other moves: X20 Y20 .. etc, etc.   For example by "IF #XX EQ1 GOTO10" or by a " WHILE...DO"command, where #XX is the "A+ Limit" signal.

The idea is to integrate this fabulous ddcsv1.1 into a Machine with more input buttons and logical functions associated with those "new" inputs signal. It would be nice to know if this is possible.

Currently,  maybe I can use and experiment with the "probe" tool signal..., but I would like to have more inputs signals available if possible.




Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 27, 2017, 11:13:06 AM
Hi Benedikt and other advanced users.!!    :bow:

Another question: it would be possible to use unused inputs, for example inputs from "A" fourth axis to integrate them into a program??  That is, I want to know if we can use control structures like: "IF...,  WHILE..."  with those inputs.

For example:
- G-code program Moves router, for example "X10 Y10".
- G-code program goes into a loop until we activate the "A + Limit" (or another input), then G-code continues and makes other moves: X20 Y20 .. etc, etc.   For example by "IF #XX EQ1 GOTO10" or by a " WHILE...DO"command, where #XX is the "A+ Limit" signal.

The idea is to integrate this fabulous ddcsv1.1 into a Machine with more input buttons and logical functions associated with those "new" inputs signal. It would be nice to know if this is possible.

Currently,  maybe I can use and experiment with the "probe" tool signal..., but I would like to have more inputs signals available if possible.
I think this is possible, but you will most likely have to give up limits. I have two hands for this. For a small machine up to 400x500mm, the limits, as it were, are not needed
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on March 29, 2017, 07:16:47 AM
pour ceux qui veulent utiliser les cycles existants dans ddcsv voici des programmes les macro sont slib
(contour ext circulaire)
G90 G54
M03 S6000
G0 X0 Y0 Z20
G112 I30 R5 Z-1 F1000
M30

(poche carre)
G90 G54
M03 S6000
G0 X0 Y0 Z20
G110 X50 Y60 R5 Z-1 F1000
M30

(poche circulaire)
G90 G54
M03 S6000
G0 X0 Y0 Z20
G111 I30 R5 Z-1 F1000
M30


I=rayon
R=rayon fraise
X=largeur poche
Y=longueur poche
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on March 31, 2017, 05:09:57 PM
Does anyone know what the current draw of this unit is? The manual that I saw says,

"...the current capacity is required not to be lower than 0.5A".

Not to be lower? What's up with that? I want to know what the "not to be higher" number would be.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 31, 2017, 05:33:47 PM
Does anyone know what the current draw of this unit is? The manual that I saw says,

"...the current capacity is required not to be lower than 0.5A".

Not to be lower? What's up with that? I want to know what the "not to be higher" number would be.
Unfortunately, I could only measure it in idle right now, as my controller is currently not connected, but I assume this is another instance of bad English and what they actually meant was, that the maximum power consumption is 0.5A (it[the supply, I assume] shall not be lower than 0.5A). Sitting idle at 24v (with no USB connected) it draws about 110-ish mA.
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on March 31, 2017, 06:13:24 PM
Thanks, Benedikt! I suspected as much, but I could not be sure. I have ordered one of these, but it has not arrived yet.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on April 02, 2017, 07:33:33 AM
That caught me out at first, I use a constant current bench PSU and I set it for 500mA , and only the buzzer sounded, I thought It was busted at first, but  there was no "magic smoke" so I cranked it up to an Amp and found that it worked :)  :zap:
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on April 02, 2017, 08:27:59 AM
That caught me out at first, I use a constant current bench PSU and I set it for 500mA , and only the buzzer sounded, I thought It was busted at first, but  there was no "magic smoke" so I cranked it up to an Amp and found that it worked :)  :zap:
I got my controller in the mail yesterday. Hooked it up to 24V and it was pulling 91mA with no USB drive. BrokenEye - when you cranked it up to an Amp what voltage did it wind up at?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 02, 2017, 08:35:24 AM
That caught me out at first, I use a constant current bench PSU and I set it for 500mA , and only the buzzer sounded, I thought It was busted at first, but  there was no "magic smoke" so I cranked it up to an Amp and found that it worked :)  :zap:
I got my controller in the mail yesterday. Hooked it up to 24V and it was pulling 91mA with no USB drive. BrokenEye - when you cranked it up to an Amp what voltage did it wind up at?
Glad you received it!
I would recommend you to flash the new firmware rightaway ;-)
https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20170304.zip

Usual upgrade instructions apply (extract to root of USB + reboot controller with stick inserted).
This should fix many of the annoyances of the controller. I am still working on the new version with the G-Code rewriting.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on April 02, 2017, 11:28:14 AM
That caught me out at first, I use a constant current bench PSU and I set it for 500mA , and only the buzzer sounded, I thought It was busted at first, but  there was no "magic smoke" so I cranked it up to an Amp and found that it worked :)  :zap:
I got my controller in the mail yesterday. Hooked it up to 24V and it was pulling 91mA with no USB drive. BrokenEye - when you cranked it up to an Amp what voltage did it wind up at?

I set it to 20V @ 1A , it pulls 123mA with no extra current draining stuff
Title: Re: DDCSV1.1 4 Axis controller
Post by: librarymark on April 03, 2017, 05:59:03 PM
That caught me out at first, I use a constant current bench PSU and I set it for 500mA , and only the buzzer sounded, I thought It was busted at first, but  there was no "magic smoke" so I cranked it up to an Amp and found that it worked :)  :zap:
I got my controller in the mail yesterday. Hooked it up to 24V and it was pulling 91mA with no USB drive. BrokenEye - when you cranked it up to an Amp what voltage did it wind up at?

I set it to 20V @ 1A , it pulls 123mA with no extra current draining stuff

OK - that makes more sense. Thanks.
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on April 05, 2017, 12:36:19 PM
Has anyone found out what version of Fanuc control, this has been emulated from, just trying to find out the variables used.....?
 
some help would be greatly appreciated   :doh:
Title: Re: DDCSV1.1 4 Axis controller
Post by: m_c_t on April 11, 2017, 04:28:14 AM
That caught me out at first, I use a constant current bench PSU and I set it for 500mA , and only the buzzer sounded, I thought It was busted at first, but  there was no "magic smoke" so I cranked it up to an Amp and found that it worked :)  :zap:
I got my controller in the mail yesterday. Hooked it up to 24V and it was pulling 91mA with no USB drive. BrokenEye - when you cranked it up to an Amp what voltage did it wind up at?
Glad you received it!
I would recommend you to flash the new firmware rightaway ;-)
https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20170304.zip

Usual upgrade instructions apply (extract to root of USB + reboot controller with stick inserted).
This should fix many of the annoyances of the controller. I am still working on the new version with the G-Code rewriting.
Hello!
This update is very good, congratulations.   :smart:
My question many:
How is it possible to turn ON password protection?
How is it possible by G-code, called workflow?
I think here:
"G21
G0 Y100 x200
M20 (probe code)
M03
G1 F2000 x200 y120
"
M20 is a unique probe or macro function.
How is this possible?
When you can run code of "probe" function references?
Thank you, good job, good luck
Title: Re: DDCSV1.1 4 Axis controller
Post by: iocapa on April 11, 2017, 04:45:40 PM
Greetings fellow madmodders.
A few days ago i ordered my unit, in the meantime i decided to look over the stuff it can do and i saw it had some limitations. So i made some research and maybe i can help with the software rewrite.
Soo.. i started to look over the stuff Benedikt did, and started to dig deeper in the reverse engineering, and found that for sure the internal UI made with Segger EmWIN.
I also started to a reverse engineer the motion driver (motiondev.ko), sorted out the low level comm stuff, and started writing source code for it. It's basically a character driver that uses some ioctl commands to acces some memory areas by a simple parallel port emulated through the GPIOs (more details in the code). I will upload it on github.
I am not that experienced in linux and maybe someone can help me with the files needed for the compilation of the kernel object so i can make a replacement for the original driver (from the reverse engineering it looks poorly written), i know that i need some headers for the version i want to build.

Basically the application writes some registers in the FPGA.
For example to beep the buzzer you have to write address 0x63 LSB with 1 or 0.
If you will look over the decompilation you can see some examples (look for functions that contain WR_DATA). The hard part will be the interpolation stuff, but i guess it should be doable. Maybe i can hook mine to a JTAG adapter when it arrives.

Also I will embed some disassembly/decompilation from IDA

https://github.com/iocapa/motiondev
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 11, 2017, 07:22:47 PM
Greetings fellow madmodders.
A few days ago i ordered my unit, in the meantime i decided to look over the stuff it can do and i saw it had some limitations. So i made some research and maybe i can help with the software rewrite.
Soo.. i started to look over the stuff Benedikt did, and started to dig deeper in the reverse engineering, and found that for sure the internal UI made with Segger EmWIN.
I also started to a reverse engineer the motion driver (motiondev.ko), sorted out the low level comm stuff, and started writing source code for it. It's basically a character driver that uses some ioctl commands to acces some memory areas by a simple parallel port emulated through the GPIOs (more details in the code). I will upload it on github.
I am not that experienced in linux and maybe someone can help me with the files needed for the compilation of the kernel object so i can make a replacement for the original driver (from the reverse engineering it looks poorly written), i know that i need some headers for the version i want to build.

Basically the application writes some registers in the FPGA.
For example to beep the buzzer you have to write address 0x63 LSB with 1 or 0.
If you will look over the decompilation you can see some examples (look for functions that contain WR_DATA). The hard part will be the interpolation stuff, but i guess it should be doable. Maybe i can hook mine to a JTAG adapter when it arrives.

Also I will embed some disassembly/decompilation from IDA

https://github.com/iocapa/motiondev
Hi there!
If you contact me via email I can provide you with the development tools for this exact controller. Including the factory flasher and the tool that loads linux images to RAM and executes them (talks to the bootloader in ROM and then jumps to the linux).
These tools include the source code to the full UI library and most kernel modules (not including the motion module, but including GPIO /etc.)
Of course this also includes all toolchain tools and the linux kernel used.
I am glad you got that far into reverse engineering. I had no time recently but great that you got on the right path! :beer:
I have gotten SDL to work, so if we decide to give our custom UI a go, the screen interface already works well.

EDIT:
Thank you so much for the decompilation! I don't have the HexRays Decompiler so this saves me so much work.  :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 14, 2017, 06:41:01 PM
Somehow I was lucky and my USB port was not fried  :bugeye:
I connected the factory programming tool and I can now write anything to the controller that I want!
But  :worthless:

So:
(https://www.bmuessig.eu/secure/data/CNC/DDCSV11/Images/success_is_sweet.PNG)
Title: Re: DDCSV1.1 4 Axis controller
Post by: m_c_t on April 15, 2017, 05:26:29 PM
Very clever.
Did you answer me? previous question ...
I've got more professional controller.
I help you?Link e-mail went
You need him?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 15, 2017, 06:12:01 PM
Very clever.
Did you answer me? previous question ...
I've got more professional controller.
I help you?Link e-mail went
You need him?
Thanks!
I am sure these changes could be made to the new firmware we are developing.
But this will take some time.
The link I received does unfortunately not work.
Yes, I need it.

Just as a sidenote, my 3-axis controller has stopped working after tampering with the USB bootloader. I have to note that this is a hardware problem, not a software one. If anyone tries to connect to the controller via USB gadget, bootloader mode, be very careful!  :zap:
I was as careful as I could and the first time I temporarily damaged my USB port and the second time I killed the serial usart port that I desperately need to work on the project.
I will now see if I can compile a kernel module for USB serial support to spawn a getty shell on said USB adapter.

Best Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 16, 2017, 06:42:11 AM
:update:
This would surely not be MadModder if we couldn't fix our own stupid misstakes, or at least find a bodge that works around the issue.

So:
I have compiled kernel modules for USB Serial (and ethernet, which doesn't work unfortunately). This way, I can access the controller again and continue working.

If anyone wants to access the DDCSV1.1's system console, you can now do so when you extract the attached zip archive onto the root of an USB stick.
It will load the drivers for generic USB serial adapters and specially Prolific PL2303 adapters such as this one:
https://www.amazon.com/iKross-Serial-Converter-Adapter-chipset/dp/B00ECUEO06/ref=sr_1_1?ie=UTF8&qid=1492338885

You connect this cable and the USB stick to the USB port of your DDCSV1.1 (you will have to use a USB hub) and then reboot the controller. Now you can connect the end of the serial cable through a nullmodem cable to a PC. If you connect at 115200 8N1 you will be greeted with a root shell.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 16, 2017, 12:06:03 PM
And another  :update:

I have just released a new firmware version that features the following:
- Using an USB (wireless) keyboard/numblock as wired/wireless jog control, for browsing the interface and for entering numbers (thanks to iocapa for the disassembly!)
- Support for USB hubs
- Support for USB serial adapters (if you boot with the adapter from the previous post, you can access the system's shell)
- Many improvements under the hood and improved overall stability
- The file manager is now better structured and easier to navigate

It can be downloaded from here:
https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20170416.zip

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on April 16, 2017, 02:14:22 PM
This thread, and all the work you are doing  Benedikt is just amazing.

Can you think of a way to we could possibly use a tablet connected to USB port as the program storage location instead of just a USB stick.

Not sure if that is the correct way to ask that...but I want to be able to connect an android tablet and write short lines of code in a text editor app and have the DDCSV1.1 access it and run it as a program.  Think of it as a form of MDI (Manual Data Input) mode that most other cnc controllers have.

Just a thought.

Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 16, 2017, 04:38:27 PM
This thread, and all the work you are doing  Benedikt is just amazing.

Can you think of a way to we could possibly use a tablet connected to USB port as the program storage location instead of just a USB stick.

Not sure if that is the correct way to ask that...but I want to be able to connect an android tablet and write short lines of code in a text editor app and have the DDCSV1.1 access it and run it as a program.  Think of it as a form of MDI (Manual Data Input) mode that most other cnc controllers have.

Just a thought.

Rob
Thanks!

What you could try is to use bluetooth and two adapters:
http://www.ebay.com/itm/HC-06-Bluetooth-to-UART-Converter-COM-Serial-Communication-Slave-Mode-/322204273650
http://www.ebay.com/itm/USB-To-RS232-TTL-PL2303HX-Auto-Converter-Module-Converter-Adapter-5V-3-3V-Output-/322078351868?hash=item4afd5da1fc:m:mS9_9OKrhwKy7djmkbe8Qhw

You will need to connect it like this:
Code: [Select]
PL2303    HC-06
---------------
RX        TX
TX        RX
3.3v      VCC
GND       GND

If you then connect the PL2303 to the DDCSV1.1 through a USB hub (you can just put the hub series with the front panel USB jack), you will be able to access the CNC remotely via Bluetooth.
Someone could always write a small app that makes communication easier, but essentially this is all it takes to upload and manage files remotely from a tablet.
There are Bluetooth serial terminals available which should allow you to get access to the Linux shell on the controller.

If your tablet is rooted, you can always use two PL2303 adapters with the same wiring as above, but with the 3.3v/VCC disconnected, to have a wired connection.
You will need to plug one end into the USB port of your tablet.

IIRC, this does not work with iPads. A Windows tablet will allow both approaches without modifying the OS.

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: iocapa on April 18, 2017, 09:06:12 AM
Hello again.
Made some progress in the reverse engineering of the FPGA stuff. Rewrote the motiondev driver and included some sniffing code (just waiting for my unit so i can JTAG probe it to dig deeper).
In the mean time, i wanted to say that if someone screws their unit beyond repair, not to throw it away. Some reverse engineering of the connections under the FPGA would be of great help (or a schematic if anyone has one  :drool: ). This would be helpful because there are still some unknown topics about the NVRAM chip/FPGA connection.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on April 18, 2017, 10:41:31 AM
Can't you X-Ray it to see those hidden connections - someone must work in a hospital  :ddb:
Title: Re: DDCSV1.1 4 Axis controller
Post by: iocapa on April 18, 2017, 12:55:35 PM
Yeah.. that would work also. Though i think there are more chances that someone will brick their unit than having access to a high resolution x-ray scanner. I think standard film based devices would not work. You need a machine with a ccd sensor (maybe like the ones used in airports). Even if so, it would still be hard do decipher all the connections.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on April 18, 2017, 01:18:32 PM
I don't know the internal technology of the modern FPGA's but I suppose that there is also the possibility of erasing the programmed linkages ?

(just a caveat from a cautious old foggy  :ddb: )

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 18, 2017, 01:19:48 PM
I don't know the internal technology of the modern FPGA's but I suppose that there is also the possibility of erasing the programmed linkages ?

(just a caveat from a cautious old foggy  :ddb: )
Yes, the FPGA reads it's gate configuration from a flash chip on the PCB into it's internal RAM on boot.
The flash can be rewritten, but I think it is not possible to read the flash.
Title: Re: DDCSV1.1 4 Axis controller
Post by: iocapa on April 18, 2017, 01:58:57 PM
You can read the flash with some jtag adapter, although the binary is really useless. There is no chance at reverse engineering from FPGA bitstreams (at least with the tools available now).
Title: Re: DDCSV1.1 4 Axis controller
Post by: BrokenEye on April 19, 2017, 03:10:34 AM
You can read the flash with some jtag adapter, although the binary is really useless. There is no chance at reverse engineering from FPGA bitstreams (at least with the tools available now).

And there is no way to tell if any IP's have been used, like a NIOS processor , trying to decipher the routing would be pretty much impossible to do, as they will have been optimised for timing and power usage, I certainly wouldn't attempt it  :bang:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 19, 2017, 03:14:09 AM
Benedikt, can the USB port support a HAL/HID keyboard with Pandora? If so i can program a Teensy for a custom layout mini panel keyboard with screen ref buttons and feed/ spindle override knobs. Pandora would just need to be able to map a keyboard input to functions. This way we have quick access to functions.
Now you actually can  :thumbup:

I have just read the datasheet of the configuration flash and it seems like it can actually be read out.
I was initially thinking these specific FPGA flash chips would have encryption or at least some kind of IP protection, but this appears not to be the case.
The datasheet can be found here: https://www.altera.com/content/dam/altera-www/global/en_US/pdfs/literature/hb/cfg/cyc_c51014.pdf
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 21, 2017, 04:47:00 AM
Good news, I have reverse-engineered the keypad driver and written an open source replacement.
There is still a little hardware revision specific code left to be included, but the basic functionality is now finally there  :D

Hint, the original driver was absolute rubbish. I have greatly improved on it and fixed some evil bugs.

I have published my current reverse-engineering progress in this repository:
https://github.com/bmuessig/Pandora-Reverse-Engineering

And the driver can be found here:
https://github.com/bmuessig/pdkeypad

This is the second big step to an completely open source DDCSV1.1 after iocapa's rewritten motion driver.

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 24, 2017, 01:21:44 PM
The driver is progressing fine. Soon the keypad will be driven by my open source driver.
Digging through my documentation I figured a way to eventually upgrade the operating system on every controller (this includes the splash screen) from within Linux.
This is still not yet researched very well and would require a lot of work to actually perform well and reliable.
This discovery also led to the creation of the flash image dumper which copies the contents of the NAND memory chip to the attached USB stick.
Since I know that 4-axis controllers, 3-axis controllers and the RATTM model have different NAND contents, I need your help to get the software working on every system alike.
Please, if that person had 5 minutes, could someone with a 4-axis and someone with a RATTM system please run the image dumper attached to this post and provide me with the resulting nand.img file?
This would really help speed up development and check the differences between the different models.

The attached utility should not harm your controller and will not leave any permanent modifications.
After running it, it is enough to delete the ndutils folder and the startup.done file from the USB stick to free up the few KB that the dumper needs.
To execute the utility, simply extract the zip file onto an USB stick and reboot the controller with the stick inserted. The controller will now guide you through the automated process.

Kind regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: m_c_t on April 25, 2017, 03:11:25 PM
Hello
I have" r m h v 2.1"4 axis, controller.
What do you want?
What to do with it?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 25, 2017, 03:46:32 PM
Hello
I have" r m h v 2.1"4 axis, controller.
What do you want?
What to do with it?
Hello!

Thanks for helping me out.
You will need to unzip the files from the archive attached to the previous post and from the link below, and copy the files to the main directory of a USB stick.
Now power off the controller and insert the stick. Then reconnect power and let the process complete.

Link:
https://bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20170416.zip

Beat regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 27, 2017, 07:07:15 AM
I will modify the NAND dumper to also copy the FPGA registers.
Yesterday, I wrote a small utility to directly talk to the FPGA via the command line.
Binary and source can be obtained from here: https://github.com/bmuessig/motionutil

In principle this utility can be used to directly issue commands to the motion processor. So you can e.g. control the Buzzer from the command line.
It can also read out the exact hardware version.

Here are some examples:
Buzzer disable: mutil -w 99 1
Buzzer enable: mutil -w 99 0
HW Ver: mutil -rx 1

BR,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on April 29, 2017, 08:25:18 AM
Benedikt,
I finally have my machine running and tuned the way I want and decided to install your 20170416 install-mod.

I extracted the ZIP to my USB, insert USB into controller and rebooted and nothing happened from normal.

When I extracted onto the USB all of the files were contained in a single folder.  I copy/pasted all of those files to the root of the USB, insert into control and rebooted. This time I received the new graphic during boot.  Once booted I can see the software version in the lower right corner is in fact yours. 

For some reason I was expecting the UI to look different.  Should it have?  Did I do something out of sequence?

Also, I was not expecting for the upgrade to dump all of my parameters.  Logically it should, but It was early and I had not had any coffee yet.  Note to self and others....capture your parameters before any software upgrades.

Finally.
I was a bit intimidated with the software upgrade because the details/reasons are spread out over a large number of post here.
Is there a document I have not found that has step-by-step instructions for the install and what to expect that I am missing? I also would like to use the online parameter configurator....but cannot figure out how to get them in the machine.

I apologize for such trivial questions.

Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 29, 2017, 12:24:08 PM
Benedikt,
I finally have my machine running and tuned the way I want and decided to install your 20170416 install-mod.

I extracted the ZIP to my USB, insert USB into controller and rebooted and nothing happened from normal.

When I extracted onto the USB all of the files were contained in a single folder.  I copy/pasted all of those files to the root of the USB, insert into control and rebooted. This time I received the new graphic during boot.  Once booted I can see the software version in the lower right corner is in fact yours. 

For some reason I was expecting the UI to look different.  Should it have?  Did I do something out of sequence?

Also, I was not expecting for the upgrade to dump all of my parameters.  Logically it should, but It was early and I had not had any coffee yet.  Note to self and others....capture your parameters before any software upgrades.

Finally.
I was a bit intimidated with the software upgrade because the details/reasons are spread out over a large number of post here.
Is there a document I have not found that has step-by-step instructions for the install and what to expect that I am missing? I also would like to use the online parameter configurator....but cannot figure out how to get them in the machine.

I apologize for such trivial questions.

Rob
I am sorry that you lost your parameters. I have just fixed the installation script to keep your settings at any price.
If stuff doesn't work afterwards, the new, blank and working settings file is still copied to a different internal location.

The new upgrade can be downloaded from here:
https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20170416.zip

There is now also a Windows "installer" to help you:
https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-mod-20170416.exe

To make the installer work, download and run it. Select your USB stick as the target.
If it asks you to overwrite files, make it overwrite all (this will just overwrite system upgrade files, not your other ones).

The UI does not look any different (yet). Currently our efforts are primarily focused on getting the CNC functionality working. For this, we are reverse-engineering the original application.
For this I am primarily using IDA's decompiled output, which is unfortunately 97883 lines of pseudo C-code long. Some stuff is optimized out, made more complex or renamed to non-descriptive names.
This means we are having a hard time, but we are making progress.
Unfortunately at this point we are closer to running Doom on the controller than we are to running a new CNC application. But eventually we will have a completely new and modular UI and everything will work a lot more nicely.

For now, I am using my new knowledge to patch the original application at the assembly level to enable you all to do more with the original software until we can provide you with our completely new firmware.

It's fine to ask. I will eventually prepare a handy PDF with all the neccessairy details.
Most of this info is contained in the original documentation which can be found here: http://robokits.download/datasheets/DS_DDCSV1_EN.pdf

To answer your questions, to install the software properly, you simply extract all the files inside the archive to the USB stick.
Let's say you are using Windows and your USB stick is E:
First, you unzip all files from the firmware upgrade.
Then you copy the files (there should be these elements: upgrade.do, splash.ppm, install, upgrade) to E: (not to a sub-folder of E: or it won't work).
Now, use Windows' option to safely remove the USB stick and remove it, when Windows asks you to.
Next, head over to the controller and cut power to it. After it beeped, plug in the USB stick and then re-apply power to it. The controller will now do everything it needs to do to complete the installation and will eventually return to the home screen that you are used to.
Now, you can unplug the USB if you want to. You can remove the upgrade.done, splash.done files and the install.done and upgrade folders from the USB stick, but this is optional.

Now to the online configurator. Head over to http://bmuessig.eu/tools/pandora-configurator/ and dial in your desired configuration.
Click on the Submit button to generate the configuration file. When the submit worked, you should see a webpage where it shows your configuration file. You can click on 'download' (in the line of text written in red) and save the file directly to your USB drive (e.g. E:\) or on 'continue editing' if you would like to change some more values.
Now, while the controller is on, insert the stick into the controller and wait for 10 seconds.
Now, press the page button for 4 times, until you see the file manager for the second time (this is a bug in the original software which we can't yet fix) and go into /udisk-sda1 (if you are not in there already) and use the arrow keys to hover over the userVar.set file.
Now press Enter to confirm and wait for 5 seconds. Finally cut power to the controller and re-apply it.
The new settings should now all be present and work.

I hope this helps.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on May 01, 2017, 12:52:44 AM
Hi Benedikt
it seems backlash function not work properly with original firmware. Did you fix the problem with new firmware? When change move direction the driver should add the valures which I declare on setvar at velocity declared but it seems that velocity did not change (remaining same on g1 g2 and g3) and also the booth axis moving contempory instead one even change only one direction.
many thanks for your kind coop.


Inviato dal mio iPad utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 01, 2017, 06:56:09 AM
Benedikt, thanks for the detailed write up on the steps.  That helps.

No worries on losing the parameters.  Reconfiguring them was much faster, and I was able to do a better job, the second time.

Thank you,
Rob

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 02, 2017, 07:00:06 AM
Benedikt, thanks for the detailed write up on the steps.  That helps.

No worries on losing the parameters.  Reconfiguring them was much faster, and I was able to do a better job, the second time.

Thank you,
Rob
I am glad you don't mind loosing the parameters too much. The original firmware upgrade process would have deleted the parameters anyways, so it is not directly my fault. I have now added a line to my custom installation script to preserve existing configuration in any case.


Feel free to ask again if something breaks or is unclear.


Hi Benedikt
it seems backlash function not work properly with original firmware. Did you fix the problem with new firmware? When change move direction the driver should add the valures which I declare on setvar at velocity declared but it seems that velocity did not change (remaining same on g1 g2 and g3) and also the booth axis moving contempory instead one even change only one direction.
many thanks for your kind coop.


Inviato dal mio iPad utilizzando Tapatalk
Thanks for reporting. I will see what I can do about it.
There is unfortunately a limitation of how much can be patched as there is few empty space in the elf that we can use to patch. We could always overwrite the unused functions with additional code.

Also I forgot to ask, who is interested in having Ethernet or WiFi capabilities implemented?
This is possible using USB adapters (cheap 10/100 Ethernet or Edimax WiFi adapters), however, it requires a new flash image to run.
This is not trivial for us, since it would require developing a *robust* OTA flash update application, but it would work. This would also allow changing the ugly splash screen.
The downside for you will be the risk of actually bricking the controller in case of a power outage or corrupted image.
Note that you can always solder a cut off USB cable to the internal debug header to restore the image. So JTAG or low-level flash programming is never required.
I would even fix broken units / upgrade them, if shipping to Germany and back is paied for.

We will, if we succeed at making an OTA updater, make this optional.
I would just like to know who would like to remote control or customize the controller under these conditions.

In case anyone wants to know why the processor manufacturer did not provide custom and robust OTA update capabilities, the answer is, they did, but it only works for updating from SD card. And our controller's hardware engineers did not provide us with an SD card slot. D'oh!

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: riorao on May 02, 2017, 02:21:17 PM
Hello!
I use two motors on the X axis. This controller will work with this configuration? there is synchronization?
Title: Re: DDCSV1.1 4 Axis controller
Post by: jjae6 on May 03, 2017, 02:40:52 AM
Hello!
I use two motors on the X axis. This controller will work with this configuration? there is synchronization?

I think I have read in this post that some people use 2 motors on one axis, but with two drivers, one per motor.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 03, 2017, 09:53:05 AM
Hello!
I use two motors on the X axis. This controller will work with this configuration? there is synchronization?

I think I have read in this post that some people use 2 motors on one axis, but with two drivers, one per motor.
So did I, but I had to invert the actual motor signals to one of the steppers.
Then it worked well.
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 03, 2017, 10:20:25 AM
Hi All,

After a long time I'd like use my controller again.
I thought I save my setup, but I can't find userVar file.
Linuxrc runs on my controller, -which file does include my setup?
(Or is not a good choice for linuxrc?)

Root has only mnt DIR, and linuxrc file,
mnt has nand1-1 DIR, what includes some file, as:
chs
eng
motion.out
setting
...and some .nc files

Thanks.

I just see that Benedikt worked a lot for us again,  thank you so much for it.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 03, 2017, 10:26:59 AM
Hi All,

After a long time I'd like use my controller again.
I thought I save my setup, but I can't find userVar file.
Linuxrc runs on my controller, -which file does include my setup?
(Or is not a good choice for linuxrc?)

Root has only mnt DIR, and linuxrc file,
mnt has nand1-1 DIR, what includes some file, as:
chs
eng
motion.out
setting
...and some .nc files

Thanks.

I just see that Benedikt worked a lot for us again,  thank you so much for it.
Thanks!

Unfortunately it is not possible to recover the userVar.set (yet) from the controller itself.
The data is getting binary encoded IIRC and put into the settings file.
You can copy the file /mnt/nand1-1/settings to /udisk-sda1 if you want to back it up, but you cannot edit it externally.

Regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 03, 2017, 10:31:12 AM
So I understand, thank you very much.
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 03, 2017, 01:06:45 PM
One more question,
Is it possible to restore the factory windows op system?

I can't find it... :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 03, 2017, 01:26:04 PM
One more question,
Is it possible to restore the factory windows op system?

I can't find it... :scratch:
While there should be no reason to do so, yes you can.
This is the factory firmware, do not download if you don't want to restore to factory and lose your config!
Download stock/factory firmware (https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-stock-2016061080.zip)
Instructions to flash it are as with my firmware.
While this will install the original firmware, it will not remove additional files / hooks / etc. that have been put in place by my firmware.
But again, if something doesn't work with my firmware, please report it or I can't fix it!


 :update:
News to the new firmware!
I have reverse-engineered the bootloader and written a program to generate complete NAND flash images that can be downloaded to the controller's NAND from within the controller's Linux. This means, we will soon get Ethernet and a fully custom boot splash :).

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on May 03, 2017, 01:35:30 PM
Hi Benedikt
How can i create two folders in the controller just to put my two differents settings for two machines?


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 03, 2017, 03:51:16 PM
One more question,
Is it possible to restore the factory windows op system?

I can't find it... :scratch:
While there should be no reason to do so, yes you can.
This is the factory firmware, do not download if you don't want to restore to factory and lose your config!
Download stock/factory firmware (https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-stock-2016061080.zip)
Instructions to flash it are as with my firmware.
While this will install the original firmware, it will not remove additional files / hooks / etc. that have been put in place by my firmware.
But again, if something doesn't work with my firmware, please report it or I can't fix it!



I'm sorry Benedict, that was just a stupid idea from me. :doh:


I read more back, so I just updated my controller for the first time.
From Ver: 2016-06-10-80   to your new version

It's all right, I'll try it soon. I had problems with G3 code earlier, I hope... not anymore .

Thank you very much for your advice and helpfulness.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 05, 2017, 12:40:01 PM
NON-Technical TLDR:
Hmm, it seems like my controller is no more :zap:
This time though, I am not sure if I can actually fully recover mine.
I hope that I can fix it, otherwise, I might not be able to do any futher development anymore :(
It looks quite dark actually.

I was working on the USB Network Linux image and accidentially overwrote my entire NAND (flash memory).
It is now completely messed up and my backup image that I created a while back just won't boot. I have just found out, it was just half of the flash  :bang:

The factory utils have atleast helped me to get some sort of Linux running again, but it is unfortunately quite a bit different from what you all run.

What a bad day...
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on May 05, 2017, 03:18:16 PM
Ohhh no... we hope benedikt it will work again


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 06, 2017, 10:03:57 AM
Ohhh no... we hope benedikt it will work again
Thanks for the kind words. Unfortunately my controller has not yet risen from the dead. :(
I have now tried almost everything I can. The last resort would be desoldering the flash chip, externally programming it and then resoldering it. I don't think I can do that...

Hi Benedikt
How can i create two folders in the controller just to put my two differents settings for two machines?
Well this is an interesting idea. I could in principle make an utility that checks the keypad on boot.
If one key is pressed, it loads the first config otherwise the other one.
Would that work for you? Of course I can only make it, when my controller ever decides to live again...

I'm sorry Benedict, that was just a stupid idea from me. :doh:


I read more back, so I just updated my controller for the first time.
From Ver: 2016-06-10-80   to your new version

It's all right, I'll try it soon. I had problems with G3 code earlier, I hope... not anymore .

Thank you very much for your advice and helpfulness.
Glad you found it useful :beer:
I hope your problems will be fixed now.
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 06, 2017, 05:16:26 PM
Unfortunately I still have problem with my controller.

If I make a bigger diameter pocket (e.g. diameter 17mm), everything is right.
But when I mill smaller pocket (e.g.  diameter 10mm),  tool steps down on a stairs.
G-codes is right, of course.  (see the photo)

Which parameter need I modify?

- minimum log radius of 4axis mode is 5mm  (I think, it uses only 4th axis)
- time duration between DIR and PULSE  5000 ns ( written by manual of DM556D driver)
- feedrate not to high (X and Y600 mm/min,  Z 50mm/min)
- acceleration 100m/s^2
- interpolation period 0.005 s   - perhaps it is small? I don't know...

Part of G-codes of diameter 10mm pocket is here:

N405 X-31.5 Y13.
N410 G01 Z1. F50.
N415 Z-2.
N420 G03 X-33.5 I-1. F600.
N425 X-29. I2.25
N430 X-36. I-3.5
N435 X-29. I3.5
N440 G01 X-29.5 Z-1.95
N445 G00 Z5.
N450 X-31.5
N455 G01 Z-1. F50.
N460 Z-4.
N465 G03 X-33.5 I-1. F600.
N470 X-29. I2.25
N475 X-36. I-3.5
N480 X-29. I3.5
N485 G01 X-29.5 Z-3.95
N490 G00 Z5.
N495 X-31.5
N500 G01 Z-3. F50.
etc. (same as above, only Z steps down)



 :( :( :(
Benedikt, I'm so sorry yours controller...  I'm sure, you can fix it.
You know, God takes mistake, too. :)



Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 06, 2017, 09:42:39 PM
old Zozo....I am using the Leadshine Easy Servos on my rig....which says to use the 5000ns DIR/Pulse like your DM556D.  I tried that setting and it sounded like a freight train crashing.  I do not have the parameters in front of me right now....but I want to say I am closer to 500.

I have not tried interpolating a small bore yet to see if I am having similar problems.  I will be working with the machine in the morning and will give that try.


I just read your code before I was going to hit post.  I noticed you are using I,J,K for your arc moves.  I was not able to get arcs to work predictably with anything other than R's. I hate using R for an arc move...but I will stick with it for now.  Maybe here soon I can adjust my post to try all of the IJK combinations to see if it works for me.

Rob

Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 07, 2017, 09:10:13 AM
Hi Rob, thanks for your answer and help. I will try decrease duration between DIR and PULSE.

I've read  about R type arcs somewhere, there was written, not to good idea to use it.
So I never tried.
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 07, 2017, 11:34:15 AM
I tested again. Nothing changed. What I tried to change:

-time duration (Dir/Puls)
-interpolation period
-acceleration

I see in the display,
when the tool finished the spiral movement, Y axis steps minus 0.2 mm.
-but why?
This is the 0.2 mm stairs.


Could somebody runs my gcodes? Not machining, only in controller.

When gcodes run out, you need to see last coordinates.
Correct coordinates are :  X-29.5  Y13

My controller has false values,  X-29.5 and Y11.8 !

Thanks, Zoli

(attached file:   D10pocket.txt
Zmin= -10 mm
Zmax=5 mm
Pocket diameter= 10mm
Pocket centre= X-31.5 Y13)
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 08, 2017, 07:14:01 AM
Zoli, I just ran your code through my machine and it cuts a good bore without the stepping in your picture.

I captured a handful of parameters that I use for you to compare...not that I feel this is the problem.  They are just for reference since we both use Leadshine drivers.

#5
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on May 08, 2017, 07:18:20 AM
I tested again. Nothing changed. What I tried to change:

-time duration (Dir/Puls)
-interpolation period
-acceleration

I see in the display,
when the tool finished the spiral movement, Y axis steps minus 0.2 mm.
-but why?
This is the 0.2 mm stairs.


Could somebody runs my gcodes? Not machining, only in controller.

When gcodes run out, you need to see last coordinates.
Correct coordinates are :  X-29.5  Y13

My controller has false values,  X-29.5 and Y11.8 !

Thanks, Zoli

(attached file:   D10pocket.txt
Zmin= -10 mm
Zmax=5 mm
Pocket diameter= 10mm
Pocket centre= X-31.5 Y13)
Probably you are using the backlashing function on setting of parameters


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 08, 2017, 07:24:05 AM
Great suggestion Antonio.  Interesting to hear Zoli's response.

Here are my parameters....my computer hiccuped earlier and posted before I could finish typing.

Parameter # = Value
5 = 5.000
33 = 950
34 = 1000
35 = 1000
36 = 5000
39 = PULES/DEGREES
390-392 = HIGH
416 = 100
418-420 = LOW
45-47 = 300
100-108 = 3000
263-265 = 300
99 = 1300

Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 08, 2017, 09:47:41 AM
Rob,  thanks again for your help.

Antonio, that is good idea, but I have no backlash so its value is 0.

Rob, I  compared  parameters now.

Different:

  yours                                             my

33 = 950                                     50 mm/min
34 = 1000                                   125.984      value depends on pitch of spindle and microstep
35 = 1000                                   125.984
36 = 5000                                   262.467
         
390-392 = HIGH                          LOW
416 = 100                                   5000         I tried 100 too, but no better
                       
45-47 = 300                                100
100-108 = 3000                           1200
263-265 = 300                             100
99 = 1300                                   100



 I can not see capital differences, so I am loser yet.  :(


Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 08, 2017, 10:26:15 AM
Zoli, there are no losers in this hobbie. It's all just challenges to sharpen our skills.

I have 25mm pitch ballscrews on x&y axis and 5mm on z. 

Because of that high pitch I have my micro steps set really high. I'll have to validate tonight when I get home.

Rob

Sent from my SAMSUNG-SM-G900A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 08, 2017, 01:04:02 PM
Rob,
my screw have only 1/4" pitch. Pulse/mm is correct at me, every size of parts is  between  +/-0.01mm.
Bearing fits in the pocket, like eggs in the mouth of a dog :)

Unfortunately controller sends false command to the driver,  and only when is a  smaller diameter of pocket

Perhaps this is a firmware error...

Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 08, 2017, 01:54:17 PM
waoooo !!!

Rob, you are the other God of this forum :)
(Pardon, No.1  is Benedikt)

I thought, is it possible, controller hates low pulse/mm?
I set 1000, as yours controller.

Happen wonder! G-codes are running right!

I will increase value of  puls/mm and all are right :wave:
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 08, 2017, 02:45:28 PM
Zoli, your words are way to kind.

I set the pulse/mm by dividing my micro steps by the ballscrew lead.
25,000 microsteps/25mm lead =1000pulse/mm

The eggs in the dogs mouth is about the funniest thing I've heard in a while.
That's what I already love about MadModder. There are so many colorful people here so willing to be real. That's a treat for me.

Rob

Sent from my SAMSUNG-SM-G900A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on May 08, 2017, 03:43:33 PM
Rob, I like this forum as well,  I've got a lot of useful advice here.
Even though my English knowledge is very poor :)


Important for new arrivals:

I tested my controller still.

value of pulse/mm never be under 250.

If it is 250,  accuracy of my controller is X0.002  and Y0.001
If this value lower, the tool could overstep a bit.
Title: Re: DDCSV1.1 4 Axis controller
Post by: RotarySMP on May 09, 2017, 09:44:55 AM
My controller arrived from china yesterday. It will run this little machine one day...
http://www.cnczone.com/forums/benchtop-machines/142459-small-aluminium-cutting-mill-4.html

Is there a change log listing the overview of changes so far made to this controller?
Mark
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 09, 2017, 10:36:54 AM
Rob, you are the other God of this forum :)
(Pardon, No.1  is Benedikt)
Haha, thanks. I feel flattered  :beer:

Is there a change log listing the overview of changes so far made to this controller?
Not officially.
But here you go:

- Added USB Keyboard / Keypad support
- Translated the UI from Chinglish into proper English
- Added USB serial drivers (if such an adapter is connected on boot, a root shell is spanwed automatically)
- Added autostart script hooks (from USB and from internal flash)
- Keep settings on firmware upgrade
- Improved the file manager
- Fixed issues in the underlying Linux file system
- Added a new customizable splash screen

I might have forgotten something, but these are the major changes of the original firmware.

Most of our work has targeted a new open-source GPL rewrite of the software. We have rewritten the keypad driver and the FPGA driver. I have written many support utilities such as a FPGA debug utility, a NAND flash dumping utility, a NAND flash image editor and more.
I have also written a Makefile to build SDL with PNG and TTF support and all their required dependencies, gnuddrescue and a userland framebuffer terminal.

A full list of utilities can be found on our repositories:
Mine: https://github.com/bmuessig?tab=repositories
iocapa: https://github.com/iocapa?tab=repositories

Here's a simplified roadmap:
* FIX MY UNIT!!!
* Finish keypad driver support
* Write a small utility for controlling the internal buzzer
* Write a replacement GUI application

What has to be done concurrently is resume work on pdmotiond which is a full open source GPL reimplementation of the entire CNC motion stack.
This will also handle the limit switches, emergency stop, different axis configurations, FPGA setup (steps per mm, etc.) and homing / probing.
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 09, 2017, 11:13:44 AM
Benedikt, please let us know if your control is not repairable.

I am willing to kick in to help fund a replacement to further the development of this control.


Rob


Sent from my SAMSUNG-SM-G900A using Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 09, 2017, 11:20:03 AM
Benedikt, please let us know if your control is not repairable.

I am willing to kick in to help fund a replacement to further the development of this control.


Rob
This is a really kind offer  :bugeye:
I am trying everything to get the controller back to life, but if I fail, I would love to come back to your offer  :thumbup:

EDIT:
I have just registered us a domain:
http://pandora-cnc.eu/ which will now serve as the download address (replacing data.bmuessig.eu) and will contain all information and the credits.
The site will also have, being a .eu, free whois protection...

Thanks,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on May 09, 2017, 04:15:30 PM
Benedikt, please let us know if your control is not repairable.

I am willing to kick in to help fund a replacement to further the development of this control.

Rob

Will also help
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on May 10, 2017, 03:18:48 AM
hi Benedikt. it seems that pandora configurator online page not work


Inviato dal mio iPad utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 10, 2017, 04:41:38 AM
Benedikt, please let us know if your control is not repairable.

I am willing to kick in to help fund a replacement to further the development of this control.

Rob

Will also help
Thank you!  :D

hi Benedikt. it seems that pandora configurator online page not work
Right, this is due to me changing many server internal things.
I have moved my blog to a new CMS and therefore hand't fixed the links at that point.
I am sorry for any inconveniances. It is now resolved.
The old links will all still work for the forseeable future, but officially, the Configurator is now available in it's new home http://config.pandora-cnc.eu/
There is now also a Basic documentation http://docs.pandora-cnc.eu/en/ a download page http://pandora-cnc.eu/download and a repository http://dl.pandora-cnc.eu/

I have started to add text and translated the docs into German. Other language contributions are very welcome.

BR,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: iocapa on May 10, 2017, 05:42:56 AM
Good news.
The motiondev driver rewrite is at a stable version.

https://github.com/iocapa/motiondev

The basic idea is that I rewrote the driver to behave the same as the original one but with included sniffing/tracing code.
The data can be accessed by an external tool also available in the repository (Use README for more info if interrested).
Basically you unload the original stuff and insert this new one and launch the app.

Here are some filtered traces, if anyone is curious (filtered only LKT read/write events, don't know exactly what they are).




Title: Re: DDCSV1.1 4 Axis controller
Post by: iocapa on May 10, 2017, 06:01:10 AM
Forgot to add a trace for all the event that happen at app start and a few seconds (10) into it.
Title: Re: DDCSV1.1 4 Axis controller
Post by: MachineShopMan on May 10, 2017, 06:22:58 AM
One more question,
Is it possible to restore the factory windows op system?

I can't find it... :scratch:
While there should be no reason to do so, yes you can.
This is the factory firmware, do not download if you don't want to restore to factory and lose your config!
Download stock/factory firmware (https://www.bmuessig.eu/secure/data/CNC/DDCSV11/install-stock-2016061080.zip)
Instructions to flash it are as with my firmware.
While this will install the original firmware, it will not remove additional files / hooks / etc. that have been put in place by my firmware.
But again, if something doesn't work with my firmware, please report it or I can't fix it!


 :update:
News to the new firmware!
I have reverse-engineered the bootloader and written a program to generate complete NAND flash images that can be downloaded to the controller's NAND from within the controller's Linux. This means, we will soon get Ethernet and a fully custom boot splash :).

Best regards,
Benedikt

exactly what im looking for thanks!
Title: Re: DDCSV1.1 4 Axis controller
Post by: RotarySMP on May 10, 2017, 10:14:10 AM
Thanks.
Mark
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 14, 2017, 03:25:10 PM
THANK YOU IOCAPA, YOU ARE AMAZING, MAN!!!  :nrocks:

I have just received the best email in a long time.
Attached was a 4axis.bin which flashed to my controller just fine.
IT IS ALIVE AGAIN!!!  :D

I owe you so much, @iocapa.

Also thank you all so much, who would have donated to me, if the controller would've been totally dead.
Without iocapa, it certainly would've.

I may need to clarify, that the controller is not yet fully working.
What works again now is, that the same embedded Linux which is running on all your controllers, is now booting.
Many files are still missing and it might take a lot more time to fix this, but I think we can mostly recover it.
It will never be particularily good again, but hopefully good enough to be used for further development.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 21, 2017, 07:15:01 PM
It seems like we were on a good path.
But I can't tell if we can really get it back to factory firmware again.
I have tried to contact the manufacturer about it, but after an initial response I have never heared back.
Currently I am trying to get the flash dumped in a different way than what I have tried in the past.
This one is booted instead of Linux and writes the huge image compressed over the RS232 port.
If this attempt fails, I may have to resort back to the kind donation offers...

Anyways, unfortunately there has not yet been any progress recently that anyone except us developers can make use of.
If anyone has ARM Keil, please PM me. I would need some code built.
If not, I am working on a bare-metal toolchain for the controller so that we could run any operating system or bare-metal C code.
The latter is what I need for the Flash copy utility.

EDIT: There has been one thing I got to work which will be useful for the others of you. There is now Lua support for the controller which will be included by default in further firmware releases and finally the full rewrite. Lua is a very nice and very easy to learn programming language which is in some aspects similar to Basic. We will allow users to write plugins in Lua to extend the new firmware's capabilities and add cycles and other customizations.

BR,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on May 23, 2017, 03:24:16 PM
Using DDCSV1.1 in inch mode?

I am in the middle of switching from Mach 3 to this device and am missing something about the inch programming mode.

I have used Fusion 360 and Jay's post processor to generate the code below with a G20 for inch mode. it is the outside contour of a rectangle.
The DDCSV1.1 display is not matching up with the program coordinates.

I have attached my setup vars for ref. ( Thanks to Benedikt for the configuration utility and firmware!)

Andy Olney

Here is a photo:
https://goo.gl/photos/KK77kqJdbG5xELAF7


(Program: outside)
(test)
(Toolpath: 2D Contour2)
(Units: inches)
(Tool: bullnose end mill, D=0.250 CR=0.015)
(Workpiece:   -1.293 <= X <= 1.293 | -0.789 <= Y <= 0.789 | -0.290 <= Z <= 0.000)
(Tool travel: -1.378 <= X <= 1.378 | -0.949 <= Y <= 0.874 | -0.040 <= Z <= 0.600)
(Safe Z: 15.240)
G90
G20
G64 P0.001
G00 Z15.240
S 1000
M03
(--- 2D Contour2 ---)
S 1000
G00 X1.278 Y-0.949 Z0.600
G00 X1.278 Y-0.949 Z0.200
G01 X1.278 Y-0.949 Z0.039 F60
G01 X1.278 Y-0.949 Z-0.015 F30
G01 X1.278 Y-0.946 Z-0.028
G01 X1.278 Y-0.936 Z-0.037
G01 X1.278 Y-0.924 Z-0.040
G01 X1.278 Y-0.899 Z-0.040 F60
G03 X1.253 Y-0.874 Z-0.040 I-0.025 J0.000
G01 X-1.253 Y-0.874 Z-0.040
G02 X-1.378 Y-0.749 Z-0.040 I0.000 J0.125
G01 X-1.378 Y0.749 Z-0.040
G02 X-1.253 Y0.874 Z-0.040 I0.125 J0.000
G01 X1.253 Y0.874 Z-0.040
G02 X1.378 Y0.749 Z-0.040 I0.000 J-0.125
G01 X1.378 Y-0.749 Z-0.040
G02 X1.253 Y-0.874 Z-0.040 I-0.125 J0.000
G03 X1.228 Y-0.899 Z-0.040 I0.000 J-0.025
G01 X1.228 Y-0.924 Z-0.040
G01 X1.228 Y-0.936 Z-0.037
G01 X1.228 Y-0.946 Z-0.028
G01 X1.228 Y-0.949 Z-0.015
G00 X1.228 Y-0.949 Z0.600
G00 Z15.240
M5
M2
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 23, 2017, 08:17:16 PM
Not sure why your machine is acting weird.  I am going to spend some time reviewing the info you have supplied.  Hopefully something will stick out.

I see you have a G64 in there.  I have never thought to try that code on this control.  I am amazed at the codes that this machine will process that are not documented in the manual.  Maybe we should start compiling a list of usable codes.

Have you tried to run the code without the G64?

What does the machine motion look like when running the code?  Is it moving anywhere near the dimensions you have programmed?  Or more like the positions on the control in your picture?

Have you run any code in metric format to see if the problem is isolated to the G20?

Try a box shape with no radi also. 

Just throwing things out there to maybe shake something loose.


Rob

Rob

Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on May 23, 2017, 09:10:19 PM
Rob -

Thanks for the reply.

We think alike; have I had already removed the G64 with no change and tested with  a mm file, which works fine.

Not quite finished with the controller so no motion yet.

Just tried a hand coded rectangle and it was 6.25 times too large, which is not a multiple of conversion to mm (25.4).

Is G20 working fine for you?

Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: rowbare on May 24, 2017, 08:21:34 AM
Since you are just switching over, have you set up your steps per inch properly? What are the results like when you are jogging? i.e. if you jog an inch on the DROS are you moving an inch?

bob
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 24, 2017, 08:35:57 AM
Andy, I had some time before work this morning and ran your code on my machine.  Just like in your example, the control shows some crazy numbers.  I did not capture if the motions are are correct even if the control is not.

I took out the G64 and it appeared to run the same.

I took out the G20 and it ran fine in metric mode.

I'm going to go out on a limb and say to forget about getting the control to run in inch mode via the G20.

That being said, I saw on another forum where a person fooled the control into thinking it was in inch mode by multiplying his pulses/per mm by 25.4.  This means the control will put out 25.4 times the number of pulses necessary...which will in effect make the machine make movements in the inch realm.  The down side is that the machine is now only able to accept 3 decimal place inputs (.001).  For this to work correctly I would guess the post processor would need to be adjust to output 3 decimal places to ensure the rounding happens outside of the control.  Not sure if that is a requirement, but I know it will work correctly.

The G64.  I am torn by that command.  I have not used it much in my 30 year programming career, but that does not mean anything tangible.  I might be missing out on something great.  I am going to review my FANUC manuals at work today and see how to correctly use it and test it at home on this control.  I'm fairly certain one would not see any measurable effect on a home built machine unless they are machining at very high feed rates and trying to hold a corner definition. I'm very realistic with my application and I can say without a shadow of a doubt my machine is the weak link in holding tight corners at high speed. 

Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on May 24, 2017, 12:10:19 PM
Rob -

Thanks for checking! Not good news that you can repeat the error - I was hoping it was me.

Re the G64 - Fusion put that in and I don't know if it supported or what it does.

I tried to run the simple program below and the display is 6.25 times too big on x, y, and z, which has to be a clue.
What firmware are you running? I am thinking of flashing the original to check.

G90
G20
G01 X2 F50
G01 Y3 F40
G01 X0 F40
G01 Y0
M2

Feeds did not seem to have an effect, not sure why.

Steps converted via Mathcad and should be good since the units work.

Thanks for your help.

Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 24, 2017, 12:40:41 PM
Andy, I'm using Benedikt's latest release firmware.

I was just setting here thinking and I have not run a single thing on my machine that I have measured....nor do I watch the line of code to see if I am at the programmed coordinates.

Looks like it is time for some investigative work on my end.

I'll report back later tonight after I finish testing.

Rob

Sent from my SAMSUNG-SM-G900A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on May 24, 2017, 01:03:07 PM
Quick note -  feed codes appear to be working.
Reflashed over Benedikt's firmware, no change.

Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 24, 2017, 01:51:27 PM
The Chinese as well as most of Europe prefers millimeters. I doubt the Chinese who initially developed the firmware really cared about inch support.
Eventually, I may officially add inches to the new firmware.

Also, I just like to make it clear once again. The configurator has moved to http://config.pandora-cnc.eu/ and the downloads are now available from http://pandora-cnc.eu/download
There is now also an installation guide in two languages:
English: http://docs.pandora-cnc.eu/en/getting-started
German: http://docs.pandora-cnc.eu/de/getting-started

EDIT: In the documentation, the arrows are broken. You'll need to use the sidebar until this is resolved.
Also, the documentation is very short. If anyone would like to write a few pages (especially on general usage), that would be great.

BR,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 24, 2017, 02:42:57 PM
Benedikt, thanks once again for all of the great support on this project. I know I am really excited about the work you are doing.

Andy, "...feed codes are working"?  I'm not following.


Rob

Sent from my SAMSUNG-SM-G900A using Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on May 24, 2017, 02:57:46 PM
Rob -
I thought the feedrate shown in the display did not match the feedrate given in the gcode ie G01 X1 F40, but i ran it again and it seem to work.
Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: riorao on May 29, 2017, 12:53:19 AM
The Chinese as well as most of Europe prefers millimeters. I doubt the Chinese who initially developed the firmware really cared about inch support.
Eventually, I may officially add inches to the new firmware.

Also, I just like to make it clear once again. The configurator has moved to http://config.pandora-cnc.eu/ and the downloads are now available from http://pandora-cnc.eu/download
There is now also an installation guide in two languages:
English: http://docs.pandora-cnc.eu/en/getting-started
German: http://docs.pandora-cnc.eu/de/getting-started

EDIT: In the documentation, the arrows are broken. You'll need to use the sidebar until this is resolved.
Also, the documentation is very short. If anyone would like to write a few pages (especially on general usage), that would be great.

BR,
Benedikt

I want to make the interface translation into Russian.
Found in the firmware two files in /upgrade/nand - CHS and ENG
You can add a third file RUS in the utf-8?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 29, 2017, 06:55:45 AM
The Chinese as well as most of Europe prefers millimeters. I doubt the Chinese who initially developed the firmware really cared about inch support.
Eventually, I may officially add inches to the new firmware.

Also, I just like to make it clear once again. The configurator has moved to http://config.pandora-cnc.eu/ and the downloads are now available from http://pandora-cnc.eu/download
There is now also an installation guide in two languages:
English: http://docs.pandora-cnc.eu/en/getting-started
German: http://docs.pandora-cnc.eu/de/getting-started

EDIT: In the documentation, the arrows are broken. You'll need to use the sidebar until this is resolved.
Also, the documentation is very short. If anyone would like to write a few pages (especially on general usage), that would be great.

BR,
Benedikt

I want to make the interface translation into Russian.
Found in the firmware two files in /upgrade/nand - CHS and ENG
You can add a third file RUS in the utf-8?
Unfortunately I do not speak any Russian. But since you do so, if you translate the English text that I can send you via email to Russian, I will make Russian a language option with the next firmware release and also add it to the configurator as a language option.
I will add a German file too. If someone would also translate the text into French or Italian or any other language, I will surely also include these languages. There is a bit of code to add and a lot of patching to do. But I guess I can make it work for you ;)
Title: Re: DDCSV1.1 4 Axis controller
Post by: riorao on May 29, 2017, 09:34:04 AM
Unfortunately I do not speak any Russian. But since you do so, if you translate the English text that I can send you via email to Russian, I will make Russian a language option with the next firmware release and also add it to the configurator as a language option.
I will add a German file too. If someone would also translate the text into French or Italian or any other language, I will surely also include these languages. There is a bit of code to add and a lot of patching to do. But I guess I can make it work for you ;)

ok. Give me text file.
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on May 30, 2017, 06:03:37 PM
I finally have my Grizzly G1004 small knee mill moving. My goal was to replace the screwing around with Mach3 and a computer with the DDCSV1.1 and end up with a more reliable and simpler machine. To that end I built a little box that contains the controller and my Geckodrive G320 servo drives with a few switches. It seems to work well and the MPG moves the machine well.
The only glitch is the failure of the G20 mode; no inch display and the G20 has a bug.
I think it will be useable because the Fusion 360 cam can spit out metric G21 code whether the design is in inch or mm.

(https://goo.gl/photos/ZdGyw6ThMa1vE4MG8)

Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on May 31, 2017, 07:13:08 AM
WoW...that turned out nice and clean.  Is what I would think a factory install would look like.

Great job.

Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: riorao on June 05, 2017, 04:06:45 AM
Hey Benedikt M.
You wanted to send me a file for translation, something did not work out?
On private messages you do not answer.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on June 05, 2017, 05:29:20 AM
Hey Benedikt M.
You wanted to send me a file for translation, something did not work out?
On private messages you do not answer.
Hey,
You have not received my email??
That's strange. I have sent you two.
Maybe the email was wrong?

BR,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on June 05, 2017, 12:04:14 PM
Rob -

Thanks, I was trying for a clean look.

I thought I would post a few photos and notes from the build.

Control box is mounted on a photo tripod head. It is made from painted alum sheet with 3/4 leg alum angle and epoxy to hold it together.

The wiring is a little tight but do able.

I put the USB cable socket too close the the DDCSV, watch out of clearance on the right angle usb connector.

The Geckodrives are mounted on a 3/16 plate with heat transfer paste and are not getting hot so far.

I had this machine running on Mach3 but was constantly having trouble with wiring ( my fault) noise etc. The thing was just not reliable, and this should be better I am hoping.

Andy

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on June 13, 2017, 04:43:38 AM
Thanks to riorao, the online Pandora/DDVSV1.1 Configuration Generator is now also available in Russian  :beer:
http://config.pandora-cnc.eu/?lang=rus

It's not completely done yet, but most of the text is already translated.

If anyone would like to translate it to their language, please translate the file below into the desired language and mail it to me (contact-me@bmuessig.eu).

http://config.pandora-cnc.eu/lang/eng.txt

EDIT:
I have now also completely reworked the design of the configurator and made it look a lot more modern. I hope you'll all like it ;)
I have attached screenshots of the new design, but it looks best in person ;)
http://config.pandora-cnc.eu/

EDIT 2:
There is now also support for Chinese:
http://config.pandora-cnc.eu/?lang=chs

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on June 14, 2017, 04:02:28 PM
Does the configurator work with the stock software or only the update?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on June 14, 2017, 05:09:19 PM
Does the configurator work with the stock software or only the update?
It should also work with the stock software, but there should be no reason to not upgrade ;)
If it will work with our software rewrite is not yet sure. It most likely will do so.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on June 15, 2017, 07:23:49 AM
Thanks to riorao, the online Pandora/DDVSV1.1 Configuration Generator is now also available in Russian  :beer:
http://config.pandora-cnc.eu/?lang=rus
Translated menu items into Russian are not complete enough and not quite right.
I could correct them some points in accordance with the accepted terminology. Send me the original English and Russian translation.
 I think it will be useful to compare 2 translations
Maybe in the future I or someone else will supplement some items of the configurator menu with icons showing the associated function
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on June 15, 2017, 08:03:56 AM
Thanks to riorao, the online Pandora/DDVSV1.1 Configuration Generator is now also available in Russian  :beer:
http://config.pandora-cnc.eu/?lang=rus
Translated menu items into Russian are not complete enough and not quite right.
I could correct them some points in accordance with the accepted terminology. Send me the original English and Russian translation.
 I think it will be useful to compare 2 translations
Maybe in the future I or someone else will supplement some items of the configurator menu with icons showing the associated function
I have attached riorao's latest version of the translation and the english translation. I have also seen that some translation work is done in cnc.userforum.ru, so you may want to check if they proposed some changes too.

Icons would be nice. If you happen to find ones with a Public domain or simple Attributive license, we could use them.

This is my current todo list for the website:
Quote
- Get argument type checking working
- Add translateable user interface
- Detect empty files and ask for translations for the error message
- Add "back to defaults" button
- Change numbers to 3 decimal places
- Keep language choice on backend and especially on continued editing
- Check for NAN in number fields
- Print a leading 0 for decimal numbers between 1 and -1
- Add setting groups
- Maybe add search for parameter number (maybe by having anchors)

Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on June 15, 2017, 11:17:30 AM
Something like this.  It would be nice if someone checked the spelling and correctness of the translation.
I tried to translate by max. Icons are suitable in * png format?. Maybe there will be time, not all at once, but gradually I will try to make them.

Как то так. Постарался перевести по максимуму. 
Было бы неплохо если кто то проверит орфографию и правильность перевода.
Иконки подойдут в формате *png?. Может будет время, не все сразу, но постепенно буду стараться их сделать.

By the way, while translating saw it.#495 -t1 -s1"Interpolation period" -s2"s" -m16 -min=0.002 -max=0.010
 Does this apply to the code G93 I mentioned earlier?
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on June 21, 2017, 10:59:27 AM
How do you concept? Arrogantly tore the layout from the HAAS rack.
Title: Re: DDCSV1.1 4 Axis controller
Post by: riorao on June 21, 2017, 12:23:08 PM
How do you concept? Arrogantly tore the layout from the HAAS rack.
So many buttons on the controller can not be connected.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on June 21, 2017, 01:05:38 PM

So many buttons on the controller can not be connected.
[/quote]
They duplicate the controller keyboard, maybe there's nothing to it, but it's more convenient for me.
On extra you can always connect something else.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on June 22, 2017, 04:18:50 AM
End view.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on June 24, 2017, 06:18:12 AM
And in the metal
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on June 24, 2017, 02:27:17 PM
I like it.  Is that going to be mounted into a cabinet?

You mentioned some of the new keys duplicating some of the buttons on the control.  Please share details on how that it done.


Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on June 24, 2017, 05:30:21 PM
Yes, it will be connected to the my CNC machine
Buttons duplicate the keys of the controller to make it easier to work with gloves. On the free you can connect functions such as forced on / off cooling, dust extraction, vacuum, etc.
New functions do not apply to the controller, the panel simply provides buttons for control.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on June 30, 2017, 11:49:25 PM
So i just ordered a 2nd one and it has new firmware on it noted as 2017-03-04-87NOR


thoughts?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 01, 2017, 06:07:19 AM
So i just ordered a 2nd one and it has new firmware on it noted as 2017-03-04-87NOR

thoughts?
Yes, I know of the latest version.
Currently, I am working on a new update that includes that very version as a base.
This may take a bit more to complete though.

Have fun,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 01, 2017, 01:19:11 PM
Greetings from Indiana! I am a long-time lurker of this thread in particular, it has been so helpful! Thank you all (Benedikt in particular) for your great work on this controller!  :bow:
With that said, I do have a few questions I hope someone can help with, I am using this controller with a custom built X-Carve.

1) chriscnc mentioned something about a new factory firmware version, 2017-03-04-87NOR  Does anyone have a link to where I could download this from?

2) I've got my unit configured to use inches instead of mm, but this poses a problem: my Z-axis requires 24000 steps-per-inch because I'm using a Gecko G540, which by default has 10x microstepping. My machine jogs in manual mode fine, but when running under a program, I have inconsistent depth issues with the Z axis, due to this setting being far higher than the max of 10000. I thought I could fix this issue by changing to mm, but while that fixes the Z axis issue, it creates the same issue on the X & Y axis, as they're belt driven, and the steps-per-mm comes out to 33.33, which is way lower than the minimum of 100. The controller literally won't let you input anything less than 50. Any suggestions here? If I can't disable microstepping on 1 axis of the G540, I may have to get a different stepper controller for Z.

Thanks for any input!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 01, 2017, 03:45:17 PM
Greetings from Indiana! I am a long-time lurker of this thread in particular, it has been so helpful! Thank you all (Benedikt in particular) for your great work on this controller!  :bow:
With that said, I do have a few questions I hope someone can help with, I am using this controller with a custom built X-Carve.

1) chriscnc mentioned something about a new factory firmware version, 2017-03-04-87NOR  Does anyone have a link to where I could download this from?

2) I've got my unit configured to use inches instead of mm, but this poses a problem: my Z-axis requires 24000 steps-per-inch because I'm using a Gecko G540, which by default has 10x microstepping. My machine jogs in manual mode fine, but when running under a program, I have inconsistent depth issues with the Z axis, due to this setting being far higher than the max of 10000. I thought I could fix this issue by changing to mm, but while that fixes the Z axis issue, it creates the same issue on the X & Y axis, as they're belt driven, and the steps-per-mm comes out to 33.33, which is way lower than the minimum of 100. The controller literally won't let you input anything less than 50. Any suggestions here? If I can't disable microstepping on 1 axis of the G540, I may have to get a different stepper controller for Z.

Thanks for any input!
Hello, blades!

Glad you liked the progress so far.
For 1), you can download it from my site http://pandora-cnc.eu/en/download
However, I advise getting the modified version when it's out. You can always give the new factory version a try though, before the new mod comes out ;)

For 2), maybe you can use the config generator on http://config.pandora-cnc.eu/ to enter your configuration. After you have downloaded the file, use Notepad++ or vi/etc. on Mac / Linux to edit the setting manually, before importing it.

I hope this helps,

Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 01, 2017, 05:13:57 PM
Thank you Benedikt, I most certainly will be giving your modified version a try! Can't wait to see it! I will also try your suggestion regarding my configuration. Hopefully that will help.  :doh:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 01, 2017, 07:01:28 PM
Thank you Benedikt, I most certainly will be giving your modified version a try! Can't wait to see it! I will also try your suggestion regarding my configuration. Hopefully that will help.  :doh:
So for the configuration trick, you may want to simply leave the default value for the steps/mm (note that even if you use inches later, you will have to enter this in steps/mm).
Now, before submitting the form, write down the numbers associated with the values you want to set to a unrecommended value.
Then use a text editor that supports Unix line endings (on Windows, please use Notepad++ not the default Notepad that ships with Windows) and adjust the values associated with the numbers you wrote down earlier.
Now, save the file to an USB stick and call it userVar.set and safely remove the USB.
Finally, insert the USB stick into the controller and go to the file manager. There, locate the file, highlight it and press Enter.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 01, 2017, 07:57:16 PM
A thousand thank-yous, Benedikt!  :beer:

Oh, another question: do you know of any way to take the PWM output of 0-10v and drop it to 0-5v, and still maintain a true PWM variable output? My laser will take 0-5v pwm input. I already had to have it repaired by feeding it from the 0-10v output from the DDCSV1.1
I thought about hooking up a 5v voltage regulator to it, but that would merely clip the upper 5v signal and give undesired results.
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on July 02, 2017, 01:37:08 AM
Simple op amp with feedback ratio set to amplification of 0.5

Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 02, 2017, 07:28:58 AM
Simple op amp with feedback ratio set to amplification of 0.5

Sounds like a great idea, I will look into that. Thank you!
Title: Re: DDCSV1.1 4 Axis controller
Post by: C6MFG on July 06, 2017, 11:27:50 PM
Happy to discover the DDCSV1.1 and this forum!  I read through all the pages but have not been able to find or missed if there was ever a way to modify it to Imperial/Inches?  Is that an option with Pandora?

Thanks

Jason
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 07, 2017, 01:51:13 AM
Happy to discover the DDCSV1.1 and this forum!  I read through all the pages but have not been able to find or missed if there was ever a way to modify it to Imperial/Inches?  Is that an option with Pandora?

Thanks

Jason
Hi, Jason!

Glad you found it useful.
Inches is a very high priority right now.
Our rewrite will have inches from the start on, but I am currently working on adding working inches to the original firmware too.
So to answer your question, not now but soon.
I'll keep you all updated on the progress.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: C6MFG on July 07, 2017, 09:46:05 AM
Thanks for the quick reply Benedikt!  Glad to hear that it will soon be resolved.  I already ordered my controller and am very excited to use it....could be the perfect answer for some of my small CNC retrofited machines.

Jason
Title: Re: DDCSV1.1 4 Axis controller
Post by: C6MFG on July 13, 2017, 04:13:23 PM
Will Pandora allow the controller to be used on a lathe and support threading?  Just converted a mini lathe and I am currently using Mach 3 but was looking at swapping to linuxcnc for it .....until recently.

Jason
Title: Re: DDCSV1.1 4 Axis controller
Post by: C6MFG on July 13, 2017, 06:29:32 PM
Just showed up! :)

Jason
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on July 14, 2017, 12:46:44 AM
I am under the impression from John Stevenson's comments that because there is no support for a spindle encoder that lathe threading will not work. I think that there is a $600 controller that will work, and probably be easier to get running than Linuxcnc.
Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: C6MFG on July 14, 2017, 10:04:34 AM
Andy,

Oh well...Thanks for the info!

Jason
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 17, 2017, 05:30:58 PM
Ok, I'm about ready to take a hammer to this controller! Per my previous post, I was having trouble with my configuration because my G540 runs in 10x microstepping by default, and cannot be changed. This forced my to use a Z step setting number of 24,000 steps-per-inch (I'm running, or trying to run in inch mode). Max setting is supposed to be not over 10,000. At this setting, my Z-axis just hummed in program running mode, such as when trying to home. When I set this down to a lower number (12,000), it worked perfectly other than being off by 50%. So, I replaced the G540 with some TB6600 motor drivers where I can set microstepping. It was working perfect again on X & Y. I now have Z step setting @ 2400 with the new motor driver (no microstepping), and it's doing the same thing again! Motor won't even move in manual mode unless I drop the Z number to something well below the 2400 I need it to be.
WHAT THE HECK IS GOING ON WITH THIS STUPID THING??  :doh:
It didn't like 24,000 with the G540, and now it doesn't like 2400 with the TB6600 drivers! There is nothing wrong mechanically with the Z axis, it runs very smooth when I set an artificially low step number.

Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on July 17, 2017, 08:15:44 PM
Bill, I'm sorry the control setup is giving you fits.  This sort of thing stresses me to no end so I am empathetic to those going through it.

I'm not sure if I will be able to do anything to help you, but with some basic information I might be able to come up with some things that might point you in the right direction.

I'm a ground level sort of guy, so I have to start at square one when I solve problems with my projects.  Can you post the step angle of the motors you are using , the pitch diameter of your pulleys, and the pitch of your z-axis screw please.

Rob

 
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 17, 2017, 08:34:26 PM
Hey Rob, I truly appreciate any help at all!
The motors are pretty basic, standard NEMA 23 motors. 1.8 deg/step.
I'm not sure of the actual PD of the pulleys, but it's a 1:1 belt drive with 20-tooth pulleys on a 3mm pitch belt, to a 12 TPI lead screw (basically a 1:1 drive to the lead screw). The driver is set up with no microstepping.

The X & Y run on 20-tooth pulleys on a 3mm pitch belt. They work perfectly fine.

I also tested a different motor when I had the G540 hooked up, and got identical results, so it's not a motor issue.
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on July 18, 2017, 08:09:38 AM
Bill, as you already know your math is correct on the steps.

Have you worked out parameter #416 which is "the time between DIR and pulse" and #417 which is "the width of the pulse signal"? I know in my case these two parameters took a bit of work to get correct just to get motion with the MPG.

I also had to futz with the start and stop  acceleration for smooth movement.

I'm just shooting at stars here so be patient.  This is how I trouble shoot and with enough work it all gets resolved.

Rob


Edit...per the G540 manual parameters $416 and #417 should be set to 200.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 18, 2017, 05:11:21 PM
 Hey Rob,

Thank you for that input. I had not really messed with those settings too much, but I think you have landed on something here.
I only had 416 (settings went from 416 to 418, with no 417). I set it to 200 (it was @ 300), but no change. So I adjusted #33 (motor start speed) to 20 (was @50), and it started working.

Now this has me wondering if I wasted all that time & $$ replacing the G540 with the new drivers. After all, it was working fine in manual jog mode. My assumption was that because I was so far beyond the 10,000 max step number that the controller wasn't happy with that.
Too bad I already cut off all the D-sub connectors I painstakingly soldered on for the G540.   :palm:
Title: Re: DDCSV1.1 4 Axis controller
Post by: kwood94xj on July 26, 2017, 06:52:13 AM
Good Morning,

          Is this still being developed? I see that the thread has slowed and the most recent firmware posted to bmuessig.eu is from 4-16-17 over 2 months old. I know He was having trouble with his DDCSV1.1 hardware.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 26, 2017, 06:56:27 AM
Good Morning,

          Is this still being developed? I see that the thread has slowed and the most recent firmware posted to bmuessig.eu is from 4-16-17 over 2 months old. I know He was having trouble with his DDCSV1.1 hardware.
Hello,

while I have not been active in the last time, due to other responsibilities that took most of my time, this project is as active as always.
In the background, together with another great person, we are working on new bootloaders, which, when completed, should allow us to build new improved kernels, that will finally contain some of the features lacking in the current version.
There is a lot of new features planned, but it will still take some time. Since I have not been able to revive my controller, I am not able to do any development on the CNC software itself at the moment. This will be resolved eventually.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: kwood94xj on July 26, 2017, 08:38:22 AM
Thank you for the response. I am willing to donate some funds if it gets you a new controller to continue dev work. Also is there a github  for this project?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 26, 2017, 09:03:24 AM
Thank you for the response. I am willing to donate some funds if it gets you a new controller to continue dev work. Also is there a github  for this project?
Thank you  :beer:
Donations to benedikt.muessig (at gmail) via PayPal are always much appreciated and welcome. I have compiled a list of supporters that will soon be published to the official website of the project http://pandora-cnc.eu/

The entire project is open source and the repositories can be found here: https://github.com/Pandora-CNC

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: John Stevenson on July 26, 2017, 09:57:14 AM
Things move on very fast in this game.
Go to CNC workshop. cn and search for abrsnd new controller called a CW40
Supports 257M of memory, 4 axis can handle tool changes and addresses some of the downsides of the DSV

I have asked for a few PDF and will post it when I get it.
Looks to be roughly the same price. 
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on July 26, 2017, 09:31:13 PM
Just wanted to stop in and share that my controller is still rocking right along.  Super pleased with this investment.

I did want to share something strange I have had happen twice to me.  I use both the original USB stick and several other PNY brand sticks.  I removed all of the system config files from the original USB stick some time ago, but here recently I have had the control completely reboot and dump all home positions when I plug in the original stick that has nothing but .NC files on it.  I am not sure how or why, but it is happening.  I have not experienced this with the other sticks. 

My solution so far is to keep Benedikt's files on that USB at all times.  Seems to be solid again.

Anyone experience this?  Or have an explanation of what I might have done wrong?

Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: efrench on July 26, 2017, 09:42:44 PM
Things move on very fast in this game.
Go to CNC workshop. cn and search for abrsnd new controller called a CW40
Supports 257M of memory, 4 axis can handle tool changes and addresses some of the downsides of the DSV

I have asked for a few PDF and will post it when I get it.
Looks to be roughly the same price.

Is this the one  (https://www.youtube.com/watch?v=afxYCr_IiI4)you're talking about?  The video is from 2012...
Title: Re: DDCSV1.1 4 Axis controller
Post by: kwood94xj on July 27, 2017, 07:05:03 AM
PPRINT:   What OS are you using to view the files on the stick? Linux filesystems have several ways of hiding files and windows sometimes misses them. Have you tried a low level format of the drive?
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on July 27, 2017, 07:58:45 AM
kwood...I am using windows 8.1.

I have not tried any re-formatting of that thumb drive yet.  To be honest I have no idea how.  I'll do a little surfing of the net and see what I can find for a tutorial.

Thanks for the suggestion.

Rob 
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 27, 2017, 05:50:55 PM
Things move on very fast in this game.
Go to CNC workshop. cn and search for abrsnd new controller called a CW40
Supports 257M of memory, 4 axis can handle tool changes and addresses some of the downsides of the DSV

I have asked for a few PDF and will post it when I get it.
Looks to be roughly the same price.

Is this the one  (https://www.youtube.com/watch?v=afxYCr_IiI4)you're talking about?  The video is from 2012...

There's no WAY that controller can be anywhere near the same price range as the DDCSV1.1
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 27, 2017, 05:56:57 PM
Just wanted to stop in and share that my controller is still rocking right along.  Super pleased with this investment.

I did want to share something strange I have had happen twice to me.  I use both the original USB stick and several other PNY brand sticks.  I removed all of the system config files from the original USB stick some time ago, but here recently I have had the control completely reboot and dump all home positions when I plug in the original stick that has nothing but .NC files on it.  I am not sure how or why, but it is happening.  I have not experienced this with the other sticks. 

My solution so far is to keep Benedikt's files on that USB at all times.  Seems to be solid again.

Anyone experience this?  Or have an explanation of what I might have done wrong?

Rob

I've also had a couple strange/unexplained resets on my controller. I stopped using the USB drive that came with it, only because I don't like the way it plugs/unplugs. Seems to require a lot more force, so I started using a SanDisk drive I had laying around.

On 2 occasions, my controller completely reset, and I lost ALL my user variables, completely reset to factory defaults. I don't remember if I happened to start it up or shut it down with the USB drive in, but now I am diligent to make sure the USB drive is not plugged in when I am starting up or shutting down. Like I said, I don't know if it's jump-drive related or not.
Title: Re: DDCSV1.1 4 Axis controller
Post by: russ57 on July 28, 2017, 05:20:26 AM
m.aliexpress.com/amp/item/32820438809.html
USd 225

-russ

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 28, 2017, 01:59:52 PM
m.aliexpress.com/amp/item/32820438809.html
USd 225
I have had a look and while it looks rather nice, I think it is not a good replacement, since it seems as if it had no FPGA and is quite a bit more expensive than the DDCSV1.1. The screen has a slightly higher vertical resolution than the one of DDCSV1.1 though.
This is certainly a device for another topic.

So, good news, thanks to all your kind donations, which I have all featured on http://pandora-cnc.eu/supporters I have ordered a replacement, 4-axis DDCSV1.1 from eBay. The eBay unit was a bit more expensive than the one on AliExpress, but it allowed me to directly pay via PayPal and I have had more suitable shipping options than on AliExpress. The unit is scheduled to arrive in mid-August.
Again thank you so much!  :mmr:

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on July 29, 2017, 11:33:32 AM
Excellent, I'm happy you were able to get another controller on the way!

Be careful with these "other" controllers. I purchased one of these, THINKING it was essentially the same thing as the DDCSV1.1, but a little nicer with an expanded keyboard and color display. It's not the same thing at all, it's only good for simple manual input NC programming at the controller. It has a USB drive, but lacks the OS to actually allow you to upload an NC file from a jump drive. It's a nice unit, but completely useless, and sitting in a drawer, still in the box. Such a waste of $$.

https://chinaplccenter.com/tc55v-cnc-controller.html
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on July 29, 2017, 12:04:33 PM
Excellent, I'm happy you were able to get another controller on the way!

Be careful with these "other" controllers. I purchased one of these, THINKING it was essentially the same thing as the DDCSV1.1, but a little nicer with an expanded keyboard and color display. It's not the same thing at all, it's only good for simple manual input NC programming at the controller. It has a USB drive, but lacks the OS to actually allow you to upload an NC file from a jump drive. It's a nice unit, but completely useless, and sitting in a drawer, still in the box. Such a waste of $$.

https://chinaplccenter.com/tc55v-cnc-controller.html
Oh, that was close. I actually initially considered buying something similar to this one.
Glad, I actually settled for the DDCSV1.1 after watching a video from mikeselectricstuff about a similar controller, where he pointed out the DDCSV1.1 as an alternative.
The good thing about the DDCSV1.1 is the fact that it is based on Linux, which makes it rather modular and easier to reverse engineer and faster to make useful progress. Also it allows replacing just single components instead of having to write completely new firmware to get anything changed.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Simon0362 on August 04, 2017, 04:00:47 AM
Things move on very fast in this game.
Go to CNC workshop. cn and search for abrsnd new controller called a CW40
Supports 257M of memory, 4 axis can handle tool changes and addresses some of the downsides of the DSV

I have asked for a few PDF and will post it when I get it.
Looks to be roughly the same price.
Any updates John?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on August 09, 2017, 12:23:06 PM
Hi, I need to put reverse the external output of the "stop" button since it works me upside down . Is it parameter # 424?
Thank you.
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on August 10, 2017, 08:41:16 AM
Hi, I need to put reverse the external output of the "stop" button since it works me upside down . Is it parameter # 424?
Thank you.
Can you help me understand the problem better.
I am understanding that the emergency stop button signal is active until you engage the button itself. Is that correct?

Rob

Sent from my SAMSUNG-SM-G900A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on August 10, 2017, 09:07:03 AM
If it is correct, I have changed parameter # 424 and it has been resolved.
Thanks for your reply.
Regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on August 16, 2017, 12:51:48 PM
On several occasions the program of the DDCSV1 panel has stopped and I have had to disconnect it to restart this one again, I do not know how to solve this problem, maybe with a ferrite filter at the input of the feed do something. Has anyone had this problem?
Thank you
Title: Re: DDCSV1.1 4 Axis controller
Post by: c4g on August 24, 2017, 06:19:38 PM
I am new to this site  and new to cnc. I built my 1st cnc router using the DDCSV1.1 4 Axis controller patched with pandora. :)

How do i copy and edit the current controller settings offline? if i edit system.backup file located on  the usb drive i get a parsing error message from the pandora configurator. Ubuntu lists the file as a bin file.

and where can i find out what each config line # number sets? there seems to be multiple setting for axis speed and i am unsure what each does. my interest is when the machine is working the feed rates are low (the DDCSV overides G code  speed settings), but when the machine is transiting, the rates are fast, with a maximum safe rate set in software. Currently I manually change the FRO variable to do this.

and how do i set a machine home position? I do not have a home probe so i'd like to set a home position in  software ( using MACH machine coordinates) so that the head returns to the same position for tool changes as such or  when a job is finished.

the chinenglish manual is a confusing read for me....

thanks, this thread was an amazing read & very educational!
cheers & thanks
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on August 27, 2017, 10:08:06 PM
Finally getting to set mine up
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on August 30, 2017, 03:31:17 PM
Hey group, so some advice on the internal vs external power, im converting a Multi-cam cnc router to our loved ddcsv. to original control is from 1998 and has to be drip feed... and sucks with fast 3d moves. I've built many CNC mills etc from the ground up but this one im doing more of a conversion reusing 90% of whats there it has nice IMS drives and power supplies and magnetic home switches etc.

So here is my question the drives have a nice 5v supply already tie'd to drive for the opto (3 wire 5v+,step,dir) can I leave the 5v from the PSU and not use the 5v from the DDCSV, as the grounds will still be the same so the signal will be driven low either way. second is the home switches, they are magnetic 3 wire but are tied to the 24v psu will the home input take a 24v v.s the 12V as noted and supplied from the ddcsv, I would hate to need to swap these out for 12v ones, or I can try and source a level converter. Basically, there is a real nice5/12/24v PSU all wired up already in there and am wondering if I can/should use it v.s the DDCSV power outputs and only tie the signals in, my concern is some of the loads such as these 1998 magnetic switches and opto drives may pull more than the DDCSV step down regulator is putting out.
Title: Re: DDCSV1.1 4 Axis controller
Post by: c4g on September 08, 2017, 10:14:31 PM
I have made a probe and it works great for probing the z axis  zero working height in the current coordinate system (usually g54).

I was surprised that when working in the machine coordinates (G53?), the probe function does not use the offset stored in line 69:   Thickness of tool sensor". I wish to use the probe sensor to calibrate the table top to tool tip distance (which varies every time the tool is changed), as I have a software -z axis limit of zero set , so that my tools do not accidentally dig into the table bed.

The process i  use to do this is:

1) tool change
2) place the probe plate on the table surface
3) switch to any one of g54,...g59
4) initiate the probe function (3 key presses)
5) the tool moves down, touches the probe plate, moves back up to line 75: Retraction distance after probing + line 69: Thickness of tool sensor" the probe function automatically rezeros the z distance.
6) switch to G53 (Machine) coordinates
7) zero z axis with DRO readout from step 5 (5+ key presses)
8) switch back to working coordinate system. (more key presses)
9) continue on working

if the probe function worked the same way in g53 as the others then i would not have to do this.

is there a built in function that does the same thing? or

can someone write a gcode routine for me to do this same? Im a noob to gcode, so I am not sure where to start.

Again, all i want to do is probe for the table top to tool tip zero position, so that the software limits protect the table top & tools
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 09, 2017, 10:41:51 PM
ref C4G..

 I'm not sure on this control if a soft limit is applied to both g54 and g53, in general, your soft limits are mach g53 only. so the best way to stop from cutting your table is to zero off the table then in your cam ref the Z as the bottom of the material then all of your g code will be in the + direction. if you have a spoil board Zero of it for the cut through.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 09, 2017, 11:05:18 PM
homing set up issue, so ive converted my Multicam and its moving great but im having an issue with homing, when it home's the dir option is reversed from noted, causing the 10mm retract to be added so it see home then jumps 10 more mm in the same direction instead of backing up. There is no way to add a neg value if I switch the homing direction pos to neg it rev the 10 mm as it should but the issue is the axis is then homing the wrong direction. basical if you tell it to home y to a neg direction it homes pos its rev even tho all axis move correctly and then the bounce back is wrong. Also seams there is no way to do a home offset. my mach has the X axis home at full pos (right side) forcing me to use right for zero vs left. is there any way to add a home offset. I guess in g54 it does not matter anyway but I just like it to all lineup. to fix the bounce back issue i just set it to zero so it does not move after home.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 09, 2017, 11:06:43 PM
Also homing speed also does not change, the speed its stuck at 50mm/m
Title: Re: DDCSV1.1 4 Axis controller
Post by: tklus on September 11, 2017, 08:03:07 PM
hey guys,
I have an extra DDCSV 1.1 that I would like to sell. in good working order. it has the hand wheel and 8g sd card and usb extension. asking $200 shipped. I can post it  up on ebay if buyers would prefer the protection. I can accept paypal.
Title: Re: DDCSV1.1 4 Axis controller
Post by: tklus on September 12, 2017, 12:56:31 PM
listed on e-bay...
http://www.ebay.com/itm/263202963017?ssPageName=STRK:MESELX:IT&_trksid=p3984.m1558.l2649
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 12, 2017, 06:29:46 PM
About to give up

Hello, thanks for your time on the DDCSV. I have mine all set up on a Multicam router.. motion, homing, probe, M3 and M8 all works great..... but am having issues with motion processing arcs. every time there is an arc and goes from an arc to a line it jumps over this is not an electrical/mechanical problem, it even shows it in the display it is doing it. I've tried many posts in fusion from Fanuc to Jays and all do the same thing. Its very frustrating and makes the control unusable. any ideas why it's doing this? is anyone else's doing it also with arcs? I've attached a pic of my router, the screen that shows the jump at arc ends, the g-code and fusion file. Any help would be great or im back to using the 1995 drip feed control or mach conversion. such because its a nice unit if the software worked. I may jump on a SMC-4-4 I hear those have no issue with gcode?

Thanks much

Chris
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 12, 2017, 09:58:28 PM
Messed with it all day all G02 moves regardless of the code are breaking the arc's made 3 different parts/G-Code and all have the same issue I've run the code through simulators and it works fine. Ive run a few different post processors and same results. One thing may be my firmware is newer, so maybe its a problem with the firmware. if some one could please run the code and look on the draw screen and see if the outer line is broken on the end of the arcs.  thanks much if it's my firmware I can just load an old version from the link in this forum

(Program: 1001)
(Toolpaths: 2D Contour3, 2D Contour4)
(Units: millimeters)
(Tool: flat end mill, D=3.175 CR=0.000)
(Workpiece:   0.000 <= X <= 152.000 | 0.000 <= Y <= 70.829 | -10.000 <= Z <= 0.000)
(Tool travel: -0.587 <= X <= 152.587 | -0.587 <= Y <= 72.369 | -10.000 <= Z <= 15.000)
(Safe Z: 15.000)
G90
G21
G64 P0.0254
G00 Z15.000
S 10000
M03
(--- 2D Contour3 ---)
S 10000
G00 X76.027 Y49.141 Z15.000
G00 X76.027 Y49.141 Z5.000
G01 X76.027 Y49.141 Z1.000 F762
G01 X76.027 Y49.141 Z-4.683
G01 X76.048 Y49.129 Z-4.804
G01 X76.106 Y49.093 Z-4.907
G01 X76.194 Y49.039 Z-4.976
G01 X76.298 Y48.975 Z-5.000
G01 X76.569 Y48.810 Z-5.000
G03 X77.005 Y48.915 Z-5.000 I0.166 J0.271
F2500
G02 X78.360 Y49.674 Z-5.000 I1.354 J-0.828
G01 X88.613 Y49.674 Z-5.000
G01 X88.613 Y50.723 Z-5.000
G01 X63.419 Y50.723 Z-5.000
G01 X63.419 Y49.674 Z-5.000
G01 X73.623 Y49.674 Z-5.000
G02 X75.211 Y48.087 Z-5.000 I0.000 J-1.587
G01 X75.211 Y18.107 Z-5.000
G01 X76.772 Y18.107 Z-5.000
G01 X76.772 Y48.087 Z-5.000
G02 X77.005 Y48.915 Z-5.000 I1.587 J0.000
F762
G03 X76.900 Y49.352 Z-5.000 I-0.271 J0.166
G01 X76.629 Y49.517 Z-5.000
G01 X76.525 Y49.581 Z-4.976
G01 X76.438 Y49.634 Z-4.907
G01 X76.379 Y49.670 Z-4.804
G01 X76.358 Y49.683 Z-4.683
G00 X76.358 Y49.683 Z15.000
(--- 2D Contour4 ---)
S 10000
G00 X17.238 Y72.369 Z15.000
G00 X17.238 Y72.369 Z5.000
G01 X17.238 Y72.369 Z1.000
G01 X17.238 Y72.369 Z-9.683
G01 X17.238 Y72.345 Z-9.804
G01 X17.238 Y72.276 Z-9.907
G01 X17.238 Y72.173 Z-9.976
G01 X17.238 Y72.052 Z-10.000
G01 X17.238 Y71.734 Z-10.000
G03 X17.556 Y71.417 Z-10.000 I0.318 J0.000
G01 X136.000 Y71.417 Z-10.000 F2550
G02 X152.587 Y54.829 Z-10.000 I0.000 J-16.588
G01 X152.587 Y43.500 Z-10.000
G02 X108.500 Y-0.587 Z-10.000 I-44.087 J0.000
G01 X43.500 Y-0.587 Z-10.000
G02 X-0.587 Y43.500 Z-10.000 I0.000 J44.087
G01 X-0.587 Y54.829 Z-10.000
G02 X16.000 Y71.417 Z-10.000 I16.587 J0.000
G01 X17.556 Y71.417 Z-10.000
F762
G03 X17.873 Y71.734 Z-10.000 I0.000 J0.317
G01 X17.873 Y72.052 Z-10.000
G01 X17.873 Y72.173 Z-9.976
G01 X17.873 Y72.276 Z-9.907
G01 X17.873 Y72.345 Z-9.804
G01 X17.873 Y72.369 Z-9.683
G00 X17.873 Y72.369 Z15.000
G00 Z15.000
M5
M2
Title: Re: DDCSV1.1 4 Axis controller
Post by: Ryan7777 on September 13, 2017, 10:26:57 AM
Sorry Chris! I don't know enough about Gcode yet to give you an answer to your problem. But I can run your code in a couple of different bits of software and see if it's broken in simulation. But as you say, it may be more of a hardware issue. Someone with an actual DDCSV might be better help. I'm still waiting for my first one to arrive in a day or two.

I just wanted to toss in a request for Ethernet connectivity to Benedict on the new firmware front.

I know some of you don't like the idea of having your beloved mill attached to the wild world web for sneaky hackers to start turning out fidgit spinners using your mill bed for material, but I plan on simply setting my home routers firewall to block my mill from ever seeing the wider web! I just want local connectivity so I don't have to swap USB sticks every time I need to make a little change to my gcode or do a simple test. It's nice they give you a sacrificial connector on the controller, but I'm more worried about remembering to eject my drives safely than that. And I have bricked a stick or two by just that in my day.

Oh, and as far as reading the FPGA flash, that's probably where the axis difference resides. And it wouldn't be useless to read it, the FPGA is essentially Frankenstein's monster without a brain until it is powered up. It only knows what it is once it reads the flash for configuration, you don't burn anything to the FPGA, it can't hold anything on its own once powered down.

I would think if one wanted to really dive deeply, you could Frankenstein in socket for flash chips or just read from it on board, take the resulting bin or hex and fidgit with it bit by bit. It would be a slowwww process, but it's been done with other devices...

Respectfully,

Ryan
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 13, 2017, 11:32:04 AM
Thanks Ryan7777,

The code is correct, I've tested it on other simulators and my tormach... the controller is just having issues with transitioning from a G02 move to a G01 move the straight line is always shifted off and broken. My firmware is stock as it was newer then the latest revision here so I didn't change it as there were notes from benedict he was porting the newer firmware, I just wonder if it is my firmware, I would roll it back to the modded one here if I knew it worked.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Ryan7777 on September 13, 2017, 08:10:36 PM
Hey group, so some advice on the internal vs external power, im converting a Multi-cam cnc router to our loved ddcsv. to original control is from 1998 and has to be drip feed... and sucks with fast 3d moves. I've built many CNC mills etc from the ground up but this one im doing more of a conversion reusing 90% of whats there it has nice IMS drives and power supplies and magnetic home switches etc.

So here is my question the drives have a nice 5v supply already tie'd to drive for the opto (3 wire 5v+,step,dir) can I leave the 5v from the PSU and not use the 5v from the DDCSV, as the grounds will still be the same so the signal will be driven low either way. second is the home switches, they are magnetic 3 wire but are tied to the 24v psu will the home input take a 24v v.s the 12V as noted and supplied from the ddcsv, I would hate to need to swap these out for 12v ones, or I can try and source a level converter. Basically, there is a real nice5/12/24v PSU all wired up already in there and am wondering if I can/should use it v.s the DDCSV power outputs and only tie the signals in, my concern is some of the loads such as these 1998 magnetic switches and opto drives may pull more than the DDCSV step down regulator is putting out.

Reading back a bit here about your mill and the power supply question.

Often AC to DC power supplies are fine sharing house keeping duties and will live together just fine sharing grounds. It's done all the time and shouldn't be a problem.

But I see a lot of people that tend to over think level shifting and resort to more trouble than they need. For example, it sounds like you need to shift 24VDC out of your magnetic sensor down to 12VDC?

I would advise you not to try to put 24VDC into a port that expects a maximum of 12VDC. It's likely optoisolated but you'll probably smoke the opto. Just don't do it.

That said, a simple resistor voltage divider is what you need! Two resistors is all that you need in fact. I've seen people suggest opamps at half gain and weird stuff like that which is totally overkill. A lot of parts that only end up going to waste.

I'll let you research the math  :smart: but there is a quicker shortcut...

There are voltage divider calculators on the web that will let you input your starting voltage, your desired voltage and whatever resistor you choose for one leg, and it will give your the value for the other. The better calculators will tell you how much power your resistors will dissipate and how much current it will be drawing. Since you are dividing your voltage in two, it's really easy. Just choose two resistors of the same value! But since you are dropping half of 24 volts, you need to pick higher value resistors! Two 100k ohm 1/4 watts would probably be just fine. This will lessen the current draw on your sensor output and dissipate less heat, use less power and save more trees.

Bowden's hobby circuits hosts my favorite divider calculator because it calculates power dissipation and current. And it does the math!

Just use the 24 volt signal output out of your your magnetic sensor and tie it to the top side of the divider, the other end of the divider to ground, and the middle of the divider is now your new 12 volt DC magnetic switch signal. Easy. The grounds should already be shared.

Shifting up would require active circuitry or relying on the higher voltage supply and whatnot of course, but there are chips made just for that, opamps are great for amplifying AC, but a lot of hassle for D.C., just use a purpose made chip for DC shifting, no extra components and oscillation issues.

Sorry if you know all this already, but I see people who could stand to learn that you don't always need a complex circuit to do a simple job that a couple of simple resistors can do!

-Ryan
Title: Re: DDCSV1.1 4 Axis controller
Post by: PPRINT on September 13, 2017, 08:11:42 PM
Chris, sorry you are having problems with this.  I know too well how stressfull these things can be.

There are a couple/few different ways to output an arc move in a cnc.  Some controls are finicky about what they like...and I have already found out this is a finicky one.

Here is some code I run fine in my machine.  Please give it a try and let me know if it works correctly for you.  It is in metric units.

Set the G54 anywhere you want on the table and set the z height anywhere above the table.  The program cuts down to Z0.0 so it should not hit anything.

edit:
The comments in the code below indicates a large material size, but just disregard that.  The program only profiles a 6" x 6" box that has .5" corners. 

(ARC_TEST)
(EnRoute Software)
(www.enroutesoftware.com)
(9/13/2017 7:05:06 PM)
(Material Size)
(X= 431.8000, Y= 762.0000, Z= 19.05)
G49 G80 G17 G90 G0 G94 G40 G98
T1 M6
(1/8" End Mill )
S18500 M3
G54 G90  X153.9875 Y76.2000
G43 Z2.50 H1
G1 Z0.0 F635.0
G1 Y139.6118
G3 X139.6118 Y153.9875 I-14.2875 J0.0882
G1 X12.7882
G3 X0.0000 Y146.2460 I-0.0882 J-14.2875
G1 Z9.5250 F20000.0
G1 Y6.1540
G1 Z-2.5400 F635.0
G3 X6.1540 Y0.0000 I12.7000 J6.5460
G1 Z9.5250 F20000.0
G1 X146.2460
G1 Z-2.5400 F635.0
G3 X153.9875 Y12.7882 I-6.5460 J12.7000
G1 Y76.2000
G00 Z2.5
M5
G0 Z25.4
M30


Thanks,
Rob
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 14, 2017, 04:18:20 AM
So big news everyone..... and a big problem for some...I spoke to the real factory and more specifically the lead engineer who developed the DDCSV1.1( i lived in China for 5 years so still have sourcing contacts) turns out my problem is because my X and Y step rates are not equal.... this is why the arcs are off.  So even tho you can set different steps per mm for X and Y it will not work out. so X and Y pulses per step must be equal... my machine uses a ball screw on X and a rack and pinion on Y and has different steps per mm... wish I knew this before... :lol:

So basically if your machine has the same steps per mm for X and Y your gold ( this is also why you can't do arcs in Z or helix moves all axis must match in steps per mm) if your machine does not have equal X/Y steps this control will not work for you.

On the positive side, the DDCSV replacement ver 2 is 40 days out and will have this option and a whole new software (no the new software will not work on the 1.1). Luckily I have a smaller router that has the same ball screws for x/y I can use this on and the factory is sending me a V2 to beta test.
Title: Re: DDCSV1.1 4 Axis controller
Post by: zenbot on September 15, 2017, 01:54:34 PM
will the new version support inches?
Title: Re: DDCSV1.1 4 Axis controller
Post by: TurboRexed on September 15, 2017, 04:15:05 PM
So big news everyone..... and a big problem for some...I spoke to the real factory and more specifically the lead engineer who developed the DDCSV1.1( i lived in China for 5 years so still have sourcing contacts) turns out my problem is because my X and Y step rates are not equal.... this is why the arcs are off.  So even tho you can set different steps per mm for X and Y it will not work out. so X and Y pulses per step must be equal... my machine uses a ball screw on X and a rack and pinion on Y and has different steps per mm... wish I knew this before... :lol:

So basically if your machine has the same steps per mm for X and Y your gold ( this is also why you can't do arcs in Z or helix moves all axis must match in steps per mm) if your machine does not have equal X/Y steps this control will not work for you.

On the positive side, the DDCSV replacement ver 2 is 40 days out and will have this option and a whole new software (no the new software will not work on the 1.1). Luckily I have a smaller router that has the same ball screws for x/y I can use this on and the factory is sending me a V2 to beta test.
chriscnc,
 I had the same problem where I installed the DDCSV on a small Emco lathe, the one axis was 2mm per rotation and the other axis was 5mm per rotation, and I also picked up that the G2 and G3 commands would track the wrong arc. I however could reproduced the arc error mathematically using the ratio between the two axis and thus realised that they have screwed up the arc math constants in the algorithms when the axis were not  the same. To solve for this error I changed my Microstepping resolution on my motor drivers to reflect the inverse of the mm/rotation ratio between the two axis. My lathe now runs perfect arcs.

Just another point, I see many reviewers of this product make the statement that this controller cannot be used on a lathe, and while this holds true for threading and tapping, which is simillar for a milling machine scenario (there is no inputs available for spindle orientation), it is running perfectly on my small lathe install. I am using Autodesk Inventer with the Cam module and I have written a DDCSV Turning Post for Autodesk.

Marius
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 15, 2017, 07:15:15 PM
Thanks for the info, I did the math and tried to match the X and Y with micro stepping, the best i can come up with is 20 steps per mm split so it's not going to work for me. But the new control is coming so hopefully it will do the trick.

I will ask them about inch, it didn't come up as im a metric guy
Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on September 15, 2017, 07:45:30 PM
Thanks for posting this. I had purchased one of these to put into a machine we are building for a customer one axis is ball screw, the other is rack and pinion.  Knowing it's not going to do the job *BEFORE* we spend a week trying to figure out what we stuffed up is definitely the preferred option!
PK
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on September 16, 2017, 07:31:36 AM
Thanks for the info, I did the math and tried to match the X and Y with micro stepping, the best i can come up with is 20 steps per mm split so it's not going to work for me.

My controller made arc-mistake too, under 250 step/mm.
What driver do you use? Could you increase microstep?
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on September 16, 2017, 11:22:06 AM
Hi Old Zoro--

My issue is the 20mm difference between X and Y per mm. To use arcs they must be equal steps per mm.  My setup has a rack and pinion on Y and ball screw on X so there is a slight difference in steps ( X=295, Y=315, Z=375).  I'm using the original IMS drives that came with the machine and they have 8 levels of micro-stepping available (2~256) in Binary and 6 levels in decimal (5~250). Now I did a test and modified the Post in fusion to use no arcs (breaks arcs up into little G01 moves) and the Interpolation Math of X and Y did use the axis values and ran correctly. The issue is Arc math G02/03 ties the axis together and must be equal in steps. attaceh is the drive info and my mechanical resolutions if someone else is seeing a closer match for X/Y micro stepping.

X= 1 rev= 6.35mm motion (2000steps micro steping X10)=314.96 steps per mm
Y= 1 rev= 10.896mm motion  (3200 micro steps X16)= 293.84 step per mm
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on September 16, 2017, 02:03:52 PM
Chriscnc,

I prefer linuxcnc/EMC2 postprocessor at Fusion360. I tried a lot of post too, but it is the correct one for my controller.
Title: Re: DDCSV1.1 4 Axis controller
Post by: TurboRexed on September 17, 2017, 07:30:43 AM
You are buggered Chriscnc, if you cannot change that y axis slightly, the new revision controller is your only fix 👍
Title: Re: DDCSV1.1 4 Axis controller
Post by: TurboRexed on September 17, 2017, 07:33:39 AM
My controller made arc-mistake too, under 250 step/mm.
What driver do you use? Could you increase microstep?

old Zozo
What is your x and y axis mm/1rev ? and can your driver do microstepping?
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on September 17, 2017, 10:27:44 AM
What is your x and y axis mm/1rev ? and can your driver do microstepping?

I use trapezoid screw,  pitch of all axis is  is 6.35mm/rev.
Driver type is DM556D , microsteps are from 1/2 to 1/128.

( "...buggered..." - this should not have been    )
Title: Re: DDCSV1.1 4 Axis controller
Post by: TurboRexed on September 17, 2017, 11:37:54 AM
I use trapezoid screw,  pitch of all axis is  is 6.35mm/rev.
Driver type is DM556D , microsteps are from 1/2 to 1/128.

( "...buggered..." -???   :hammer:   )
No this sounds perfect, if all your motors are 200 steps per rev, I would set the microstepping dip switches for all axis to 10, thus "sw5-sw6-sw7-sw8" must be "off-on-on-off". This will make them run quiet and still have some good torque available, but in theory you can make the microstepping any setting as long as they are the same for all your axis on this machine.
Title: Re: DDCSV1.1 4 Axis controller
Post by: groszek on October 15, 2017, 08:08:53 AM
Hi all
For more than a year I have used the RMHV2.1 controller with original software. As for my modeling needs, it is ok. However, during this time there were some problems that I hope with your help will solve.
1. I made a touch probe, and set up with the manual but after changing the parameters and pressing the key1, nothing happens. # 446 function of External key 1: find center. Did anyone run this function?
2. Has anyone managed to use the diameter and height adjustments available in the parameters?
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on October 15, 2017, 03:40:56 PM
will the new version support inches?

It is exciting news that a new version is on the horizon, and I for one can't wait to see it!

With regards to your question if it supports inches, I also hope it does, as I primarily work in inches.
That said, I have set up & run my controller in inches, and it seems to work just fine that way. I really think the controller's firmware should be set up more generically in "units" since it can support either, and not assume mm specifically.
Title: Re: DDCSV1.1 4 Axis controller
Post by: zenbot on October 16, 2017, 12:13:23 AM
How did you do that?


will the new version support inches?

It is exciting news that a new version is on the horizon, and I for one can't wait to see it!

With regards to your question if it supports inches, I also hope it does, as I primarily work in inches.
That said, I have set up & run my controller in inches, and it seems to work just fine that way. I really think the controller's firmware should be set up more generically in "units" since it can support either, and not assume mm specifically.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on October 16, 2017, 06:30:03 PM
Easy. Basically, just ignore any setting that references MM, and treat it as inches. Just watch the default rapid & feed rates, which are too high for inches per minute.
Title: Re: DDCSV1.1 4 Axis controller
Post by: zenbot on October 16, 2017, 07:18:57 PM
when I tried that, it lost .001 inches for every inch I jogged.  the readout would start out 0, then .999, the 1.998, the 2.997, etc.
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on October 17, 2017, 05:13:34 PM
I want to use my controller on a new project and have reached the testng stage, everything worked manually as expected,  however it ran very roughly on an actual program,  took a while and some test programs to discover that it does not like I & J codes. :doh:
The literature says that it does,  is this something that has got broken in the 'plus' version or has it always been this way or is just my controller.
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on October 18, 2017, 04:06:47 PM
Don't know what i've done but seems to be working OK at the moment  :Doh:

Title: Re: DDCSV1.1 4 Axis controller
Post by: tom osselton on October 18, 2017, 07:07:07 PM
You told someone about the problem you will never see that again! :D
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on October 19, 2017, 01:29:22 PM
You told someone about the problem you will never see that again! :D

Problem is still there  :scratch:

Seems to be related to steps/mm,  ~300 I have problems,  ~600 it runs OK,  without G02/03 runs very smoothly on any steps/mm so I do have a way out.

Not sure if it's some sort of timing issue with my driver,  I am running Vexta 5 phase motors and drivers which generally run perfectly smoothly
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on October 19, 2017, 04:44:00 PM
when I tried that, it lost .001 inches for every inch I jogged.  the readout would start out 0, then .999, the 1.998, the 2.997, etc.

Very strange, some sort of cumulative error.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 23, 2017, 05:35:37 AM
Hello,

I have been rather busy recently, so I was unfortunately not following the development of this topic for a while.
As I have read, a new version of the controller is supposed to come out soon.
This is rather unfortunate in my opinion, since it probably makes redeveloping the entire software pretty pointless, as it will soon be superseeded.
If someone could give me the contact information of that engineer, we could coordinate development better.
I will try to get inches fixed and Ethernet working, but I don't believe in writing the rest of the software anymore to be honest.
Generally, any info about the future of this controller is very appreciated.

I wished the new software could be made compatible with the new controller.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: kwood94xj on October 23, 2017, 09:27:16 AM
That really is unfortunate as I bought this controller because the software that was being developed here was looking like it would be soo much better. Really the biggest thing for me is getting inches to work. 
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on October 23, 2017, 10:19:01 AM
That really is unfortunate as I bought this controller because the software that was being developed here was looking like it would be soo much better. Really the biggest thing for me is getting inches to work.
Hi, kwood94xj,

As long as there is enough demand and also certainly, if I can get hold of the engineer in charge, I will continue development of the new CNC software.
In any case am I looking into fixing inches and I am working on a new system kernel that supports Ethernet network connectivity.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: atomichammer on October 25, 2017, 01:49:33 AM
Hello everyone. Does anybody know what does this box send to uart with the stock firmware? I thought it would be nice to send current coords in order to display them like pseudo-DRO.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on October 30, 2017, 12:43:30 PM
Ok in working with the lead engineer of the ddcsv, the arc math for different axis steps has been fixed. here is the new Firmware in the rar attached.

Do not change the value below .01mm (see the pic). now
The arc interpolation algorithm is set to soft algorithm, set the soft arc algorithm string tolerance setting to 0.01mm (the smaller the higher the accuracy, but smaller then this may cause issues)
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on October 30, 2017, 12:52:33 PM
@ kwood94xj

Hi, I don't use INCH but I'm working directly with the factory and lead engineer, can you explain the problem I will add it to the bug list to fix, I have them fixing the homing direction issue now, and they just finished the arc fix on math the new firmware I just posted.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on November 03, 2017, 09:50:16 PM
Inch mode works on this controller, you just have to mentally replace mm with inch. It would be nice if it were actually switchable between mm and inch, but short of that, it would be nice if the controller referred to "Units" rather than "mm".  It would make the controller more universally appealing.

I've mentioned the inch thing a few times, but I don't think people are grasping the concept of using it in inches. I've used it like this from day 1.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 04, 2017, 08:15:00 AM
Inch mode works on this controller, you just have to mentally replace mm with inch. It would be nice if it were actually switchable between mm and inch, but short of that, it would be nice if the controller referred to "Units" rather than "mm".  It would make the controller more universally appealing.

I've mentioned the inch thing a few times, but I don't think people are grasping the concept of using it in inches. I've used it like this from day 1.
This may work well for the most part, but if the files contain G20 somewhere the subsequent values will be converted again.
Title: Re: DDCSV1.1 4 Axis controller
Post by: RotarySMP on November 04, 2017, 10:14:34 AM
Chris, I hope that factory is paying you a generous consulting fee for doing there bug smashing and development.
Mark
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 05, 2017, 01:36:01 PM
Hello do you know how to connect electrovanne 12v ?i need relay ? Or i can connect the electrovanne on 12v and m08?
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 06, 2017, 09:05:29 AM
Yes, you need relay (SSR).  M8 could switch only 20mA.  See  Pages 13.
https://purelogic.ru/files/downloads/doc/Controller/DDCSV1-4_eng_purelogic.pdf (https://purelogic.ru/files/downloads/doc/Controller/DDCSV1-4_eng_purelogic.pdf)
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 10:39:57 AM
I cant tale the 12v on ddcsv? Or i must have a external power 12v 20 mah ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 11:10:04 AM
i have buy this it's good ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 06, 2017, 02:43:29 PM
i have buy this it's good ?

No.  This relay needs more than 100mA, but M8/M9 output of controller has only 20mA.
SSR relay can be controlled with less than 20mA.
For example this one:
https://www.ebay.com/itm/PCB-Mount-Type-4A-SSR-Solid-State-Relay-DC-DC-DC3-32V-Control-DC5-110V-4-Pin/111379031094?hash=item19eeb52436:g:~8IAAOSwnHZYVAjL (https://www.ebay.com/itm/PCB-Mount-Type-4A-SSR-Solid-State-Relay-DC-DC-DC3-32V-Control-DC5-110V-4-Pin/111379031094?hash=item19eeb52436:g:~8IAAOSwnHZYVAjL)

DDCSV can control it, and you can use it for cooling motor under 5-110V 4A.
Only motor needs  external power.  What is the voltage and current of the motor?

I'm not an electronics expert, but someone fixes it if necessary :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 03:12:55 PM
12v 3w
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 06, 2017, 03:21:15 PM
OK, I'm looking for a matching relay.  DC motor, or AC?
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 03:27:00 PM
dc , its a electrovane pneumatique 12v 3w airtac 3/2voies
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 03:32:52 PM
https://www.ebay.fr/itm/BSP-1-4-DC-12V-3-way-2-position-Pneumatic-Electric-Solenoid-Valve-Air-Aluminum/162143551450?hash=item25c0823fda:g:JLcAAOSwqfNXkK4G
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 06, 2017, 04:07:47 PM
https://www.ebay.fr/itm/BSP-1-4-DC-12V-3-way-2-position-Pneumatic-Electric-Solenoid-Valve-Air-Aluminum/162143551450?hash=item25c0823fda:g:JLcAAOSwqfNXkK4G

It will be appropriate
https://www.ebay.com/itm/1-pc-GJ-5FA-L-DC-DC-PCB-SSR-In-3-32VDC-Out-5-220V-DC-5A-Solid-State-Relay/291828772996?epid=902948069&hash=item43f259b084:g:M-IAAOSwmtJXT8rI (https://www.ebay.com/itm/1-pc-GJ-5FA-L-DC-DC-PCB-SSR-In-3-32VDC-Out-5-220V-DC-5A-Solid-State-Relay/291828772996?epid=902948069&hash=item43f259b084:g:M-IAAOSwmtJXT8rI)

You can use the controller's own 12V to switch the relay (with the M8 / M9 command) but the valve needs the external power supply, furthemore a diode due to the magnet coil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 04:12:01 PM
merci beaucoup i buy it so sorry for my english
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 04:13:15 PM
it's for my draw bar tuning https://www.usinages.com/threads/un-changeur-doutil-sur-broche-chinoise.103763/page-6
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 06, 2017, 04:32:44 PM
 :clap:   I thought you wanted to use for laser cutting.
(If you think, I'll draw the wiring next days.)
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 06, 2017, 04:41:47 PM
yes if i have a wiring i am very happy. And do you think if i take a 5v ssr can i connect the 5v s for the handle with the M08?
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 06, 2017, 05:05:54 PM
DDCSV's 5V is isolated from M8/M9 output.
Useable 12V of limit input.

But external 5V useable, of course.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 07, 2017, 02:15:42 PM
ils disent 5ma
https://www.banggood.com/fr/12V-1-Channel-Relay-Module-With-Optocoupler-H-L-Level-Triger-p-914844.html?cur_warehouse=CN
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 07, 2017, 03:17:39 PM
yes if i have a wiring i am very happy...

for example...
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 07, 2017, 03:29:16 PM
 :med: merciiiiiiiiiiiiiiiiiiiiii

ZOZO THE BEST
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on November 07, 2017, 03:59:03 PM
Watch the diode marking...
Important! This direction is correct only. If you change it, the SSR or power supply is damaged.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 07, 2017, 04:14:45 PM
ok it's a  :beer: zener diode
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on November 07, 2017, 07:28:31 PM
Chris, I hope that factory is paying you a generous consulting fee for doing there bug smashing and development.
Mark
.

RotarySMP?!?!? Hey dude! We chatted 8 years ago when I was doing my Harbor Freight 7x10 CNC build:
http://www.cnczone.com/forums/mini-lathe/82871-7-x-10-project-started.html

Hope you're doing well. Interwebz, small world!

- Bill
Title: Re: DDCSV1.1 4 Axis controller
Post by: RotarySMP on November 08, 2017, 07:45:52 AM
Hi Bill,

Glad to see you are still making stuff as well. What are you using the DDCSV for? I got mine to finish the little mill I started back years ago, but then a MAHO 400E came up, so that project is again on the back burner.
Mark
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on November 08, 2017, 03:06:10 PM
Hey Mark,

I built a CNC router (X-carve). It's working pretty well for that, although I would like a more robust CNC controller. The DDCSV is great, but I do wish they'd release an updated, improved model of it.
Title: Re: DDCSV1.1 4 Axis controller
Post by: RotarySMP on November 09, 2017, 11:32:20 AM
Nice router Bill.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on November 09, 2017, 11:43:58 AM
Thanks Mark. Still learning it...
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on November 09, 2017, 01:47:05 PM
Ok everyone,

Here is the latest firmware with updated English for the new features and a new motion planning algorithm. This is far smoother and adds line 113 and 123, its now leveraging the FPGA for ARC interpolation, and resolution can now be set to 0.001 on line 123. X,Y,Z can all now have different steps per mm and produce a correct arc. To try this set line 113 to software and line 123 to .001 try some code with line 113 on and off and let me know. The new motion will not stop/pause for transitions from g01 to g03 making a smooth CV like path.

Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on November 09, 2017, 07:20:48 PM
Could someone please explain how to load this new firmware  :Doh:
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on November 10, 2017, 06:59:05 AM
Could someone please explain how to load this new firmware  :Doh:

I believe you just extract the zipped file onto a USB drive, insert into the controller (turned off), then power up the controller.

BTW John, love your bearded dragon!! <3  I've got an iguana myself.

- Bill
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on November 10, 2017, 08:24:45 AM
Thanks for reply  :thumbup:

I did try that but did not seem to work,  will give it another go
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on November 10, 2017, 08:56:42 AM
I think I worked it out,  copied the contents to the Data folder of the origional install ,  all seems to be OK now,  have the new settings showing   :D

Dragon was my Grandaughter's,  she had about 20 various lizards.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 10, 2017, 05:25:40 PM
hello do you know how use probe in sub programme for my tool change?
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 11, 2017, 04:02:39 AM
I want measure each tool in auto beetween each tool change with macro
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on November 11, 2017, 02:52:07 PM
Ok everyone,

Here is the latest firmware with updated English for the new features and a new motion planning algorithm. This is far smoother and adds line 113 and 123, its now leveraging the FPGA for ARC interpolation, and resolution can now be set to 0.001 on line 123. X,Y,Z can all now have different steps per mm and produce a correct arc. To try this set line 113 to software and line 123 to .001 try some code with line 113 on and off and let me know. The new motion will not stop/pause for transitions from g01 to g03 making a smooth CV like path.

Limited testing, but does seem smoother and does allow me to use 300 ppm   :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 21, 2017, 04:26:20 AM
Ok everyone,

Here is the latest firmware with updated English for the new features and a new motion planning algorithm. This is far smoother and adds line 113 and 123, its now leveraging the FPGA for ARC interpolation, and resolution can now be set to 0.001 on line 123. X,Y,Z can all now have different steps per mm and produce a correct arc. To try this set line 113 to software and line 123 to .001 try some code with line 113 on and off and let me know. The new motion will not stop/pause for transitions from g01 to g03 making a smooth CV like path.

Hi! I flashed this firmware to my cnc and have a problem with arcs.
Here is short gcode and video:

gcode: https://gist.github.com/arrowcircle/30017c506a6883d7ab227eae4f3af698
video:


Problem is, when it makes second tab it does not stop and goes additional 360 degrees without lifting a tool.

Is this a bug? Or do I doing something wrong?
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on November 21, 2017, 05:56:12 AM
It's not a problem. Tell me, why raise the instrument? To make the program run longer?
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 21, 2017, 07:31:46 AM
It's not a problem. Tell me, why raise the instrument? To make the program run longer?
It is a problem. My cnc goes through material. In this example its only 1mm. I catched that bug on 16mm of depth and broken the tool.
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on November 21, 2017, 07:41:20 AM
Hi chriscnc
It seems ther is some problem with arc interpolation in last original firmware due to not calculate the backlash during movments.. is it the new firmware fix this problem?


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on November 21, 2017, 08:22:07 AM
It's not a problem. Tell me, why raise the instrument? To make the program run longer?
It is a problem. My cnc goes through material. In this example its only 1mm. I catched that bug on 16mm of depth and broken the tool.
[/quote]
Set a safe height greater than the total depth of processing
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 21, 2017, 09:48:24 AM
Set a safe height greater than the total depth of processing

Problem is it ignores safe height and just move tool for a full circle instead of making a pod
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on November 21, 2017, 10:15:29 AM
Problem is it ignores safe height and just move tool for a full circle instead of making a pod

see the settings of the processing strategy of your CAM system. Point out that the tool should be taken to the initial height after the operation is completed. Your problems are the result of incorrect programming.
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 22, 2017, 01:33:29 AM
Problem is it ignores safe height and just move tool for a full circle instead of making a pod

see the settings of the processing strategy of your CAM system. Point out that the tool should be taken to the initial height after the operation is completed. Your problems are the result of incorrect programming.
Please try to simulate gcode I sent and compare it with video - they are really different, look on second tab. This is not a problem of CAM. Same GCODE on different controller works fine and equal to simulation.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on November 22, 2017, 02:07:31 AM
Please try to simulate gcode I sent and compare it with video - they are really different, look on second tab. This is not a problem of CAM. Same GCODE on different controller works fine and equal to simulation.
I saw your code, you do not have a gap in the G code between the cuts to a safe height. The cutter, after passing through the circle, is deepened by 1 mm and cuts further. At me your code is fulfilled exactly as you programmed it. Learn or change your CAM system. Either manually add lines containing a lift to a safe height
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 22, 2017, 03:45:47 AM
Please try to simulate gcode I sent and compare it with video - they are really different, look on second tab. This is not a problem of CAM. Same GCODE on different controller works fine and equal to simulation.
I saw your code, you do not have a gap in the G code between the cuts to a safe height. The cutter, after passing through the circle, is deepened by 1 mm and cuts further. At me your code is fulfilled exactly as you programmed it. Learn or change your CAM system. Either manually add lines containing a lift to a safe height
I dont know how you seen the video and simulation. In simulation on the second tab it moves through the tab for 30 degrees, however in video it moves for 390 degrees. And please read my problems. Same code on another controller works fine and exactly like in simulation.

So please dont advice to check CAM settings, its controller related problem.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Muzzerboy on November 22, 2017, 02:44:43 PM
BTW, dunno if you saw "https://ncviewer.com/" written by one of the Fusion boys. Quick and simple way to check out your toolpaths.

Muzzer
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on November 23, 2017, 05:49:48 AM
Talking of backlash: Is this now working in the current release?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 23, 2017, 07:28:10 AM
Status update:
My controller is now repaired and seems to be operational again.
I have started to binary patch the latest version of the firmware that has been posted by chriscnc.
This may take a while. How is that one version working for the most of you?
Is it stable enough to be used productively?

@ChrisCNC, please provide some info on the FPGA registers. This would really help!
Don't fear anything. There is no way we're going to steal any profit from you.
We've got most of the software source (minus the comments and the names of the functions local variables) already, but some FPGA doc would really help.

Beat regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 23, 2017, 09:20:22 AM
This may take a while. How is that one version working for the most of you?
Is it stable enough to be used productively?

Hi! I flashed this firmware to my cnc and have a problem with arcs.
Here is short gcode and video:

gcode: https://gist.github.com/arrowcircle/30017c506a6883d7ab227eae4f3af698
video:


Problem is, when it makes second tab it does not stop and goes additional 360 degrees without lifting a tool.

Is this a bug? Or do I doing something wrong?
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on November 23, 2017, 12:42:06 PM
This is a gcode issue, what software did you make the code with? Ive been running the new firmware non-stop as well as the factory and its not had any faults yet. Ill run your code to make sure i get the same.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on November 23, 2017, 12:50:22 PM
@antonio

Testing backlash, is it not using it at all or is there an error in the arc? please run with line 113 on then off to compare. Turn off only if you mach has the same steps per/mm x/y
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on November 23, 2017, 12:53:32 PM
@Benedikt M.

Send me a PM ill loop you in with the factory team direct.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on November 23, 2017, 01:16:45 PM
Hey Chris, has there been any update on the DDCSV ver. 2 you mentioned back on pg. 28?
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 23, 2017, 01:58:14 PM
This is a gcode issue, what software did you make the code with? Ive been running the new firmware non-stop as well as the factory and its not had any faults yet. Ill run your code to make sure i get the same.

Its Mastercam. Same gcode works fine with cnc controlled by NCStudio. Also, any simulator will show the difference between video and simulator.
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on November 24, 2017, 03:42:06 PM
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on November 25, 2017, 01:21:25 PM
They know if they have solved the problem of accidental deletion of the software with the mode key and if that is the case where I can download the last factory version.
Thank you
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on November 27, 2017, 05:21:24 AM
@antonio

Testing backlash, is it not using it at all or is there an error in the arc? please run with line 113 on then off to compare. Turn off only if you mach has the same steps per/mm x/y

hi Chris,
I'm using the latest original firmware but backlash is not used during a circle even the backlash and parameters (0,15 x and 0,15 y) on varset is setted on for x and y too.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 27, 2017, 03:56:50 PM
Good evening!

It seemed many people had issues with the firmware update process, so I have developed a small Windows assistant to guide you through the installation of Pandora.
What makes it so much easier is, that the assistant detects all removable drives, shows which ones are compatible for the installation, and allows reformatting incompatibly formatted sticks in the proper format. Also, all files are copied to their proper locations making sure, the installation will work well.
Afterwards, the USB stick is ejected and a short tutorial is presented that leads through the remaining steps.
It's great to have so many different people here and not anyone here has a degree in IT so it's kept as simple and straightforward as possible. I think the mechanical work most of these people show here is just plainly amazing :D

Here are a few screenshots, because  :worthless:

(http://dl.pandora-cnc.eu/utils/installer/Pandora%20Installer%201.PNG) (http://dl.pandora-cnc.eu/utils/installer/Pandora%20Installer%202.PNG)

It can be downloaded from here: http://dl.pandora-cnc.eu/utils/installer/PandoraInstaller_20170416a.exe


Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on November 27, 2017, 06:13:56 PM
NICE work Benedikt! Many thanks!! Haven't tried it yet, my machine is still in temporary storage from moving. Looking forward to trying it out!
Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on November 27, 2017, 08:01:13 PM
 :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on November 29, 2017, 06:12:52 AM
Thanks Benedikt.

Will Pandora instal overwrite my existing parameter settings?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 29, 2017, 07:28:12 AM
Thanks Benedikt.

Will Pandora instal overwrite my existing parameter settings?
The latest version is not overwriting the settings anymore.
If you want to play safe, you can copy it from the /mnt/nand1-1/settings file to a usb stick before you start.

Best regards
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on November 29, 2017, 08:13:09 AM
Please help I am confused.

The pandora loader displays a red warning on the splash screen, and loads a new version. There is no other comunication (as indicated in the seceond screen shot)

The version details are:
2017-04-16-IM NOR
DDCSV1.1 PLUS

Problem is that it won't run a gcode file or do a zero all axes (2nd x- x-). Pendant mode works as do the single axis zero and the move/jog modes

I notice in reply 731 mention of a november version which installs as:
2017-10-30-89 NOR
DDCSV1.1@DDREAM

This version also behaves as above.
Title: Re: DDCSV1.1 4 Axis controller
Post by: hschoel on November 30, 2017, 01:58:15 AM
Hello All,

DDCSV2.1 is available at https://www.lollette.com/cnc-controller/DDCSV1.1-offline-CNC-Controller.html

When you order the DDCSV1.1 you are getting the DDCSV2.1. I got this confirm.

Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on November 30, 2017, 05:51:41 AM
Hello All,

DDCSV2.1 is available at https://www.lollette.com/cnc-controller/DDCSV1.1-offline-CNC-Controller.html

When you order the DDCSV1.1 you are getting the DDCSV2.1. I got this confirm.

How it differs from v1.1?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 30, 2017, 06:08:46 AM
Hello All,

DDCSV2.1 is available at https://www.lollette.com/cnc-controller/DDCSV1.1-offline-CNC-Controller.html

When you order the DDCSV1.1 you are getting the DDCSV2.1. I got this confirm.

How it differs from v1.1?
I hope only in the wierd new design :P

Also an interesting detail from the new firmware file, chris posted:
Code: [Select]
DDCSV2.1@DOSEDONE
It appears as if the new firmware is going to be compatible across all controllers alike (So DDCSV1.1 and DDCSV2.1). Also it is probably going to be produced/distributed by whatever DOSEDONE is.
Title: Re: DDCSV1.1 4 Axis controller
Post by: KevJ on November 30, 2017, 08:22:58 AM
Hi all,

Firstly, I'd like to thank the guys who've put in the effort to improve the software on this controller.

I've ended up here with a similar problem to Merc's. I ran his code in a sim and it works (three tabs on the bottom of the parts), however I agree that it is nothing like the process shown in the video.
The issue I'm having (with updated pandora version as well as previous) is that when i ramp in on a profile, it sometimes starts in the wrong place.
As with Merc's code, when I run it in sim it looks fine but on the machine with the DDCSV1.1 controller it just does it's own thing. This same code works fine on my other machine.
This seems to have something to do with ramping down on an arc.

I've worked around this by doing a straight plunge at the start of the profile, however this will only work for some parts.
I've attached gcode and a photo of a cut (I stopped it when it was apparent it had gone wrong)

Any suggestions would be appreciated.

Regards,

KevJ
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 30, 2017, 10:46:16 AM
 :update:
Here's a big update for PandoraInstaller. It is now capable of installing multiple firmware versions.
There have also been some various bug-fixes.
The factory firmware, as well as the modded firmware can now be installed.

It can be downloaded from here: http://dl.pandora-cnc.eu/utils/installer/PandoraInstaller_20171130_v13.exe


And here are some screenshots of the new version:

(http://dl.pandora-cnc.eu/utils/installer/Pandora%20Installer%203.PNG) (http://dl.pandora-cnc.eu/utils/installer/Pandora%20Installer%204.PNG)

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on November 30, 2017, 06:03:35 PM
Merc and Kevn,

You have your G code set for 3 axis arc interpolation. look at your Gcode see the Z move on a G03 line. This controller only supports interpolated arc move on a single plane at a time ( this is pretty common). most controllers till the very late 90's started to offer interpolate arcs on 3 axis. This is a setting in your post processor to restrict arcs to a single plane like x/y per line. Don't be mistaken, this controller can make perfect 3 axis helix moves. Its just the way the post processor handles the code by mixing G01 with G03 moves, the motion of the machine is no different and super smooth as the controller can prosses code with lookahead very fast. Just select no helix moves in your post processor, it will still helix, just won't use a G03 with a Z on the same line. Long story short, Gcode is correct for a different controller, that's why it will work in simulators and some other controllers. you simply have the wrong post processor for this controller. look at the postprocessor file and look for helix allowed and or arc interpolation planes allowed making sure its set to 1.  Look at the screenshot of the fusion 360 post.
Title: Re: DDCSV1.1 4 Axis controller
Post by: KevJ on December 01, 2017, 04:36:14 AM
Thank you for your quick response Chris,
I'll take a look at the cam post today and see if I can make the change.

Regards,

KevJ
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on December 01, 2017, 04:56:57 AM
Many thanks to all. I think all my funny problems (see my earlier posts) were caused by my parameter settings.

Installing the 2016 version which reset the parameter file to factory solved the problems:

Made minor tweeks to suit my steppers and it works!

Now installed the 16 04 2017 version and all is fine. Parameters not affected and it works fine.
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on December 01, 2017, 09:19:53 AM
hello
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on December 01, 2017, 09:57:42 AM
Back to Backlash Basics.

Has anyone used this on the  version 1.1 controller and the 16-04-17 software?

I know I have about 0.1 mm backlash in X and Y

If I run this code

G17 G21 G90 G94 G54
(^Safe Block^)
F 2.
S 10.
G1 X-1.  Y-1.
G1 X0.
Y0.
G1 X10.
Y10.
G1 X0.
Y0.
M30

I return to zero =/- 0.005 mm

My settings are #437 to #440 0 (no correction)
#441 to #444 0.000 note this can only be a positive number from 0.000 to 0.999 mm.
#445 (speed) set to 99

Enabling X and Y backlash and setting say 0.1mm of backlash makes no difference.

This is very confusing.

Is there any point in trying the 2.1 firmware?

Also note that #445 can bot set to less than 99 mm/min
 
Title: Re: DDCSV1.1 4 Axis controller
Post by: KevJ on December 01, 2017, 10:42:04 AM
Merc and Kevn,

You have your G code set for 3 axis arc interpolation. look at your Gcode see the Z move on a G03 line. This controller only supports interpolated arc move on a single plane at a time ( this is pretty common). most controllers till the very late 90's started to offer interpolate arcs on 3 axis. This is a setting in your post processor to restrict arcs to a single plane like x/y per line. Don't be mistaken, this controller can make perfect 3 axis helix moves. Its just the way the post processor handles the code by mixing G01 with G03 moves, the motion of the machine is no different and super smooth as the controller can prosses code with lookahead very fast. Just select no helix moves in your post processor, it will still helix, just won't use a G03 with a Z on the same line. Long story short, Gcode is correct for a different controller, that's why it will work in simulators and some other controllers. you simply have the wrong post processor for this controller. look at the postprocessor file and look for helix allowed and or arc interpolation planes allowed making sure its set to 1.  Look at the screenshot of the fusion 360 post.

Thanks Chris, that was indeed the problem.

I made changes to the post processor to convert the three axis arc to linear moves and the machine is happy now.

Hi Benedikt, great work.

KevJ
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on December 02, 2017, 05:50:42 AM
Merc and Kevn,

You have your G code set for 3 axis arc interpolation. look at your Gcode see the Z move on a G03 line. This controller only supports interpolated arc move on a single plane at a time ( this is pretty common). most controllers till the very late 90's started to offer interpolate arcs on 3 axis. This is a setting in your post processor to restrict arcs to a single plane like x/y per line. Don't be mistaken, this controller can make perfect 3 axis helix moves. Its just the way the post processor handles the code by mixing G01 with G03 moves, the motion of the machine is no different and super smooth as the controller can prosses code with lookahead very fast. Just select no helix moves in your post processor, it will still helix, just won't use a G03 with a Z on the same line. Long story short, Gcode is correct for a different controller, that's why it will work in simulators and some other controllers. you simply have the wrong post processor for this controller. look at the postprocessor file and look for helix allowed and or arc interpolation planes allowed making sure its set to 1.  Look at the screenshot of the fusion 360 post.

Thanks for the answer, I will try to disable helixes. Is there are any plans to fix this helix issue? It looks like 21st century, not 1990 :)
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on December 02, 2017, 11:39:09 AM
 :proj:
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on December 02, 2017, 11:53:40 AM
Dale,

If your stepper driver is set to 1,600 steps per rev and you have a 16mm pitch leadscrew then the pulses per mm is simply 1,600/16 = 100 pulses/mm.

Your resolution would be 0.01mm.

16mm is a heck of a pitch for a 16 diameter ball screw - they're normally 5 or 10 mm pitch. At 16mm pitch you'll need powerful steppers to drive the table and also to resist cutting forces.

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on December 02, 2017, 12:12:10 PM
ive had theses ball screws for year + with 1800 oz motors ya there big fast lots of power the ball screw is 1616 16mm pre rev 16mm diameter  thanks philf

just need to figure the vfd i hate doing it by hand on/off speed etc.. i want the software to do it
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on December 02, 2017, 01:13:52 PM
Hi Dale,

I haven't got a DDCSV controller - I use Mach3.

I'm sure someone out there will know.

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on December 02, 2017, 01:19:34 PM
( hey philf) i also have a mach3 (bob) but cant get mach3  to run on windows 10 so right now im stuck using cheap uno board running grbl. so i bought the ddscv1.1  in hopes to just use the kinda vfd i have  work :doh:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 02, 2017, 01:53:14 PM
( hey philf) i also have a mach3 (bob) but cant get mach3  to run on windows 10 so right now im stuck using cheap uno board running grbl. so i bought the ddscv1.1  in hopes to just use the kinda vfd i have  work :doh:
I actually came from grbl too and later upgraded to the DDCSV1.1. However, I have in the meantime switched back to grbl and a mini Windows 8.1 PC. I found a touchscreen that matched the hole I cut into the front panel and then designed a 3D printed holder for the display. It's working quite well so far.

The reason, I went back is that my original DDCSV1.1 broke down during bootloader development and I had to order a new one from China. Two lost shipments later, I got refunded and many months had passed. Since I had to get my CNC up and running again, I settled for a better grbl based controller along the setup described above.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on December 02, 2017, 02:06:57 PM
Benedikt M. this is my 4th or 5th board (controller)  im using estlcam and the amount of things i can do is great t400 steel is no problem i just take it slow and easy . but i had my eye on the ddcsv1.1 for a year now and just bought one got it in 3 days but my big issue is my vfd cant use it with arduino uno (grbl) my mach 3 board will work with it. but now i really want the ddcsv to run it ..but i can figure out the vfd grrrrrrrrrrrrrr
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on December 03, 2017, 02:11:04 AM
hi
I'm return with my old question.
is it possible to change the homing sequency xyz instead of zxy?
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on December 03, 2017, 03:06:29 AM
Homing Z first is conventional for safety reasons, getting the tool above any obstructions on the table
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on December 03, 2017, 03:21:16 AM
My problem is that z sensor is on below of a fixed xy position.. for this reason i ve  move x and y firsth than z


Inviato dal mio iPhone utilizzando Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on December 03, 2017, 10:14:21 AM
hello fellow members have a few question for you new to the form .
i have the ddcsv1.1 and a vfd my vfd is a kinda 320 series 2.2kw i will attach the pdf for anyone to give me a hand ( thanks in advance) first question how do i hook this thing up ..IM so lost was told i have a pretty good vfd from other groups but no help with this..

also pulse per mm i know its steps my motors do 200 steps per rev my driver are set at 1600. my ball screws are 1616 ..16mm per rotation(360)degrees   whats the math for this again? or the answer lol
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 03, 2017, 10:57:53 AM
I think this topic is long enough now, to provide a small summary what we did so far and what is hopefully going to happen in the future.
I may have forgotten the one or other thing, so please complain if you find anything.
Requests are as usually welcome.

What we did so far that you can already profit from:
- Added support for wireless keypads/keyboard/MPGs
- Redid the English translation to clean up the interface and make operation easier
- Created an online configuration utility for easy machine setup and later editing of the configuration at http://config.pandora-cnc.eu/ (http://config.pandora-cnc.eu/)
- Hosted a website with downloads, info and other interesting at http://pandora-cnc.eu/ (http://pandora-cnc.eu/)
- Developing an assistant for simplifying firmware upgrades
- Added support for custom boot-up images (may be useful for identifying machines or just as a personalization option)

What we worked on so far under the hood (technical):
- Lot's of reverse-engineering of the FPGA registers, the application, the keypad interface, ...
- Some circuit-level reverse-engineering
- Writing a new CPU bootloader (not finished yet)
- Getting a cross-compiler set up and patching lots of libraries, Makefiles and utilites for getting many Linux applications to run (e.g. Lua, Python, SDL and many more).
- Writing a utility to read, extract and create raw NAND flash images from dumps we read out
- Writing a utility for directly manipulating the FPGA from the Linux command-line
- Writing some SDL test apps
- Writing a new FPGA Linux driver with logic-analyzer debug capabilities
- Writing a new Keypad Linux driver (not finished yet)
- Decompiling the original application and patching certain parts to fix translations, add USB keyboard support and to allow us to get our own external code to run.
- Developing new boot-scripts for adding custom kernel modules, libraries, configuration, handling firmware upgrades, etc.
- Added support and drivers for USB serial adapters. If you want to access the Linux command line, you can boot up with a Prolific USB serial adapter and you will get a root shell on that serial port.
- Work on a new Linux kernel with support for USB-Ethernet adapters (and possibly WiFi) to allow remote control and remote file upload to the controller
- Hand-fixed the Nand dumps we pulled off the flash to be able to flash them back to recover bricked controllers. You may even send them in for repair if you really need to. Just leave me a pm.

What I am currently working on:
- Fixing inch mode using an on-device post-processor that turns all inch parameters into millimeters and also fixes some other errors
- Working with the original engineer to bring many of the currently Pandora-only features to the original factory firmware and also adding other, new features to it (such as homing individual axis, on-device plugin support for creating custom cycles, etc. (using Lua scripts), maybe support for other languages and more

If you are just discovering this topic, all you need to do to get started on a Windows computer, is the following:
1st. Set up your machine's settings over at http://config.pandora-cnc.eu/ (http://config.pandora-cnc.eu/) and download the resulting file.
2nd. Download the latest installer from http://pandora-cnc.eu/en/download (http://pandora-cnc.eu/en/download) and find an empty USB stick. Follow the instructions on screen to install the new firmware onto your controller.
3rd. Put the USB stick back into your computer and copy the settings file you have previously created onto the USB stick. Later, safely remove the stick from your PC and plug it back into your controller.
4th. Go to the file manager page and find your settings file you have just created. Press the Enter button on your CNC to load the new settings.
5th. Power-cycle your controller to finish the application of the new settings.

Many thanks go to the nice people who have donated. I have created a "Thank you" page over at http://pandora-cnc.eu/en/supporters (http://pandora-cnc.eu/en/supporters).

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on December 03, 2017, 03:42:44 PM
as somebody know how use probe fonction in auto with my tool changer i want measure tool after each tool change please?
Title: Re: DDCSV1.1 4 Axis controller
Post by: antonio on December 05, 2017, 02:42:24 PM
I've tried the new firmware but it seems backlash working only with g0 and g1... not working with g2 and g3... help pls!
when change the direction of x or y axis during working g2 and g3 the machine not calculate the parameters of backlash. why?
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on December 06, 2017, 12:44:42 PM
Trouble shooting question here.

When I run my DDCS controlled knee mill with a jog wheel or a program I am getting random drop outs of the x or y axis. It is weird because it does not seem to be the servo drive dropping out but the controller failing to issue steps. For example, if the y quits, the x and z jog wheel still work fine but moving the y jog wheel does not change the displayed position or move the axis.

Any one know what could be going on? Some setting? All limits are turned off.

Andy Olney
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on December 06, 2017, 01:00:26 PM
Here are my settings FYI. I had to change the file type to txt.

Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: aolney on December 06, 2017, 02:19:56 PM
On further investigation, it appears to be related to the spindle drive. I have not been able to make it fail if the spindle is not running. I have been able to make all three axes fail if I leave the spindle running.

Still a weird issue. What could be in a controller that would disable an axis and leave the others running for a while?
Andy
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on December 06, 2017, 06:53:20 PM
Hello All,

DDCSV2.1 is available at https://www.lollette.com/cnc-controller/DDCSV1.1-offline-CNC-Controller.html

When you order the DDCSV1.1 you are getting the DDCSV2.1. I got this confirm.

How it differs from v1.1?

Looks more like it should be DDCSV1.2
Title: Re: DDCSV1.1 4 Axis controller
Post by: ugv on December 08, 2017, 05:02:39 PM
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on December 10, 2017, 07:44:32 AM
In order to machine circular paths do the x and y steps per mm have to be the same even if the two lead screws are different pitches ( compensated by micro steo settings)?

That is params #34 and #35 are the same

Any comments on post #776 above re. backlash?

Cheers

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on December 10, 2017, 08:14:34 PM
@merc

It will still helix, you just tell the post processor to not use the helix command and it will still make a code that does a helix. This controller mirrors a fanuc O-M witch still is used today. even new ones have to be enabled to do this. its just the way the code is feed, It does helix just not with a helix line.  when you make a Cam process that has a helix plunge its just saying you want to spiral the tool in. when you post process based on your post processors setting will make code that fits your controller. so it will still do the helix just not with a G03 Z line. If that makes sences. so there is nothing this control motion wise it cant do vs say mach3 etc. you just need to feed it the right post processor.
Title: Re: DDCSV1.1 4 Axis controller
Post by: chriscnc on December 10, 2017, 08:18:39 PM
@Will D

The new code was made just for this, I have different steps per mm and all 3 axes. so with the new code, you must turn on software interpolation line #113 if i rember and set the res to .001  If your axis are the same then you can leave #113 off but there is still some CV benefits.

Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on December 13, 2017, 05:48:39 PM
Thanks for the info Chris.

To be sure to be sure at the moment I am running version 2017-04-16-IM NOR (the highly recomended version!)

I did what I asked about re the X and y steps per mm and set them both to 400 and tweaked the drivers micro-steps accordingly.

Result: Circles that are circular! Happy Days

When you talk about line #113 do you mean a parameter of that number? My config data file does not have a #113 parameter
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on December 17, 2017, 02:59:06 PM
i dont have limits stops yet so how do you jog the the ddcsv1.1 to where ever you want on the table and manually zero the axis? when im testing x moves back to zero and i want to zero it where it is 


ok i think i got it 2nd y twice
so now there coordinates  beside the left side how do you get rid of it or to reset it
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on December 22, 2017, 06:29:52 AM
Getting into Fusion 360 to produce the code for this controller.

Question is which post processor are people using?

There are lots to choose from ion F-360.

Also does this version support subroutine calls?
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on December 26, 2017, 07:50:59 AM
Merc and Kevn,

You have your G code set for 3 axis arc interpolation. look at your Gcode see the Z move on a G03 line. This controller only supports interpolated arc move on a single plane at a time ( this is pretty common). most controllers till the very late 90's started to offer interpolate arcs on 3 axis. This is a setting in your post processor to restrict arcs to a single plane like x/y per line. Don't be mistaken, this controller can make perfect 3 axis helix moves. Its just the way the post processor handles the code by mixing G01 with G03 moves, the motion of the machine is no different and super smooth as the controller can prosses code with lookahead very fast. Just select no helix moves in your post processor, it will still helix, just won't use a G03 with a Z on the same line. Long story short, Gcode is correct for a different controller, that's why it will work in simulators and some other controllers. you simply have the wrong post processor for this controller. look at the postprocessor file and look for helix allowed and or arc interpolation planes allowed making sure its set to 1.  Look at the screenshot of the fusion 360 post.

Hello! The problem is not about helixes, but about arc. Here is the video and gcode without 3d helixes but with invalid behaviour.
DDCSV adds circle instead of the arc in the bottom left corner. Here is the GCODE and video. Same code tested on another CNC with different controller and it works ok.

Video link:

GCODE: https://gist.github.com/arrowcircle/fe0522a7553b352d7c36e412a3eeeca6

Problem is on lines N290 and N460.

Any ideas how to fix this flaw?
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on December 26, 2017, 11:38:16 AM


DDCSV adds circle instead of the arc in the bottom left corner.

Any ideas how to fix this flaw?

I have had same problem, when value of pulse/mm was under 250. (for  X and Y axis)
I've  increased it to  500 pulse/mm, and now controller works  well.
I use linuxcnc or emc2 postprocessor for G-codes.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on December 27, 2017, 05:06:08 PM


DDCSV adds circle instead of the arc in the bottom left corner.

Any ideas how to fix this flaw?

I have had same problem, when value of pulse/mm was under 250. (for  X and Y axis)
I've  increased it to  500 pulse/mm, and now controller works  well.
I use linuxcnc or emc2 postprocessor for G-codes.

How can you change your pulse/mm setting? Did you double a pulley size or gear ratio or something?
I know that setting no's. 33 (motor start speed) and 416 (time between DIR and pulse) can have quite an effect when pulse settings are outside the normal range. My Z axis was the issue because I had it set to 12000 steps/in (yes, I use inches). It was so high because of using a Gecko G540 that has 10x dedicated microstepping that can't be changed. I set my #33 to 20, and #416 to 200. I don't fully understand these settings, but thanks to member PPRINT (Rob) for pointing this out to me back around post# 635.
Title: Re: DDCSV1.1 4 Axis controller
Post by: old Zozo on December 28, 2017, 06:38:33 AM

How can you change your pulse/mm setting? Did you double a pulley size or gear ratio or something?


No, I use not gear ratio, stepper motor drives directly threaded spindle by a clutch.
Motor moves 1.8 degree/step, so the  step/rev=200
Pitch of threaded spindle is 6.35 mm.

This way,  200 step moves to 6.35 mm,  therefore 31.496 step moves one mm. (31.496 pulse/mm )

Now, need to use microsteps, stepper driver knows it.

If the setup:
-half step   31.496 x 2 = 62.992 pulse/mm
-1/4 step    31.496 x 4 = 125.984 pulse/mm
-1/16 step   31.496 x 16 = 503.937 pulse/mm   (I use it )

503.937 pulse/mm x 25,4 =  12800 pulse/inch

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on December 28, 2017, 06:47:35 AM
Good afternoon!

I have been in touch with the original engineer some more and we've got a late christmas present for you.
The update we have been working on is going to be huge and will allow adding custom cycles through plugins in the future, allow more langauges than just English and Chinese, will fix bugs and add more functionality. This update is the first one during this series of updates. It includes our community translations as the new default English translation.
This attached firmware is likely not stable and may not work properly, but testing is very welcome.
I have not been able to test it, since I am not at home, but instead with the family during the holiday season.
You can always roll back to a stable version using PandoraInstaller for installing either the factory version or the modded firmware.
I have attached an update archive to this post. You will need to unzip the contents to the root (uppermost) folder of a FAT32 formatted USB stick and follow the usual instructions.

Best regards and happy holidays,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on December 29, 2017, 06:23:24 AM
Merry Christmas Benedikt.

Wow can't wait to see the new release.

I hope the new manual will list all the G and M codes (and any other) that are supported in this release.

Also a list of what has been fixed (like a release note) As you know i'm into backlash!!

Again many many thanks for all the hard work you and your colleagues have put into this controller.

Will, Dublin.ie
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 04, 2018, 10:37:16 AM
Hello,

I have just had a look at the source code and I think I have found the list of supported codes and I will post them here soon.
Apart from that, I have just found the place, where inches are handled:

Code: [Select]
; =============== S U B R O U T I N E =======================================

; Attributes: bp-based frame

ParserGGroup6 ; CODE XREF: FindProgramBlock:loc_43FF4p
; ParserProgramBlock+A54p ...

var_20 = -0x20

MOV R12, SP
STMFD SP!, {R4-R7,R11,R12,LR,PC}
SUB R11, R12, #4
SUB SP, SP, #8
LDR R3, =bakNcBlock
LDR R3, [R3,#(dword_1279BC - 0x1279A4)]
CMP R3, #0x14
BNE loc_3C570
MOV R3, #0
STR R3, [R11,#var_20]
B loc_3C54C
; ---------------------------------------------------------------------------

loc_3C470 ; CODE XREF: ParserGGroup6+110j
LDR R7, [R11,#var_20]
LDR R3, [R11,#var_20]
ADD R3, R3, #0x22
LDR R1, =systemVarTable
MOV R3, R3,LSL#2
MOV R2, R3,LSL#2
ADD R3, R3, R2
MOV R2, R3,LSL#4
ADD R3, R3, R2
ADD R3, R3, R1
LDR R3, [R3]
MOV R0, R3
BL __extendsfdf2
MOV R3, R0
MOV R4, R1
MOV R0, R3
MOV R1, R4
MOV R2, #0
MOV R3, #0x40190000
BL __muldf3
MOV R3, R0
MOV R4, R1
MOV R5, R3
MOV R6, R4
LDR R3, [R11,#var_20]
ADD R3, R3, #0xC
LDR R1, =systemVarTable
MOV R3, R3,LSL#2
MOV R2, R3,LSL#2
ADD R3, R3, R2
MOV R2, R3,LSL#4
ADD R3, R3, R2
ADD R3, R3, R1
LDR R3, [R3]
MOV R0, R3
BL __extendsfdf2
MOV R3, R0
MOV R4, R1
MOV R0, R5
MOV R1, R6
MOV R2, R3
MOV R3, R4
BL __muldf3
MOV R3, R0
MOV R4, R1
MOV R0, R3
MOV R1, R4
BL __truncdfsf2
MOV R2, R0
LDR R3, =perUnitToPulse
STR R2, [R3,R7,LSL#2]
LDR R3, [R11,#var_20]
ADD R3, R3, #1
STR R3, [R11,#var_20]

loc_3C54C ; CODE XREF: ParserGGroup6+28j
LDR R3, [R11,#var_20]
CMP R3, #2
BLE loc_3C470
LDR R2, =systemVarTable
LDR R3, =0x3124
LDR R2, [R2,R3]
LDR R3, =perUnitToPulse
STR R2, [R3,#(dword_127C08 - 0x127BFC)]
B loc_3C614
; ---------------------------------------------------------------------------

loc_3C570 ; CODE XREF: ParserGGroup6+1Cj
MOV R3, #0
STR R3, [R11,#var_20]
B loc_3C5F4
; ---------------------------------------------------------------------------

loc_3C57C ; CODE XREF: ParserGGroup6+1B8j
LDR R4, [R11,#var_20]
LDR R3, [R11,#var_20]
ADD R3, R3, #0x22
LDR R1, =systemVarTable
MOV R3, R3,LSL#2
MOV R2, R3,LSL#2
ADD R3, R3, R2
MOV R2, R3,LSL#4
ADD R3, R3, R2
ADD R3, R3, R1
LDR R0, [R3]
LDR R3, [R11,#var_20]
ADD R3, R3, #0xC
LDR R1, =systemVarTable
MOV R3, R3,LSL#2
MOV R2, R3,LSL#2
ADD R3, R3, R2
MOV R2, R3,LSL#4
ADD R3, R3, R2
ADD R3, R3, R1
LDR R3, [R3]
MOV R1, R3
BL __mulsf3
MOV R3, R0
MOV R2, R3
LDR R3, =perUnitToPulse
STR R2, [R3,R4,LSL#2]
LDR R3, [R11,#var_20]
ADD R3, R3, #1
STR R3, [R11,#var_20]

loc_3C5F4 ; CODE XREF: ParserGGroup6+134j
LDR R3, [R11,#var_20]
CMP R3, #2
BLE loc_3C57C
LDR R2, =systemVarTable
LDR R3, =0x3124
LDR R2, [R2,R3]
LDR R3, =perUnitToPulse
STR R2, [R3,#(dword_127C08 - 0x127BFC)]

loc_3C614 ; CODE XREF: ParserGGroup6+128j
SUB SP, R11, #0x1C
LDMFD SP, {R4-R7,R11,SP,PC}
; End of function ParserGGroup6

; ---------------------------------------------------------------------------
off_3C61C DCD bakNcBlock ; DATA XREF: ParserGGroup6+10r
off_3C620 DCD systemVarTable ; DATA XREF: ParserGGroup6+38r
; ParserGGroup6+98r ...
off_3C624 DCD perUnitToPulse ; DATA XREF: ParserGGroup6+F4r
; ParserGGroup6+120r ...
dword_3C628 DCD 0x3124 ; DATA XREF: ParserGGroup6+118r
; ParserGGroup6+1C0r

TLDR:
This function changes the PulseToUnit once it hits a G20.
It recalculates the PulseToUnit 3 times (for the X, Y and Z axis) and when in inch mode, multiplies it by 2.390625.
The calculation appears to take the steps per mm from the configuration params #34 (X-axis pulses per mm), #35 (Y-axis pulses per mm), #36 (Z-axis pulses per mm) into account when recalculating.
I have just had a brief look over it and I may have overseen something important.
I can easily change this multiplication constant to some other one (2.54 = 0x40228f5c for example), if this will increase the accuracy.

These were G/(M?)-Codes I found by quickly searching through the huge code listing. It may not be correct and is certainly incomplete, but it is a start:
Code: [Select]
0
1

12
13
28
29

17
18
19

20
21

43 ?
44 ?
49 ?

53
54
55
56
57
58
59

90
91

98 ?
99 ?

BR,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 04, 2018, 09:21:35 PM
Benedikt,
Great work on Pandora!  Thank you so much!  :beer:

I've been running the original DDCSV firmware on an engraver for quite a while now and it worked quite well.  I'm now in the process of upping my game to FOUR  :zap: axis and an OX from SMW3D (great kit, BTW).  I will post the settings once I have them thrashed out.  FYI, my rotary is a Haas HA5C with a fresh stepper motor (the old slo-syn one was corroded solid with globs of coolant goo and white paste.  Blech.).  Nice unit, BTW.  5 degrees per turn of the stepper.

It looks like I may be the only person using the 4th axis.  My challenge is there doesn't seem to be any way to control the feed rate on the 4th axis, other than doing the FRO and down method to set the overall feed rate to 70 or 80%.  I've tried quite a few gcodes without success.  The following code makes the rotary go back and forth to 30 degrees, but all four cycles are the same speed.  FYI, I tried this code again on Pandora and got the same result.  On the good side, the angular axis DOES work, and is repeatable (once I slow down the master feed enough so it doesn't loose steps).

G1 A30 F100
G1 A0 F100
G1 A30 F10
G1 A0 F10
G1 A30 F1
G1 A0 F1
G1 A30 F0.1

I've also tried pre-setting the feed rate without any change in feed speed:
G1 F10
G1 A30
G1 A0
G1 F1
G1 A30
G1 A0

Any ideas?  All of the maximum speed and acceleration settings seem to be tied to manual mode, except 76, 77, 80, and 99.  However, all of these are linear; the only angular ones are for manual.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 04, 2018, 09:42:00 PM
I took Benedikt's gcode list (harvested from the firmware) and added "what the heck is that".  I also cross referenced it to the manual.

Gcodes on DDCSV
0   Quick cut
1   Standard cut
   
G2   Clockwise cut                           Not on Benedikt's list
G3   Counterclockwise cut                     Not on Benedikt's list
G4   Dwell (milliseconds?)                     Not on Benedikt's list

12   Clockwise circle w/entrance and exit arcs         Not in manual
13   Counter clockwise circle w/entrance and exit arcs        Not in manual

17   XY plane selection
18   ZX plane selection
19   YZ plane selection
   
20   English units
21   Metric units

28   Return to home                     Not in manual
29   **no clue, used for bed leveling on 3d printers**   Not in manual

43   Tool length compensation (negative)         Not in manual
44    Tool length compensation (positive)         Not in manual
49    Cancel tool length compensation             Not in manual

53   Turn off G54-G59 offset                  Not in manual
54   Select G54 coordinate system
55   Select G55 coordinate system
56   Select G56 coordinate system
57   Select G57 coordinate system
58   Select G58 coordinate system
59   Select G59 coordinate system

G81   Drill hole                     Not on Benedikt's list
G82   Drill hole                     Not on Benedikt's list
G83   Circulation drill hole               Not on Benedikt's list

90   Absolute positioning
91   Increment positioning

98 ?   Back to R point according to "time fixed feed"
99 ?   Fixed circulation W.R.T. G81/82/83
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 04, 2018, 11:04:56 PM
OK, got the OX moving!
Re-testing the rotary axis...  I  was watching the display this time.  There is a line on the display that says F....actual feed rate....feed set point
When I run the pendant on X, y, z, I see the set point at 500 on the right, and I see the feed speed up to 500 and then slow back down, according to the acceleration.  When I run the A axis program above, I see the feed set point change at  each step of the program.  HOWEVER, the actual feed ramps up to about 99 and then back down for ALL the various feed rates.  When I slow down the master feed rate, the A rotation slows down as expected. :(
on a side note, the maximum A speed seems to have gone down some.  I wish I knew which setting that was!  I have no idea where the 100 limit comes from!
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 04, 2018, 11:29:38 PM
High frustration!  I forgot that the DDCSV has a default minimum steps per MM value of 50.  The Ox has 26.670 steps per mm on X and Y, and 50 on Z.
 :bugeye:
Is there any hope that this value is easy to change in the code?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 05, 2018, 08:29:28 AM
High frustration!  I forgot that the DDCSV has a default minimum steps per MM value of 50.  The Ox has 26.670 steps per mm on X and Y, and 50 on Z.
 :bugeye:
Is there any hope that this value is easy to change in the code?
If the value is not limited by the FPGA, I could patch it theoretically.

I took Benedikt's gcode list (harvested from the firmware) and added "what the heck is that".  I also cross referenced it to the manual.

Gcodes on DDCSV
0   Quick cut
1   Standard cut
   
G2   Clockwise cut                           Not on Benedikt's list
G3   Counterclockwise cut                     Not on Benedikt's list

12   Clockwise circle w/entrance and exit arcs         Not in manual
13   Counter clockwise circle w/entrance and exit arcs        Not in manual

17   XY plane selection
18   ZX plane selection
19   YZ plane selection
   
20   English units
21   Metric units

28   Return to home                     Not in manual
29   **no clue, used for bed leveling on 3d printers**   Not in manual

43   Tool length compensation (negative)         Not in manual
44    Tool length compensation (positive)         Not in manual
49    Cancel tool length compensation             Not in manual

53   Turn off G54-G59 offset                  Not in manual
54   Select G54 coordinate system
55   Select G55 coordinate system
56   Select G56 coordinate system
57   Select G57 coordinate system
58   Select G58 coordinate system
59   Select G59 coordinate system

G81   Drill hole                     Not on Benedikt's list
G82   Drill hole                     Not on Benedikt's list
G83   Circulation drill hole               Not on Benedikt's list

90   Absolute positioning
91   Increment positioning

98 ?   Back to R point according to "time fixed feed"
99 ?   Fixed circulation W.R.T. G81/82/83
Looks good. I would also add G4, which is also part of the set, but not in the manual. I just looked through the numeric compare statements in the parser blocks.
It's all rather cryptic, since I am working with disassembled code that was originally compiled from C/C++ code. There are no comments of course to help understand their logic of doing things, there is no theory of operation nor are there any names for the local variables. Also floating point is all in software, so there is a big overhead there that also complicates reverse-engineering.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 05, 2018, 02:02:07 PM
 :)
OK, so I copied out the "eng" file on mine and then edited the range of X and Y to allow down to 20 steps/mm... and it WORKED!!!
My Ox is now running!  It will actually accelerate fast enough that the base slides back and forth on the bench!
I need to wire the limit switches and then I'll publish the parameter set I'm using.

Benedikt, you might want to go ahead and modify the master Pandora file the same way; belt driven/fast machines will need the additional range on steps/mm.  20 steps/mm is probably low enough for almost anything folks will want to build.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 06, 2018, 06:39:01 AM
:)
OK, so I copied out the "eng" file on mine and then edited the range of X and Y to allow down to 20 steps/mm... and it WORKED!!!
My Ox is now running!  It will actually accelerate fast enough that the base slides back and forth on the bench!
I need to wire the limit switches and then I'll publish the parameter set I'm using.

Benedikt, you might want to go ahead and modify the master Pandora file the same way; belt driven/fast machines will need the additional range on steps/mm.  20 steps/mm is probably low enough for almost anything folks will want to build.
Surely, I can lower the minimum value in both the online configuration generator and the firmware if it really works well for you.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 06, 2018, 07:29:35 AM
 :update:
Here's the latest version of Pandora for DDCSV1.1 and RMHV2.1:
http://dl.pandora-cnc.eu/firmware/bleeding/Pandora-20180106.zip

It's not yet tested and therefore I can't claim it is stable. Testing is very welcome.
I have decreased the minimum steps per mm and increased the maximum steps per mm.
Also inch accuracy should be fixed with this version as well. Again, this should be tested.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: DirkC on January 07, 2018, 09:34:11 AM
Hi Benedikt

This is my first post. I received this week my unit and immediately flashed it with the latest recommended firmware. Everything seems to work. I am still waiting for the other parts to arrive.
When looking at  the configuration I found that the parameter #417 pulse width is missing.
In the original product manual on page 74 screenshot 3.68 it is visible. On the pandora configuration site this parameter is also missing.
I tried to add the parameter manually to the config file and loaded it , but still this parameter doesn’t show up after reboot.
Is this a know issue. This is certainly not urgent.
In a previous 3D printer project I needed to tweak this to get my stepper motors working correctly ( Smoothyboard)
Already a big thank you to give this unit a second youth  :thumbup:

Dirk
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on January 08, 2018, 10:23:34 AM
Looking at the code the ParserGGroupnn procedure names are based on the Grouping of gcodes. This was defined by Fanuc a long time ago!

Group 1 are the movement commands G00 .. G3
Group 2 is the Plane selection group G17, 18, 19
Group 3 is the Dimension mode G90, 91
Group 4 is the units group G20, 21

Group 7 is the Cutter Radius Offset group (G40, 41 and 42) and so these may be implemented.
Group 8 is the tool length compensation set (G43, 44, 49) and so may these.

Group 10 is the Return Mode group G98, 99
Group 12 is the coorddinate system G54 ,, 59 and it looks like G53 is oresent (technically in Group 0 the non modal commands)

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 09, 2018, 06:28:56 AM
Looking at the code the ParserGGroupnn procedure names are based on the Grouping of gcodes. This was defined by Fanuc a long time ago!

Group 1 are the movement commands G00 .. G3
Group 2 is the Plane selection group G17, 18, 19
Group 3 is the Dimension mode G90, 91
Group 4 is the units group G20, 21

Group 7 is the Cutter Radius Offset group (G40, 41 and 42) and so these may be implemented.
Group 8 is the tool length compensation set (G43, 44, 49) and so may these.

Group 10 is the Return Mode group G98, 99
Group 12 is the coorddinate system G54 ,, 59 and it looks like G53 is oresent (technically in Group 0 the non modal commands)

Will
Thats interesting. I was not aware of that.
Thanks for sharing!  :thumbup:
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 10, 2018, 04:37:38 PM
Progress!   :thumbup: It turns out that the parameter:
5    Min. log. radius in 4-axis mode
Translates to: divide maximum feed rate (and probably acceleration) by 360 * pi* this number to get degrees per minute on the rotary axis.  FYI, I'm guessing on the constants.  What I actually did is test at a log radius of 5mm, 55mm, and 555mm.  5mm was so fast the motor lost steps unless I set FRO down to 20%.  55mm was slow enough that 100% FRO didn't lose steps.  555mm was even slower.

HOWEVER, I'm pretty sure it doesn't pay any attention to the F command WRT the rotary axis, at least alone.  I need to play with some coordinated motions more.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 10, 2018, 05:42:00 PM
Back to Backlash Basics.

Has anyone used this on the  version 1.1 controller and the 16-04-17 software?

I know I have about 0.1 mm backlash in X and Y

If I run this code

G17 G21 G90 G94 G54
(^Safe Block^)
F 2.
S 10.
G1 X-1.  Y-1.
G1 X0.
Y0.
G1 X10.
Y10.
G1 X0.
Y0.
M30


A quick question on the Gcode above: is the F 2 line the correct syntax?  Or should it be G1 F2, or G1 F 2?  :scratch:
Title: Re: DDCSV1.1 4 Axis controller
Post by: lordprimoz on January 12, 2018, 01:52:19 PM
Hi Guys,

when running gcode on my machine I have this really werid issue where there is a significant deviation in the actual position(as well as the position it shows on the display) and the position it should be according to the gcode.

im trying to mill a vacuumtable, which is basically a milling grid pattern where i step down 0.1mm for each level.
Fusion360 generated the gcode for this project.
 
I noticed that (it seems to be in all axes) the z-axis has this weird difference. for example: the gcode tells the machine it should go to -0.8mm on the Z-axis, but it actually only goes down 0.774mm. After moving up and to a new spot it moves moves down again. This time its also different from the previous value. This might be something i would expect from (failing?)backlash settings, but these are all disabled and set to 0.

So essentially the machine starts and moves to a xy coordinate, then it moves down (gcode Z-0.8) to -0.7xx. When it moves up again to its safe position and comes back down the z-depth is no longer the same as previous, even though this depth was already wrong.

When telling the controller to move to a certain z-heigth from the display itsself it does indeed move to exactly that position....


Anyone got any ideas what is causing this?
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 13, 2018, 04:21:53 PM
Hi Guys,

when running gcode on my machine I have this really werid issue where there is a significant deviation in the actual position(as well as the position it shows on the display) and the position it should be according to the gcode.

im trying to mill a vacuumtable, which is basically a milling grid pattern where i step down 0.1mm for each level.
Fusion360 generated the gcode for this project.
 
I noticed that (it seems to be in all axes) the z-axis has this weird difference. for example: the gcode tells the machine it should go to -0.8mm on the Z-axis, but it actually only goes down 0.774mm. After moving up and to a new spot it moves moves down again. This time its also different from the previous value. This might be something i would expect from (failing?)backlash settings, but these are all disabled and set to 0.

So essentially the machine starts and moves to a xy coordinate, then it moves down (gcode Z-0.8) to -0.7xx. When it moves up again to its safe position and comes back down the z-depth is no longer the same as previous, even though this depth was already wrong.

When telling the controller to move to a certain z-heigth from the display itsself it does indeed move to exactly that position....


Anyone got any ideas what is causing this?







im getting the same thing with f-360 tried 100 times no luck..one thing with fusion is the if you do not have smoothing on it will do that as it thinks you doing another pass .. the only thing i found that works is estlcam . we need a better post processor  what is everyone using ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on January 13, 2018, 11:13:04 PM
How many steps per mm do you have configured?
The controller (any controller) can only move a minimum of one step. So, if a step is 0.049mm and you command a move of 5mm then it's only going to move 4.998mm...
Could this be what you are seeing?

PK
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 14, 2018, 05:20:52 PM
i know there is the new firmware that is made ..haven't tried it .. but was wondering if it can be programed to run grbl ? estlcam have a few good things going for it as you can prob the whole workpiece incase your higher or lower in some spots.. can it be done?
Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on January 15, 2018, 04:26:01 AM
Homing dual motor axii.
So we're about to commission a machine using one of these controllers and we have an axii driven by two motors.

Is there support for homing in this configuration?

We have some other options like using the home switch to kill step pulses to one of the drives whilst the direction is towards the sensor, but it'd be nice if the controller supported the configuration directly.

Many thanks for all the work done so far on this project. It's a fantastic enabler for machine builders.
Title: Re: DDCSV1.1 4 Axis controller
Post by: lordprimoz on January 15, 2018, 07:03:23 AM
How many steps per mm do you have configured?
The controller (any controller) can only move a minimum of one step. So, if a step is 0.049mm and you command a move of 5mm then it's only going to move 4.998mm...
Could this be what you are seeing?

PK

I have it set to 640steps per mm on both the x and the y axes. The z axis is at 1066.667. ( i also tried with 1067, no luck).

I wouldnt mind a few thousands offset because the controller cant handle that. But as i mentioned before, this is several tenths, and variable as well.

The gcode file seems to be fine. Just the controller not doing what its told by gcode.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on January 16, 2018, 08:20:50 AM
How many steps per mm do you have configured?
The controller (any controller) can only move a minimum of one step. So, if a step is 0.049mm and you command a move of 5mm then it's only going to move 4.998mm...
Could this be what you are seeing?

PK

I have it set to 640steps per mm on both the x and the y axes. The z axis is at 1066.667. ( i also tried with 1067, no luck).

I wouldnt mind a few thousands offset because the controller cant handle that. But as i mentioned before, this is several tenths, and variable as well.

The gcode file seems to be fine. Just the controller not doing what its told by gcode.

I have just set up my X and Y steppers (metric 2 and 4 mm pitch) and was not getting the expecetd results. Different Overshoot and Undershoot at different places on the ball screws! :bugeye:

Turns out that the gibs were way too tight. Slackened off and set properly as expecected  :thumbup:

Now the Z axis screw is imperial (0.2" pitch") did the calcs and plugged in the values (1600 steps / rev so 314.961 Steps /mm) - result;m Rubbish could not get it too work.

Thenn it dawned on me - I had reconnected the lifgt spring! disconnected it and checked the gibs for correct tightness, tweaked the its backlash and it is now withing 5 microns in 30 mm.

I am very happy
Title: Re: DDCSV1.1 4 Axis controller
Post by: merc on January 17, 2018, 03:56:15 AM
:update:
Here's the latest version of Pandora for DDCSV1.1 and RMHV2.1:
http://dl.pandora-cnc.eu/firmware/bleeding/Pandora-20180106.zip

It's not yet tested and therefore I can't claim it is stable. Testing is very welcome.
I have decreased the minimum steps per mm and increased the maximum steps per mm.
Also inch accuracy should be fixed with this version as well. Again, this should be tested.

Best regards,
Benedikt

Hi! I updated to the latest firmware, but still have a problem.
Its in the post https://madmodder.net/index.php/topic,11598.msg147711.html#msg147711
Any ideas how to fix this?
Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 21, 2018, 09:51:02 AM
ok lets see if i get a response to this question ( since no one like to share input)..to any questions i ask
mode 1 mode 2 for probe  fixed position 
is there a way to set my z0x0y0 as my probe fixed position ?
i want to build a tool height sensor  where it will go to 000 probe new tool continue cutting or something in that nature ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 21, 2018, 02:09:18 PM
ok lets see if i get a response to this question ( since no one like to share input)..to any questions i ask
mode 1 mode 2 for probe  fixed position 
is there a way to set my z0x0y0 as my probe fixed position ?
i want to build a tool height sensor  where it will go to 000 probe new tool continue cutting or something in that nature ?
Dale,
I've though about that too.  As far as I understand (based on reading, since I haven't probed anything yet), the probe operation simply happens wherever the spindle is.  So, if your gcode zeros, then probes, you should be ready to cut.
Regards,
Rod

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 21, 2018, 02:19:07 PM
i did kinda find a way but still work in progress i set as
mode2  fixed position  .
i set 0 random  on the table then hit probe the big issue is that the z will go down first to the probe height then y and x will fallow  my 000xyz is at the back of the table and i wanted the probe at one corner at front of table.. so if there's (example)aluminum at g54 g55 where ever on the table where i want my start point to be. the z will crash then go the the fixed spot and slowly move.( i think i said this right bare with me here) still new to the game
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 21, 2018, 10:24:22 PM
There is a setting in there for where to probe.  You probably want "current".

I finally got limit switches hooked up!  I'm trying to home with the hard limit switches, which might be a bad idea...
When I home the axis it goes the way I want it to go and homes, THEN it runs off and tags the OTHER limit.  That sounds like your problem.  Is there a setting to stop this?
I'm tempted to try hooking the hard limit to the home switch inputs to see what happens.  And also try just wiring the home switch inputs.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 23, 2018, 01:27:55 PM
anyone got the 4th axis running? i dont know how to figure it all out.looking for info
driver is set to 1600 200 steps on motor 6:1 gearing  how do i set pulse/degree and is there anything else i have to change in the ddcsv? :bang:
Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on January 23, 2018, 01:32:53 PM
anyone got the 4th axis running? i dont know how to figure it all out.looking for info
driver is set to 1600 200 steps on motor 6:1 gearing  how do i set pulse/degree and is there anything else i have to change in the ddcsv? :bang:

(1,600 * 6)/360 = 26.6666666........................

Phil
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 23, 2018, 02:16:01 PM
anyone got the 4th axis running? i dont know how to figure it all out.looking for info
driver is set to 1600 200 steps on motor 6:1 gearing  how do i set pulse/degree and is there anything else i have to change in the ddcsv? :bang:

(1,600 * 6)/360 = 26.6666666........................

Phil
You need to enable it.  The other big thing is you need to set the "log radius" to something where you don't loose steps.
I have one running.  Almost ready to cut on it.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 23, 2018, 03:40:53 PM
anyone got the 4th axis running? i dont know how to figure it all out.looking for info
driver is set to 1600 200 steps on motor 6:1 gearing  how do i set pulse/degree and is there anything else i have to change in the ddcsv? :bang:


never mind got it  when setting the pulse ddcsv will not allow you to go under 00050.00 so had to up the driver microsteps
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 23, 2018, 03:42:18 PM
anyone got the 4th axis running? i dont know how to figure it all out.looking for info
driver is set to 1600 200 steps on motor 6:1 gearing  how do i set pulse/degree and is there anything else i have to change in the ddcsv? :bang:


never mind got it  when setting the pulse ddcsv will not allow you to go under 00050.00 so had to up the driver microsteps
Pandora fixed this, or I can tell you how to do it manually.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 23, 2018, 04:20:35 PM
please tell me PLEASE
also is the 4th axis work with all others axis  or does it replace x/y axis as a wrapped job so say my 4th is on my y will my y still run or all at the same time? i hope i asked this right
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 23, 2018, 05:33:06 PM
please tell me PLEASE
also is the 4th axis work with all others axis  or does it replace x/y axis as a wrapped job so say my 4th is on my y will my y still run or all at the same time? i hope i asked this right
As long as you have the 4 axis version, you have 4 completely separate motion controls.  I have verified that I can get simultaneous , coordinated motion on all four axies.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 23, 2018, 05:37:16 PM
please tell me PLEASE
also is the 4th axis work with all others axis  or does it replace x/y axis as a wrapped job so say my 4th is on my y will my y still run or all at the same time? i hope i asked this right
As long as you have the 4 axis version, you have 4 completely separate motion controls.  I have verified that I can get simultaneous , coordinated motion on all four axies.

Sent from my SAMSUNG-SM-G891A using Tapatalk

im playing around with the cam side right now looking around on what to use . as i have a few different softwares. on thing i really wish this unit had was a better probe functions or some sort of auto z where it can adjust the height to the workpiece i know grbl can and estlcam but will not work with the ddcsv .. i might end up going with massco all in one 
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 23, 2018, 06:01:45 PM
please tell me PLEASE
also is the 4th axis work with all others axis  or does it replace x/y axis as a wrapped job so say my 4th is on my y will my y still run or all at the same time? i hope i asked this right
As long as you have the 4 axis version, you have 4 completely separate motion controls.  I have verified that I can get simultaneous , coordinated motion on all four axies.

Sent from my SAMSUNG-SM-G891A using Tapatalk

im playing around with the cam side right now looking around on what to use . as i have a few different softwares. on thing i really wish this unit had was a better probe functions or some sort of auto z where it can adjust the height to the workpiece i know grbl can and estlcam but will not work with the ddcsv .. i might end up going with massco all in one
Probing DOES work, btw.  I tried it today for the first time.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: dale brisson on January 23, 2018, 06:14:42 PM
please tell me PLEASE
also is the 4th axis work with all others axis  or does it replace x/y axis as a wrapped job so say my 4th is on my y will my y still run or all at the same time? i hope i asked this right
As long as you have the 4 axis version, you have 4 completely separate motion controls.  I have verified that I can get simultaneous , coordinated motion on all four axies.

Sent from my SAMSUNG-SM-G891A using Tapatalk

im playing around with the cam side right now looking around on what to use . as i have a few different softwares. on thing i really wish this unit had was a better probe functions or some sort of auto z where it can adjust the height to the workpiece i know grbl can and estlcam but will not work with the ddcsv .. i might end up going with massco all in one
Probing DOES work, btw.  I tried it today for the first time.

Sent from my SAMSUNG-SM-G891A using Tapatalk

 yes i know it works  i have used it  but im trying to figure out how to probe the whole work piece  for hi or low spots 
Title: Re: DDCSV1.1 4 Axis controller
Post by: Nicolas Hulme on January 24, 2018, 02:31:42 PM
im playing around with the cam side right now looking around on what to use . as i have a few different softwares. on thing i really wish this unit had was a better probe functions or some sort of auto z where it can adjust the height to the workpiece i know grbl can and estlcam but will not work with the ddcsv .. i might end up going with massco all in one

Do you have a tool changer?
I ask because I run a little CNC mill without a tool changer or probe and I don't find it any bother to set a job up, it could be that I come from a conventional machining background but I'm intrigued.
You may find some very good tricks and techniques from commercial machinists which reduce the strife you must surely be suffering, ;-)
Title: Re: DDCSV1.1 4 Axis controller
Post by: NormanV on January 24, 2018, 04:41:44 PM
I am going to jump in with both feet. I have never looked at any messages on this thread, it looks so boring to me. I often wonder what is so interesting to other people. Can somebody tell a newcomer why so many people have replied to this?
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on January 24, 2018, 05:03:04 PM
Norman, I think the appeal is a cheap and configurable CNC controller that allows folks an affordable way into controlling a range of machines without very much hardware construction.  Quite a lot simpler than setting up some of the 'professional' controller and s fraction of the cost.

Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 24, 2018, 06:17:52 PM
I am going to jump in with both feet. I have never looked at any messages on this thread, it looks so boring to me. I often wonder what is so interesting to other people. Can somebody tell a newcomer why so many people have replied to this?
In the 3D printing world, we transitioned from computer-tied printers 10 years ago, with very cheap user interfaces.  The cnc world is STILL 99% computer tied.  These controllers are pretty cheap, and allow you to run all the normal cnc setup functions and run gcode programs.
Yes, the instructions are terrible, and they are kind of weird acting, BUT there are no windows crashes!

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on January 25, 2018, 01:29:57 AM
These little controllers are also good in that they feature isolation and simple power supply arrangements. Earth loop problems on PC's driving USB motion controllers driving motor drives with limits and encoders can be very frustrating.
We have one machine that we've basically given up trying to sort out. We just live with the occasional latch up..... OK, so we use it to weld but....
PK
Title: Re: DDCSV1.1 4 Axis controller
Post by: JHovel on January 25, 2018, 08:18:33 AM
While we are currently discussing beginners' questions, may I ask a couple of my own?
1. what is the difference (to a potential future user) between the 1.1, 1.14 and 2.1 versions of these controllers - given that all 3 versions appear to be in the market at the same time now?
2. what is the difference between these and the similarly priced CW40 controller?
e.g. here: https://www.aliexpress.com/item/4-axis-3-5-Inch-LCD-Screen-CNC-controller-lathe-mini-milling-machine-servo-USB-stepper/32324927105.html
It appears from the descriptions that it has similar functions, a lot more manual editing functions and buttons and a seemingly higher resolution screen (alas a smidgen smaller).

A little recap of my understanding for comment and education, please?
What am I missing?  :)

Yes, I do know there has to be a suitable machine tool, with stepper or servo motors and their respective drivers and power supply/ies and a controllable spindle (VFD/DC/Servo) - all connected to the above controllers.

I'm starting to seriously thinking about starting with a small 3-axis router/mill to get my feet wet.... I make tools and bits for vintage motorcycles as a hobby in my retirement (I'm 67).... Have been using computers since the early 80s, but never had a connection to CNC at all.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on January 25, 2018, 11:32:14 AM
While we are currently discussing beginners' questions, may I ask a couple of my own?
1. what is the difference (to a potential future user) between the 1.1, 1.14 and 2.1 versions of these controllers - given that all 3 versions appear to be in the market at the same time now?
2. what is the difference between these and the similarly priced CW40 controller?
e.g. here: https://www.aliexpress.com/item/4-axis-3-5-Inch-LCD-Screen-CNC-controller-lathe-mini-milling-machine-servo-USB-stepper/32324927105.html
It appears from the descriptions that it has similar functions, a lot more manual editing functions and buttons and a seemingly higher resolution screen (alas a smidgen smaller).

A little recap of my understanding for comment and education, please?
  • I draw a part in some CAM software - saving it as a .drw file
  • then open the file in some CAM software, add tool parameters like cutting speed, tooth load, number of flutes, diameter/offsets etc. - saving it as a G-code post onto a USB stick
  • then open that file on one of the above controllers and click the run button - obviously with home set, tool height set and starting point appropriately located on the material
  • watch for any glitches/abnormal behaviour etc.
  • take out the finished part
What am I missing?  :)

Yes, I do know there has to be a suitable machine tool, with stepper or servo motors and their respective drivers and power supply/ies and a controllable spindle (VFD/DC/Servo) - all connected to the above controllers.

I'm starting to seriously thinking about starting with a small 3-axis router/mill to get my feet wet.... I make tools and bits for vintage motorcycles as a hobby in my retirement (I'm 67).... Have been using computers since the early 80s, but never had a connection to CNC at all.
I think the cw40 doesn't execute gcode directly, but I don't really know the answer.

As for the tool chain, this is how I did engraving using my controller:
Make a dxf of what I wanted, making sure I knew where 0,0 was.  Fyi, the aitocad fonts DON'T engrave.  I used a freeware that would make vector letters.
Run "dxf to gcode" to convert.  It hasnsettinhs for the basic cnc stuff, like feeds and speeds, and how deep to cut per pass.
Put the usb stick  in the DDCSV.
Put the cnc in the right home position and zero.
Pick my file.
Put on hearing protection.
Push "run"
Wait.
Smile at finished engraving.

I've also handwritten gcode for other weird automation tasks with this controller.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: philf on January 27, 2018, 10:39:16 AM

As for the tool chain, this is how I did engraving using my controller:
Make a dxf of what I wanted, making sure I knew where 0,0 was.  Fyi, the aitocad fonts DON'T engrave.  I used a freeware that would make vector letters.


I assume that aitocad should be Autocad?

I use Autocad 2008 and can produce outlines from any font for engraving. I have a menu item Express/Text/Explode Text. This gives you an outline of the font. In this example I used a complex script font which needs a bit of tweaking afterwards. Simpler fonts come out OK with no tweaking necessary.

(http://listerengine.com/coppermine/albums/userpics/10017/AutocadFontToOutline.jpg)

Phil.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 30, 2018, 01:20:42 PM
i know there is the new firmware that is made ..haven't tried it .. but was wondering if it can be programed to run grbl ? estlcam have a few good things going for it as you can prob the whole workpiece incase your higher or lower in some spots.. can it be done?
Well in fact we were once planning to write entirely new firmware, but time is just too limited. If we had done so, I would have most likely ported a good part of grbl over. I have got a working C compiler toolchain for this controller, however reverse engineering of the FPGA got stuck at some point.

While we are currently discussing beginners' questions, may I ask a couple of my own?
1. what is the difference (to a potential future user) between the 1.1, 1.14 and 2.1 versions of these controllers - given that all 3 versions appear to be in the market at the same time now?
2. what is the difference between these and the similarly priced CW40 controller?
e.g. here: https://www.aliexpress.com/item/4-axis-3-5-Inch-LCD-Screen-CNC-controller-lathe-mini-milling-machine-servo-USB-stepper/32324927105.html
It appears from the descriptions that it has similar functions, a lot more manual editing functions and buttons and a seemingly higher resolution screen (alas a smidgen smaller).
1. Honestly, I don't know. The new versions of the software are compatible across all versions though. Personally, I only own the DDCSV1.1, so I can't tell what they have changed. It's probably only some minor things in the hardware / FPGA.
2. The CW40 is a completely different product and is not compatible with our modified firmware. It's a completely different can of worms.
It does not have an FPGA which decreases the accuracy and smoothness. Also, I doubt there is any room for community based software improvement on this model.

BR,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: JHovel on January 31, 2018, 05:31:48 AM
Thanks for those answers and explanations!
More reading to go before it makes better sense....  :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Pilotltd on January 31, 2018, 03:17:27 PM
Why would having an FPGA mean automatically mean it’s smoother and more accurate? CW40’s 12000 mm/min and a resolution of 0.001mm is more than any hobby level mill or router is likely to achieve in the real world. It has a more expanded control set and much more I/O and runs no less smoothly on identical machine using same parameters as the DDCSV. It shouldn’t need to be hack able when the software and firmware are up to scratch ;)
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 31, 2018, 05:30:32 PM
Why would having an FPGA mean automatically mean it’s smoother and more accurate? CW40’s 12000 mm/min and a resolution of 0.001mm is more than any hobby level mill or router is likely to achieve in the real world. It has a more expanded control set and much more I/O and runs no less smoothly on identical machine using same parameters as the DDCSV. It shouldn’t need to be hack able when the software and firmware are up to scratch ;)
It's simply the way the step generation works. An FPGA can do many parallel tasks at the same time and take load off the CPU. There is also way more accurate timing since the CPU is not shared between G-Code decoding, screen updating, user interface tasks, USB stack, operating system and then the real time step generation.
In the DDCSV1.1 the CPU sends blocks of motion data directly to the FPGA that handles the entire step generation process smoothly and in parallel.
Also, I would not really trust any specs on Aliexpress or other Chinese sites. They are often multiplied by a factor between 2 and 10.
Not all vendors do that, but many definitively do.
Apart from that, there is jitter and other bad effects from CPU based step generation, that are (almost) not present when dealing with an FPGA driven system.
Chinese software is never up to scratch. They make very good hardware, but the software very often is just really poor.
I am sure this may improve over time, but we are not there yet at all. Again, this does not apply to everything, but to a rather large amount of products.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Pilotltd on February 01, 2018, 05:29:11 PM
Not just Chinese companies Benedikt - VW :) I have tested the CW40 and the specification is correct as given by AliExpress seller CNC Workshop.

What is the latest factory software revision - on your web site you have v87 - my DC has version 88NOR which is a few days later release than 87. I was going to update to the Pandora version but not sure if it has any advantages.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on February 01, 2018, 06:15:16 PM
What is the latest factory software revision - on your web site you have v87 - my DC has version 88NOR which is a few days later release than 87. I was going to update to the Pandora version but not sure if it has any advantages.
I would certainly not offer this modified firmware if it did not pose any advantages over the original one. ;-)
For a full list of changes, head back a few pages ( here: https://madmodder.net/index.php/topic,11598.msg147430.html#msg147430 ). But in a nutshell, it's bug fixes, translation fixes and support of USB keyboards/keypads.
And for the future, a plugin system is planned together with the original engineers, as well as support for more languages and different homing modes.
Also, there is work in progress for updating the Linux kernel to add support for Ethernet to allow remote control of the CNC / remote g-code upload.
If you are looking for the latest version, head back a few posts for a release from December, 26th. Should this version prove stable, it will be added to the Pandora installer and it will be patched with our other improvements.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 01, 2018, 10:42:34 PM
What is the latest factory software revision - on your web site you have v87 - my DC has version 88NOR which is a few days later release than 87. I was going to update to the Pandora version but not sure if it has any advantages.
I would certainly not offer this modified firmware if it did not pose any advantages over the original one. ;-)
For a full list of changes, head back a few pages ( here: https://madmodder.net/index.php/topic,11598.msg147430.html#msg147430 ). But in a nutshell, it's bug fixes, translation fixes and support of USB keyboards/keypads.
And for the future, a plugin system is planned together with the original engineers, as well as support for more languages and different homing modes.
Also, there is work in progress for updating the Linux kernel to add support for Ethernet to allow remote control of the CNC / remote g-code upload.
If you are looking for the latest version, head back a few posts for a release from December, 26th. Should this version prove stable, it will be added to the Pandora installer and it will be patched with our other improvements.
I'm working on writing a guide to the ddcsv Gcode dialect.  So far I've proved that it can do HELICAL interpolation using G2 and G3, but only in R mode.  Does anyone have working Gcode that uses this form: G2 X10 Y0 I0 J0?  I can't get the IJK (arc center) format to work.  I already know that a plane definition (like G17) is required.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Cosimo.83 on February 05, 2018, 01:28:07 PM
Veramente bravi .... Tutto questo post è interessante...Ho da poco acquistato l ultima versione....Il DDCSV2.1 e volevo sapere se qualcuno è riuscito a trovare un elenco delle variabili di sistema. Ero intenzionato a scrivere una macro parametrica per fare il ATC.... Grazie ancora per tutto lo sviluppo fatto fino a ora  :clap:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 06, 2018, 05:03:16 AM

I'm working on writing a guide to the ddcsv Gcode dialect.  So far I've proved that it can do HELICAL interpolation using G2 and G3, but only in R mode.  Does anyone have working Gcode that uses this form: G2 X10 Y0 I0 J0?  I can't get the IJK (arc center) format to work.  I already know that a plane definition (like G17) is required.


Here is a small circle that works for me
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 06, 2018, 10:18:09 PM
  :bow:
Will,
It works!!!  And, irritatingly enough, MY program WORKS now, after yours ran?!?!
I've got a LOT of questions about this code!
What are you using G54(coordinate system) for?  FYI, that might be the magic sauce; my controller has never gotten this command before.
Your feeds are weirdly small.  I found that anything under 300 mm/minute was the same speed.
As far as I can tell, G94 isn't in the DDCSV language at all.
I tried my program with your first line it it, pulling out commands one at a time, and the dratted thing kept running.

Anyway, problem solved (but not understood).

For other's reference, this is your program:
G17 G21 G90 G94 G54
G0 Z0.25
X-50. Y0.
Z0.1
G01 Z0. F50.
G02 X0. Y50. I50. J0. F25
X50. Y0. I0. J-50.
X0. Y-50. I-50. J0.
X-50. Y0. I0. J50.
G01 Z0.1 F50.
G00 X0. Y0. Z0.25
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on February 07, 2018, 05:45:47 AM
With the official firmware since November 2017.
Are supported precisely G93, G94 М28 !!! I'm happy
Unchecked G40, G41, G42, G49, G20 but most likely already work too.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 07, 2018, 07:41:26 AM
  :bow:
What are you using G54(coordinate system) for?  FYI, that might be the magic sauce; my controller has never gotten this command before.
Your feeds are weirdly small.  I found that anything under 300 mm/minute was the same speed.
As far as I can tell, G94 isn't in the DDCSV language at all.

Great that it works!

G54 selects the first Work Coordinate Offset system. There is a Machine Coordinate workspace (as defined by MACH on the line just above the version number) There are 6 other workspaces that the user can use G54 to G59 (some controllers allow a lot more)

Yes feeds are very small when I am debugging/learning, even when cutting air.

G94 sets "Feed per Minute Mode" (This came out of Marcus Bowmans book but does not agree with Peter Smid's book where it is a lathe command!)

Keep plugging away

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 07, 2018, 03:29:33 PM
With the official firmware since November 2017.
Are supported precisely G93, G94 М28 !!! I'm happy
Unchecked G40, G41, G42, G49, G20 but most likely already work too.
Maxx2000, 
M28 is used to write to SD card in RepRap firmware, but you would also need M29.  Is it return to origin?  Nothing happened when I tried it at 50,50,50.
G93 is feed in inverse time; the feed command FX.X is interpreted as 1/x.x (apparently rarely used).  Key tip: you MUST have a specified F for G1, G2, and G3 in this mode
G94 is feed in minutes
G40 is cutter compensation off
G41 is cutter compensation left (the cutter stays to the left of the programmed path when the tool radius is positive)
G42 is cutter compensation right.  The syntax may be G41 D3, where D3 is tool offset slot 3.
It looks like they planned for length offsets too, which would imply G43, G44, and G49 work???
G49 is tool length compensation cancel
Cutter compensation is in the machine parameters, H0-H15 and  D0-D15.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on February 08, 2018, 04:13:58 AM
This file is 100% processed on my machine with the DDCSV1.1 - 4 axis controller. Firmware from November 2017.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 08, 2018, 07:57:41 PM
Has anyone measured the spindle control output?  When I put a scope on it, it looks like a slowly changing DC signal that varies from 0 to 10 Volts; I don't see any hint of PWM on it at all.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 09, 2018, 04:21:39 AM
AFAIK its a 0 - 10V analogue voltage
Title: Re: DDCSV1.1 4 Axis controller
Post by: PK on February 09, 2018, 07:38:47 AM
AFAIK its a 0 - 10V analogue voltage
Confirmed.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 09, 2018, 10:47:08 AM
FYI, this widget will convert that analog signal to a PWM:
https://smile.amazon.com/gp/product/B06VVVGGBN/ref=oh_aui_search_detailpage?ie=UTF8&psc=1
You need to adjust the max duty cycle with the pot on the board.
IMPORTANT: don't try to run it off 5 VDC.  It has a 5 Volt low drop out regulator on the board, so it's output current is terrible with 5 Volt power in.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on February 13, 2018, 09:10:11 AM
Benedikt: back on page 16, you posted this:

"I have just traced out the wiring of the keypad matrix of the controller:"

Does this somehow tie into the previously mentioned USB keypad/keyboard support? I was just wondering if a standard numeric USB keypad could be mapped to the DDCSV1.1 button layout? They both have 17 keys.

Title: Re: DDCSV1.1 4 Axis controller
Post by: ibbe76 on February 15, 2018, 01:16:42 PM
Hello all DDCSV user. Im all new to cnc machines and its software, but I like to build and make things so now its time for a cnc.

I have ordered a few things for several months from China to lower the costs, collected aluminum profiles from the job scrap box and so on.thought it would be a machine that can do wood and metal, I´m working in a paper printing factory so manufacturing of klichés in brass are things that I though may be done.
there are still some screws left for the machine to get really sturdy but this week it was time to boot everything up

I use Fusion 360, same as for my 3d printer for modell and Cam. Postprocess /Othermill/
Title: Re: DDCSV1.1 4 Axis controller
Post by: tom osselton on February 15, 2018, 02:06:29 PM
Looks like a nice built unit.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on February 16, 2018, 11:58:35 AM
Impressive! Nicely done!!
Title: Re: DDCSV1.1 4 Axis controller
Post by: JPoepsel on February 17, 2018, 03:21:21 AM
Hi Folks!  (Yes, I’m looking NYC CNC ;-)
 
I tried to figure out, what the build in variables in DDCSV1.1 mean and want to share my results with you. The only source of information I used are the *.nc files shipped with the device, so the list is definitely far away  from being complete.  (BTW: I used the RATTM Motor version where the Chinese comments are already translated into English).
 
May be, the “original” software developer, to whom Benedikt and Chris have access, can make an “external secure copy” of the files describing the parameters so that we don’t have to make educated guesses any more but get real information…
 
So, here the list of internal variables:
 
#400   coordinate system Z axis zero offset?
 
#450   absolute coordinate programming mode or incremental coordinate mode (<0: incremental)
#451   X coordinate of tool workpiece at start of command
#452   Y coordinate of tool workpiece at start of command
#453   Z coordinate of tool workpiece at start of command
#454   A coordinate of tool workpiece at start of command
#455   Current coordinate system (0:“Mach”, 1:G54, … 6:G59)
 
#488      X parameter passed to function
#489      Y parameter passed to function
#490      Z parameter passed to function
#491      A parameter passed to function
#492      B parameter passed to function
#493      C parameter passed to function
#494      I parameter passed to function
 
#496      K parameter passed to function
#497      R parameter passed to function
 
 
I think, parameters #500… are not system fix but filled especially for the functions  called thereafter (parameter passing), but I’m not sure)
(Parameters used in Probe.nc: )
#571   system uses the fixed position tool (bool)     (param #71!)
#572   defined tool position X?                       (param #72!)
#573   defined tool position Y?                       (param #73!)
#574   defined tool position Z?                       (param #74!)
#575   Z axis retracts after probe                    (param #75!)
#578   Z axis retraction speed after probe
 
(Parameters of O100: )
#516   Coordinate system (count differ to #455! 0..7! May be 7 maps to “current”, 1..7 to G54 … G59,Mach)
#582   Safety height?
 
(From G28: )
#800   X Zero Position of “Mach” relative to “home”
#801   Y Zero Position of “Mach” relative to “home”
#802   Z Zero Position of “Mach” relative to “home”
#803   A Zero Position of “Mach” relative to “home”
#804   X Zero Position of G54 relative to “home”
#805   Y Zero Position of G54 relative to “home”
#806   Z Zero Position of G54 relative to “home”
#807   A Zero Position of G54 relative to “home”
#808   X Zero Position of G55 relative to “home”
#809   Y Zero Position of G55 relative to “home”
#810   Z Zero Position of G55 relative to “home”
#811   A Zero Position of G55 relative to “home”
#812   X Zero Position of G56 relative to “home”
#813   Y Zero Position of G56 relative to “home”
#814   Z Zero Position of G56 relative to “home”
#815   A Zero Position of G56 relative to “home”
#816   X Zero Position of G57 relative to “home”
#817   Y Zero Position of G57 relative to “home”
#818   Z Zero Position of G57 relative to “home”
#819   A Zero Position of G57 relative to “home”
#820   X Zero Position of G58 relative to “home”
#821   Y Zero Position of G58 relative to “home”
#822   Z Zero Position of G58 relative to “home”
#823   A Zero Position of G58 relative to “home”
#824   X Zero Position of G59 relative to “home”
#825   Y Zero Position of G59 relative to “home”
#826   Z Zero Position of G59 relative to “home”
#827   A Zero Position of G59 relative to “home”
 
 
(From O100, O101: )
#840 X machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#841 Y machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#842 Z machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#843 A machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#844 X machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#845 Y machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#846 Z machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#847 A machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#848 X machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#849 Y machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#850 Z machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#851 A machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#852 X machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#853 Y machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#854 Z machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#855 A machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#856 X machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#857 Y machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#858 Z machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#859 A machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#860 X machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#861 Y machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#862 Z machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#863 A machine tool position of coordinate system #516 (not sure what 0..7 mean!)
#864 X machine tool position of coordinate system #516 (not sure what 0..7 mean, from Probe.nc: “current”?!)
#865 Y machine tool position of coordinate system #516 (not sure what 0..7 mean, from Probe.nc: “current”?!)
#866 Z machine tool position of coordinate system #516 (not sure what 0..7 mean, from Probe.nc: “current”?!)
#867 A machine tool position of coordinate system #516 (not sure what 0..7 mean, from Probe.nc: “current”?!)
 
 
(From probe.nc, see also O100, O101):
#864   current machine tool coordinate position X
#865   current machine tool coordinate position Y
#866   current machine tool coordinate position Z
 
#870   probe thickness?                               (param #69?)
 
 
Some general hints, questions:
 
G-Codes of number  No are implemented as subprograms O900+No.
 
RDRECODE[#1]   something like interpreting a string as G-code  on the fly, See O102??
I guess this is a very powerful function, but I have no clue how it works…
 
 
M101 Probe detection macro start?
M102 Probe detection macro end?
 
List of defined G-Codes and Macros in the system lib:
 
(G12 I)                                                 CW Circle cutting
(G13 I)                                                 CW circle cutting
(G28 X Y Z A)                                     Return to home position
(G81 X Y Z R K)                                  Simple drilling cycle
(G82 X Y Z R K P)                              Drilling cycle with dwell  (Counterboring)
(G83 X Y Z R Q K)                             Peck drilling cycle (Full Retract)
(G102 X Y AX B C L)                        oblique ellipse X length X width A oblique ellipse long axis and X axis angle B initial angle C terminating angle L angle step length
(G103 X Y AX B C L )                        Inclined ellipse X Length X width A Oblique ellipse Long axis and X axis angle B Initial angle C End angle L Angle step size
(G110 X Y Z R)                                   Milling of the rectangular plane X Length Y Width Z Milling plane depth R Tool radius
(G111 I Z R)                                        Clockwise milling plane I Circular plane radius Z Milling plane depth R Tool radius
(G112 I Z R)                                        Counterclockwise milling plane I Circular plane radius Z Milling plane depth R Tool radius
(O100)                                                 Return to zero The safety height is the workpiece coordinate
(O101)                                                 sub program: safez
(O102)                                                 Run the recording track
(O103)                                                 Return to zero The safety clearance is machine coordinate
 
If anybody has more information, better understanding of the sources ore detects any error in the list: PLEASE share it here!
 
Josef
 
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 18, 2018, 10:00:28 PM
 :mmr:
OK, I went and tested the functions that JPoepsel found.  All I can say is SCORE!
All of this is with this preface code: G17 G21 G90 G94 G54.  Thus, I am expecting all of this to happen in the XY plane, which it does.

G12, G13, I is radius of the circle.  It starts with a +X motion to the radius, finishes at center
G102  Clockwise from the top, G103 is counterclockwise
   A; the ANGLE of the major axis.  0 degrees is aligned with Y
   45 is +x +y direction
   Center of the elipse is at start.  It goes back to the start position when it finishes.
G110 starts at current position, Goes +X and +y half the cutter, goes to Z position
    X is the X measure of the rectangle, starts toward +X
   steps toward +y by 1 cutter diameter each pass, goes back to start position afterwards
G111 Mills outward from center in circles, finishes at start position, with a radial step outward in the +X direction
   As an example, G111 I10 Z-10 R1 works
G112 is opposite rotation
   **** Works with R2 and R2.9, just does a stair step at R3 if the circle is only 30mm or so.  A really big circle will get you a stairstep outward, then a revolution or two.
   Has a hitch/jolt once per rev. as it steps outward
   Tool path display doesn't work right for this

G81 XYZ is the step over distance from the start point. K is the number of cycles. 
   Basically drills a set of holes in a line.  DOES NOT go back to start point
   R is drill depth

G82 P is pause, looks like milliseconds, Everything else the same as G81
G83  Q is distance per peck cycle, Everything else the same as G81.
   So, if you are drilling 10mm deep and set Q for 2mm, it will take 5 peck cycles to get to bottom.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 19, 2018, 08:44:53 AM
Hi Josef,

Indeed great work. I have also been exploring the language functions and the parameters as well.

It appears that #455 and #516 are equivalent, and take the values  0:Mach, 1..7 = G54..G59

I have also checked:
#568 is indeed parameter #68
#569 is parameter be #69  (#70 is the electrical level)

You mention
"#864 X machine tool position of coordinate system #516 (not sure what 0..7 mean, from Probe.nc: “current”?!)"

My probe.nc does not reference these parameters. Could you please attatch (as a .txt file) your probe.nc file

Does your probe functions work? What are Mode 1 and Mode 2 probing?

Cheers

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: JPoepsel on February 20, 2018, 04:44:59 AM
Hi Will!

You are right, #516 is not used directly in probe.nc.

I’m ab it confused at the moment :loco:.
I found your translated probe.nc in this forum (https://madmodder.net/index.php/topic,12427.msg148354.html#msg148354 ) and I think also in this forum there was a post with the nc files of the RATTM RMHV2.1 version with the translated comments (sorry, I do not find the post at the moment, I downloaded the files the time I read the post some weeks ago). I did not check it  that time and thought, that the files on my device (I bought a RATTM RMHV2.1) are identical – but they are not! The ones on my device are not translated!?
“Your” probe.nc is different to this two versions at all. It does a three times test and an averaging, “my” does only a one time test…
I will put  the translated probe.nc I downloaded at the end of this post so you can compare. The question is: where did you get your version?! (BTW: a rough look showed no differences in your slib.nc to mine) .

But to come back to “the real thing”: In Probe.nc  the first ()-comment (in all versions) is

(Reads the current machine tool coordinate position ¶ÁÈ¡µ±Ç°µ¶¾ß»úе×ø±êλÖÃ)

followed by

#20=#864
#21=#865
#22=#866

so I assumed that #864.. are the current machine tool coordinate positions ;-)

In the system lib I found #864 (to be precise: #866) also used in subprogram O100 for the “case statement” of #516. If #516 is 7, #864 is used for correction (with this #[#1+2] indirect addressing trick). #516 may range from 0 to 7 (not 0..6)! This is why I said that #516 is different to #455.

Some words about M101 and M102 used in probe.nc:

In Probe.nc the following is used

M101
G91 G01Z-100 F100
M102
G04 P0   

I’m now more or less sure that M101 means “enable stop movement if probe enabled and probe contact closed” and M102 means “disable stop movement on probe contact”.
So, if M101 is “active”, the probe contact acts like the normal limit contacts! I did not try this, but I think, this also works on any movement in any direction, not only on Z. The G04 P0 is “for  synchronization”, whatever that means.
This in mind it should not be a problem to write a macro which finds the middle of inner/outer circles, rectangles… (assuming, the probe can touch in X/Y directions):headbang:. The result (the center) may be stored as a local zero-position of G55 or any other local coordinate system for readout or other usage…

You asked, whether my probe function works and what are the differences between mode 1 and 2 ?! To be honest: I don’t know. I tried it and I have an idea, but I do not use it at the moment  (need some practice with my machine until I risk a tool lost ;-) ) . Here my idea:  Mode 1 uses the probe and sets Z to 0 in the local coordinate system (with some offsets) after probe contact. Mode 2 uses an internal variable to store the first probe result done after an All-Zero-Setting of coordinates by the user. This internal variable is used from the second probe on to use differences to the first to calculate relative tool offsets (see also comments in Probe.nc. Since the probe mode number in Probe.nc is not used (at least I don’t can figure it out), there must be some other “magic” build in the system)).

Josef

P.S.: Here “my” (unmodified) Probe.nc (translated version):

G04P0 ;Pause for 0s£¬The current machine coordinate position is correctly read for subsequent programs ΪºóÐø³ÌÐòÕýÈ·¶ÁÈ¡µ±Ç°»úе×ø±êλÖÃ
M5;Close the spindle ¹Ø±ÕÖ÷Öá
(Reads the current machine tool coordinate position ¶ÁÈ¡µ±Ç°µ¶¾ß»úе×ø±êλÖÃ)
#20=#864
#21=#865
#22=#866
;Determines whether the system uses the fixed position tool presetting mode or the current position setting mode
(¹Ì¶¨¶Ôµ¶Ä£Ê½Ï£¬Çó³öX¡¢Y¡¢ZµÄ½ø¸øÁ¿)
IF#571EQ0GOTO1
#1=#572-#20
#2=#573-#21
#3=#574-#22
GOTO2
(X, Y, Z feedrate is cleared in current tool setting mode µ±Ç°¶Ôµ¶Ä£Ê½Ï£¬X¡¢Y¡¢Z½ø¸øÁ¿ÇåÁã)
N1#1=0
#2=0
#3=0
(Move to the initial position of the tool Òƶ¯µ½¶Ôµ¶³õʼλÖÃ)
N2G91G00Z#3
G91G00X#1Y#2
(100% speed detection of 100mm knife detection signal ÒÔ100ËÙ¶ÈÏÂ̽100mm¼ì²â¶Ôµ¶ÐźÅ)
N1M101
G91G01Z-100F100
M102
G04P0 ;Pause for 0s ÔÝÍ£0s
#402=#400;Save the coordinate system Z axis zero offset ±£´æ×ø±êϵZÖáÁãµãÆ«ÖÃ
#403=1;Set the automatic correction coordinate system flag ÉèÖÃ×Ô¶¯ÐÞÕý×ø±êϵ±êÖ¾
#404=-#870;Save the thickness of the block, if the thickness of the blade before the parameter is 0, the system will use the variable correction on the block thickness parameters in order to complete the first knife ±£´æ¶Ôµ¶¿éºñ¶È£¬Èç¹û֮ǰ¶Ôµ¶¿éºñ¶È²ÎÊýΪ0£¬ÏµÍ³½«²ÉÓøñäÁ¿ÐÞÕý¶Ôµ¶¿éºñ¶È²ÎÊý£¬ÒÔÍê³ÉµÚÒ»´Î¶Ôµ¶
G91G01Z#575F#578;The tool is completed and the Z axis retracts ¶Ôµ¶Íê³É£¬ZÖá»ØÍË

Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 20, 2018, 07:49:52 AM
Hi Josef, Thanks for the info.

The 3 step probe.nc is actually in most of the 1.1 versions!

I eventually found one like yours in the 2017_03-04 version download [Attached]. Not tested this out yet!

Trouble is at the moment the 3 attempts version only runs the last probe!!

I am still trying to debug this using M00 halts, G04 Pauses and commanding a spindle speed to display a parameter version!

NOTE: I don't control my spindle so this is the best way to display variables.

Like this:

(Safe Block)
G17 G21 G90 G54 G40 G49 G80

(set initial X, Y  and Z)
G00 X0.0 Y0.0 Z0.0

G04 P5000; Little delay

(Read the co-ordinates)
#20 = #840
#21 = #841
#22 = #842

(Check Settings)
(G54.X)
S #20*100
G04 P8000; #840 Check Speed!

etc
M30
%

Am getting nowhere at the moment!

More later hopefully

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: Cosimo.83 on February 20, 2018, 01:04:43 PM
Complimenti per i progressi fatti. Ho notato che se all' interno di un programma provo a richiamare la sonda per fare un azzeramento , esempio la torcia plasma il probe non va , si blocca il programma e rimane in attesa. Forse in autorunning la funzione è disabilitata.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Cosimo.83 on February 20, 2018, 01:09:35 PM
Congratulations on the progress made. I tried what is all for a program, for example, plasma is not the case, the program hangs and waits. Perhaps in autorunning the function is disabled.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 21, 2018, 09:35:05 PM
Quick question: is the S command in RPM, or percent?  Spindle speed...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 22, 2018, 04:42:06 AM
S is in RPM, so if the parameter value is 2.54, times 100 would show a speed on the display as 254.

If you really have a spindle then the speed will be approximate depending on the a/d converter in your spindle driver!

Cheers

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 23, 2018, 12:56:59 PM
Will,  I tested and using S24000 gives me a speed of 24000 RPM on the display.

I messed with the time-based settings but I can't get the speed to ramp up rapidly; it takes at least 3 seconds to go from zero to full speed.  Frustrating for laser work...

BTW, first CNC laser with my Ox!  Next up is to actually use the rotary axis; that's why the laser has the weird offset mount.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on February 23, 2018, 06:34:04 PM
3 is the default value of parameter #224 "Spare enough time to the spindle response"

Try setting to say 0.5 or whatever your laser needs to get to full power. Probably 0 would be ok. Range is 0 to 100 seconds

HTH Will!!
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 24, 2018, 10:30:58 PM
3 is the default value of parameter #224 "Spare enough time to the spindle response"

Try setting to say 0.5 or whatever your laser needs to get to full power. Probably 0 would be ok. Range is 0 to 100 seconds

HTH Will!!
Will,
My #224 is called "spindle M3/M4/M5 command duration, and I have it set for 0.01 seconds. 
It still takes about 5 seconds to ramp up the PWM.

Being unable to either set a specific angular max speed or a really slow feed is driving me nuts right now.  I have to set the manual feed rate percentage to 40% to get things slow enough for the rotary to work.

Despite all that, I AM laser tube cutting (or almost cutting through)!  Trying.for a sawtooth...  lots of restarts, ran to fast for the rotary, etc.(https://uploads.tapatalk-cdn.com/20180225/e68f8ce65f87bfd05369958fd6c917b5.jpg)

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on February 25, 2018, 10:06:01 PM
Good news: I AM laser tube cutting on my Ox, under DDCSV control!

I have found that parameter #433 controls the PWM ramp up rate.  0 is turn on instantly (on the screen at least).  65535 is the other extreme and that is about a 35 second ramp from zero to full.

on the "scream" side:
When I set the parameters to "spindle speed controlled by G-Code" I'm getting weird stuff.  When I put M3 and S24000 in my code, I see 24000 on the right hand side of the S area of the display, but zero on the left side (BTW, 24,000 RPM is the maximum in my parameters).  The M3 icon goes bold, but the laser doesn't start.  I can start it manually while the program is running or when its not running.  Doing this makes the left number go to 24000.  FYI, I get the same behavior when I set the maximum spindle speed to 100 RPM in the parameters and issue S100.  If I set the parameter to "run at the maximum speed" it starts up like you would expect, but I can't control the speed.

Any thoughts? 

Also, has anyone run across a G-Code way to set the FRO to 40%?  I've found that's the only way to get the speeds slow enough to allow my rotary to run (and not lose steps).  Grrr.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Sanchoe on March 01, 2018, 01:26:06 AM
Good day to all. I came across a very interesting fact in the controller's work. Perhaps this is only my smut, probably common. Please check on your machines. The task: to cut a pocket with a diameter of 50-80 mm to a depth of 3-5-10mm (any), or a protruding element-circle. Zero parts in the center, the cutter is any straight. The material is needed smooth for the purity of metering-fluoroplastic, duralumin, brass, worse-wood. After milling, remove the milling cutter and install the fish indicator (with the angle of inclination of the foot) in the spindle. The knife rest on the end face of the treatment so that when rotating it tracks the machined end along the entire diameter and without hurrying to turn the spindle by hand 360 degrees. My result-machine mills a circle with a displacement from its center of the detail at a distance of X -0.09mm, Y +0.266. The displacement was established by moving the axes towards a uniform indication of the indicator. After that, I make a file in the artkam and deliberately shift the circle to this distance from the center, milling, measure-reading in the center. The result is natural. Pulses along the axes are exposed in km, coordination is adjusted by acceleration, the repetition is not worse than 0,01 mm. Orthogonality is not worse than 0,02 mm by 200 mm. There are no questions on mechanics. Colleagues, the whole test will take 15-20 minutes, can someone already encountered and knows what to treat?
Title: Re: DDCSV1.1 4 Axis controller - Pendant question
Post by: JoDa on March 01, 2018, 07:15:34 AM
Hi All,

I'm starting to build a system with a DDCSV2.1 (now on order). I'm planning to include a pendant in my setup.
Most of the info I can find relates to the 'standard pendant'  ( example : https://nl.aliexpress.com/item/Best-price-Universal-CNC-4-Axis-MPG-Pendant-Handwheel-Emergency-Stop-for-FAGOR-GSK-Siemens-MITSUBISHI/32759859999.html ).

However the DDCSV MPG's port (according to the documentation) has also TXD/RXD pins. These are used for serial communication with an MPG having a display ( like : https://www.aliexpress.com/item/Newest-Numerical-Controller-Engraving-Machine-DDCSV-2-1-500KHz-CNC-3-Axes-And-NVMPG-CNC-6/32848677154.html?spm=2114.10010108.1000013.1.150152106HeRS0 )

Anybody with experience on this topic ? I cannot find any documentation or whatsoever.

Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on March 01, 2018, 10:36:13 AM
JoDa, that MPG looks cool!  Mine is dumb, though.  It works well.

I thought y'all would like to see my Ox doing laser tube cutting under DDCSV1.1 control... since I seem to be the only nut using all four axies  :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on March 01, 2018, 06:12:04 PM
For a "4-axis nut" that's pretty damn good!

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 01, 2018, 06:45:47 PM
Benedikt: back on page 16, you posted this:

"I have just traced out the wiring of the keypad matrix of the controller:"

Does this somehow tie into the previously mentioned USB keypad/keyboard support? I was just wondering if a standard numeric USB keypad could be mapped to the DDCSV1.1 button layout? They both have 17 keys.
Not directly. The original developers left in some support for using Linux input devices instead of the hacked-together keypad driver.
I have re-activated that support in the Pandora firmware. The key codes could most likely be changed to map every key on the front to one of the USB keypad.

May be, the “original” software developer, to whom Benedikt and Chris have access, can make an “external secure copy” of the files describing the parameters so that we don’t have to make educated guesses any more but get real information…
 
So, here the list of internal variables
I guess you have already figured it out, but the parameters on http://config.pandora-cnc.eu/ translate to these parameters from the G-code.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on March 02, 2018, 06:39:34 AM
I guess you have already figured it out, but the parameters on http://config.pandora-cnc.eu/ translate to these parameters from the G-code.

Hi Benedikt, please be aware that in the new version they have introduced some new parameter like:

#448 -t2 -s1"MPG control mode" -m12 -min=0.000 -max=1.000 -i0"Open" -i1"Close"

Which I believe is do with stopping the commanded motion when you stop turning the handwheel. It can stop overrunds
Title: Re: DDCSV1.1 4 Axis controller
Post by: JoDa on March 02, 2018, 10:57:47 AM
Where's the source code for Pandora hosted ?....as it seems to be open source I'd like to have a closer look. This also refers to my previous post/question regarding an MPG with display...see what DDSCV/Pandora supports here.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 02, 2018, 11:31:39 AM
Where's the source code for Pandora hosted ?....as it seems to be open source I'd like to have a closer look. This also refers to my previous post/question regarding an MPG with display...see what DDSCV/Pandora supports here.
All the public source code is hosted here on GitHub:
https://github.com/Pandora-CNC
Title: Re: DDCSV1.1 4 Axis controller
Post by: groszek on March 03, 2018, 03:53:04 PM
I have a question. I use RMHV2.1 Is there any update on this controller where the G41 / G42 correction will work and the circular interpolation G2 / G3 I..J .. will be corrected?
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 06, 2018, 07:22:23 AM
And what's wrong with G2, G3, I,J.K ?
Title: Re: DDCSV1.1 4 Axis controller
Post by: groszek on March 06, 2018, 12:21:42 PM
When I run a program where it is written in the G2 / G3 XYIJ format, the machine at the end of the arc does some strange loops going outside the planned machining area. For this reason, a few details went to the trash. I generate the program from Fusion 360. The simulation is correct. When I generate it in G2XYR format everything is ok, but sometimes I forget to change and I have a problem.
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on March 06, 2018, 12:55:29 PM
I did not notice such problems
Title: Re: DDCSV1.1 4 Axis controller
Post by: ryan8 on March 31, 2018, 07:21:37 PM
Does anyone have any ideas as to what may cause an axis to become unresponsive while jogging it, using either the buttons or MPG? I've tried updating to Pandora with the same results.

Sporadically but very frequently, as I jog an axis, it would stop responding to inputs. Interestingly, other axes will still work, until they, too, suddenly become unresponsive. The issue is with the controller and not my drivers, as the DRO stops updating too. Interestingly, pressing reset (and or cutting power and restarting) will have it work again.

I'm wondering if it's some sort of interference or transient issue, although that shouldn't be possible given the optoisolated outputs and inputs.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on April 09, 2018, 07:44:17 AM
Does anyone have any ideas as to what may cause an axis to become unresponsive while jogging it, using either the buttons or MPG? I've tried updating to Pandora with the same results.

Sporadically but very frequently, as I jog an axis, it would stop responding to inputs. Interestingly, other axes will still work, until they, too, suddenly become unresponsive. The issue is with the controller and not my drivers, as the DRO stops updating too. Interestingly, pressing reset (and or cutting power and restarting) will have it work again.

I'm wondering if it's some sort of interference or transient issue, although that shouldn't be possible given the optoisolated outputs and inputs.
Ryan,
I've never seen that problem,  and I've certainly driven my axies around manually a bunch.
Rod

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: johnsattuk on April 14, 2018, 03:04:23 PM
I'm wondering if it's some sort of interference or transient issue, although that shouldn't be possible given the optoisolated outputs and inputs.

Optoisolaters give galvanic isolation and some degree of filtering, ( depending on their speed ), but they will pass a transient through if it has similar properties to a bona fide signal
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on April 15, 2018, 05:58:57 AM
Does anyone have any ideas as to what may cause an axis to become unresponsive while jogging it, using either the buttons or MPG? I've tried updating to Pandora with the same results.

Sporadically but very frequently, as I jog an axis, it would stop responding to inputs. Interestingly, other axes will still work, until they, too, suddenly become unresponsive. The issue is with the controller and not my drivers, as the DRO stops updating too. Interestingly, pressing reset (and or cutting power and restarting) will have it work again.

I'm wondering if it's some sort of interference or transient issue, although that shouldn't be possible given the optoisolated outputs and inputs.
I am starting to suffer this but only on the z axis. It will jog down but not up. Power off and wait resets it.

I am running the [Install_2018-01-21_91] new 2.1 version.

I may well go back to the stable 2017 version for 1.1
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on April 16, 2018, 08:17:52 PM
... I've tried updating to Pandora with the same results.


So you're saying it started doing this when you were still using the OEM firmware?
Title: Re: DDCSV1.1 4 Axis controller
Post by: ryan8 on April 22, 2018, 07:33:21 PM

So you're saying it started doing this when you were still using the OEM firmware?

Yes; I was hoping it was a firmware issue that would go away if I updated.

Optoisolaters give galvanic isolation and some degree of filtering, ( depending on their speed ), but they will pass a transient through if it has similar properties to a bona fide signal

Ah, that makes sense. A guy on the tech support forums suggests that it could be phantom limit switches being triggered. Though I don't have limits enabled, it does fit with the "other axis will still work" weirdness.


I am starting to suffer this but only on the z axis. It will jog down but not up. Power off and wait resets it.

I am running the [Install_2018-01-21_91] new 2.1 version.

I may well go back to the stable 2017 version for 1.1

When it freezes, do your other axis still work?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on April 23, 2018, 05:23:03 AM


I am starting to suffer this but only on the z axis. It will jog down but not up. Power off and wait resets it.

I am running the [Install_2018-01-21_91] new 2.1 version.

I may well go back to the stable 2017 version for 1.1

When it freezes, do your other axis still work?
Yes X and Y are unaffected
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on April 23, 2018, 05:27:44 AM
I suspect its connected with probing!

When Z+ stops working, if I do a probe Z+ it starts to probe DOWN at a stupidly slow rate! Its as if it thinks it has found the limit switch at Z+ and is now very very slowly coming off the micro-switch in the Z- direction ( as it should do fairly quickly) to the probe offset position (5mm in my case)

HTH Will

BTW the DoseDone forum has gone a bit quiet recently!!:

http://www.ddcnc.com/forum.php?mod=forumdisplay&fid=41
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on April 23, 2018, 07:44:52 AM
I suspect its connected with probing!

When Z+ stops working, if I do a probe Z+ it starts to probe DOWN at a stupidly slow rate! Its as if it thinks it has found the limit switch at Z+ and is now very very slowly coming off the micro-switch in the Z- direction ( as it should do fairly quickly) to the probe offset position (5mm in my case)

HTH Will

BTW the DoseDone forum has gone a bit quiet recently!!:

http://www.ddcnc.com/forum.php?mod=forumdisplay&fid=41
I have noticed an axis stopping semi-mysteriously, but it's always been a triggered limit switch.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: ryan8 on April 23, 2018, 12:20:51 PM
I did have probing enabled with no probes connected. Disabled it in config - hope this fixes it and thanks for the suggestions!
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on April 30, 2018, 11:08:24 AM
Hoping someone can help me out identifying this component. While making a new enclosure for my controller, I managed to fry it by attempting to share the same power supply with my G540.  :Doh:
It was a 48v power supply that I backed down to 32v (as low as it would go), but it must have gotten a spike and it literally blew this component. I've got it unsoldered from the board, and want to see if I can replace it. I can't read it clearly enough on the pics I've found. Any help with a better pic or actual part identification would be greatly appreciated! I'm guessing it's some sort of voltage regulator...

Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on April 30, 2018, 11:48:30 AM
XL2596S-5.0E1
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on April 30, 2018, 12:14:00 PM
Highly probable, as XL2596S-5.0E1 is a DC to DC converter so presumably was in the direct firing line from your higher voltage power supply.
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on April 30, 2018, 09:43:05 PM
Many thanks guys!!
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on May 23, 2018, 02:10:39 PM
It took awhile, but I finally got my parts from China. It lives!!  :ddb:
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 24, 2018, 11:18:16 AM
 :update:

Good evening,

I just wanted to post this small update since it might affect some of you too (especially those who are running a small company and have a public website).
EU GDPR laws are going into effect as of tomorrow. I made sure to change http://config.pandora-cnc.eu/ to hopefully comply with these rules (and I am thinking about taking down the rest of the site for either an undefined amount of time or until I can confirm that it passes these new laws). It's not commercial, but I since I can't tell if it does still apply, I have made sure to change it anyways. You may have to change your website too to avoid legal trouble and hefty fines.
I have removed any local storage functionality, removed the optional analytics that helped me improve the website from time to time and removed features like continuing editing or previewing the generated file. Configuration files can still be uploaded and edited online, but after submitting in some browsers, editing cannot be continued and the result can only be downloaded and previewed with a text editor. Sorry for all that!
I may, if there is demand, change the internal data flow to re-gain some of this functionality and to also provide you with a fully translated website.
Please don't hesitate to ask for more/missing functionality or for me to bring back anything that was lost in the latest update.
As many people, I have not much of a clue what these laws exactly require me to do and I am rather safe than sorry. I don't usually work much on websites, so this is not my area of expertise.

Best regards,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on June 03, 2018, 10:44:59 PM
I'm trying to repeat a configuration editing job I did quite a while ago; I copied out the eng file and changed the limit on steps/mm.  When I copy this file out now, I get an empty file!  Any ideas?

I really need a way to allow low feed rates; right now the software won't allow anything slower than 300 mm/second WITHOUT using the FRO adjustment to slow it down further.  I think I could edit the limiting range like I did on the step/mm.   IF I could get the dratted file out!

These are the limiters I want to modify (per the Pandora site):
76    Default operating speed    10.0000 .. 99999.0000 mm/min    
99    Operating acceleration    9.0000 .. 9999.0000 mm/s2    
80    G0 speed    99.0000 .. 99999.0000 mm/min    
77    Maximum speed    99.0000 .. 99999.0000 mm/min

If I could get a copy of the eng file that would solve my problem too...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on June 04, 2018, 05:22:07 AM
Which version do you want?
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on June 04, 2018, 08:40:57 AM
I have 1.1 Plus, according to the home screen.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on June 08, 2018, 04:39:37 AM
Here's the eng file from 4th March 2017 (Version 87) Its the recomended version for 1.1

I had to put a .txt extension on it in order to attach it. Rename it with no extension!

Hope this helps

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: hdo27 on July 09, 2018, 03:16:18 AM
I just noticed you can download the latest official firmware from here:

https://www.nvcnc.net/ddcsv2.1.html (https://www.nvcnc.net/ddcsv2.1.html)

The firmware is dated 2018-06-05.

However on my newly arrived machine it shows 2018-04-11 !?

hdo
Title: Re: DDCSV1.1 4 Axis controller
Post by: 71taa on July 11, 2018, 12:49:11 PM
The firmware is dated 2018-06-05.
Next build (95) is already available via support forum: http://bbs.ddcnc.com/forum.php?mod=viewthread&tid=43&extra=page%3D1
Title: Re: DDCSV1.1 4 Axis controller
Post by: Pete. on July 11, 2018, 02:48:25 PM
Are these units still being made and sold or are they now legacy items? If there's new firmware, how about updated hardware?
Title: Re: DDCSV1.1 4 Axis controller
Post by: lfriii on July 12, 2018, 12:43:14 PM
Greetings from Indiana! I am a long-time lurker of this thread in particular, it has been so helpful! Thank you all (Benedikt in particular) for your great work on this controller!  :bow:
With that said, I do have a few questions I hope someone can help with, I am using this controller with a custom built X-Carve.

1) chriscnc mentioned something about a new factory firmware version, 2017-03-04-87NOR  Does anyone have a link to where I could download this from?

2) I've got my unit configured to use inches instead of mm, but this poses a problem: my Z-axis requires 24000 steps-per-inch because I'm using a Gecko G540, which by default has 10x microstepping. My machine jogs in manual mode fine, but when running under a program, I have inconsistent depth issues with the Z axis, due to this setting being far higher than the max of 10000. I thought I could fix this issue by changing to mm, but while that fixes the Z axis issue, it creates the same issue on the X & Y axis, as they're belt driven, and the steps-per-mm comes out to 33.33, which is way lower than the minimum of 100. The controller literally won't let you input anything less than 50. Any suggestions here? If I can't disable microstepping on 1 axis of the G540, I may have to get a different stepper controller for Z.

Thanks for any input!
Hello, blades!

Glad you liked the progress so far.
For 1), you can download it from my site http://pandora-cnc.eu/en/download
However, I advise getting the modified version when it's out. You can always give the new factory version a try though, before the new mod comes out ;)

For 2), maybe you can use the config generator on http://config.pandora-cnc.eu/ to enter your configuration. After you have downloaded the file, use Notepad++ or vi/etc. on Mac / Linux to edit the setting manually, before importing it.

I hope this helps,

Benedikt

Benedikt:

I have a similar issue as blades in that I want to set a parameter outside the limits of the controller.  In your post above, you instruct blades to use the configurator and then edit the values using Notepad++ on Mac / Linux before importing.  Can this be done on a windows machine?  Can the file that is currently on the controller be opened and edited directly?
Title: Re: DDCSV1.1 4 Axis controller
Post by: hdo27 on July 16, 2018, 02:38:00 AM
The firmware is dated 2018-06-05.
Next build (95) is already available via support forum: http://bbs.ddcnc.com/forum.php?mod=viewthread&tid=43&extra=page%3D1

That's great. Thank you.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on July 16, 2018, 10:09:05 PM
Ifrii,
There is a file that controls the range of values for the machine parameters: eng.  I have downloaded this from the machine, edited it, and put it back.  This process allowed me to get my steps/mm right.  Unfortunately, my issue with low feeds is something else.
Rod

Sent from my SAMSUNG-SM-G891A using Tapatalk
Title: Re: DDCSV1.1 4 Axis controller
Post by: lfriii on July 17, 2018, 09:50:16 AM
WeldingRod:

I was able to copy the eng. file to a jump drive and edit it using notepad.  Copying the file back to the control was a little confusing because, the date shown on the File Page of the control did not change.  The time, however did change but only by a few seconds.  So it was not clear that the paste worked.  But it did work and the control limit has been changed.

Thanks for your help.
Title: Re: DDCSV1.1 4 Axis controller
Post by: lfriii on July 17, 2018, 09:58:12 AM
WeldingRod:

One other question; copied the update files from Benedikt's website to the jump drive that came with the control.  I have since decided not to upgrade the firmware on the control and would like to remove the files to another location and return the jump drive to its original configuration.  There are two folders on the drive, install and upgrade and two files, splash.ppm and upgrade.do on the drive that I did not save to it.  Do you know if these four items were on the drive when it arrived?  Or were these four items downloaded from Benedikt's site?
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on July 18, 2018, 06:14:41 PM
I don't know, sorry.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: lfriii on July 20, 2018, 02:07:56 PM
maxx2000:

I am building a control now and would like to add some buttons to the front panel.  I can understand how you wire buttons to existing input terminals on the control, but you said that your panel buttons duplicate the buttons on the control display.  How do you wire these buttons?
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on July 21, 2018, 01:31:33 AM
lfriii
Title: Re: DDCSV1.1 4 Axis controller
Post by: lfriii on July 21, 2018, 07:30:22 AM
maxx2000:

I don't get it.  How does the picture explain how to wire control panel buttons?
Title: Re: DDCSV1.1 4 Axis controller
Post by: awemawson on July 21, 2018, 07:49:43 AM
Presumably they are selected on a normal encoding matrix, where  1,2,3,4,5,6,7,A,B are the columns and other 1,2,3,4,5 the rows

Title: Re: DDCSV1.1 4 Axis controller
Post by: lfriii on July 21, 2018, 08:36:52 AM
Heiii, welcome back!!
they did indeed!!
Look



This is another company that use the same controller, and is changed

I see that the Omio control has a button labelled All Zero can anyone explain how this would be wired into the DDCSV to zero all of the axes?
Title: Re: DDCSV1.1 4 Axis controller
Post by: lfriii on July 21, 2018, 08:45:51 AM
awemawson:

I am not familiar with a normal encoding matrix.  I am familiar with wiring buttons in panels.  I am tying to understand if it is possible to duplicate the membrane switch buttons on the DDCSV control with buttons on a larger panel as maxx2000 has suggested.  To do this, each of the buttons on the larger panel would have to connect to a contact on the DDCSV or a breakout board.  I do not see any such contacts.  Could you explain how maxx2000 made this work?

Thanks,
Title: Re: DDCSV1.1 4 Axis controller
Post by: russ57 on July 21, 2018, 09:09:59 AM
Imagine a grid of 3 vertical wires (a, b, c in the diagram) and 7 horizontal wires. (1-7)


There is a switch at each intersection which connects that row and column when pressed.

You would need to locate in the ddcsv those 10 connections and extend them to your own panel.

The switches are therefore in parallel.

(with this type of encoding you can only press one key at a time, otherwise the system will detect 'ghost' keypresses)




Russ

Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on July 21, 2018, 11:36:30 AM
awemawson:
 Could you explain how maxx2000 made this work?
Solder the button wires in parallel with existing ones
Title: Re: DDCSV1.1 4 Axis controller
Post by: picclock on July 26, 2018, 04:05:58 AM
@maxx2000

Thanks for the information. Very useful for a more user friendly keyboard.

Unit has 17 keys so likely 4 keys unmapped or unknown functions.

Set all zero button would be very useful. Can see no way of doing it from the rear panel connections. Maybe using TXD/RXD serial connections ? and injecting a code.

No real info about those pins, likely RS232, but baud rate, parity etc no info. According to manual - Used for digital display of the MPG communication.

May try to hook it up to a terminal and see what develops.

OK tried that and cannot get any output from Txd even on power up (no blinking leds on rs232 adapter). Wonder if it needs to be enabled in config ?

Best Regards

picclock
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on August 02, 2018, 06:32:58 PM
Benedikt:

I have a similar issue as blades in that I want to set a parameter outside the limits of the controller.  In your post above, you instruct blades to use the configurator and then edit the values using Notepad++ on Mac / Linux before importing.  Can this be done on a windows machine?  Can the file that is currently on the controller be opened and edited directly?
This is unfortunately not yet possible. I may have a look at converting the binary settings file from the controller to a human readable version at some point.

@maxx2000

Thanks for the information. Very useful for a more user friendly keyboard.

Unit has 17 keys so likely 4 keys unmapped or unknown functions.

Set all zero button would be very useful. Can see no way of doing it from the rear panel connections. Maybe using TXD/RXD serial connections ? and injecting a code.

No real info about those pins, likely RS232, but baud rate, parity etc no info. According to manual - Used for digital display of the MPG communication.

May try to hook it up to a terminal and see what develops.

OK tried that and cannot get any output from Txd even on power up (no blinking leds on rs232 adapter). Wonder if it needs to be enabled in config ?

Best Regards

picclock

It would be pretty easy to build a Teensy based USB connected external button interface. I may figure something out when I get back home that does not require much soldering  :zap:
Maxx2000 kindly re-posted my drawing of the keypad matrix I traced out a while back. It's quite straight-forward, really. Each same number / letter is internally interconnected. When a button is pressed, one letter and one number will form a connection.
The little LED matrix driver on the front panel is only handling the matrix scanning (and has no LEDs connected). A, B and C refer to one direction of the matrix while 1,2,3,4,5,6,7 refer to another one.
One direction of the matrix sources the current flowing while the other one sinks it. It should be possible to extend the buttons to the outside by just putting the external button in parallel to the existing button and wiring it to the outside.
Internally, the LED/button matrix driver just connects via the flat-flex cable to a few spare general purpose I/O pins on the CPU on the mainboard.
It's a very simple connection with only a couple of wires (two or three wires - I can't recall the exact number right now, but I have it all written down somewhere).

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: kwood94xj on August 16, 2018, 02:52:33 PM
Just wondering if anyone has been able to convert a 3 axis model to a 4 axis one? I did not see anything unpopulated areas on the board that I can recall.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on August 17, 2018, 06:57:33 AM
Just wondering if anyone has been able to convert a 3 axis model to a 4 axis one? I did not see anything unpopulated areas on the board that I can recall.
Yes, I researched this earlier and it can be done. However, I will not give any instruction or further details on this as this would hurt the sales of the companies involved which had so far been nice to us.
But for completeness, the license check is solely implemented in software and the hardware is exactly the same on both machines.

Unit has 17 keys so likely 4 keys unmapped or unknown functions.

Set all zero button would be very useful. Can see no way of doing it from the rear panel connections. Maybe using TXD/RXD serial connections ? and injecting a code.

No real info about those pins, likely RS232, but baud rate, parity etc no info. According to manual - Used for digital display of the MPG communication.
I thought a bit more about this now. There would be the option of running a new service on the controller that listens on that serial port (and disables it for MPG communication) and injects keypresses.
Technically, this could be done by hooking into the motiondev driver and writing to the external (in FPGA) USART registers. The injected keys could be delivered to the CNC application via uinput. Hooking into the startup process and creating a deamon should be trivial by just creating a startup.do file in /mnt/nand1-1
Writing to the FPGA's registers is made easy by my mutil utility that can be downloaded from here: http://dl.pandora-cnc.eu/utils/mutil/mutil_v05_arm.elf
Title: Re: DDCSV1.1 4 Axis controller
Post by: kwood94xj on August 17, 2018, 10:16:56 AM
Just wondering if anyone has been able to convert a 3 axis model to a 4 axis one? I did not see anything unpopulated areas on the board that I can recall.
Yes, I researched this earlier and it can be done. However, I will not give any instruction or further details on this as this would hurt the sales of the companies involved which had so far been nice to us.
But for completeness, the license check is solely implemented in software and the hardware is exactly the same on both machines.

Thank you Benedikt. I completely understand. They have been very good to us!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on August 17, 2018, 11:06:31 AM
WeldingRod:

One other question; copied the update files from Benedikt's website to the jump drive that came with the control.  I have since decided not to upgrade the firmware on the control and would like to remove the files to another location and return the jump drive to its original configuration.  There are two folders on the drive, install and upgrade and two files, splash.ppm and upgrade.do on the drive that I did not save to it.  Do you know if these four items were on the drive when it arrived?  Or were these four items downloaded from Benedikt's site?
You can safely delete splash.ppm, upgrade.do, install(.done) and upgrade. These have been added by the installer / extracted from the archive.

I have a similar issue as blades in that I want to set a parameter outside the limits of the controller.  In your post above, you instruct blades to use the configurator and then edit the values using Notepad++ on Mac / Linux before importing.  Can this be done on a windows machine?
Yes, Notepad++ is only available on Windows, so you can use Windows to edit the min/max values. On Linux/Mac you would use another programmer's editor of your choice (make sure to keep the line endings intact!).
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on August 26, 2018, 01:29:38 PM
 :update:

I have got great news!
This weekend I found some time and ported Pandora to the latest version of the original firmware (released in July 2018).
I have also translated all the new strings, added more utilities to the bin folder, patched the usual places of the binary and updated the scripts.
The online configuration generator at http://config.pandora-cnc.eu/ has also received a few bug fixes, updated language files and I have dealt with the new privacy requirements.

The latest Pandora version released today can be downloaded from here: http://dl.pandora-cnc.eu/firmware/bleeding/Pandora-20180818.zip

While I was at it, I have also released a new version of the Pandora/DDCSV1.1/RMHV2.1 easy firmware installer. This version includes the latest Pandora and factory firmware.
It can be downloaded from here: http://dl.pandora-cnc.eu/utils/installer/PandoraInstaller_20180826_v16.exe

Cheers!  :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: maxx2000 on September 02, 2018, 10:29:53 AM
Ver:2018-09-02-99 Description:
 1. Increase the status monitoring of the u disk. If the u disk is disconnected during processing, the system will automatically pause.
 2. Increase the G90.1/G91.1 instruction support, at this time IJK is the absolute position coordinate of the center of the circle
Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on September 02, 2018, 01:49:49 PM
Things are moving quickly in the DSCSV world. A lot is happening/discuseed on the facebook page:

https://www.facebook.com/groups/1724999967517167/

Certainly mor eactivity than on the Dosedone forum

Will
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on September 03, 2018, 01:23:59 PM
Argh!  I REALLY don't want to get sucked into facebook...  but I also really want to know what's happening!
Ah, well.  Nothing to it but.... ask my wife to open it!

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on September 03, 2018, 01:37:33 PM
Argh!  I REALLY don't want to get sucked into facebook...  but I also really want to know what's happening!
Ah, well.  Nothing to it but.... ask my wife to open it!

Sent from my SAMSUNG-SM-G891A using Tapatalk
It's the same for me. I don't like Facebook's data sharing nature.
While I did sign-up for all the other DDCSV forums, I won't for Facebook.

Generally, I do not have much time to spend working on this project anymore, which I am sorry about.
There has been one year between the most recent and the update prior to that and I just happened to catch up now.
I have now open-sourced many more parts of the project and put them up on GitHub at https://github.com/Pandora-CNC/ for everyone to enjoy.
Maybe someone can pick up where we left off. There are certain parts I cannot publish but if someone really wants to continue, shoot me an email (mail@pandora-cnc.eu) or send me a PM and we can arrange things that way.
The website will stay open for as long as it makes sense. Donations for running the servers are appreciated (hosting bill is about 5€/mo) and I will continue updating the configuration generator if anything breaks or someone sends me a new and updated eng/chs/rus language file. Same goes for hosting factory firmware images. Just email them to me and I will host them there.
I suppose this is the most honest way to deal with the situation and still keep everyone happy.
I also won't be waiving goodbye, but realistically mark the end of any regular updates. I will still happily answer any questions or recover broken units - just send me an email!

Cheers  :beer:
Title: Re: DDCSV1.1 4 Axis controller
Post by: blades on September 04, 2018, 03:47:57 PM
I'm not a big fan of FB either, I only have like 35 friends on there, and I like it that way. The DDCSV group has been quite helpful, and Yt Liu is on there. I don't know if he developed the entire controller, or just the firmware, but he is known to be "the developer" of it. He has been very helpful and quick to respond to questions. At my request, he created an expanded probe function to include X & Y probing in addition to Z.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on September 05, 2018, 01:51:43 PM
I'd love to have a way to contact him directly!

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on November 17, 2018, 03:13:43 PM
Hello, I have the driver DDCSV1.1 4-axis version. If I update with pandorainstaller to the latest version of the manufacturer, do I keep all the axes?
Thank you
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on November 17, 2018, 03:58:25 PM
Hello, I have the driver DDCSV1.1 4-axis version. If I update with pandorainstaller to the latest version of the manufacturer, do I keep all the axes?
Thank you
Yes, since both hardware and software are the same for both devices. They are locked down in software, basically. The setting is preserved.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on November 18, 2018, 09:31:44 AM
Today I did the update with pandorainstaller, "excellent work", but I still have the problem of blocking in complex programs (I have to restart the panel again), with simple works works perfectly. I've seen on You Tube a user with the same problem, today I put a fan on the back of the panel (remove the back cover) and it seems to work well, it's strange since the DDCSV1 does not heat up at all, but with the fan I have better results.


Regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: c4g on November 29, 2018, 12:29:51 AM
I wish to modify the slib.nc file which comes with the latest firmware patch. Most of the config files in the /upgrade/nand/ diresctory are gibberish when opened for editing as they are not iso english, so i do not know how to read/edit them.

I wish to add a manual tool change subprogram, where:

1) the main program is paused via M0,
2) a g28 command is issued (return to home), (fusion360 automatically adds a G28 Z0. move command)
3) the tool is manually changed and then manually centred over touch-off plate,
4) the start button is pressed to unpause the program
5) the program calls the built-in probe routine (via G38 Z or via M98 ????, which is it? probe.nc is gibberish. if the probe routine is not callable then steps 4 & 5 can be reversed and the probe done manually)
6) the main nc program continues on with the new tool.

 This will work well with fusion360   :nrocks:

if this is not possible then separate nc files for each tool can be created, but that entails more set-up work and file editing.

I read in the DDCSV pdf that the controller gcode is fanuc g compatible. I'm using the fanuc -G91 post processor within fusion360, but manual tool changes are being ignored by the controller (the spindle shuts off then immediately turns back on). That seems to be an easy patch within slib.nc by at adding a M0 or M1 command (wait for operator input), or by adding a new  subprogram  with the 6 steps from above.

PS:  With some testing, the controller completety ignores M00 and M01 gcodes. This is going to be harder to implement than I realized.  Yet the pause button pauses the program, which seems to be implemented in the OS, and not the slib library.  Ill use separate files for each tool as a work around for now.
Title: Re: DDCSV1.1 4 Axis controller
Post by: c4g on November 30, 2018, 12:34:21 AM
Update: A quick and manual way to do tools changes from fusion360, to post with "fanuc - with subprograms" and have "subprograms in a separate file" checked off. Each tool operation will be posted to a separate numbered nc file.

I scrap the 1st numbered file 1001.nc, (its not needed) and edit the remaining numbered files. I scrap the lines between the % and 1st title in brackets ie "(boring1)" as the controller does not  accept 0XXXX header gcode, and Fusion360 inserts tool moves at the top of the file that are redundant. All thats left is tool change and pathing gcode. (fusion360 likes to insert G43 command but the controller ignores them from what I can tell). If needed,  a M03 command is added at the top of each file,  and M05 command at the bottom before the M99 exit. I double check the z start and finish positions in each file.  Fusion 360 is good leaving the tool above the stock. I set the "probe retraction distance" to be above any stock used.

I then load each file in sequence 1002.nc,1003.nc,..,..   manually doing tool changes and probes where needed. I keep track of what tool goes with which file, and which operation has been completed. I can pause/start or restart a particular file, or even re-home if steps are lost for example.

Still, automating all of this in one file, and having the DDCS pause on M00,M01 or T# M06 gcodes would be the way to go.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Avis on December 29, 2018, 06:20:38 AM
Hi, when I load the parameters of the Z probe and do the backspace the coordinates do not match what they should be, I am using the last update of the manufacturer in a software error or am I doing something wrong?   :doh:
regards 
Title: Re: DDCSV1.1 4 Axis controller
Post by: Muzzerboy on December 29, 2018, 05:02:06 PM
Still, automating all of this in one file, and having the DDCS pause on M00,M01 or T# M06 gcodes would be the way to go.

If you have time, look into editing your F360 post processor - it's actually fairly straightforward to add / remove commands etc. I'm no software engineer but managed to make my own custom post for my Newker (Chinesium) controller, starting from the generic Fanuc version provided. It's written in Javascript, apparently.

Have a look https://forums.autodesk.com/t5/fusion-360-computer-aided/editing-post-processor/td-p/6709385 There's even a tutorial showing you how to create your own post processor from scratch.
Title: Re: DDCSV1.1 4 Axis controller
Post by: larkar on January 04, 2019, 12:33:20 PM
Upgraded my DDCSV2.1 to the 2018-08-26 Pandora the other day.
Main reson not to stay on old software was for me the arc errors, and a hope that the tool path plot would be somewhat useful.
Used LinuxCNC from 2008 to last summer when the computer died, and did not want to go through that again to find a new one, and wanted to keep my Gecko 540 drivers.

Copied the settings file to a USB first, turned everything off, and inserted the other USB with the upgrade.
Well, it did not went too well. Screen turned black after a while and not much more. Waited, and the a restart. Everything seems to work, DDCSV2-PANDORA down in the corner.

The problem is that a lot of arcs still cuts the wrong way.
Checked my code with https://ncviewer.com/ and nothing wrong.
Tries starting with the upgrade USB again but no difference.

Am I missing something?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 06, 2019, 06:12:24 PM
Upgraded my DDCSV2.1 to the 2018-08-26 Pandora the other day.
Main reson not to stay on old software was for me the arc errors, and a hope that the tool path plot would be somewhat useful.
Used LinuxCNC from 2008 to last summer when the computer died, and did not want to go through that again to find a new one, and wanted to keep my Gecko 540 drivers.

Copied the settings file to a USB first, turned everything off, and inserted the other USB with the upgrade.
Well, it did not went too well. Screen turned black after a while and not much more. Waited, and the a restart. Everything seems to work, DDCSV2-PANDORA down in the corner.

The problem is that a lot of arcs still cuts the wrong way.
Checked my code with https://ncviewer.com/ and nothing wrong.
Tries starting with the upgrade USB again but no difference.

Am I missing something?
Pandora is untested for DDCSV2.x so I am glad that at least the installer did it's job.
Since Pandora is basically modified original firmware, it's not very likely to fail, but I am still glad it boots fine.
About the one installer problem, does the installer display any custom graphics or is it all just black?
I unfortunately can't really help you with the arc problems, sorry!

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: rayfredo on January 11, 2019, 11:05:53 AM
Hi everybody

programmed advances G01 and G00 do not work
do you have an idea

RAYFREDO
Title: Re: DDCSV1.1 4 Axis controller
Post by: AVK74 on January 25, 2019, 10:53:59 PM
Softlimit works?
Title: Re: DDCSV1.1 4 Axis controller
Post by: Unkas on January 28, 2019, 03:17:47 PM
Hello everyone, how can a new language file be implemented?
Regards
Title: Re: DDCSV1.1 4 Axis controller
Post by: c4g on February 03, 2019, 05:42:41 PM
Still, automating all of this in one file, and having the DDCS pause on M00,M01 or T# M06 gcodes would be the way to go.

If you have time, look into editing your F360 post processor - it's actually fairly straightforward to add / remove commands etc. I'm no software engineer but managed to make my own custom post for my Newker (Chinesium) controller, starting from the generic Fanuc version provided. It's written in Javascript, apparently.

Have a look https://forums.autodesk.com/t5/fusion-360-computer-aided/editing-post-processor/td-p/6709385 There's even a tutorial showing you how to create your own post processor from scratch.

Excellent suggestion.  Luckily the post processor script is similar to python, so i was able to create my own post processor. I mashed together the fusion360  "fanuc with subprograms" code with brainrights code (http://www.brainright.com/Projects/CNCController/ (http://www.brainright.com/Projects/CNCController/)) and now have properly formatted subroutine for each tool. Also the main script has a summary of the tools and process order that I use as a referral sheet.

There seems to be a bug in the DDCS software that it will not load M98 Pxxxx calls from separate files located in the same folder as the main program. If the subroutine is wrapped within the main file then M98 calls will work. As I posted previously, Im using separate subroutine files to facilitate manual tool changes.

The next firmware release really needs to implement M00(stop), M01 (pause) and T6 (with built in pause) commands. They are a feature worth having.
Title: Re: DDCSV1.1 4 Axis controller
Post by: picclock on March 16, 2019, 05:28:34 AM
Latest firmware, install(2019-01-22-106).zip, is out and developer, ytliu is back on the forum

http://bbs.ddcnc.com/forum.php?mod=viewthread&tid=150#lastpost

Best Regards

picclock
Title: Re: DDCSV1.1 4 Axis controller
Post by: untersberg on March 16, 2019, 10:05:51 AM
picklock,
Please tell me how to register on Digital Dream.
When I click on "submit" I get a message, probably in Chinese, but that's it.
No confirmation that I registered.
Title: Re: DDCSV1.1 4 Axis controller
Post by: picclock on March 16, 2019, 10:39:51 AM
Hi untersberg
I think its a captur security bar which you have to slide to the right to prove you are not a robot.
Its a really good forum for these devices.

Best Regards

picclock
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on March 16, 2019, 10:46:38 AM
Yeah, I get a Chinese message too!

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Will_D on March 17, 2019, 06:10:56 AM
Latest firmware, install(2019-01-22-106).zip, is out and developer, ytliu is back on the forum

Thats good to hear, just a pity they don't do "Release Notes" very well
Title: Re: DDCSV1.1 4 Axis controller
Post by: untersberg on March 17, 2019, 12:04:14 PM

  Thanks picclock I'll try that later today.
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 17, 2019, 05:06:26 PM
Hello everyone, how can a new language file be implemented?
Regards
Implementing a new language is rather tricky. There cannot be any special, non-English characters in the translation.
Also the individual strings have to be rather brief. Apart from that, some binary patching is more or less required to get it done.
What language would you like to translate the controller firmware to?
Feel free to PM me to discuss options.

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on April 26, 2019, 03:33:56 PM
I am curious if people are still using the pandora-cnc.eu website and the configurator.
When changing parts of the site over to hopefully comply with GDPR, I have removed the analytics that used to be in place.

I am primarily asking because if it's mostly unused, I am going to strip it down to a simple download page and perhaps the configurator.
This website costs 50€/year to host (which I am happy to pay for if it's well used), so I want to check if people still use it.
My contract is renewed for another 12 months on May, 8th, so I would appreciate everyone's prior feedback.

I would be happy if everyone reading this would take 20 seconds to answer this poll:
https://strawpoll.com/7e9bb713

Even if I decide to close or strip down the website, I will make sure that the files are uploaded somewhere safe and I will instead develop a small, local, configuration generator that will run on a PC.
I might even integrate the USB stick installation utility into that tool and unify them.

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Martin on May 09, 2019, 05:32:18 PM
Hello all, I am new to this forum, and also a member of the ddcsv forum, I am still waiting delivery of my ddcvs1.1. Apart from the manuals from ddcsv has anyone put together, a technical manual, listing all g code comparability, and how to correctly implement user g and m codes using the syslib.nc and or sling.nc, I feel it would be a great resource, and would be happy to start putting one together. There has been a lot of great work done, in updating this control, and feel it would be grate to be able to keep better track of all updates, and changes to firmware, both Pandora, and factory.

It should include reference to all macros, how to use the individual *.nc files, list all user and system variables etc.

What do you think?

Maybe a wiki ddcvs that all can then edit and update..

Kind regards to all.
Martin
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on May 09, 2019, 10:41:31 PM
I have a guide to the various gcode implementations on the ddcsv.  Powers out right now, though.

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Martin on May 10, 2019, 03:02:01 AM
I have a guide to the various gcode implementations on the ddcsv.  Powers out right now, though.

Sent from my SAMSUNG-SM-G891A using Tapatalk
Hi weldingRod, would you be happy to send me the file?

I will put something together over the next couple of days and upload it.

Many thanks

Sent from my SM-T713 using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on May 11, 2019, 11:32:35 AM
How should I get it to you?

It will be Sunday; I'm cooking for Girl Scputs this weekend

Sent from my SAMSUNG-SM-G891A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Martin on May 12, 2019, 04:25:20 PM
Email would be best form me, if possible, no rush.

I have just received DDCVS1.1, cant wait to hook it up to my machine. :nrocks:

Latest firmware from Yt liu via Facebook is attached
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 13, 2019, 07:54:17 AM
Thanks to everyone who voted  :thumbup:
The vote concluded with a majority of voters deciding to keep the website open.
I am happy to say that I have renewed the contract for at least another year.

There is just one more poll I would like everyone to answer, which might yield a final gift for the community  :beer:
https://strawpoll.com/rswzz8gx


Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 16, 2019, 03:41:38 PM
:update:
Alright, I have now completely rewritten the Pandora-CNC.eu (http://pandora-cnc.eu/) website from scratch. It is a lot slimmer now and does not rely on a CMS or cookies anymore.
It does also free some of the server resources which helps too. I have also made sure that all links keep working which turned out to be a lot more problematic than I had first thought  :bang:
The website is now available in English, Russian, German and Chinese.
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on May 23, 2019, 11:47:06 AM
I've sent you a PM; I didn't see a way to add an attachment to it.
Now that I've started digging, it looks like my hard drive crash may have eaten ALL of my DDCSV information (scream).  working on it...
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 16, 2020, 09:00:14 AM
I'm working on a new release of Pandora, based on the last suitable base version from 07/2019.
This time we can even change colors, add images and move controls. Any suggestions on how the UI needs to be improved?
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on March 16, 2020, 04:54:05 PM
Hapiness!

Sent from my SM-G892A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: JHovel on March 18, 2020, 04:36:08 AM
Hi Benedikt,
does you previous version - or will your next version - change any of the post processor requirements?
What are the general functional advantages of your versions compared to the factory version on a DDCSV2.1  with version 2019-11-3(112) firmware?
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on March 18, 2020, 09:20:56 PM
I'm currently fighting with a bug in the arc commands.  I'm not sure if its g2 or g3 that's the culprit, but its sliding my layers...

Sent from my SM-G892A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on March 20, 2020, 08:32:32 AM
Hi Benedikt,
does you previous version - or will your next version - change any of the post processor requirements?
What are the general functional advantages of your versions compared to the factory version on a DDCSV2.1  with version 2019-11-3(112) firmware?
Hi Joe,

it does not directly affect the post processor requirements. If the manufacturer changed it since 2018, then yes.
Generally, an on-device pre-processor could be implemented, but that is something I don't have time for unless it's for hire.

The primary advantages (to the end user) of my firmware is that it improves translation, fixes a few other bugs and allows using a keyboard or numpad to control the UI and adding a custom splash screen.
For more advanced users, it allows accessing the Linux running inside, writing custom GUIs and integrating other software.

I will probably look into networking again. Would be nice to get USB WiFi sticks working and to remote control the controller from a PC (also uploading files). Perhaps I may also improve the GUI a bit.


There are also other tools I, as well as other members, have developed that allow configuring the parameters online, easily updating the firmware without any technical knowledge, but also manipulating the flash memory, intercepting the commands to the motion coprocessor (the FPGA), sending data directly to the motion coprocessor from the command line, a new bootloader, among other tweaks.


Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: JHovel on March 28, 2020, 07:32:08 AM
Thanks for the explanation Benedikt! That was very helpful.
Cheers,
Joe
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 12, 2020, 09:36:43 AM
I have now fully updated the http://pandora-cnc.eu/ (http://pandora-cnc.eu/) website and the configuration generator at http://config.pandora-cnc.eu/ (http://config.pandora-cnc.eu/) should now be fully compatible with DDVSV1.1, DDCSV2.1 and DDCSV3.1 running the latest factory firmware. You can download the latest manuals and factory firmware at http://pandora-cnc.eu/download (http://pandora-cnc.eu/download).

I would much appreciate if someone could setup a good default starting point for the configurator. I'd be happy to include it as the default set of values. I am also planning to finally complete the translation of the configuration generator to be fully available in other languages.

The COVID-19 caused lockdown finally allowed me to do some work on this project again.
Stay healthy, wash your hands and wear a mask!

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on May 12, 2020, 11:15:46 AM
Is the current Pandora synced up with DDCSV3?

Sent from my SM-G892A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 12, 2020, 12:13:15 PM
Is the current Pandora synced up with DDCSV3?
Not yet, but a new version is in the pipeline. Stay tuned!
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 12, 2020, 01:39:12 PM
Many thanks for the kind donation, Rod!  :beer:


I've now also updated the Windows installer. It will now allow you to easily install the currently latest version of the factory firmware.

(https://madmodder.net/index.php?action=dlattach;topic=11598.0;attach=50143;image)
Title: Re: DDCSV1.1 4 Axis controller
Post by: ddmckee54 on May 13, 2020, 12:37:47 PM
Benedikt:

I recently purchased a DDCSV3.1 4 axis controller that I intend to use on a CNC router that I'm building.  I got it off Ebay and the pictures in the listing had RATTM MOTOR splashed across them.

I was just wondering in you had any idea how much of this thread is applicable to that controller.  I don't know if I've got the patience to wade through all 40 pages.  Any recommendations?

Don
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 13, 2020, 12:43:14 PM
I recently purchased a DDCSV3.1 4 axis controller that I intend to use on a CNC router that I'm building.  I got it off Ebay and the pictures in the listing had RATTM MOTOR splashed across them.

I was just wondering in you had any idea how much of this thread is applicable to that controller.  I don't know if I've got the patience to wade through all 40 pages.  Any recommendations?

Hello Don,

while I myself could only really confirm this for the DDCSV1.1 and the RMHV2.1, the RATTM Motor branded controllers appeared to always be just relabeled DDCSV controllers. I do believe that this is still true today. At least the firmware updates are, as far as I know, still fully compatible.


Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: ddmckee54 on May 13, 2020, 02:11:12 PM
Benedikt:

I guess what I'm asking is do I need to do anything to this controller besides configuring it for my machine?  I would assume that since it's brand new, that it should have the latest firmware already installed - or is this a dangerous assumption? 

I've downloaded the manual from your site, and have been going through it to get familiar with the controller.

Don
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on May 14, 2020, 06:50:00 AM
I guess what I'm asking is do I need to do anything to this controller besides configuring it for my machine?  I would assume that since it's brand new, that it should have the latest firmware already installed - or is this a dangerous assumption?

You don't have to change anything. It's advisable to update the controller, but even that is completely optional.
Just set up your parameters on the controller or on http://config.pandora-cnc.eu/ and connect the wires.
That's all you need to do to get it working.

Cheers,
Benedikt
Title: Re: DDCSV1.1 4 Axis controller
Post by: ddmckee54 on May 14, 2020, 11:18:05 AM
Thanks Benedikt, I was worried that there were a bunch of patches/fixes that I would need to install.

Configuring the controller for my machine I wasn't worried about, that's a given for any self built CNC.  Installing a bunch of fixes to the controller on the other hand...  That was something I hoped that I didn't have to do.

Don
Title: Re: DDCSV1.1 4 Axis controller
Post by: kankarrio on October 16, 2020, 02:32:37 PM
I'm reading the post thread, but with the language I defend myself badly and I have to act as a translator.

I have a ddcsv2.1 4axis and a ddcsv1.1 3axis

in the ddcsv I want to install pandora

I have two questions:

1: has it been possible to make the 4th axis work in the ddcsv1.1 3 axis?

2: what firmware do I install?
pandora 08/26/2918 or factory
03/06/2020

Thanks in advance
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on October 17, 2020, 02:41:27 PM
Yes, you can do 4 axis.  I have done 4 axis work on my DDCSV.

Sent from my SM-G892A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: kankarrio on October 17, 2020, 03:30:12 PM

Is it necessary to do something in the ddcsv or does updating the firmware activate the 4th axis?


thanks for answering
Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on October 19, 2020, 03:04:49 PM
It's been too long, I dont remember; sorry!

Sent from my SM-G892A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: ddmckee54 on October 21, 2020, 02:31:08 PM
I believe that somewhere in this thread it was determined that the only difference between a 3 axis controller, and a 4 axis controller was the firmware.  You could load the 4 axis firmware update into what was originally a 3 axis controller and you would then have a 4 axis controller.

If you loaded the 3 axis update into your 4 axis controller, well then you just turned it into a 3 axis controller.

I believe that discussion was within the first year or two of this thread starting up.  I remember seeing the discussion as I was reading through this thread when I was trying to decide what flavor of CNC controller to use in my build.

Don
Title: Re: DDCSV1.1 4 Axis controller
Post by: Muzzerboy on October 21, 2020, 03:04:58 PM
This may have been asked before but the DDSV doesn't (yet) support lathe functions natively, so what is considered the next best option for a self contained controller for a lathe conversion? I'm sort of thinking LinuxCNC but it would have been really nice if the DDSV were available in a lathe flavour.

I'm familiar with the Newker / Newkye / SZGH / Adtech options which don't appeal TBH (Chinglish fatigue!). Wondered if there was something in between. The downside of LinuxCNC is that I'd soon have torn all my hair out and there's not as much left as I'd like as it is.
Title: Re: DDCSV1.1 4 Axis controller
Post by: kankarrio on October 24, 2020, 11:43:24 AM
Thank you very much for your answers :beer:


as soon as work allows me to install the update to pandora

I wish I had the ddcsv the lathe option, it would also save me a lot of trouble

PS- I express myself very badly in English, I use google translator, I apologize if my words are confusing



Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on October 27, 2020, 10:23:13 PM
Are we pretty sure the 3.1 firmware works on the 4 axis 2.1 or 1.1 hardware?  Or is the only change in the hardware a new silkscreen?

My mad modder version has started stalling on gcode files for no clear reason.  I think it's time for a re-brain.  Mwah-ha-ha!

Sent from my SM-G892A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: WeldingRod on October 29, 2020, 10:49:11 PM
I can confirm the 3.1 factory firmware runs on the 1.1 hardware!!!

Key improvement: it actually TELLS you why it stopped ;-)

Sent from my SM-G892A using Tapatalk

Title: Re: DDCSV1.1 4 Axis controller
Post by: kankarrio on January 02, 2023, 02:13:58 PM
Good morning, my English is not very good.

Could someone send me the latest stable Pandora?

The Pandora website doesn't work and I don't know which files I should download at https://github.com/Pandora-CNC

I have a ddcsv 2.1 and another ddcsv1.1

Thanks in advance
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt on January 04, 2023, 08:26:11 AM
Could someone send me the latest stable Pandora?

The Pandora website doesn't work and I don't know which files I should download at https://github.com/Pandora-CNC

Hello, you can download the last version of Pandora Installer at the link below, as the website has been discontinued:
https://github.com/Pandora-CNC/PandoraInstaller/releases/tag/v1.7
Title: Re: DDCSV1.1 4 Axis controller
Post by: kankarrio on January 07, 2023, 10:32:11 AM
thank you

I'm going to try it tomorrow

At the moment the version that I installed does not activate the A axis

Let's see if this new one is capable
Title: Re: DDCSV1.1 4 Axis controller
Post by: kankarrio on January 09, 2023, 06:03:41 AM
Hi everyone
Thank you very much for the installer.

I have tried the six firmware that it has

and none have made the A axis appear on the screen

I don't see any option in the configuration for it either, although there are all the parameters of axis A

well I finally left the factory 03/06/2020