Re: [Emc-users] Need a way to totally disable ALL of B axis stuff in B not plugged in

2022-05-19 Thread gene heskett
On Thursday, 19 May 2022 16:34:17 EDT andy pugh wrote:
> On Thu, 19 May 2022 at 09:11, gene heskett  
wrote:
> > Greetings all;
> > 
> > On this 6040 mill. It can be a 3 axis, or a 4 axis, so I would like
> > to
> > devise a way to put ALL the B axis stuff in seperate files, but have
> > not figured out how to do that to the ini.
> 
> What I do is have two separate INI files, which load different
> combinations of HAL files.
> 
> (Well, in my case it is about 5 different  INI files)
> 
> Of course then you are keeping INI files in synch, but you can use
> #INCLUDE to keep all the common stuff in the same file.
> 
> If you wanted to get really fancy you could have a script that loaded
> just enough HAL to read a pin value, then have that load a particular
> config, but I am not sure it's worth the bother,
> 
I thought of that, but also agree writing that would be a bother.

Thanks Andy.  Take care and stay well.
> --
> 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


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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





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


Re: [Emc-users] Need a way to totally disable ALL of B axis stuff if B not plugged in

2022-05-19 Thread gene heskett
On Thursday, 19 May 2022 16:19:37 EDT Marius Alksnys wrote:
> Gene,
> 
> how about setting min and max limits to zero (or other initial value),
> maybe also not enabling B drive?
> This can be done in a bash script like:
> halcmd unlinkp io-board-going-to-b-servo-drive.enable-pin
> halcmd setp ini.4.min_limit 0
> halcmd setp ini.4.max_limit 0
> halcmd setp ini.b.min_limit 0
> halcmd setp ini.b.max_limit 0
> 
> or in HAL with mux_generic
> http://linuxcnc.org/docs/html/man/man9/mux_generic.9.html
> 
First I've heard of this, sounds like it could be usefull. ATM I'm 
carving up an e-stop coupling between linuxcnc and a couple of those 3 
phase drives.

Thank you for bringing it to my attention.

> 2022-05-19 11:07, gene heskett wrote:
> > Greetings all;
> > 
> > On this 6040 mill. It can be a 3 axis, or a 4 axis, so I would like
> > to
> > devise a way to put ALL the B axis stuff in seperate files, but have
> > not figured out how to do that to the ini.
> > 
> > What I have started is an additional jumper on the home switch that
> > sets a hal file "net" titled "b-prsnt" true or false according to
> > whether or not its plugged in.  But this signal is not available at
> > ini file read time.
> > 
> > What I need is a common way to control whether an include file is
> > loaded for both the ini and the hal. Two separate files obviously.
> > 
> > I hate the idea of having to keep two configurations in synch with
> > each other. One for xyz, and one for xyzb.
> > 
> > Can something like that be cobbled up?
> > 
> > Thank you all.
> > 
> > Cheers, Gene Heskett.
> 
> ___
> 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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





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


Re: [Emc-users] Need a way to totally disable ALL of B axis stuff in B not plugged in

2022-05-19 Thread andy pugh
On Thu, 19 May 2022 at 09:11, gene heskett  wrote:
>
> Greetings all;
>
> On this 6040 mill. It can be a 3 axis, or a 4 axis, so I would like to
> devise a way to put ALL the B axis stuff in seperate files, but have not
> figured out how to do that to the ini.

What I do is have two separate INI files, which load different
combinations of HAL files.

(Well, in my case it is about 5 different  INI files)

Of course then you are keeping INI files in synch, but you can use
#INCLUDE to keep all the common stuff in the same file.

If you wanted to get really fancy you could have a script that loaded
just enough HAL to read a pin value, then have that load a particular
config, but I am not sure it's worth the bother,

-- 
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] Need a way to totally disable ALL of B axis stuff in B not plugged in

2022-05-19 Thread Marius Alksnys

Gene,

how about setting min and max limits to zero (or other initial value), 
maybe also not enabling B drive?

This can be done in a bash script like:
halcmd unlinkp io-board-going-to-b-servo-drive.enable-pin
halcmd setp ini.4.min_limit 0
halcmd setp ini.4.max_limit 0
halcmd setp ini.b.min_limit 0
halcmd setp ini.b.max_limit 0

or in HAL with mux_generic
http://linuxcnc.org/docs/html/man/man9/mux_generic.9.html

2022-05-19 11:07, gene heskett wrote:

Greetings all;

On this 6040 mill. It can be a 3 axis, or a 4 axis, so I would like to
devise a way to put ALL the B axis stuff in seperate files, but have not
figured out how to do that to the ini.

What I have started is an additional jumper on the home switch that sets
a hal file "net" titled "b-prsnt" true or false according to whether or
not its plugged in.  But this signal is not available at ini file read
time.

What I need is a common way to control whether an include file is loaded
for both the ini and the hal. Two separate files obviously.

I hate the idea of having to keep two configurations in synch with each
other. One for xyz, and one for xyzb.

Can something like that be cobbled up?

Thank you all.

Cheers, Gene Heskett.





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


Re: [Emc-users] Hight Frequency VFD

2022-05-19 Thread Dave Cole
Siemens used to be quite expensive, but they have really driven down their
prices.

I just saw this:
https://support.industry.siemens.com/forum/WW/en/posts/g120c-for-high-frequency-spindle/212907

So the S120 is the drive to use for high freqs.   I've worked with Yaskawa
drives in the past and the Siemens drives are easier to use.
Plus Siemens phone and website support is really good and free.

Dave

On Mon, May 9, 2022 at 2:58 PM Todd Zuercher  wrote:

> No, for some reason I hadn't checked with Siemens.  One of our machines
> even has a Siemens drive, but it's a gigantic thing that would never fit
> this machine's cabinet.  I'll look into it.
>
> We did order a Yaskawa drive, and are waiting on it to come in, figuring
> that if we get in a bind and can't wait for it we can knuckle under and pay
> the machine manufacture their price for one they have in stock, and keep
> the other as a spare.  But for the time being we are slow enough we can
> make do without that machine and can wait for the one we ordered.
>
> Todd Zuercher
> P. Graham Dunn Inc.
> 630 Henry Street
> Dalton, Ohio 44618
> Phone:  (330)828-2105ext. 2031
>
> -Original Message-
> From: Dave Cole 
> Sent: Monday, May 09, 2022 1:56 PM
> To: Enhanced Machine Controller (EMC) 
> Subject: Re: [Emc-users] Hight Frequency VFD
>
> [EXTERNAL EMAIL] Be sure links are safe.
>
> Have you checked to see if Siemens can help you?
> In order to go that fast they will sell you a license to install in a more
> or less standard drive.
> I understand that high freq drives can be used for other things, like gas
> centrifuges.
> So they try to keep track of where they go.
>
> Dave
>
> On Tue, Apr 26, 2022 at 11:42 AM Todd Zuercher 
> wrote:
>
> > Anyone know a good place to purchase a high frequency VFD?  We had the
> > drive in one of our CNCs die.  The old drive was a HSD DS15000.  The
> > spindle is an 18kw 24000rpm 4pole HSD router motor.  The old drive is
> > rated for 1-1000hz and that seems to be the problem, all of the off
> > the shelf drives I can find are limited to output frequencies less
> > than 500hz which would limit our spindles top speed to only 15000rmp.
> > Our machine builder quoted us for a Yaskawa V1000 drive with 1000hz
> > firmware (model#
> > VU4A0038FAA-134) that they do have in stock but they are marking up
> > their price to more than double the normal list price for that drive.
> > Every other place I've checked with so far are quoting us months long
> > lead times for that drive.
> >
> > I don't have to have a Yaskawa drive, I think I'd be ok with any drive
> > capable of 15kw and at least 800hz output.  (Oh, it would be nice if
> > it would fit in the cabinet where the old one did, have about 9inches
> > x 15inches  of space there.)
> >
> > Anyone have any suggestions for a good source for "obtainable" drive
> > that would fit the bill?  For example we have a machine with a Fuji
> > Frenic drive with 0-1000hz, but I can't find any info on buying a new
> > equivalent, all the new Frenic drives I can find have max frequencies
> > under 500hz.  I'm guessing it is similar to Yaskawa  for most other
> > manufacturers where you have to live in the right part of the world,
> > ask nicely and then maybe they might sell you a drive with the "special"
> HF firmware.
> >
> > Todd Zuercher
> > P. Graham Dunn
> > Inc. > www.pgrahamdunn.com%2Findex.phpdata=05%7C01%7Ctoddz%40pgrahamdunn
> > .com%7Ceea41877b2b24396742608da31e56516%7C5758544c573f47cebee96c3e0806
> > fb43%7C0%7C0%7C637877158582440736%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4w
> > LjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7C
> > sdata=uOHHxs%2BZDOeFn049Ft%2FPGkCynNdbIqcS5ngvUh8IAds%3Drese
> > rved=0>
> > 630 Henry Street
> > Dalton, Ohio 44618
> > Phone:  (330)828-2105ext. 2031
> >
> >
> > ___
> > Emc-users mailing list
> > Emc-users@lists.sourceforge.net
> > https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flist
> > s.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=05%7C01%7Cto
> > ddz%40pgrahamdunn.com%7Ceea41877b2b24396742608da31e56516%7C5758544c573
> > f47cebee96c3e0806fb43%7C0%7C0%7C637877158582440736%7CUnknown%7CTWFpbGZ
> > sb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3
> > D%7C3000%7C%7C%7Csdata=Hk9kyvMOSySaGehu%2Bet8v7noYELOJLNG5M4CHy8Q
> > 63A%3Dreserved=0
> >
>
> ___
> Emc-users mailing list
> Emc-users@lists.sourceforge.net
>
> https://nam04.safelinks.protection.outlook.com/?url=https%3A%2F%2Flists.sourceforge.net%2Flists%2Flistinfo%2Femc-usersdata=05%7C01%7Ctoddz%40pgrahamdunn.com%7Ceea41877b2b24396742608da31e56516%7C5758544c573f47cebee96c3e0806fb43%7C0%7C0%7C637877158582440736%7CUnknown%7CTWFpbGZsb3d8eyJWIjoiMC4wLjAwMDAiLCJQIjoiV2luMzIiLCJBTiI6Ik1haWwiLCJXVCI6Mn0%3D%7C3000%7C%7C%7Csdata=Hk9kyvMOSySaGehu%2Bet8v7noYELOJLNG5M4CHy8Q63A%3Dreserved=0
>

[Emc-users] Need a way to totally disable ALL of B axis stuff in B not plugged in

2022-05-19 Thread gene heskett
Greetings all;

On this 6040 mill. It can be a 3 axis, or a 4 axis, so I would like to 
devise a way to put ALL the B axis stuff in seperate files, but have not 
figured out how to do that to the ini. 

What I have started is an additional jumper on the home switch that sets 
a hal file "net" titled "b-prsnt" true or false according to whether or 
not its plugged in.  But this signal is not available at ini file read 
time.

What I need is a common way to control whether an include file is loaded 
for both the ini and the hal. Two separate files obviously.

I hate the idea of having to keep two configurations in synch with each 
other. One for xyz, and one for xyzb.

Can something like that be cobbled up?

Thank you all.

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, 1940)
If we desire respect for the law, we must first make the law respectable.
 - Louis D. Brandeis





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