Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-29 Thread gene heskett
On Friday, 29 April 2022 10:04:38 EDT dave engvall wrote: > Being a suspicious kind of guy I'd hang an encoder on the shaft and > measure it. > Jon Elson makes an interface that passes thru the encoder counts on a > panasonic servo motor with your electronics background you ought to be > able to

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-29 Thread gene heskett
On Friday, 29 April 2022 10:04:38 EDT dave engvall wrote: > Being a suspicious kind of guy I'd hang an encoder on the shaft and > measure it. > Jon Elson makes an interface that passes thru the encoder counts on a > panasonic servo motor with your electronics background you ought to be > able to

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-29 Thread gene heskett
On Friday, 29 April 2022 09:01:51 EDT Thaddeus Waldner wrote: > Gene, can you share a link to the motor you are using? > > Thanks > Sure: But he's getting fat on the shipping. Also you can see the src of my

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-29 Thread dave engvall
Being a suspicious kind of guy I'd hang an encoder on the shaft and measure it. Jon Elson makes an  interface that  passes thru the encoder counts on a panasonic servo motor with your electronics background you ought to be able to do the same for your servo. Just thinking out loud which usually

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-29 Thread Thaddeus Waldner
Gene, can you share a link to the motor you are using? Thanks > On Apr 29, 2022, at 3:46 AM, gene heskett wrote: > > On Thursday, 28 April 2022 21:17:20 EDT gene heskett wrote: >>> On Thursday, 28 April 2022 19:35:44 EDT andy pugh wrote: >>> On Fri, 29 Apr 2022 at 00:20, gene heskett >>

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-29 Thread gene heskett
On Thursday, 28 April 2022 21:17:20 EDT gene heskett wrote: > On Thursday, 28 April 2022 19:35:44 EDT andy pugh wrote: > > On Fri, 29 Apr 2022 at 00:20, gene heskett > > wrote: > > > > Surely you already know that? It's 360 x 100 x SCALE ? > > > > > > Sure Andy. But what is the scale? > > > >

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread gene heskett
On Thursday, 28 April 2022 19:35:44 EDT andy pugh wrote: > On Fri, 29 Apr 2022 at 00:20, gene heskett wrote: > > > Surely you already know that? It's 360 x 100 x SCALE ? > > > > Sure Andy. But what is the scale? > > 200 * 16 * 40 * (60/53) / 360 > But these motors are not 200, but 300, they

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread andy pugh
On Fri, 29 Apr 2022 at 00:20, gene heskett wrote: > > Surely you already know that? It's 360 x 100 x SCALE ? > > Sure Andy. But what is the scale? 200 * 16 * 40 * (60/53) / 360 -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread gene heskett
On Thursday, 28 April 2022 18:00:12 EDT andy pugh wrote: > On Thu, 28 Apr 2022 at 21:14, gene heskett wrote: > > To drive a couple comps to capture the number of steps issued to > > drive it exactly 100 full turns. > > Surely you already know that? It's 360 x 100 x SCALE ? Sure Andy. But what

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread gene heskett
On Thursday, 28 April 2022 17:43:01 EDT andrew beck wrote: > Gene > Just use a counter with classic ladder. > > Easy as > Never used classic ladder. Don't know anything about it, but I do know hal pretty good, this counter and its friends are all in the hal file. I just went out to check

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread andy pugh
On Thu, 28 Apr 2022 at 21:14, gene heskett wrote: > To drive a couple comps to capture the number of steps issued to drive it > exactly 100 full turns. Surely you already know that? It's 360 x 100 x SCALE ? -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread andrew beck
Gene Just use a counter with classic ladder. Easy as On Fri, 29 Apr 2022, 08:13 gene heskett, wrote: > On Thursday, 28 April 2022 14:55:24 EDT andy pugh wrote: > > On Thu, 28 Apr 2022 at 19:50, gene heskett > wrote: > > > Ack the switches on the driver, its doing a /16 microstep. its a 1.2 >

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread gene heskett
On Thursday, 28 April 2022 14:55:24 EDT andy pugh wrote: > On Thu, 28 Apr 2022 at 19:50, gene heskett wrote: > > Ack the switches on the driver, its doing a /16 microstep. its a 1.2 > > degree per full step 3 phase motor. the motor is now driveing a 40/1 > > harmonic drive, and the harmonic

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread andy pugh
On Thu, 28 Apr 2022 at 19:50, gene heskett wrote: > Ack the switches on the driver, its doing a /16 microstep. its a 1.2 > degree per full step 3 phase motor. the motor is now driveing a 40/1 > harmonic drive, and the harmonic drive has a 53 tooth output sprocket, > which is timing belt driving

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread gene heskett
On Thursday, 28 April 2022 11:39:38 EDT gene heskett wrote: > On Wednesday, 27 April 2022 03:55:42 EDT andy pugh wrote: > > On Wed, 27 Apr 2022 at 08:49, gene heskett > > wrote: > > > It would be handier than a bottled beer, if there was an m-code I > > > could hack up to do a setp. Do we have

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-28 Thread gene heskett
On Wednesday, 27 April 2022 03:55:42 EDT andy pugh wrote: > On Wed, 27 Apr 2022 at 08:49, gene heskett wrote: > > It would be handier than a bottled beer, if there was an m-code I > > could hack up to do a setp. Do we have such a critter? > > The custom M-codes can be any executable. > > See

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-27 Thread gene heskett
On Wednesday, 27 April 2022 03:55:42 EDT andy pugh wrote: > On Wed, 27 Apr 2022 at 08:49, gene heskett wrote: > > It would be handier than a bottled beer, if there was an m-code I > > could hack up to do a setp. Do we have such a critter? > > The custom M-codes can be any executable. > > See

Re: [Emc-users] Do we have an m-code with access to halcmd?

2022-04-27 Thread andy pugh
On Wed, 27 Apr 2022 at 08:49, gene heskett wrote: > It would be handier than a bottled beer, if there was an m-code I could > hack up to do a setp. Do we have such a critter? The custom M-codes can be any executable. See the collet-closer example here:

[Emc-users] Do we have an m-code with access to halcmd?

2022-04-27 Thread gene heskett
Greetings all; It would be handier than a bottled beer, if there was an m-code I could hack up to do a setp. Do we have such a critter? I want to zero a counter module from the mdi command line. Or from an nc file, either way would work. My 50/1 3d printed harmonic drive finally puked last