Gerber D-200

More
20 Sep 2018 03:30 #117774 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
I've made some progress.

First, the C80 board was a bust as far as trying to use it to run the machine. It's opencollector outputs just weren't practical to trigger the drive steps. It's 24v inputs were useful for snooping the output signals from the old control. With that I was able to confirm the step patern is 1/2 step unipolar and even measure the step scale and velocity/acceleration.

So I popped the cover off the old control and looked over how it works. It uses a chip L239E to send the signal. So I bought 4 of these
www.mouser.com/ProductDetail/STMicroelec...Zq9rRehoCFTwQAvD_BwE
With them I am able to trigger the drive steps using an ordinary 5v breakout board for a parallel port.

So far I've tested moving 1 axis with Linuxcnc using a breadboard setup. After I test the full setup, I will solder up something permanent.

Please Log in or Create an account to join the conversation.

More
20 Sep 2018 14:45 - 29 Sep 2018 02:59 #117795 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
For anyone searching for this Information about a Gerber D-200 or Gerbers Arc Stations. The pin-out of the D-37 port is:
Pin#     Voltage    Description
1          24v      X-Phase-a
2          24v      X-Phase-b
3          24v      X-Phase-c
4          24v      X-Phase-d
5          0v       Common (Pins 1-4)
6          0v
7          24v      Y-Phase-a
8          24v      Y-Phase-b
9          24v      Y-Phase-c
10         24v      Y-Phase-d
11         0v       Common (Pins 7-11)
12         0v
14         24v       ?
15         ?         ?
16         ?         ?
17         ?         ?
18         5v        5v in (pin 18-19)
19         5v        ?
20         24v      Spindle Relay
21         ?         ?
22         24v      Spindle Trigger 
23         ?         ?
24         0v       Common (Pins 20,22)
25         0v        ?
26         24v      Z-Phase-a
27         24v      Z-Phase-b
28         24v      Z-Phase-c
29         24v      Z-Phase-d
30         0v       Common (Pins 26-29)
31         ?         ?
32         24v       ?   
33         ?         ?
34         ?         ?
35         ?         ?
36         0v        ?
37         0v        ?
I can run the machine with full functionality using only pins 1-5,7-11,20,26-30. At this point I do not know what the pins with the question marks were intended for. They don't appear to be used for this application of the Gerber Arc Station.
The home switches on this machine (only X and Y) are 5v magnetic reed switches and run off of a separate plug that goes directly to the Arc Station.
Last edit: 29 Sep 2018 02:59 by Todd Zuercher.
The following user(s) said Thank You: andypugh

Please Log in or Create an account to join the conversation.

More
26 Sep 2018 23:19 #118023 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
Well I spoke too soon about having it fully functional. I can't seem to command the router motor to turn on/off. I knew the old control put 24v on pin-20, but that by itself is not enough. So after careful examination of the boards I went back and checked the signal from the old control on pins 20 and 22 with Halscope. It turns out when pin 20 goes high the control also outputs two short pulses on pin 22. There are also two pulses on pin 22 when pin 20 goes low and the router stops. I will post pics of the Halscope traces tomorrow.

How would be the easiest way to reproduce that signal?

Please Log in or Create an account to join the conversation.

More
27 Sep 2018 09:49 #118034 by andypugh
Replied by andypugh on topic Gerber D-200

How would be the easiest way to reproduce that signal?


linuxcnc.org/docs/2.7/html/man/man9/oneshot.9.html
and linuxcnc.org/docs/2.7/html/man/man9/timedelay.9.html

So, two oneshots. One triggered directly from whatever rives pin 20, and the other triggered by a timedelay triggered by the same thing.

You then need to or2 the two oneshot outputs.

Or a custom comp.

Please Log in or Create an account to join the conversation.

More
27 Sep 2018 14:08 #118051 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
Thanks Andy, not sure why I didn't think of timedelay.

Here are the Halscope screen shots for anyone interested.



Attachments:

Please Log in or Create an account to join the conversation.

More
27 Sep 2018 15:13 #118055 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
I ended up doing it a little differently, rather than using 4 components (2 oneshots, a timedelay and an or2) I did it with 2 edge components, both triggered by both rising and falling edges, the first one triggered by the spindle cmd, the 2nd by the 1st. The 1st edge I set the pulse width to the spacing of the 2 pulses, the 2nd the length of the individual pulses. and here is my result.



Now I just need enough time to go test it on the machine and see if it actually works.
Attachments:

Please Log in or Create an account to join the conversation.

More
29 Sep 2018 03:08 #118165 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
Yes it works!

Here is what my breadboard rat's nest looks like.
Attachments:

Please Log in or Create an account to join the conversation.

More
10 Feb 2019 17:42 #126163 by Maxwell
Replied by Maxwell on topic Gerber D-200
This looks great! Thanks for sharing!

I also have an old D200 that I stopped using because of ArtPath. Were you able to successfully communicate with the D200 from LinuxCNC and cut a job? If so, how would I go about recreating this project so I can start using my D200 again with LinuxCNC?

Please Log in or Create an account to join the conversation.

More
11 Feb 2019 13:46 #126199 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
Yes, I can run our D-200 with Linuxcnc.
There are two ways you can approach this. The way I did it, or the easy way. I wanted to retain the ability to run the machine with the old Gerber software, so I needed to retain the old Gerber motor drive. If you won't ever want to run the machine as Gerber intended it would be much simpler, to just replace the old Gerber driver board in the large black box with 3 conventional stepper motor drives.

The key to making it work was a set of L239E chips, to convert the 5v TTL signal from the pc breakout board to the 24v signal used in the Gerber drive box to trigger the drive transistors.

The other difficult part was figuring out how to turn the spindle on/off. (If you are not using the original Gerber driver board this is a non issue, just use a relay.)

I still haven't taken the time to finalize the installation. (I still need to stuff my mess in an electrical box and make it purdy.)

Here is a copy of my config files.

File Attachment:

File Name: D-200.zip
File Size:12 KB
Attachments:

Please Log in or Create an account to join the conversation.

More
11 Feb 2019 15:25 #126202 by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
Also, if Gerber's crappy software is the only thing keeping you from using the machine there are a few other CAM software packages that support running these Gerber routers.

One I know works is Enroute, It is a bit pricey but it is still cheaper than the garbage Gerber was peddling (last I checked Artpath was still Windows95 tech).
www.thinksai.com/products/enroute

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.245 seconds
Powered by Kunena Forum