Re: [Emc-users] hal - bldc - linear motor

2013-02-24 Thread Klemen Dovrtel
klemen_dovr...@yahoo.com; Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Cc: Peter C. Wallace p...@mesanet.com Sent: Sunday, February 24, 2013 1:12 AM Subject: Re: [Emc-users] hal - bldc - linear motor On 23 February 2013 16:30, Klemen Dovrtel klemen_dovr...@yahoo.com wrote: I

Re: [Emc-users] hal - bldc - linear motor

2013-02-24 Thread Klemen Dovrtel
, 2013 9:45 AM Subject: Re: [Emc-users] hal - bldc - linear motor Thank you Andy, now i see this, i looked at the source code... Now i set up a clarke.comp and feed it to with sin/cos signal. I did one electrical revolution (2pi) and measured the motor linear move - tt was 6 encoder counts

Re: [Emc-users] hal - bldc - linear motor

2013-02-24 Thread andy pugh
On 24 February 2013 10:54, Klemen Dovrtel klemen_dovr...@yahoo.com wrote: I have one more problem. Now when i start the bldc.init the motor moves the opposite direction, away from index marker. And i can not change this (i can not twist the phases because of previous problem). I think what

Re: [Emc-users] hal - bldc - linear motor

2013-02-24 Thread Klemen Dovrtel
...@mesanet.com Sent: Sunday, February 24, 2013 1:55 PM Subject: Re: [Emc-users] hal - bldc - linear motor On 24 February 2013 10:54, Klemen Dovrtel klemen_dovr...@yahoo.com wrote: I have one more problem. Now when i start the bldc.init the motor moves the opposite direction, away from index marker

Re: [Emc-users] hal - bldc - linear motor

2013-02-23 Thread Klemen Dovrtel
Subject: Re: [Emc-users] hal - bldc - linear motor On Thu, 21 Feb 2013, Klemen Dovrtel wrote: Date: Thu, 21 Feb 2013 00:12:21 -0800 (PST) From: Klemen Dovrtel klemen_dovr...@yahoo.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: [Emc-users] hal - bldc - linear

Re: [Emc-users] hal - bldc - linear motor

2013-02-23 Thread andy pugh
On 23 February 2013 16:30, Klemen Dovrtel klemen_dovr...@yahoo.com wrote: I noticed that at the index the rotor angle is set to 0. Is it possible that there should be some offset regarding to real motor angle? I did not find any rotor angle offset input in bldc.component. Is this the way to

[Emc-users] hal - bldc - linear motor

2013-02-21 Thread Klemen Dovrtel
Hello everybody, I would like to control the linear ac motor using bldc hal component.  1. I am not sure how should i set the: bldc.N.scale s32 rw = The number of encoder counts per rotor revolution. bldc.N.poles s32 rw = The number of motor poles. The encoder scale will be divided by this

Re: [Emc-users] hal - bldc - linear motor

2013-02-21 Thread Ralph Stirling
...@yahoo.com] Sent: Thursday, February 21, 2013 12:12 AM To: Enhanced Machine Controller (EMC) Subject: [Emc-users] hal - bldc - linear motor Hello everybody, I would like to control the linear ac motor using bldc hal component. 1. I am not sure how should i set the: bldc.N.scale s32 rw = The number

Re: [Emc-users] hal - bldc - linear motor

2013-02-21 Thread Peter C. Wallace
On Thu, 21 Feb 2013, Klemen Dovrtel wrote: Date: Thu, 21 Feb 2013 00:12:21 -0800 (PST) From: Klemen Dovrtel klemen_dovr...@yahoo.com To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net Subject: [Emc-users] hal - bldc - linear motor Hello everybody, I would like to control