Re: [Emc-users] Encoders on 7i48

2011-09-17 Thread Viesturs Lācis
Hello, Peter!

2011. gada 16. septembris 16:23 Peter C. Wallace p...@mesanet.com rakstīja:

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

My first email on this thread:
 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


 are you sure you have the correct 7I43 connector?

Yes, 7i48 is attached to P4 connector.
I will check the cables with multimeter. From 7i43 to 7i48 and also
to/from servo drives. Although I do not see any symptoms for bad
wiring, I will try to check them to make sure .

 Also whats driving the PWM signal value?

In HAL file I have:
net emcmot.00.pos-cmd axis.0.motor-pos-cmd = pid.0.command pid.1.command
net pid-0-out  pid.0.output =  hm2_[HOSTMOT2](BOARD).0.pwmgen.00.value
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.output-type 2
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale  [AXIS_0]OUTPUT_SCALE

I wanted to check, if servo drives respond to any signal from EMC by
trying to jog separate joints.

The behavior I am getting with servodrives turned on and manually enabled:
Pressing F2 (Toggle machine on) will give -9.98V on one channel,
10.01V on second channel, 0.0V on third channel.
Pressing F2 again (Toggle machine off) will set all channels to 0V.
Pressing F2 repeatedly is just setting those channels to -9.9V or 10V
and back to 0V.

In INI file for all 3 joints I have:
OUTPUT_SCALE =  1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT =1.0

Are there any better procedures to test and set up EMC with servos? I
have no experience with these things yet.

BTW, I have set servo drive to work in velocity mode (there is special
application for changing settings in servo drives). So I had to set
the scale, how much RPM should motor do at 10V. Unfortunately I cannot
find any PID related parameters to tune feedback loop in servo drive.
I have Kollmorgen Servostar S601. Does anyone have experience with
these drives to share with me?
I haven't found in documentation, what does the output_scale parameter
in INI file for servos do? For steppers it was easy - scale means how
many steps are in one unit of length. I guess that is the same for
Input_scale. But what about output scale?

And also one more question to more knowledgable users about quadrature
encoder signal: what does EMC consider as 1 pulse from quadrature
encoder - the nominal resolution or the quadrature sgnals that are 4x
nominal resolution?
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-17 Thread Peter C. Wallace

On Sat, 17 Sep 2011, Viesturs L?cis wrote:


Date: Sat, 17 Sep 2011 13:39:33 +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

Hello, Peter!


2011. gada 16. septembris 16:23 Peter C. Wallace p...@mesanet.com rakst??ja:


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


My first email on this thread:

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




are you sure you have the correct 7I43 connector?


Yes, 7i48 is attached to P4 connector.
I will check the cables with multimeter. From 7i43 to 7i48 and also
to/from servo drives. Although I do not see any symptoms for bad
wiring, I will try to check them to make sure .


Also whats driving the PWM signal value?


In HAL file I have:
net emcmot.00.pos-cmd axis.0.motor-pos-cmd = pid.0.command pid.1.command
net pid-0-out  pid.0.output =  hm2_[HOSTMOT2](BOARD).0.pwmgen.00.value
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.output-type 2
setp hm2_[HOSTMOT2](BOARD).0.pwmgen.00.scale  [AXIS_0]OUTPUT_SCALE


Since you have no feedback until you get your encoders working, I would just 
try getting +- 10V out of the 7I48 by setting the output scale to 10,

disconnecting the PWM .value from the PID loop and setting it
manually in volts with setp ) try +10, -10, +5 ,-5 ,0 etc


I wanted to check, if servo drives respond to any signal from EMC by
trying to jog separate joints.

The behavior I am getting with servodrives turned on and manually enabled:
Pressing F2 (Toggle machine on) will give -9.98V on one channel,
10.01V on second channel, 0.0V on third channel.
Pressing F2 again (Toggle machine off) will set all channels to 0V.
Pressing F2 repeatedly is just setting those channels to -9.9V or 10V
and back to 0V.

In INI file for all 3 joints I have:
OUTPUT_SCALE =  1.000
OUTPUT_OFFSET = 0.0
MAX_OUTPUT =1.0

Are there any better procedures to test and set up EMC with servos? I
have no experience with these things yet.

BTW, I have set servo drive to work in velocity mode (there is special
application for changing settings in servo drives). So I had to set
the scale, how much RPM should motor do at 10V. Unfortunately I cannot
find any PID related parameters to tune feedback loop in servo drive.
I have Kollmorgen Servostar S601. Does anyone have experience with
these drives to share with me?
I haven't found in documentation, what does the output_scale parameter
in INI file for servos do? For steppers it was easy - scale means how
many steps are in one unit of length. I guess that is the same for
Input_scale. But what about output scale?

And also one more question to more knowledgable users about quadrature
encoder signal: what does EMC consider as 1 pulse from quadrature
encoder - the nominal resolution or the quadrature sgnals that are 4x
nominal resolution?
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

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-17 Thread Viesturs Lācis
2011/9/17 Peter C. Wallace p...@mesanet.com:

 Since you have no feedback until you get your encoders working, I would just
 try getting +- 10V out of the 7I48 by setting the output scale to 10,
 disconnecting the PWM .value from the PID loop and setting it
 manually in volts with setp ) try +10, -10, +5 ,-5 ,0 etc

Thank You for the suggestion!
EMC does receive encoder signal from servo drive (motors have
resolvers, servodrive emulates encoder signal and outputs it on a
9-pin serial port connector, from where the signal is wired to 7i48).
I am watching position pins of encoders from servo drive and they
either increase to very high values or decrease to very low values.
Actually EMC receives all 6 encoder signals, also 3 from linear scales
-  I also checked their position pins, when pushing machine by hand
(motors are detached) and it seems that the increase/decrease in the
value of linear scales' position pin matches the actual travel.

I have 2 questions:
1) I have managed to get 2 joints oscillate around zero, (which tells
me that they need have PID parameters adjusted). There is a problem
with a third joint, which just runs away. When I try to change
something for that third joint, it affects also some of first two. Why
is that so? For example, if I set Output_scale for third joint from 1
to -1, second joint will not oscillate around zero, but run away.

2) How do I solve the situation, when PWM value is +1, but encoder
position increases in negative direction? That is for the third joint.
As I mentioned, changing output scale to -1 for third joint will make
second joint to misbehave. What else can cause that? Should I change A
and B wires from encoder signal cable?

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-17 Thread Viesturs Lācis
2011/9/17 Peter C. Wallace p...@mesanet.com:

 I have 2 questions:
 1) I have managed to get 2 joints oscillate around zero, (which tells
 me that they need have PID parameters adjusted). There is a problem
 with a third joint, which just runs away. When I try to change
 something for that third joint, it affects also some of first two. Why
 is that so? For example, if I set Output_scale for third joint from 1
 to -1, second joint will not oscillate around zero, but run away.


 There should be no interaction of the axis

 I would do as I has suggested and verify that all DAC channels work as
 expected before proceeding.

 interaction suggests a grounding/ analog input problem (do the drives have
 differential inputs ( most do) If so the IN+ sould go to 7I48 AOUT and the IN-
 to 7I48 ground

Thanks, I will take a look!


 2) How do I solve the situation, when PWM value is +1, but encoder
 position increases in negative direction? That is for the third joint.
 As I mentioned, changing output scale to -1 for third joint will make
 second joint to misbehave. What else can cause that? Should I change A
 and B wires from encoder signal cable?

 I would first set up the encoders so they count in the correct direction for
 your axis, and then change the output scale to reverse the PID feedback if
 need be.

Ok, and how can I do that - fix the the direction of counting? Will
changing A and B leads do the trick?

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-17 Thread Dave
On 9/17/2011 6:39 AM, Viesturs Lācis wrote:
 BTW, I have set servo drive to work in velocity mode (there is special
 application for changing settings in servo drives). So I had to set
 the scale, how much RPM should motor do at 10V. Unfortunately I cannot
 find any PID related parameters to tune feedback loop in servo drive.
 I have Kollmorgen Servostar S601. Does anyone have experience with
 these drives to share with me?
 I haven't found in documentation, what does the output_scale parameter
 in INI file for servos do? For steppers it was easy - scale means how
 many steps are in one unit of length. I guess that is the same for
 Input_scale. But what about output scale?

 And also one more question to more knowledgable users about quadrature
 encoder signal: what does EMC consider as 1 pulse from quadrature
 encoder - the nominal resolution or the quadrature sgnals that are 4x
 nominal resolution?


Usually you set the drive velocity scaling to match the max velocity 
that you want to be able to spin the motor up to.

Say you want 1000 ipm as the absolute max velocity for that axis, figure 
out what your motor must spin to do  that (via the gearing) and that is 
your max motor velocity for 10V.

EMC uses all of the edges - at least that is my experience when using 
the Mesa cards and hostmot2.So it is the pulses per rev for the 
encoder x 4 when using quadrature mode on the encoder inputs.

Dave

--
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] Hostmot2 firmware repository

2011-09-17 Thread Dave

If I do a apt-get install hostmot2-firmware   I get an error 
indicating that that it knows about the package but it can't find it, 
and that it may have been deleted.

If I do a search via the Synaptic package manager it can't find it.

I may be doing something wrong, but I have tried this on two different 
computers and I get the same results.

The package manager can find EMC2 just fine, but nothing similar to 
hostmot2.

Do I need to add a repository to the list?If so does anyone know the 
URL for the hostmot2 package repository?

Or is it offline at the moment?

I thought it was being kept at linuxcnc.org somewhere.

Thanks,

Dave

--
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-17 Thread Andy Pugh


On 17 Sep 2011, at 05:20, Keith Hoard kho...@gmail.com wrote:

 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.

It is a software adjustment. The wiki page does describe what to do (It is just 
a case of editing rtapi.conf in the current version of EMC2. )

http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingSMIIssues
--
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] Hostmot2 firmware repository

2011-09-17 Thread Andy Pugh


On 17 Sep 2011, at 18:30, Dave e...@dc9.tzo.com wrote:

 If I do a apt-get install hostmot2-firmware   I get an error

I think it might be emc2-firmware-all or emc2-firmware-5i23 (for example)



--
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] Beginner questions regarding axis.

2011-09-17 Thread John A. Stewart
May I ask a beginner question or two?

I have a KX1, but with a G540. It is all kind of working, but maybe  
I have a conceptual misunderstanding or two. Can someone help please?  
It has been all connected together now for a day or so.


0) Metric machine, so all of the following is metric.

1) X and Y axis. limit/home switches working, but x and y axis is set to:
Home Location -3.0
Table Travel 0.0 to 250.0 (110mm for Y)
Home Switch Location 0.0
Home Search Velocity  1.0
Home Latch direction SAME

Homed, table is to right, and close to vertical column.

Q: Would it be better to have Home Location 0.0 and table travel -5 to 245?

2) Z axis - is zero top of travel?
Home Location -10.0
Table travel -200.0 to 0.0
Home Switch Location 0.0
Home search velocity 1.0

Q: Is it right to have these negative values here?

3) I'm thinking that travel when homing in EMC2 is not correct,  
distance wise. I'm thinking that it is not moving as much as the  
readout on the screens say; I have 4mm pitch leadscrews, 1.8 degree  
steppers, directly coupled:
Motor steps 200.0
Driver Microstepping 2.0
Pulley teeth 1.0 to 1.0
Leadscrew 4.0 mm/rev
Maximum Vel 8.3 mm/s  (machine says Rapid moving, 1000mm/min;  
feeding speed max 500mm/min)
Maximum accel 50.0 mm/s2


Looking forward to learning to use this machine in earnest, and thanks  
in advance for anyone who can pull the cotton wool out of my brain for  
me. ;-)

JohnS
Ottawa, Canada.


--
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] Hostmot2 firmware repository

2011-09-17 Thread Dave
On 9/17/2011 4:01 PM, Sebastian Kuzminsky wrote:
 On 09/17/2011 11:30 AM, Dave wrote:

 Do I need to add a repository to the list?If so does anyone know the
 URL for the hostmot2 package repository?
  
 The apt source is:

 deb http://linuxcnc.org/lucid lucid base

 Put that line in a file named /etc/apt/sources.list.d/linuxcnc.list

 Then run apt-get update to fetch the package list.

 The packages are named hostmot2-firmware-{all|BOARDNAME}, run apt-cache
 search hostmot2-firmware to get a list.



That works!

I just added the source line into the list of other repositories in 
the setup menu of the Synaptic manager  (apt-get for wimps).

I was very close in my previous guess, but I left base off the end of 
the line.

Apparently close does not count.  ;-)

After hitting reload, a search for hostmot2 popped up all of the 
firmware options.

The firmware downloaded and installed properly.

Thanks,

Dave

--
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] Hostmot2 firmware repository

2011-09-17 Thread Dave
On 9/17/2011 4:01 PM, Sebastian Kuzminsky wrote:
 On 09/17/2011 11:30 AM, Dave wrote:

 Do I need to add a repository to the list?If so does anyone know the
 URL for the hostmot2 package repository?
  
 The apt source is:

 deb http://linuxcnc.org/lucid lucid base

 Put that line in a file named /etc/apt/sources.list.d/linuxcnc.list

 Then run apt-get update to fetch the package list.

 The packages are named hostmot2-firmware-{all|BOARDNAME}, run apt-cache
 search hostmot2-firmware to get a list.




Are the .PIN files no longer included with the .BIT files?
I see some XML files now.

Dave

--
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] Beginner questions regarding axis.

2011-09-17 Thread James Louis
John,
Welcome to EMC2!  I can't answer all of your questions, but I will share my 
homing experience: a CNC mill homes every axis from the standpoint of the tool 
and all movement during homing is positive.  This means the table moves to the 
left and toward you, and the spindle moves up.  Now your tool is at the right, 
rear, and top of your work envelope.  This is Machine Zero.
Every move from this location is negative.  Enjoy!
Jim

- Original Message -
From: John A. Stewart astew...@crc.ca
To: Enhanced Machine Controller (EMC) emc-users@lists.sourceforge.net
Sent: Sat Sep 17 14:43:20 2011
Subject: [Emc-users] Beginner questions regarding axis.

May I ask a beginner question or two?

I have a KX1, but with a G540. It is all kind of working, but maybe
I have a conceptual misunderstanding or two. Can someone help please?
It has been all connected together now for a day or so.


0) Metric machine, so all of the following is metric.

1) X and Y axis. limit/home switches working, but x and y axis is set to:
Home Location -3.0
Table Travel 0.0 to 250.0 (110mm for Y)
Home Switch Location 0.0
Home Search Velocity  1.0
Home Latch direction SAME

Homed, table is to right, and close to vertical column.

Q: Would it be better to have Home Location 0.0 and table travel -5 to 245?

2) Z axis - is zero top of travel?
Home Location -10.0
Table travel -200.0 to 0.0
Home Switch Location 0.0
Home search velocity 1.0

Q: Is it right to have these negative values here?

3) I'm thinking that travel when homing in EMC2 is not correct,
distance wise. I'm thinking that it is not moving as much as the
readout on the screens say; I have 4mm pitch leadscrews, 1.8 degree
steppers, directly coupled:
Motor steps 200.0
Driver Microstepping 2.0
Pulley teeth 1.0 to 1.0
Leadscrew 4.0 mm/rev
Maximum Vel 8.3 mm/s  (machine says Rapid moving, 1000mm/min;
feeding speed max 500mm/min)
Maximum accel 50.0 mm/s2


Looking forward to learning to use this machine in earnest, and thanks
in advance for anyone who can pull the cotton wool out of my brain for
me. ;-)

JohnS
Ottawa, Canada.


--
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

This communication is for the use of the intended recipient only. It may 
contain information that is privileged and confidential. If you are not the 
intended recipient of this communication, the disclosure, copying, distribution 
or use hereof is prohibited. If you have received this communication in error, 
please advise me by return e-mail or by telephone and then delete it 
immediately.
attachment: winmail.dat--
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] Hostmot2 firmware repository

2011-09-17 Thread Sebastian Kuzminsky
On 09/17/2011 03:34 PM, Dave wrote:
 On 9/17/2011 4:01 PM, Sebastian Kuzminsky wrote:
 On 09/17/2011 11:30 AM, Dave wrote:
 Do I need to add a repository to the list?If so does anyone know 
 the
 URL for the hostmot2 package repository?
 The apt source is:

 deb http://linuxcnc.org/lucid lucid base

 Put that line in a file named /etc/apt/sources.list.d/linuxcnc.list

 Then run apt-get update to fetch the package list.

 The packages are named hostmot2-firmware-{all|BOARDNAME}, run apt-cache
 search hostmot2-firmware to get a list.



 Are the .PIN files no longer included with the .BIT files?
 I see some XML files now.

They're included in the hostmot2-firmware-5i20 package at least.  I 
don't know about the others.

0 seb@dirt /home/seb   dpkg --listfiles hostmot2-firmware-5i20 | grep PIN
/usr/share/doc/hostmot2-firmware-5i20/SV12_2X7I48_72.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVTP6_7I39.PIN
/usr/share/doc/hostmot2-firmware-5i20/SV12.PIN
/usr/share/doc/hostmot2-firmware-5i20/TPEN6_6.PIN
/usr/share/doc/hostmot2-firmware-5i20/SV12IM_2X7I48_72.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST8_4.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST2_4_7I47.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST8_3P.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST8_4IM2.PIN
/usr/share/doc/hostmot2-firmware-5i20/SVST2_8.PIN
0 seb@dirt /home/seb   dpkg --status hostmot2-firmware-5i20 | grep Version
Version: 0.8



-- 
Sebastian Kuzminsky


--
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] Beginner questions regarding axis.

2011-09-17 Thread John A. Stewart
James;

 Welcome to EMC2!  I can't answer all of your questions...

Thanks very much for the explanation; it looks like I had some of the  
axes going in the wrong way.

I'm still trying to figure out how I get 1/5 of the movement expected;  
ask for 5mm X movement, and I get (via dial indicator) exactly 1mm  
movement. Still some stepconf stuff to work out.

Like everything, it'll be obvious in hindsight  ;-)

PS - I'm using the Intel M525DW motherboard, and with hyperthreading  
turned off, seems to work absolutely fine.

JohnS.



--
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] Beginner questions regarding axis.

2011-09-17 Thread Kirk Wallace
On Sat, 2011-09-17 at 15:43 -0400, John A. Stewart wrote:
... snip
 3) I'm thinking that travel when homing in EMC2 is not correct,  
 distance wise. I'm thinking that it is not moving as much as the  
 readout on the screens say; I have 4mm pitch leadscrews, 1.8 degree  
 steppers, directly coupled:
 Motor steps 200.0
 Driver Microstepping 2.0
 Pulley teeth 1.0 to 1.0
 Leadscrew 4.0 mm/rev
 Maximum Vel 8.3 mm/s  (machine says Rapid moving, 1000mm/min;  
 feeding speed max 500mm/min)
 Maximum accel 50.0 mm/s2
 

Scale = steps/unit
units = mm

200 motor steps/1 screw rev. x 2 (micro)steps/1 motor step x 1 screw
rev./4mm = 200 x 2 / 4 = 100 steps / 1 mm

so, your .ini file should have:
-
[AXIS 0]
...
SCALE = 200
OUTPUT_SCALE = 1.000
...
[AXIS 1]
... 
SCALE = 200
OUTPUT_SCALE = 1.000
...
[AXIS 2]
... 
SCALE = 200 
OUTPUT_SCALE = 1.000
...
--

Unless I made a mistake.

... snip


--
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] Beginner questions regarding axis.

2011-09-17 Thread BRIAN GLACKIN
Also check your G540 for the micro step setting to be sure it matches the
values in your INI file that Kirk was referring to.

On Sat, Sep 17, 2011 at 8:44 PM, Kirk Wallace
kwall...@wallacecompany.comwrote:

 On Sat, 2011-09-17 at 15:43 -0400, John A. Stewart wrote:
 ... snip
  3) I'm thinking that travel when homing in EMC2 is not correct,
  distance wise. I'm thinking that it is not moving as much as the
  readout on the screens say; I have 4mm pitch leadscrews, 1.8 degree
  steppers, directly coupled:
  Motor steps 200.0
  Driver Microstepping 2.0
  Pulley teeth 1.0 to 1.0
  Leadscrew 4.0 mm/rev
  Maximum Vel 8.3 mm/s  (machine says Rapid moving, 1000mm/min;
  feeding speed max 500mm/min)
  Maximum accel 50.0 mm/s2
 

 Scale = steps/unit
 units = mm

 200 motor steps/1 screw rev. x 2 (micro)steps/1 motor step x 1 screw
 rev./4mm = 200 x 2 / 4 = 100 steps / 1 mm

 so, your .ini file should have:
 -
 [AXIS 0]
 ...
 SCALE = 200
 OUTPUT_SCALE = 1.000
 ...
 [AXIS 1]
 ...
 SCALE = 200
 OUTPUT_SCALE = 1.000
 ...
 [AXIS 2]
 ...
 SCALE = 200
 OUTPUT_SCALE = 1.000
 ...
 --

 Unless I made a mistake.

 ... snip



 --
 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

--
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] Beginner questions regarding axis.

2011-09-17 Thread John A. Stewart
Brian, Kirk, James;

This is all making sense now - lots of good action happening downstairs. :-)

 Also check your G540 for the micro step setting to be sure it matches the
 values in your INI file that Kirk was referring to.

Ok - just checking the microstep settings - the Gecko gives 10; the  
stepconf defaulted to 2; that'll probably be the last thing.

I did manage to manipulate the ini file (thanks for the pointers and  
math) to give me the right movement, but would like stepconf to do  
this for me.

I think tomorrow morning I'll be up and running.

JohnS.



--
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] Hostmot2 firmware repository

2011-09-17 Thread Dave
On 9/17/2011 6:16 PM, Sebastian Kuzminsky wrote:
 On 09/17/2011 03:34 PM, Dave wrote:
 On 9/17/2011 4:01 PM, Sebastian Kuzminsky wrote:
 On 09/17/2011 11:30 AM, Dave wrote:
 Do I need to add a repository to the list?If so does anyone 
 know the
 URL for the hostmot2 package repository?
 The apt source is:

 deb http://linuxcnc.org/lucid lucid base

 Put that line in a file named /etc/apt/sources.list.d/linuxcnc.list

 Then run apt-get update to fetch the package list.

 The packages are named hostmot2-firmware-{all|BOARDNAME}, run 
 apt-cache
 search hostmot2-firmware to get a list.



 Are the .PIN files no longer included with the .BIT files?
 I see some XML files now.

 They're included in the hostmot2-firmware-5i20 package at least.  I 
 don't know about the others.

 0 seb@dirt /home/seb   dpkg --listfiles hostmot2-firmware-5i20 | grep 
 PIN
 /usr/share/doc/hostmot2-firmware-5i20/SV12_2X7I48_72.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SVTP6_7I39.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SV12.PIN
 /usr/share/doc/hostmot2-firmware-5i20/TPEN6_6.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SV12IM_2X7I48_72.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SVST8_4.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SVST2_4_7I47.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SVST8_3P.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SVST8_4IM2.PIN
 /usr/share/doc/hostmot2-firmware-5i20/SVST2_8.PIN
 0 seb@dirt /home/seb   dpkg --status hostmot2-firmware-5i20 | grep 
 Version
 Version: 0.8



OK..  they are installed in the /usr/share/doc directory.. I found them.

Thanks,

Dave

--
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] Emc-users Digest, Vol 65, Issue 40

2011-09-17 Thread Keith Hoard
Andy,

   The edit seem to have fixed it!!  Now all I need to do is figure out the
video driver. . .

Keith Hoard
Collierville, TN
kho...@gmail.com


 It is a software adjustment. The wiki page does describe what to do (It is
 just a case of editing rtapi.conf in the current version of EMC2. )

 http://wiki.linuxcnc.org/cgi-bin/emcinfo.pl?FixingSMIIssues


 --


 --
 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


 End of Emc-users Digest, Vol 65, Issue 40
 *

--
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] Beginner questions regarding axis.

2011-09-17 Thread Jon Elson
James Louis wrote:
 John,
 Welcome to EMC2!  I can't answer all of your questions, but I will share my 
 homing experience: a CNC mill homes every axis from the standpoint of the 
 tool and all movement during homing is positive.  This means the table moves 
 to the left and toward you, and the spindle moves up.  Now your tool is at 
 the right, rear, and top of your work envelope.  This is Machine Zero.
 Every move from this location is negative.  Enjoy
Well, there is no reason it has to be this way.  Full up for the spindle 
is a good choice,
and G-code defines that as the positive direction.  But, on my 
Bridgeport, the X home
is near the center of table travel.  The machine coordinate system 
really is of no use except
for defining limits of table travel, and possibly for safe positions for 
tool change, etc.
So, the machine coords are of use to internals of EMC, but the user 
never needs to
know about that coordinate system.  What the user needs are the 
workpiece coordinate
systems, and when you position to a place relative to the part and take 
measurements
with gauges, edge finders, coax indicators or whatever, then you set the 
work coordinate
systems, generally with the touch off feature in Axis.  EMC takes care 
of figuring out
the mathematical offset between the machine coords and the selected 
workpiece coordinates.

Jon

--
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