Re: [Emc-users] Bldc commutatation

2018-08-15 Thread Gene Heskett
On Tuesday 14 August 2018 23:54:16 jeremy youngs wrote: > On Tue, Aug 14, 2018, 7:37 PM andy pugh wrote: > > On 15 August 2018 at 01:21, jeremy youngs wrote: > > > What is the difference between ==> and => ? > > > > They don't do anything. You can leave them out. > > Sorry I should have given m

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread jeremy youngs
On Tue, Aug 14, 2018, 7:37 PM andy pugh wrote: > On 15 August 2018 at 01:21, jeremy youngs wrote: > > What is the difference between ==> and => ? > > They don't do anything. You can leave them out. > Sorry I should have given more information Andy , in the net command . As I understand it disce

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Tuesday 14 August 2018 20:36:02 andy pugh wrote: > On 15 August 2018 at 01:21, jeremy youngs wrote: > > What is the difference between ==> and => ? > > They don't do anything. You can leave them out. > > > Also what command will show the pins of my current mesa 7i90 > > configuration > > halcm

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Tuesday 14 August 2018 20:21:42 jeremy youngs wrote: > What is the difference between ==> and => ? In a .hal file, they are ignored I'm told as they are put there for the human readers to see which direction the signal is flowing. In an xml file, is the ending, and can span any number of

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread andy pugh
On 15 August 2018 at 01:21, jeremy youngs wrote: > What is the difference between ==> and => ? They don't do anything. You can leave them out. > Also what command will show the pins of my current mesa 7i90 configuration halcmd show pin -- atp "A motorcycle is a bicycle with a pandemonium atta

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread jeremy youngs
What is the difference between ==> and => ? Also what command will show the pins of my current mesa 7i90 configuration ? I need to know what those pins are , so I can reassign them to A-VALUE and B-value . I understand the name doesn't matter generally , but the 2 pins already exist in this configu

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread jeremy youngs
On Tue, Aug 14, 2018, 12:26 PM Gene Heskett wrote: > On Tuesday 14 August 2018 11:46:38 jeremy youngs wrote: > > > On Tue, Aug 14, 2018, 3:28 AM andy pugh wrote: > > > On 14 August 2018 at 02:52, jeremy youngs > wrote: > > > > Now it gives this > > > > > > The error is "setp needs 2 arguments,

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Tuesday 14 August 2018 11:46:38 jeremy youngs wrote: > On Tue, Aug 14, 2018, 3:28 AM andy pugh wrote: > > On 14 August 2018 at 02:52, jeremy youngs wrote: > > > Now it gives this > > > > The error is "setp needs 2 arguments, only one given" and tells you > > that the problem is on line 15 in

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread jeremy youngs
Also , this should all run and operate from terminal when we get it right , correct? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread jeremy youngs
On Tue, Aug 14, 2018, 3:28 AM andy pugh wrote: > On 14 August 2018 at 02:52, jeremy youngs wrote: > > > Now it gives this > > The error is "setp needs 2 arguments, only one given" and tells you > that the problem is on line 15 in qi.hal > > Line 15 in qi.hal says "setp hm2_7i90.0.pwmgen.00.scale

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Dave Cole
On 8/14/2018 10:02 AM, andy pugh wrote: So, we have all lost interest in commutation now and I can stop following this thread? Sorry, I think I assisted in sending this message thread into the ditch.  :-/ I suspect the original issue still exists. Dave

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread andy pugh
So, we have all lost interest in commutation now and I can stop following this thread? -- 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, 1916 -

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Tuesday 14 August 2018 07:43:54 Dave Cole wrote: > Gene, > > Although Google gathers more data that I would like, they really > aren't that hard to deal with. > Click on this link.    This is a picture in my Google drive folder. > > https://drive.google.com/open?id=1raznXmbhijqdhgkBom66q5j_-krh

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Dave Cole
Gene, Although Google gathers more data that I would like, they really aren't that hard to deal with. Click on this link.    This is a picture in my Google drive folder. https://drive.google.com/open?id=1raznXmbhijqdhgkBom66q5j_-krhqbZMZQ I use Google drive all of the time, and it never seems

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Monday 13 August 2018 23:03:51 jeremy youngs wrote: > What does # before line mean ? Thats an unread by LCNC comment line. Put there to prompt my fading memory as to what I was doing. > -- > Check out the vibrant tech

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Monday 13 August 2018 22:58:48 jeremy youngs wrote: > *bldc.**N**.encoder-offset* s32 rw [if personality & 0x0A] (default: > *0*) > > The offset, in encoder counts, between the motor electrical zero and > the encoder zero modulo the number of counts per electrical revolution > A 1000 line ABX e

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread andy pugh
On 14 August 2018 at 02:52, jeremy youngs wrote: > Now it gives this The error is "setp needs 2 arguments, only one given" and tells you that the problem is on line 15 in qi.hal Line 15 in qi.hal says "setp hm2_7i90.0.pwmgen.00.scale" But has no value provided to set the scale to. -- atp "A m

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Monday 13 August 2018 22:45:08 jeremy youngs wrote: > Try this > https://photos.app.goo.gl/wk5hmCqTuujFq9vc8 > Thank you A bit smaller but worked fine. -- Cheers, Gene Heskett -- "There are four boxes to be used in defense of liberty: soap, ballot, jury, and ammo. Please use in that order."

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Tuesday 14 August 2018 03:40:02 jeremy youngs wrote: > The real solution Gene , is a pi , running a network , wifi to my > phone so I don't have to take pics of screen shots. So , even after I > added link sharing and did pastebin you cannot open them ? The google shareing fixed it right up, n

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread Gene Heskett
On Monday 13 August 2018 21:52:44 jeremy youngs wrote: > I loadrt hostmot2 > > And 7i90 at the top so it can find the 7i90 pins ( it was failing to > do that ) > Now it gives this , I'm close , I can feel it , but I'm also ignorant > ant trying , lol. Sometimes that's all a steer can do to . > t

Re: [Emc-users] Bldc commutatation

2018-08-14 Thread jeremy youngs
The real solution Gene , is a pi , running a network , wifi to my phone so I don't have to take pics of screen shots. So , even after I added link sharing and did pastebin you cannot open them ? -- Check out the vibrant tec

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread Gene Heskett
On Monday 13 August 2018 22:24:26 Dave Cole wrote: > Is not you.  The links are wrong. Is this intentional on the part of google? Answer is obvious. > In Google drive, if you right click the document and click share link, > it will copy the share link to the clipboard. > Then paste into your ema

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread jeremy youngs
Sorry, this line *bldc.**N**.drive-offset* float rw (default: *0*) The angle, in degrees, applied to the commanded angle by the drive in degrees. This value is only used during the homing sequence of drives with incremental encoder feedback. It is used to back-calculate from commanded angle to ac

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread jeremy youngs
What does # before line mean ? -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot ___ Emc-users mailing

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread jeremy youngs
*bldc.**N**.encoder-offset* s32 rw [if personality & 0x0A] (default: *0*) The offset, in encoder counts, between the motor electrical zero and the encoder zero modulo the number of counts per electrical revolution I believe it's this line , my encoder is set to 1000 ppr , 1/2 revolution per elec

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread jeremy youngs
Try this https://photos.app.goo.gl/wk5hmCqTuujFq9vc8 Thank you -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot _

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread jeremy youngs
On Mon, Aug 13, 2018, 9:09 PM Gene Heskett wrote: > On Monday 13 August 2018 21:52:44 jeremy youngs wrote: > > > I loadrt hostmot2 > > > > And 7i90 at the top so it can find the 7i90 pins ( it was failing to > > do that ) > > Now it gives this , I'm close , I can feel it , but I'm also ignorant >

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread Dave Cole
Is not you.  The links are wrong. In Google drive, if you right click the document and click share link, it will copy the share link to the clipboard. Then paste into your email. Dave On 8/13/2018 10:06 PM, Gene Heskett wrote: On Monday 13 August 2018 21:52:44 jeremy youngs wrote: I loadrt

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread Gene Heskett
On Monday 13 August 2018 21:52:44 jeremy youngs wrote: > I loadrt hostmot2 > > And 7i90 at the top so it can find the 7i90 pins ( it was failing to > do that ) > Now it gives this , I'm close , I can feel it , but I'm also ignorant > ant trying , lol. Sometimes that's all a steer can do to . > t

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread jeremy youngs
I loadrt hostmot2 > And 7i90 at the top so it can find the 7i90 pins ( it was failing to do that ) Now it gives this , I'm close , I can feel it , but I'm also ignorant ant trying , lol. Sometimes that's all a steer can do to . terminal qi.jpg

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread andy pugh
On 13 August 2018 at 15:34, jeremy youngs wrote: > Got the pin naming figure out , now to assign the pins to mesa card. I'm > rather unclear about that , I would like them to come out to the pwm/ > direction pins currently assigned on 7i90 That is the only ones it makes sense to assign to. bldc.

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread jeremy youngs
Got the pin naming figure out , now to assign the pins to mesa card. I'm rather unclear about that , I would like them to come out to the pwm/ direction pins currently assigned on 7i90 I think just copy and paste out of current 7i90 config to the bldc config then attempt a start and see if it goes

Re: [Emc-users] Bldc commutatation

2018-08-13 Thread andy pugh
On 13 August 2018 at 01:54, jeremy youngs wrote: > At 4.2 hal tutorial, connect pins to signals , the bldc docs don't give any > signals , are there none to be net commanded ? Signals are something that you make yourself. There are _no_ predefined signals in LinuxCNC. The stepconf and pncconf wiz

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread jeremy youngs
Bldc cfg=qi built , I don't get how to assign the Pins to the mesa card . I found nothing in the 30 odd printed pages of hall tutorial that I have will go to website and see if I can find clarification. -- Check out the vib

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread jeremy youngs
At 4.2 hal tutorial, connect pins to signals , the bldc docs don't give any signals , are there none to be net commanded ? > > -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashd

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread jeremy youngs
On Sun, Aug 12, 2018, 7:13 PM andy pugh wrote: > On 12 August 2018 at 23:47, jeremy youngs wrote: > > > There are a few other questions I have . I would like to loadrt cfg=ngiiq > > ngiiq makes no sense. You can't have gray-coded quadrature. And why > two indexes? > Motors without Hall sensors

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread andy pugh
On 12 August 2018 at 23:47, jeremy youngs wrote: > There are a few other questions I have . I would like to loadrt cfg=ngiiq ngiiq makes no sense. You can't have gray-coded quadrature. And why two indexes? > but it won't do that but I think adding this thread is my current hurdle. You don't ne

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread jeremy youngs
> > For driving a bare H-bridge > Thank you Andy. I am here Let’s see if that worked: Show Threads halcmd: show thread Realtime Threads: Period FP Name ( Time, Max-Time ) 999855 YES test-thread (0,0 ) It did. The period is not exactly

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread andy pugh
On 12 August 2018 at 20:52, jeremy youngs wrote: > *B* Bit level outputs. Either 3 or 6 logic-level outputs indicating which > high or low gate drivers on an external drive should be used > > I don't quite follow this , define please For driving a bare H-bridge. -- atp "A motorcycle is a bicycl

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread Gene Heskett
On Saturday 11 August 2018 23:40:37 Jon Elson wrote: > On 08/11/2018 08:03 PM, Gene Heskett wrote: > > On Saturday 11 August 2018 20:14:46 Jon Elson wrote: > >> On 08/11/2018 03:37 PM, Gene Heskett wrote: > >>> On Saturday 11 August 2018 15:29:43 andy pugh wrote: > On 11 August 2018 at 20:11,

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread Gene Heskett
On Sunday 12 August 2018 05:08:37 andy pugh wrote: > On 12 August 2018 at 02:01, Gene Heskett wrote: > >> Resolvers are absolute and much tougher. > > > > It appears that Omron's use of precision bearings seems to > > addressing the toughness aspect. > > Now fill your optical encoder with coolant

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread jeremy youngs
*B* Bit level outputs. Either 3 or 6 logic-level outputs indicating which high or low gate drivers on an external drive should be used I don't quite follow this , define please -- Check out the vibrant tech community on on

Re: [Emc-users] Bldc commutatation

2018-08-12 Thread andy pugh
On 12 August 2018 at 02:01, Gene Heskett wrote: >> Resolvers are absolute and much tougher. > > It appears that Omron's use of precision bearings seems to addressing the > toughness aspect. Now fill your optical encoder with coolant and see how it goes. I may be sounding like a bit of a resolve

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Jon Elson
On 08/11/2018 08:03 PM, Gene Heskett wrote: On Saturday 11 August 2018 20:14:46 Jon Elson wrote: On 08/11/2018 03:37 PM, Gene Heskett wrote: On Saturday 11 August 2018 15:29:43 andy pugh wrote: On 11 August 2018 at 20:11, Gene Heskett wrote: Where can I find a tut on how the resolver works

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Gene Heskett
On Saturday 11 August 2018 20:14:46 Jon Elson wrote: > On 08/11/2018 03:37 PM, Gene Heskett wrote: > > On Saturday 11 August 2018 15:29:43 andy pugh wrote: > >> On 11 August 2018 at 20:11, Gene Heskett > >> > >> wrote: > >>> Where can I find a tut on how the resolver works? > >> > >> https://en.w

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Gene Heskett
On Saturday 11 August 2018 17:02:49 andy pugh wrote: > On 11 August 2018 at 21:37, Gene Heskett wrote: > > Quite simplified, covers the basics but makes little or no mention > > of the resolvers speed limits. So in both cases, the encoder is > > king, and much cheaper to implement. > > Resolvers

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Jon Elson
On 08/11/2018 03:37 PM, Gene Heskett wrote: On Saturday 11 August 2018 15:29:43 andy pugh wrote: On 11 August 2018 at 20:11, Gene Heskett wrote: Where can I find a tut on how the resolver works? https://en.wikipedia.org/wiki/Resolver_(electrical) Quite simplified, covers the basics but mak

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Jon Elson
On 08/11/2018 02:29 PM, andy pugh wrote: On 11 August 2018 at 20:11, Gene Heskett wrote: Where can I find a tut on how the resolver works? https://en.wikipedia.org/wiki/Resolver_(electrical) Also, you can look at the Analog Devices 2S1200 chip, which is one classical way to get info from a

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread jeremy youngs
On Sat, Aug 11, 2018, 4:09 PM andy pugh wrote: > > Yes, in "a" mode the bldc component can be used to convert resolver > angle to commutation signals. > Sweet > Did your motor and drive start off life together? No , I totally lucked into this motor from my favorite surplus outlet at $200 to

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Eric Keller
On Sat, Aug 11, 2018 at 4:37 PM Gene Heskett wrote: > > Quite simplified, covers the basics but makes little or no mention of the > resolvers speed limits. So in both cases, the encoder is king, and much > cheaper to implement. > > I only have resolvers because I got them used, so encoders aren't

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread andy pugh
On 11 August 2018 at 21:41, jeremy youngs wrote: > 7i49, budget don't allow for it for a few weeks . I am busy in the shop > with big jobs , yes I have contemplated the 7i49 . Can the communication > signal be derived from the 7i49 ? If so then it's likely that will be my > eventuality. Yes, in "

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread andy pugh
On 11 August 2018 at 21:37, Gene Heskett wrote: > Quite simplified, covers the basics but makes little or no mention of the > resolvers speed limits. So in both cases, the encoder is king, and much > cheaper to implement. Resolvers are absolute and much tougher. As for speed limits, that really

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread jeremy youngs
7i49, budget don't allow for it for a few weeks . I am busy in the shop with big jobs , yes I have contemplated the 7i49 . Can the communication signal be derived from the 7i49 ? If so then it's likely that will be my eventuality. Correct me if I'm wrong been hashing docs in my spare time. 1 open

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Gene Heskett
On Saturday 11 August 2018 15:29:43 andy pugh wrote: > On 11 August 2018 at 20:11, Gene Heskett wrote: > > Where can I find a tut on how the resolver works? > > https://en.wikipedia.org/wiki/Resolver_(electrical) Quite simplified, covers the basics but makes little or no mention of the resolver

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread andy pugh
On 11 August 2018 at 20:11, Gene Heskett wrote: > Where can I find a tut on how the resolver works? https://en.wikipedia.org/wiki/Resolver_(electrical) -- atp "A motorcycle is a bicycle with a pandemonium attachment and is designed for the especial use of mechanical geniuses, daredevils and lu

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Ken Strauss
rceforge.net > Subject: Re: [Emc-users] Bldc commutatation > > On Saturday 11 August 2018 15:03:28 andy pugh wrote: > > > On 11 August 2018 at 19:48, jeremy youngs wrote: > > > I am planning on ignoring them at this time . I have a cui encoder > > > that can go

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread Gene Heskett
On Saturday 11 August 2018 15:03:28 andy pugh wrote: > On 11 August 2018 at 19:48, jeremy youngs wrote: > > I am planning on ignoring them at this time . I have a cui encoder > > that can go on it. > > Does the budget extend to a 7i49? > > You can probably use a pair of 7i49 analogue outputs per

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread andy pugh
On 11 August 2018 at 19:48, jeremy youngs wrote: > I am planning on ignoring them at this time . I have a cui encoder that can > go on it. Does the budget extend to a 7i49? You can probably use a pair of 7i49 analogue outputs per drive to create the two phase voltages. (and use the inputs to rea

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread jeremy youngs
I am planning on ignoring them at this time . I have a cui encoder that can go on it. On Sat, Aug 11, 2018, 1:24 PM andy pugh wrote: > On 10 August 2018 at 23:11, jeremy youngs wrote: > > Good day gents. Trying to get a handle on sinusoidal commutatation. I > need > > 2 pins 0-5 volt 120 degree

Re: [Emc-users] Bldc commutatation

2018-08-11 Thread andy pugh
On 10 August 2018 at 23:11, jeremy youngs wrote: > Good day gents. Trying to get a handle on sinusoidal commutatation. I need > 2 pins 0-5 volt 120 degrees out of phase to commutate my drive . > http://www.linuxcnc.org/docs/html/man/man9/bldc.9.html#OPERATING%20MODES > I find this in the docs , an

[Emc-users] Bldc commutatation

2018-08-10 Thread jeremy youngs
Good day gents. Trying to get a handle on sinusoidal commutatation. I need 2 pins 0-5 volt 120 degrees out of phase to commutate my drive . http://www.linuxcnc.org/docs/html/man/man9/bldc.9.html#OPERATING%20MODES I find this in the docs , and am curious if the 7i90 can be coaxed to do this and I do