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:

http://www.youtube.com/watch?v=1pN3F04nhZc

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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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-FRSMASCHINE" = "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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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. 
http://www.youtube.com/watch?v=nw1dpYfH-oE

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.
http://www.youtube.com/watch?v=1pN3F04nhZc
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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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)


https://www.youtube.com/watch?v=r2aImjdOTEA



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 M. 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
https://www.youtube.com/watch?v=dZjoDeaaUlw


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 M. 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 M. 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 M. 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 M. 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 cant be
modified or deleted."

 hope this is of some use
Title: Re: DDCSV1.1 4 Axis controller
Post by: Benedikt M. 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 cant 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 cant 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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:

http://www.youtube.com/watch?v=JcoLz_qNKsA 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: Chipist 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 deuxime 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 M. on February 19, 2017, 05:12:45 PM
re bonjour est ce que quelqun pourrait m'aider , j'ai un deuxime 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 cordonns 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 ide que les deux instructions a exist...Avez-vous quelques documentation ou des exemples de votre usage? Aussi, pour moi, il est imprative que le program arrte 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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 M. 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.