[Emc-users] Cheaper than normal FHA-25B

2020-05-15 Thread Roland Jollivet
I've been thinking about 4th axes;
While motorised reduction drives are readily available, the issue is
obviously backlash.

One way to make a zero backlash drive is to use two identical
gearbox/drives. Place them at opposite ends of the axis, and pit them
against each other by a few encoder counts.
So they will track and retain the zero-backlash.

Of course, the total power available is now less than one drive motor, but
it is an option to use almost any pair of reduction drives that can be got.
But there is also the cost of the second servo amp.


On Fri, 15 May 2020 at 14:11, andy pugh  wrote:

> The normally appear on eBay at up to 6x this price.
> https://www.ebay.co.uk/itm/233587431605
>
> The B versions have conventional incremental encoders and hall
> sensors, so are easy to integrate. Lots of torque, zero backlash and a
> very strong and fancy big crossed-roller bearing make them an
> almost-complete 4th or 5th axis just needing a bracket and a drive.
>
> I have no connection with the vendor, if you order one and receive
> dolls-house furniture instead don't blame me.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Valerio Bellizzomi
On Fri, 2020-05-15 at 13:40 -0500, Bari wrote:
> On 5/15/20 1:02 PM, Valerio Bellizzomi wrote:
> 
> >
> > I am using 2.8 amd64, I will the instructions tomorrow and post the
> > result.
> >
> > Thanks.
> >
> Support for QTPYVCP is really great on IRC freenode  #hazzy


Installing pyqtvcp with pip failed even I compiled Qt5, but installation
worked from the debian package.

Launching LinuxCNC however got the following error:

Starting DISPLAY program: qtvcp
option -i not recognized.






___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Bari

On 5/15/20 1:02 PM, Valerio Bellizzomi wrote:



I am using 2.8 amd64, I will the instructions tomorrow and post the
result.

Thanks.


Support for QTPYVCP is really great on IRC freenode  #hazzy


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Valerio Bellizzomi
On Fri, 2020-05-15 at 12:50 -0500, Bari wrote:
> On 5/15/20 12:21 PM, Valerio Bellizzomi wrote:
> > On Thu, 2020-05-14 at 13:44 -0500, Bari wrote:
> >> On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:
> >>
> >
> > Thank you. I got the file libpyqt5_py2.so from github and copied it to
> > the suggested directory, still the same error.
> > I think some basic piece of software is missing at this point, like you
> > said.
> >
> i haven't installed for a few weeks but i did install all this on 4-5 
> systems and they all worked.
> 
> https://www.qtpyvcp.com/install/installation.html#qtdesigner-plug-ins
> 
> The easiest way to install the libs to the correct location is to use 
> the install.sh script located in the qtpyvcp/pyqt5designer/Qt5.7.1-64bit 
> directory with this command.
> 
> sudo ./install.sh
> 
> If you are using a different architecture or Qt version you may need to 
> compile PyQt5 from source to get the proper libpyqt5.so file. The steps 
> should be similar those listed here.
> 
> https://gist.github.com/KurtJacobson/34a2e45ea2227ba58702fc1cb0372c40


I am using 2.8 amd64, I will the instructions tomorrow and post the
result.

Thanks.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Bari



On 5/15/20 12:21 PM, Valerio Bellizzomi wrote:

On Thu, 2020-05-14 at 13:44 -0500, Bari wrote:

On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:



Thank you. I got the file libpyqt5_py2.so from github and copied it to
the suggested directory, still the same error.
I think some basic piece of software is missing at this point, like you
said.

i haven't installed for a few weeks but i did install all this on 4-5 
systems and they all worked.


https://www.qtpyvcp.com/install/installation.html#qtdesigner-plug-ins

The easiest way to install the libs to the correct location is to use 
the install.sh script located in the qtpyvcp/pyqt5designer/Qt5.7.1-64bit 
directory with this command.


sudo ./install.sh

If you are using a different architecture or Qt version you may need to 
compile PyQt5 from source to get the proper libpyqt5.so file. The steps 
should be similar those listed here.


https://gist.github.com/KurtJacobson/34a2e45ea2227ba58702fc1cb0372c40



___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 Fri, May 15, 2020 at 10:21 AM Gene Heskett  wrote:

> 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
> > 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 these relays or more beefy ones as needed. A
> > 3rd relay may be used to power the coolant or Air blast -- not sure.
> > With two BOB's and parallel ports I have plenty of outputs / inputs
> > available.
> >
> > Just getting LNCC and my hardware to achieve this small success was a
> > breakthrough for me :)
>
> Good. please continue.
>
> [...]
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] QtPyVCP installation error

2020-05-15 Thread Valerio Bellizzomi
On Thu, 2020-05-14 at 13:44 -0500, Bari wrote:
> On 5/14/20 11:39 AM, Valerio Bellizzomi wrote:
> > On Thu, 2020-05-14 at 12:31 -0400, Eric Keller wrote:
> >> error: can't copy 'pyqt5designer/Qt5.7.1-64bit/libpyqt5_py2.so':
> >> doesn't exist or not a regular file
> >>
> >>
> >> It appears you don't have a prerequisite or it's not installed properly in
> >> the expected directory
> >
> >
> >
> > If so the instructions are incomplete, because I have copy/pasted the
> > prerequisite 'apt install ...' line, and I am sure I copied it exactly.
> >
> 
> Yes some of the install instructions are incomplete. It is close but not 
> perfect. I am in the process of helping to fix the installation 
> instructions.


Thank you. I got the file libpyqt5_py2.so from github and copied it to
the suggested directory, still the same error.
I think some basic piece of software is missing at this point, like you
said.




___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Cheaper than normal FHA-25B

2020-05-15 Thread John Dammeyer
The part number of that drive is:
FHA-25B-1911-KE150-SP
I've attached a chart that lists the drive I have;  mine is a -6015.  I don't 
know what the 1911 or the rest of the numbers mean.
Might be best to contact 
https://www.harmonicdrive.net/products/rotary-actuators/hollow-shaft-actuators/fha-c
before purchasing.
John Dammeyer


> -Original Message-
> From: andy pugh [mailto:bodge...@gmail.com]
> Sent: May-15-20 5:09 AM
> To: Enhanced Machine Controller (EMC)
> Subject: [Emc-users] Cheaper than normal FHA-25B
> 
> The normally appear on eBay at up to 6x this price.
> https://www.ebay.co.uk/itm/233587431605
> 
> The B versions have conventional incremental encoders and hall
> sensors, so are easy to integrate. Lots of torque, zero backlash and a
> very strong and fancy big crossed-roller bearing make them an
> almost-complete 4th or 5th axis just needing a bracket and a drive.
> 
> I have no connection with the vendor, if you order one and receive
> dolls-house furniture instead don't blame me.
> 
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> � George Fitch, Atlanta Constitution Newspaper, 1912
> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


FHA-14A-17A-25B specs.pdf
Description: Adobe PDF document
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 
> 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 these relays or more beefy ones as needed. A
> 3rd relay may be used to power the coolant or Air blast -- not sure.
> With two BOB's and parallel ports I have plenty of outputs / inputs
> available.
>
> Just getting LNCC and my hardware to achieve this small success was a
> breakthrough for me :)

Good. please continue.

[...]

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 issue.

I didn't think of that. But yes. You also haven't disclosed where you are 
getting the 2nd parport to drive the 2nd bob. So I assumed you were 
using something like a mesa 5i25, but be aware if using a 5i25, and 
supplying 5 volts for the bob, that is ONLY valid with mesa 
daughtercards, and will short the 5 volt buss in the computer if used 
with a std bob.  It is fused, with a PTC fuse though.

So you must use a separate small 5 volt supply or the usb cable to power 
the bob(s).

> The current test that confirmed it was with the onboard relay. I
> modified the HAL to use paraport.1.pin-14-out <=
> motion-spindle-reverse (p14 on controls the onboard relay). Viola! The
> relay clicks on with an M4 and clicks off with an M5!
>
> It's hard enough when I'm a complete novice at electronic circuitry,
> but when you have a faulty cable thrown in the mix? My head is
> swimming and attempting a reboot/recovery, lol.

And I keep forgetting that I've been messing with electrical stuff since 
I was about 8 yo, and made my living working with it since I was about 
14, essentially skipping high school. That, and I'm a teacher at heart. 
But I hope that somewhere in my "ravings" is something that will help.

> Thanks for all the assistance!
>
> On Fri, May 15, 2020 at 8:19 AM 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 your way ahead of where I'm at. I'm just taking it a step at a
> > time trying to get a simple external relay to work via the BOB. To
> > be fair, I'm not even getting the onboard relay to click by
> > outputting to pin 14 (relay trigger).
> >
> > Curious if something in my HAL is preventing that from happening? Is
> > my thought pattern of triggering the logic with M4 valid with the
> > spindle-motion-reverse mapped to the output pin specified?
> >
> > On Fri, May 15, 2020 at 8:08 AM 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 deliver the needed
> >> > currant.
> >>
> >> I think that there are extra components on the relay board to
> >> account for that.
> >>
> >> > why not use
> >> > pin 14 of bob-0 which WILL have the boosted current
> >>
> >> Maybe he is using that for spindle on-off?
> >>
> >>
> >> --
> >> atp
> >> "A motorcycle is a bicycle with a pandemonium attachment and is
> >> designed for the especial use of mechanical geniuses, daredevils
> >> and lunatics."
> >> — George Fitch, Atlanta Constitution Newspaper, 1912
> >>
> >>
> >> ___
> >> Emc-users mailing list
> >> Emc-users@lists.sourceforge.net
> >> https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 these relays or more beefy ones as needed. A 3rd relay may be used to
power the coolant or Air blast -- not sure. With two BOB's and parallel
ports I have plenty of outputs / inputs available.

Just getting LNCC and my hardware to achieve this small success was a
breakthrough for me :)



On Fri, May 15, 2020 at 9:33 AM Gene Heskett  wrote:

> 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 deliver the needed
> > > currant.
> >
> > I think that there are extra components on the relay board to account
> > for that.
>
> There may be, but w/o its schematic we are both guessing.
>
> > > why not use
> > > pin 14 of bob-0 which WILL have the boosted current
> >
> > Maybe he is using that for spindle on-off?
>
> in which case the OP, Dan, still has another identical relay on the 2nd
> bob. He probably needs to use one for on/braking and the other for
> reverse. This isn't quite conventional, but its a far cry from magic.
> I've been there and done that with only one bob and didn't use that bobs
> relay. But even a 2 stage braking relay setup was unable to match what
> I've now done with no relays and one of Jons modified pwm-servo drivers.
>
> hal is NOT hard coded, so use its programmability as needed. Dan still
> has not disclosed (to get my attention at least) what he will be using
> as a controller, and I am trying to offer enough help such that the
> smoke stays in the parts and the mirror is still in one piece.  So I'm
> trying to cover all the bases because I have also BTDT.  Success is
> relative of course, which is why I changed it, nominally alongside
> making that lathes tapered gibs, what, 3 years ago. Both upgrades were
> very worthwhile improvements.
>
> Cheers, Gene Heskett
> --
> "There are four boxes to be used in defense of liberty:
>  soap, ballot, jury, and ammo. Please use in that order."
> -Ed Howdershelt (Author)
> If we desire respect for the law, we must first make the law respectable.
>  - Louis D. Brandeis
> Genes Web page 
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 your way ahead of where I'm at. I'm just taking it a step at a
> time trying to get a simple external relay to work via the BOB. To be
> fair, I'm not even getting the onboard relay to click by outputting to
> pin 14 (relay trigger).

there is usually a flea clip jumper to enable/disable that on the bob, 
but I do not see it on that bob. If you have the usb cable plugged in 
for stiffer power to the board, one setting or the other should enable 
that, but check its output status with an ohmeter, they can be very 
quiet. you should have both the leds behind the usb connector lit, on 
both bobs if following me. 

unforch the google link has expired for the relay gizmo and I didn't save 
it FFR. My bad.
>
> Curious if something in my HAL is preventing that from happening? Is
> my thought pattern of triggering the logic with M4 valid with the
> spindle-motion-reverse mapped to the output pin specified?
>
> On Fri, May 15, 2020 at 8:08 AM 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
> > > deliver the needed currant.
> >
> > I think that there are extra components on the relay board to
> > account for that.
> >
> > > why not use
> > > pin 14 of bob-0 which WILL have the boosted current
> >
> > Maybe he is using that for spindle on-off?
> >
> >
> > --
> > atp
> > "A motorcycle is a bicycle with a pandemonium attachment and is
> > designed for the especial use of mechanical geniuses, daredevils and
> > lunatics."
> > — George Fitch, Atlanta Constitution Newspaper, 1912
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/emc-users
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 deliver the needed
> > currant.
>
> I think that there are extra components on the relay board to account
> for that.

There may be, but w/o its schematic we are both guessing.

> > why not use
> > pin 14 of bob-0 which WILL have the boosted current
>
> Maybe he is using that for spindle on-off?

in which case the OP, Dan, still has another identical relay on the 2nd 
bob. He probably needs to use one for on/braking and the other for 
reverse. This isn't quite conventional, but its a far cry from magic. 
I've been there and done that with only one bob and didn't use that bobs 
relay. But even a 2 stage braking relay setup was unable to match what 
I've now done with no relays and one of Jons modified pwm-servo drivers.

hal is NOT hard coded, so use its programmability as needed. Dan still 
has not disclosed (to get my attention at least) what he will be using 
as a controller, and I am trying to offer enough help such that the 
smoke stays in the parts and the mirror is still in one piece.  So I'm 
trying to cover all the bases because I have also BTDT.  Success is 
relative of course, which is why I changed it, nominally alongside 
making that lathes tapered gibs, what, 3 years ago. Both upgrades were 
very worthwhile improvements.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 onboard relay. I modified
the HAL to use paraport.1.pin-14-out <= motion-spindle-reverse (p14 on
controls the onboard relay). Viola! The relay clicks on with an M4 and
clicks off with an M5!

It's hard enough when I'm a complete novice at electronic circuitry, but
when you have a faulty cable thrown in the mix? My head is swimming and
attempting a reboot/recovery, lol.

Thanks for all the assistance!

On Fri, May 15, 2020 at 8:19 AM 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 your way ahead of where I'm at. I'm just taking it a step at a time
> trying to get a simple external relay to work via the BOB. To be fair, I'm
> not even getting the onboard relay to click by outputting to pin 14 (relay
> trigger).
>
> Curious if something in my HAL is preventing that from happening? Is my
> thought pattern of triggering the logic with M4 valid with the
> spindle-motion-reverse mapped to the output pin specified?
>
>
> On Fri, May 15, 2020 at 8:08 AM 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 deliver the needed currant.
>>
>> I think that there are extra components on the relay board to account for
>> that.
>>
>> > why not use
>> > pin 14 of bob-0 which WILL have the boosted current
>>
>> Maybe he is using that for spindle on-off?
>>
>>
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is
>> designed for the especial use of mechanical geniuses, daredevils and
>> lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1912
>>
>>
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>>
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 extra components on the relay board to account for that.

> why not use
> pin 14 of bob-0 which WILL have the boosted current

Maybe he is using that for spindle on-off?


-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 + and - 5v going to Inputs of external relay
> along with output of pin 04. By issuing M4, I assumed would get a
> click or trigger from external relay? This could also have been setup
> for coolant/air or any external device. I have not connected anything
> to the business end of the relay. Not sure if that would matter. 
> Also, the BOB is powered by USB not sure if that matters. I have the
> ability to power it with an external 5 volt source as well.
>
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.

The bob can probably src no more than 4ma at a logic one, and sink not 
more than 16 at a logic 0 before the mini-74 family of chips is 
destroyed. If useing 2 BoBs, you'll have 2 relays available, why not use 
pin 14 of bob-0 which WILL have the boosted current (and flywheel diode 
to protect that logic output from the coils inductance) to drive an 
on-off(off=braking Resistor across motor) relay, and use that on-board 
the bob-1 relay to switch the coil current to a 2nd external relay to 
reverse it, which is big enough for a smallish motor, say half a hp. For 
1hp and up, I'd recommend a bigger relay with 20 amp contacts. A 1hp, at 
its rated voltage, probably 90 volts, will draw very close to 10 amps at 
full load. And if reversed under that load current flow, it will be very 
close to a dead short because its now spinning the wrong direction.

If the controller doesn't have an active current limit, it will likely 
destroy the controller if your hal file does not have the logic to stop 
the motor first before starting it in the other direction. I have 
actually done this in a previous incarnation of my 7x12 lathe which does 
have an external 1hp 90 volt motor and a separate power supply made from 
the power transformer of an old blown up 1500 watt Phase Linear power 
amplifier, which delivers about 124 volts at a 20 amp surge, giving 
nominally 2 hp from that motor, and as I found, more that enough to 
break things if not well controlled by the hal config.

Then I discovered the Pico Systems pwm-servo driver, which removed all 
those relays as its a full 4 quadrant controller that pulls energy back 
out of the motor when slowing or stopping it, running that supply up to 
around 165 volts while stopping the motor, and is very well protected 
from such self destruction with a programable current limit.  A bit of 
hal code to profile the reversals and its happy, not to mention that 
with the dynamic braking, the reversals are done in 25% of the time it 
took with the relays.

Since I useally forget I've put the head in neutral while fooling with 
the workpiece, then starting the motor in neutral, which could overspeed 
the flywheel, potentially exploding it.  That would be poor form.

So now I have code in the hal file that gives it 50 millisec's to output 
an encoder pulse after a start or it shuts the machine down. My "hey 
dummy, put it back in gear" reminder. What is embarrassing is how often 
that code saves me from myself, reminding me my wet ram has reached that 
forgetfull stage at 85+ years :)

Stay well and safe, Dan.

Cheers, Gene Heskett
-- 
"There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order."
-Ed Howdershelt (Author)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis
Genes Web page 


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 877 68 73
Mobil: +43 664 41 24 742

Email: a.lind...@lindner-tac.at
Web: http://www.lindner-tac.at



> Am 15.05.2020 um 13:31 schrieb 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 of pin 04. By issuing M4, I assumed would get a click or
> trigger from external relay? This could also have been setup for
> coolant/air or any external device. I have not connected anything to the
> business end of the relay. Not sure if that would matter.  Also, the BOB is
> powered by USB not sure if that matters. I have the ability to power it
> with an external 5 volt source as well.
> 
> On Fri, May 15, 2020 at 3:59 AM andy pugh  wrote:
> 
>> 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).
>> 
>> When you say "pin (04)" do you mean parallel port pin 4 or BoB pin 4?
>> BoB Pin 4 is a limit input, connected to parport pin 13, and is an
>> input not an output.
>> 
>> Parallel port pin 4 is connected to the STEPY output, and I suspect
>> you need that for moving your Y axis?
>> (If not, then it probably should work)  It looks like the relay board
>> probably needs a 5V supply in addition to the logic and gnd
>> connections.
>> 
>> --
>> atp
>> "A motorcycle is a bicycle with a pandemonium attachment and is
>> designed for the especial use of mechanical geniuses, daredevils and
>> lunatics."
>> — George Fitch, Atlanta Constitution Newspaper, 1912
>> 
>> 
>> ___
>> Emc-users mailing list
>> Emc-users@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/emc-users
>> 
> 
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Cheaper than normal FHA-25B

2020-05-15 Thread andy pugh
The normally appear on eBay at up to 6x this price.
https://www.ebay.co.uk/itm/233587431605

The B versions have conventional incremental encoders and hall
sensors, so are easy to integrate. Lots of torque, zero backlash and a
very strong and fancy big crossed-roller bearing make them an
almost-complete 4th or 5th axis just needing a bracket and a drive.

I have no connection with the vendor, if you order one and receive
dolls-house furniture instead don't blame me.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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 of pin 04. By issuing M4, I assumed would get a click or
trigger from external relay? This could also have been setup for
coolant/air or any external device. I have not connected anything to the
business end of the relay. Not sure if that would matter.  Also, the BOB is
powered by USB not sure if that matters. I have the ability to power it
with an external 5 volt source as well.

On Fri, May 15, 2020 at 3:59 AM andy pugh  wrote:

> 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).
>
> When you say "pin (04)" do you mean parallel port pin 4 or BoB pin 4?
> BoB Pin 4 is a limit input, connected to parport pin 13, and is an
> input not an output.
>
> Parallel port pin 4 is connected to the STEPY output, and I suspect
> you need that for moving your Y axis?
> (If not, then it probably should work)  It looks like the relay board
> probably needs a 5V supply in addition to the logic and gnd
> connections.
>
> --
> atp
> "A motorcycle is a bicycle with a pandemonium attachment and is
> designed for the especial use of mechanical geniuses, daredevils and
> lunatics."
> — George Fitch, Atlanta Constitution Newspaper, 1912
>
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/emc-users
>

___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


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).

When you say "pin (04)" do you mean parallel port pin 4 or BoB pin 4?
BoB Pin 4 is a limit input, connected to parport pin 13, and is an
input not an output.

Parallel port pin 4 is connected to the STEPY output, and I suspect
you need that for moving your Y axis?
(If not, then it probably should work)  It looks like the relay board
probably needs a 5V supply in addition to the logic and gnd
connections.

-- 
atp
"A motorcycle is a bicycle with a pandemonium attachment and is
designed for the especial use of mechanical geniuses, daredevils and
lunatics."
— George Fitch, Atlanta Constitution Newspaper, 1912


___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users