21
General Mach Discussion / Re: Mach3, Delta ASDA-B2, ESS. 12 straight hours working on this. could use assist..
« on: February 04, 2020, 08:08:25 PM »
Craig-
Thanks so much for diving into the details of the electronic gears and such. I will read this over about 10 times and hopefully will be able to make it 'click'
I am going downstairs to the shop to see if I can get the electronic gearing and line count set.
As far as getting the pulse stream sorted-
I would like to try and use the existing single ended output 5vdc+ from my C25 board.
You reference this here
"If you set the electronic gearing parameters such that you don't require excessively high signalling rate to the drive, say less than 200kHz, then you DON'T NEED
differential signalling, single ended will be fine. The drive is expecting 24V signalling. I have a transistor between my BoB and the Step and Direction inputs of the drive."
Several questions on this part.
1. What should I set my Mach3 Kernel Speed to? I have successfully used 25,000Hz and 45,000Hz. The PC running Mach3 is an older dell outputting through ethernet to the ESS.
2. In the ESS main config page of the plugin, I can set the ESS controller frequency. Suggestion for a frequency that is under the speed which will allow me to have correct pulsing output for the Delta Drive.
3. The Delta manual here- file:///C:/Users/Nate%20Foerg/Desktop/DELTA_IA-ASD_B2CURRENT.pdf on page 3-18, the figure gives a list of options for which pins on the DB44 connector should be wired up depending upon wether or not you want to hook it up to high or low speed pulses, open collector, etc. I gather that you are suggesting that I use the one called Position Pulse (Input) this is the only one that appears to support the 200KHz freq. Assuming I am correct on this being the correct option, I am unclear on how I should be using the pins here-
########################################
Position Pulse (Input)
PULSE /PULSE SIGN /SIGN PULL HI
43 41 39 37 35
Position pulse can be inputted by Line Driver (single phase max. frequency 500KHz) or open-collector (single phase max. frequency 200 KHz). Three kinds of command type can be selected via P1-00, CW pulse + CCW pulse, pulse + direction, A pulse + B pulse. When position pulse uses opencollector, the terminal should be connected to an external applied power in order to pull high.
Wiring Diagram C3/C4
####################################
Yesterday when testing, I had the pins set as follows-
From BOB, pin 2 (mach3 step pin) running to PULSE pin 43.
From BOB, pin 3 (mach3 Direction pin) running to SIGN pin 39.
From BOB Ground pin running to /PULSE pin 41.
From BOB Ground pin running to /SIGN pin 37.
With these connections I was able to 'slightly' move the motor with Mach3.
As I write this, I am Starting to have things fall slightly into view... looks like I should be using wiring diagram C3/4 on page 3-28 of the Delta manual.
If so, I was close on my wiring yesterday, but without having an external power source applied to "the terminal" (whatever that is. best guess is its pin 35) if that's the case, the diagram looks as if VDC- is applied to pin 35. Not clear on this 'pulling up' concept. I sort of get how it works, but at least in this application, I am unsure how to wire the external power supply. I assume it must be 5VDC+, and that if I used higher power, like the 24VDC the diagram calls for, I might damage the BOB or ESS, if what I believe is correct. All the resistors shown in diagram C3/4 appear to be internal to the Servo Drive. At least thats how I read it. However, I only vaguely read electronic schematics.
I don't get how I can wire the BOB pins 2 & 3 (5VDC+ when active) to Pins 39 & 43 on the Delta drive, as the BOB does not appear to have any -VDC available for pin 37 & 43. I suppose I could use Ground on the BOB as the -VDC. Possibly that's what should be done?
Would be curious to know how a transistor works in your application? I am thinking you have it amplify your 5VDC+ up to 24VDC+ for the Delta Drive to Accept as a digital input?
Again, updating this as I read more about things, I have found this link very informative pertaining to Open Collector. https://www.evilmadscientist.com/2012/basics-open-collector-outputs/
Ok, off to the shop for a few hrs.
Thanks so much for chiming in on these matters. I am most appreciative.
Nate.
Thanks so much for diving into the details of the electronic gears and such. I will read this over about 10 times and hopefully will be able to make it 'click'
I am going downstairs to the shop to see if I can get the electronic gearing and line count set.
As far as getting the pulse stream sorted-
I would like to try and use the existing single ended output 5vdc+ from my C25 board.
You reference this here
"If you set the electronic gearing parameters such that you don't require excessively high signalling rate to the drive, say less than 200kHz, then you DON'T NEED
differential signalling, single ended will be fine. The drive is expecting 24V signalling. I have a transistor between my BoB and the Step and Direction inputs of the drive."
Several questions on this part.
1. What should I set my Mach3 Kernel Speed to? I have successfully used 25,000Hz and 45,000Hz. The PC running Mach3 is an older dell outputting through ethernet to the ESS.
2. In the ESS main config page of the plugin, I can set the ESS controller frequency. Suggestion for a frequency that is under the speed which will allow me to have correct pulsing output for the Delta Drive.
3. The Delta manual here- file:///C:/Users/Nate%20Foerg/Desktop/DELTA_IA-ASD_B2CURRENT.pdf on page 3-18, the figure gives a list of options for which pins on the DB44 connector should be wired up depending upon wether or not you want to hook it up to high or low speed pulses, open collector, etc. I gather that you are suggesting that I use the one called Position Pulse (Input) this is the only one that appears to support the 200KHz freq. Assuming I am correct on this being the correct option, I am unclear on how I should be using the pins here-
########################################
Position Pulse (Input)
PULSE /PULSE SIGN /SIGN PULL HI
43 41 39 37 35
Position pulse can be inputted by Line Driver (single phase max. frequency 500KHz) or open-collector (single phase max. frequency 200 KHz). Three kinds of command type can be selected via P1-00, CW pulse + CCW pulse, pulse + direction, A pulse + B pulse. When position pulse uses opencollector, the terminal should be connected to an external applied power in order to pull high.
Wiring Diagram C3/C4
####################################
Yesterday when testing, I had the pins set as follows-
From BOB, pin 2 (mach3 step pin) running to PULSE pin 43.
From BOB, pin 3 (mach3 Direction pin) running to SIGN pin 39.
From BOB Ground pin running to /PULSE pin 41.
From BOB Ground pin running to /SIGN pin 37.
With these connections I was able to 'slightly' move the motor with Mach3.
As I write this, I am Starting to have things fall slightly into view... looks like I should be using wiring diagram C3/4 on page 3-28 of the Delta manual.
If so, I was close on my wiring yesterday, but without having an external power source applied to "the terminal" (whatever that is. best guess is its pin 35) if that's the case, the diagram looks as if VDC- is applied to pin 35. Not clear on this 'pulling up' concept. I sort of get how it works, but at least in this application, I am unsure how to wire the external power supply. I assume it must be 5VDC+, and that if I used higher power, like the 24VDC the diagram calls for, I might damage the BOB or ESS, if what I believe is correct. All the resistors shown in diagram C3/4 appear to be internal to the Servo Drive. At least thats how I read it. However, I only vaguely read electronic schematics.
I don't get how I can wire the BOB pins 2 & 3 (5VDC+ when active) to Pins 39 & 43 on the Delta drive, as the BOB does not appear to have any -VDC available for pin 37 & 43. I suppose I could use Ground on the BOB as the -VDC. Possibly that's what should be done?
Would be curious to know how a transistor works in your application? I am thinking you have it amplify your 5VDC+ up to 24VDC+ for the Delta Drive to Accept as a digital input?
Again, updating this as I read more about things, I have found this link very informative pertaining to Open Collector. https://www.evilmadscientist.com/2012/basics-open-collector-outputs/
Ok, off to the shop for a few hrs.
Thanks so much for chiming in on these matters. I am most appreciative.
Nate.