- Posts: 4793
- Thank you received: 1481
Gerber D-200
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
8 years 1 month ago #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?
How would be the easiest way to reproduce that signal?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
-
Less
More
- Posts: 19899
- Thank you received: 4655
8 years 1 month ago #118034
by andypugh
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.
Replied by andypugh on topic Gerber D-200
Todd Zuercher wrote: 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.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1481
8 years 1 month ago #118051
by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1481
8 years 1 month ago #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.
Now I just need enough time to go test it on the machine and see if it actually works.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
-
Less
More
- Posts: 4793
- Thank you received: 1481
8 years 1 month ago #118165
by Todd Zuercher
Replied by Todd Zuercher on topic Gerber D-200
Please Log in or Create an account to join the conversation.
- Maxwell
- Offline
- New Member
-
Less
More
- Posts: 2
- Thank you received: 0
7 years 8 months ago #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?
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.
Time to create page: 0.319 seconds