Re: [Emc-users] Triggering an external relay from a BOB

2020-05-20 Thread Gene Heskett
On Wednesday 20 May 2020 11:55:57 Dan Henderson wrote: > Gene, > Based on your response I believe you're referring to a PDM commanded > spindle. I'm using PWMGEN pulses to drive my PM DC Motor. > > I think I have it now tweaked about as good as I can get it. It took a > combination of modifying

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-20 Thread Dan Henderson
Gene, Based on your response I believe you're referring to a PDM commanded spindle. I'm using PWMGEN pulses to drive my PM DC Motor. I think I have it now tweaked about as good as I can get it. It took a combination of modifying the following two HAL entry values: setp pwmgen.0.scale 7600 setp

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Gene Heskett
On Tuesday 19 May 2020 20:58:45 Dan Henderson wrote: > I have encoder.0.position-scale set to 400 and I have all three phases > A,B,Z enabled as inputs. Me thinks it might have to do with > pwmgen.0.scale or the pwmgen.0.offset. Not entirely sure what those do > yet. I believe scale assumes you

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Dan Henderson
I have encoder.0.position-scale set to 400 and I have all three phases A,B,Z enabled as inputs. Me thinks it might have to do with pwmgen.0.scale or the pwmgen.0.offset. Not entirely sure what those do yet. I believe scale assumes you know the max rpm the motor will run and sets the increments

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Gene Heskett
On Tuesday 19 May 2020 18:16:49 Dan Henderson wrote: > The CUI ATM 103. The PPR is set at 100 both on the device and in HAL. > I’m not using scale mode since I needed Quadrature in order to detect > CCW for rigid tapping. You should be able to set encoder scale at 400 w/o effecting the

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Dan Henderson
The CUI ATM 103. The PPR is set at 100 both on the device and in HAL. I’m not using scale mode since I needed Quadrature in order to detect CCW for rigid tapping. On Tue, May 19, 2020 at 5:03 PM Gene Heskett wrote: > On Tuesday 19 May 2020 17:28:40 Dan Henderson wrote: > > > Thanks Gene. I

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Gene Heskett
On Tuesday 19 May 2020 17:28:40 Dan Henderson wrote: > Thanks Gene. I too dabbled in Amiga ARexx back in the day. I was / > still am a Commodore aficionado. To this day, I have working Amiga, > C-128, and C64 hardware. I prefer Assembly Language over BASIC for > obvious reasons with speed being

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Dan Henderson
Thanks Gene. I too dabbled in Amiga ARexx back in the day. I was / still am a Commodore aficionado. To this day, I have working Amiga, C-128, and C64 hardware. I prefer Assembly Language over BASIC for obvious reasons with speed being foremost among them. But I digress... I ended up building a

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Gene Heskett
On Tuesday 19 May 2020 16:15:31 Dan Henderson wrote: > Update for everyone. I now have two working relays controlling the > operation of the spindle motor via BOB and Parallel Port. I've also > now successfully tested the G33.1 Rigid Tapping cycle with this setup. > > Relay #1 is used to power

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-19 Thread Dan Henderson
Update for everyone. I now have two working relays controlling the operation of the spindle motor via BOB and Parallel Port. I've also now successfully tested the G33.1 Rigid Tapping cycle with this setup. Relay #1 is used to power on/off the motor controller board (MC2100). (M5 or S0 triggers

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Dan Henderson
Great idea Andy! On Fri, May 15, 2020 at 6:02 PM andy pugh wrote: > On Fri, 15 May 2020 at 18:40, Dan Henderson wrote: > > > One BOB requires an external 5v supply the other is able to use a USB > port > > from the PC for power. > > You might be able to steal 5V from the second for the first.

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread andy pugh
On Fri, 15 May 2020 at 18:40, Dan Henderson wrote: > One BOB requires an external 5v supply the other is able to use a USB port > from the PC for power. You might be able to steal 5V from the second for the first. -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Dan Henderson
I have two parallel port cards in the PC and so have the ability to leverage two BOB's for inputs/outputs. One BOB requires an external 5v supply the other is able to use a USB port from the PC for power. I'm going to bask in this small victory for awhile before attempting anything else :) On

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Gene Heskett
On Friday 15 May 2020 10:49:56 Dan Henderson wrote: > I now have two working relays with LCNC control via the BOB! Both > rated at 10a 28vdc MAX. That may wind up welded in the on position, those relays should have a 250 volt interrupt rating. > As I mentioned in another thread, I do indeed >

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Gene Heskett
On Friday 15 May 2020 10:21:26 Dan Henderson wrote: > Okay, this issue appears to be solved. Of all the boneheaded things I > might have done and not tested. Apparently the parallel port cable I > used was either a "printer cable" or just faulty. Swapping out that > cable for another solved this

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Dan Henderson
I now have two working relays with LCNC control via the BOB! Both rated at 10a 28vdc MAX. As I mentioned in another thread, I do indeed want to be able to switch polarity of the spindle (low or zero rpm) to achieve CCW rotation. I also want to be able to turn the spindle on/off. Whether it's with

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Gene Heskett
On Friday 15 May 2020 09:19:32 Dan Henderson wrote: > Yes, my plan is to use the onboard BOB relay for spindle power on/off. > > Dr. Lindner's comment regarding open collectors and the need for a > pull-up resistor could well solve this riddle.Going to check to see if > these are OC next. > Gene

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Gene Heskett
On Friday 15 May 2020 09:05:22 andy pugh wrote: > On Fri, 15 May 2020 at 13:56, Gene Heskett wrote: > > If the pix posted yesterday is the external relay in question here, > > its a 10 amp rated contacts relay, and coil current to activate that > > is going to be well beyond the bobs ability to

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Dan Henderson
Okay, this issue appears to be solved. Of all the boneheaded things I might have done and not tested. Apparently the parallel port cable I used was either a "printer cable" or just faulty. Swapping out that cable for another solved this issue. The current test that confirmed it was with the

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread andy pugh
On Fri, 15 May 2020 at 13:56, Gene Heskett wrote: > > If the pix posted yesterday is the external relay in question here, its a > 10 amp rated contacts relay, and coil current to activate that is going > to be well beyond the bobs ability to deliver the needed currant. I think that there are

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Gene Heskett
On Friday 15 May 2020 07:31:27 Dan Henderson wrote: > I was just testing any pin. I have two BOB’s connected to two parallel > ports. All my steppers are working on BOB zero. No issues with any of > that. BOB “1” has spindle-motion-reverse => paraport.1.pin-04-out. > From this BOB I have both +

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Dr. Andreas O. Lindner
Hi, just to make sure, have you checked if your BOB has open collector outputs. If so you need to supply a pull-up resistor between output and +5V and the output needs to be defined inverted. Br, Andreas Dr. Andreas O. Lindner Lindner TAC Auhofstraße 11 B / 11 1130 Wien Austria Fax: +43 1

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread Dan Henderson
I was just testing any pin. I have two BOB’s connected to two parallel ports. All my steppers are working on BOB zero. No issues with any of that. BOB “1” has spindle-motion-reverse => paraport.1.pin-04-out. From this BOB I have both + and - 5v going to Inputs of external relay along with output

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-15 Thread andy pugh
On Fri, 15 May 2020 at 01:33, Dan Henderson wrote: > > Hello everyone, I have a simple question for you. I’m testing the ability > to trip a simple 5v relay with an output pin from a 5 axis BOB and don’t > seem to be having any luck. I have motion-spindle-reverse mapped to the > output pin (04).

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-14 Thread Chris Albertson
Sorry about the last reply written before seeing the posted manual. As Gene points out it is "14" or "4". But also, my guess is you need to supply 5 volts to the board via either a power supply or a USB cable. One why to debug this is to but a voltmeter on the relay coil and toggle pin 14.

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-14 Thread Chris Albertson
My first guess is that the BoB can't source or sink enough current to energize the relay coil. But we have to know what exact relay, power supply, and BoB you have and exactly how they are all connected. Could you post a schematic? On Thu, May 14, 2020 at 5:33 PM Dan Henderson wrote: > >

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-14 Thread Gene Heskett
On Thursday 14 May 2020 21:15:26 Dan Henderson wrote: > I’ll do one better by attaching the Chinglish manual. Attached > Thanks Gene. > [image: Word Document] > New type V5 CNC_Interface_Board_LV2.doc >

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-14 Thread Dan Henderson
Here’s a pc of the external relay board. On Thu, May 14, 2020 at 8:15 PM Dan Henderson wrote: > I’ll do one better by attaching the Chinglish manual. Attached > Thanks Gene. > [image: Word Document] > New type V5 CNC_Interface_Board_LV2.doc > >

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-14 Thread Dan Henderson
I’ll do one better by attaching the Chinglish manual. Attached Thanks Gene. [image: Word Document] New type V5 CNC_Interface_Board_LV2.doc On Thu, May 14, 2020 at 7:58 PM Gene Heskett wrote: > On

Re: [Emc-users] Triggering an external relay from a BOB

2020-05-14 Thread Gene Heskett
On Thursday 14 May 2020 20:30:58 Dan Henderson wrote: > Hello everyone, I have a simple question for you. I’m testing the > ability to trip a simple 5v relay with an output pin from a 5 axis BOB > and don’t seem to be having any luck. I have motion-spindle-reverse > mapped to the output pin (04).