[Emc-users] Encoders on 7i48

2011-09-16 Thread Viesturs Lācis
Hello, gentlemen!

I would like to ask, if someone can suggest me, why I do not see
encoders in HAL Config. I have pasted a screenshot here:
http://www.cutting.lv/fileadmin/user_upload/emc2.png

I have Mesa 7i48 card, attached to 7i43.
The config line tells hm2 driver to load 6 pwm gens, 6 encoders and 3 stepgens.

I am using this customized firmware, that was kindly provided by Peter Wallace:
http://www.cutting.lv/fileadmin/user_upload/SVST6_6.BIT
http://www.cutting.lv/fileadmin/user_upload/SVST6_6.PIN

As the screenshot shows, there are 6 pwm gens, 3 stepgens, but no
encoders on 7i43 card.
What am I missing here?
Can I ask other 7i48 card owners to share their experience?

Note: that one encoder is HAL module for NHC (nozzle height control) purposes.
Thanks!

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread andy pugh
On 16 September 2011 09:03, Viesturs Lācis viesturs.la...@gmail.com wrote:

 I have Mesa 7i48 card, attached to 7i43.

The 7i48 requires Muxed Encoders (support introduced in this commit
http://git.linuxcnc.org/gitweb?p=emc2.git;a=commit;h=da0d5aa5563de8dc7f8f3a87044bd62e1ade5326

I have never figured out how to tell what branch a commit has gone
into, but I think you probably need a 2.5 version.

-- 
atp
Torque wrenches are for the obedience of fools and the guidance of wise men

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] hola gente si pueden necesito ayuda

2011-09-16 Thread yann jautard
hola cristian

Aqui habitualmente se habla ingles.

Para tu problema, tienes que conocer el nombre de pasos de tus motores 
(si utilizas motores paso a paso), y el nombre de division de paso de la 
electronica de los motores.

Pour ejemplo, con motores de 200 pasos, y una electronica que hace 1/4 
de paso, tienes emc tiene que enviar ordenes para hacer 800 pasos para 
que el motor hace una revolucion completa.

para tu eje X, con el diametro de la polea situada sobre el eje del 
motor, puedes determinar la distancia que la cinta pasara para cada paso 
del motor, calculando la circunferancia de la polea / 800.
por ejemplo si la polea tiene un diametro de 20mm, la circunferancia 
mide 20x3,14 = 62,8mm, es decir que para une torno completo del motor, 
la cinta va a viajar de 62,8mm. Y por solo un paso del motor, va a 
viajar de 62,8/800=0,0785mm.

para los otros ejes Y y Z, con el mismo ejemplo de motores de 200 pasos 
y 1/4 paso para la electronica, si el tornillo tiene un paso de 1mm, es 
decir que para un torno completo del motor, el eje va a viajar de 1mm. 
Es facil determinar el viaje para un paso : 1mm/800 = 0,00125mm.


Le 15/09/2011 21:32, Cristian Ruiz a écrit :



 
 hola gente necesito ayuda con las formulas de transmision de los motores  
 para configurar el emc2 , mi eje x se transmite por correa al igual que el 
 eje y  y el z se transmitepor tornillo  de paso 1 mm si alguno puede ayudarme 
 gracias
 --
 Doing More with Less: The Next Generation Virtual Desktop
 What are the key obstacles that have prevented many mid-market businesses
 from deploying virtual desktops?   How do next-generation virtual desktops
 provide companies an easier-to-deploy, easier-to-manage and more affordable
 virtual desktop model.http://www.accelacomm.com/jaw/sfnl/114/51426474/
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread Viesturs Lācis
2011. gada 16. septembris 13:53 Viesturs Lācis
viesturs.la...@gmail.com rakstīja:
 2011/9/16 andy pugh bodge...@gmail.com:
 On 16 September 2011 11:26, Viesturs Lācis viesturs.la...@gmail.com wrote:

 From manual:
 The 7I48 takes up/down PWM or PDM signals from the Anything I/O card

 From http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#pwmgen
 Accepted values are 1 (PWM on Out0 and Direction on Out1), 2 (Up on
 Out0 and Down on Out1), 3 (PDM mode, PDM on Out0 and Dir on Out1), and
 4 (Direction on Out0 and PWM on Out1, for locked antiphase).

 It says you need Up/Down mode, so that means it has to be mode 2.

 (connecting PWM/DIR to Up/Down inputs will have very wrong behaviour)

 I tried both 2 and 3.
 For type 3 I get -9.98V on X1 output after trying to jog it. X2 and Y
 stay at 0V. Motors, whose drives receive these 9.98V signals, are
 spinning...

 For type 2 I get -9.98V on X1 and X2 outputs right after enabling EMC,
 Y is 0V. Pressing F2 to disable returns outputs to 0V. Pressing it
 repeatedly will repeatedly turn motors on and off.

I would like to ask, if someone can share sample HAL config for 7i48
card. Currently I cannot figure out, how to set up pwm generators. I
am getting either + or - 9.99V on one channel, only -9.99V on second
channel and nothing on third channel.
Any ideas, where should I look?

Viesturs

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread Peter C. Wallace

On Fri, 16 Sep 2011, Viesturs L?cis wrote:


Date: Fri, 16 Sep 2011 14:37:41 +0300
From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Encoders on 7i48

2011. gada 16. septembris 13:53 Viesturs Lācis
viesturs.la...@gmail.com rakstīja:

2011/9/16 andy pugh bodge...@gmail.com:

On 16 September 2011 11:26, Viesturs Lācis viesturs.la...@gmail.com wrote:


From manual:
The 7I48 takes up/down PWM or PDM signals from the Anything I/O card

From http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#pwmgen
Accepted values are 1 (PWM on Out0 and Direction on Out1), 2 (Up on
Out0 and Down on Out1), 3 (PDM mode, PDM on Out0 and Dir on Out1), and
4 (Direction on Out0 and PWM on Out1, for locked antiphase).


It says you need Up/Down mode, so that means it has to be mode 2.

(connecting PWM/DIR to Up/Down inputs will have very wrong behaviour)


I tried both 2 and 3.
For type 3 I get -9.98V on X1 output after trying to jog it. X2 and Y
stay at 0V. Motors, whose drives receive these 9.98V signals, are
spinning...




Mode 2 is correct for the 7I48, what bit file are you using? are you sure you 
have the correct 7I43 connector?



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Encoders on 7i48

2011-09-16 Thread Peter C. Wallace

On Fri, 16 Sep 2011, Peter C. Wallace wrote:


Date: Fri, 16 Sep 2011 06:23:37 -0700 (PDT)
From: Peter C. Wallace p...@mesanet.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Encoders on 7i48

On Fri, 16 Sep 2011, Viesturs L?cis wrote:


Date: Fri, 16 Sep 2011 14:37:41 +0300
From: [UTF-8] Viesturs L?cis viesturs.la...@gmail.com
Reply-To: Enhanced Machine Controller (EMC)
emc-users@lists.sourceforge.net
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Subject: Re: [Emc-users] Encoders on 7i48

2011. gada 16. septembris 13:53 Viesturs L?cis
viesturs.la...@gmail.com rakst?ja:

2011/9/16 andy pugh bodge...@gmail.com:
On 16 September 2011 11:26, Viesturs L?cis viesturs.la...@gmail.com 
wrote:



From manual:
The 7I48 takes up/down PWM or PDM signals from the Anything I/O card

From 
http://www.linuxcnc.org/docs/devel/html/man/man9/hostmot2.9.html#pwmgen

Accepted values are 1 (PWM on Out0 and Direction on Out1), 2 (Up on
Out0 and Down on Out1), 3 (PDM mode, PDM on Out0 and Dir on Out1), and
4 (Direction on Out0 and PWM on Out1, for locked antiphase).


It says you need Up/Down mode, so that means it has to be mode 2.

(connecting PWM/DIR to Up/Down inputs will have very wrong behaviour)


I tried both 2 and 3.
For type 3 I get -9.98V on X1 output after trying to jog it. X2 and Y
stay at 0V. Motors, whose drives receive these 9.98V signals, are
spinning...




Mode 2 is correct for the 7I48, what bit file are you using? are you sure you 
have the correct 7I43 connector?



Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.




Also whats driving the PWM signal value?


Peter Wallace
Mesa Electronics

(\__/)
(='.'=) This is Bunny. Copy and paste bunny into your
()_() signature to help him gain world domination.
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] VIM syntax for comp source

2011-09-16 Thread Karl Cunningham
Does anyone have VIM syntax highlighting for editing comp hal component 
source code. Obviously C-language syntax highlighting goes a long way 
for this, but VIM highlighting seems to get confused with some of the 
comp specifics, especially the man-page documentation features.

Thanks.

Karl

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


[Emc-users] Need Latency Help w/IBM ThinkCentre PC

2011-09-16 Thread Keith Hoard
Gentlemen,

   I purchased a refurbished IBM ThinkCentre PC to use as a controller for a 
V90 Fireball CNC router. I'm currently trying to get the PC tuned up and ready 
for the arrival of the machine.

   Everything is going well with the Linux/EMC2 install.  The problem is that 
the latency Max Jitter will start out right at 5000 to 6500-ish then jump to 
120,000. If I reset the statistics, it will stay low for (usually) exactly 30 
seconds then jump up again.

   I read the Wiki and it suggests an SMI problem.  I've tried everything else 
to no avail.  I've installed an ATI S9250 video card, turned off everything in 
the BIOS, and added additional RAM.  The BIOS won't let me disable the on 
board video, only select which one is used at boot-up.  I am also having a 
hard time finding the correct ATI driver, there seems to be alot of them listed 
in the Ubuntu repository.  

After reading the WIki, I'm thinking I'll need some guidance if I have to shut 
off the SMI.  I don't understand if SMI is shut off with a hardware switch, or 
thru software.  I couldn't find any reference in the BIOS. 

I've read the warnings and like Sir Robin, I am willing to face the danger. 

Here are the specs:
IBM ThinkCentre - Intel i848/i865 Chipset
Pentium 4, 2.7 GHz
1 GB RAM
ATI S9250 Video Card (256M RAM)
Wireless-G Network Card 

Thanks in advance for any assistance!!

Keith Hoard
Collierville, TN
--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Need Latency Help w/IBM ThinkCentre PC

2011-09-16 Thread gene heskett
On Saturday, September 17, 2011 01:50:49 AM Keith Hoard did opine:

 Gentlemen,
 
I purchased a refurbished IBM ThinkCentre PC to use as a controller
 for a V90 Fireball CNC router. I'm currently trying to get the PC tuned
 up and ready for the arrival of the machine.
 
Everything is going well with the Linux/EMC2 install.  The problem is
 that the latency Max Jitter will start out right at 5000 to 6500-ish
 then jump to 120,000. If I reset the statistics, it will stay low for
 (usually) exactly 30 seconds then jump up again.
 
I read the Wiki and it suggests an SMI problem.  I've tried
 everything else to no avail.  I've installed an ATI S9250 video card,
 turned off everything in the BIOS, and added additional RAM.  The BIOS
 won't let me disable the on board video, only select which one is
 used at boot-up.  I am also having a hard time finding the correct ATI
 driver, there seems to be alot of them listed in the Ubuntu repository.
 
If you have the driver set to 'ati' in your /etc/X11/xorg.conf file, this 
driver queries the card and loads the correct driver for that card.

 After reading the WIki, I'm thinking I'll need some guidance if I have
 to shut off the SMI.  I don't understand if SMI is shut off with a
 hardware switch, or thru software.  I couldn't find any reference in
 the BIOS.
 
 I've read the warnings and like Sir Robin, I am willing to face the
 danger.
 
 Here are the specs:
 IBM ThinkCentre - Intel i848/i865 Chipset
 Pentium 4, 2.7 GHz
 1 GB RAM
 ATI S9250 Video Card (256M RAM)
 Wireless-G Network Card
 
 Thanks in advance for any assistance!!
 
 Keith Hoard
 Collierville, TN
 
 -- BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
 http://p.sf.net/sfu/rim-devcon-copy2
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users


Cheers, gene
-- 
There are four boxes to be used in defense of liberty:
 soap, ballot, jury, and ammo. Please use in that order.
-Ed Howdershelt (Author)
Laughter is the closest distance between two people.
-- Victor Borge

--
BlackBerryreg; DevCon Americas, Oct. 18-20, San Francisco, CA
http://p.sf.net/sfu/rim-devcon-copy2
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users