Re: [Emc-users] Help with HAL

2011-10-19 Thread Viesturs Lācis
2011. gada 18. Okt. 23:27 andy pugh bodge...@gmail.com rakstīja: On 18 October 2011 18:17, Viesturs Lācis viesturs.la...@gmail.com wrote: Machine with 2 spindles (one moved by XY, the other - by UV) and stepper motors, running EMC2.4.6 I haven't tried all that hard to follow the HAL, but

Re: [Emc-users] Help with HAL

2011-10-19 Thread andy pugh
2011/10/19 Viesturs Lācis viesturs.la...@gmail.com: Are there any ideas, why do U and V make a jump, when sel pins of mux components are set true? Well, all the emcmot.00. signal names confuse me. However the issue is probably that the X and U axes are not homed to the same positions is

[Emc-users] Gcode read tool number

2011-10-19 Thread Kasey Matejcek
Is there a way in gcode that I can read what tool is loaded I've got a sub built and works but there's a part in the sub I don't want to run if a certain tool number is loaded Is there a way to read hal variables in the gcode with the if statement?

Re: [Emc-users] Gcode read tool number

2011-10-19 Thread andy pugh
On 19 October 2011 13:07, Kasey Matejcek someo...@lkm.bz wrote: Is there a way in gcode that I can read what tool is loaded #5400 should be tool number, #5403 is Z-length. http://www.linuxcnc.org/docview/2.5/html/common/machining_center.html Is there a way to read hal variables in the gcode

Re: [Emc-users] SSD problem?

2011-10-19 Thread Mark Wendt (Contractor)
On 10/18/2011 8:17 PM, andy pugh wrote: swear, curse, rude words https://wiki.archlinux.org/index.php/Xorg#X_failed_to_start_:_Keyboard_initialization_failed This was the error, when I looked at the logs. I deleted some files, and X started as normal. That is _not_ a good way to indicate

Re: [Emc-users] Help with HAL

2011-10-19 Thread Viesturs Lācis
2011/10/19 andy pugh bodge...@gmail.com: 2011/10/19 Viesturs Lācis viesturs.la...@gmail.com: Are there any ideas, why do U and V make a jump, when sel pins of mux components are set true? Well, all the emcmot.00. signal names confuse me. They were in hm2_stepper sample config, so I kept

Re: [Emc-users] Help with HAL

2011-10-19 Thread Viesturs Lācis
2011/10/19 andy pugh bodge...@gmail.com: You can toggle that calculation into a looped-back mux2 then use it into a sum2 or offset component. My plan requires 4 instances of offset component. I tried to do this way: loadrt offset count=4 addf offset.0

Re: [Emc-users] Help with HAL

2011-10-19 Thread Ben Jackson
On Wed, Oct 19, 2011 at 09:54:45PM +0300, Viesturs L??cis wrote: But EMC starts with error: Debug file information: HAL: ERROR: function 'offset.0' not found avoti.hal:67: addf failed The offset component has two named threads, so you have offset.0.update-output offset.0.update-feedback

Re: [Emc-users] Help with HAL

2011-10-19 Thread andy pugh
On 19 October 2011 19:54, Viesturs Lācis viesturs.la...@gmail.com wrote: addf offset.0                                   servo-thread What am I missing here? I guess this is something obvious and stupid... :-) http://www.linuxcnc.org/docview/html/man/man9/offset.9.html There are two

Re: [Emc-users] Help with HAL

2011-10-19 Thread Viesturs Lācis
2011/10/19 andy pugh bodge...@gmail.com: On 19 October 2011 19:54, Viesturs Lācis viesturs.la...@gmail.com wrote: addf offset.0                                   servo-thread What am I missing here? I guess this is something obvious and stupid... :-)

[Emc-users] G43 and G54 Lathe

2011-10-19 Thread Brian May
I am confused on G43 and G54 for a lathe. I am confused on how G43 works with G54 for a lathe. I set all my tools on the Z axis to the spindle nose (G54 Z is set at machine 0 or variable 5223 is 0) Then I take tool 1 and place it at the end of the part and touch off the Z axis G54 at 0. This

[Emc-users] Tool offset and cutter comp, confused

2011-10-19 Thread Bruce Klawiter
I am trying to run my first program with EMC using cutter comp I must not have the tool info right, when I start the program EMC Axis hangs and I have to restart it. If I remove lines N104 and N108 it runs fine. I have read the manual but I must be missing something, any help would be great.

Re: [Emc-users] Tool offset and cutter comp, confused

2011-10-19 Thread Jon Elson
Bruce Klawiter wrote: I am trying to run my first program with EMC using cutter comp I must not have the tool info right, when I start the program EMC Axis hangs and I have to restart it. If I remove lines N104 and N108 it runs fine. I have read the manual but I must be missing something,

Re: [Emc-users] plea for help tuning a servo system in Ann Arbor area

2011-10-19 Thread Tom Easterday
On Oct 19, 2011, at 12:47 AM, Dave wrote: Tom, If you try that software and get stuck, drop me a private email. I go through Ann Arbor once in a while. I'm northeast of Fort Wayne, IN. I'm very familiar with Ann Arbor. I grew up in Plymouth, MI and still have family in the area.

Re: [Emc-users] plea for help tuning a servo system in Ann Arbor area

2011-10-19 Thread Tom Easterday
On Oct 19, 2011, at 12:25 AM, Jon Elson wrote: On 10/18/2011 9:34 PM, Tom Easterday wrote: We think the motors are a good size for what we designed. They might be a little too big if anything This might be part of the problem we are having tuning it, that the truck is fairly light

Re: [Emc-users] plea for help tuning a servo system in Ann Arbor area

2011-10-19 Thread Tom Easterday
On Oct 19, 2011, at 11:22 PM, Tom Easterday wrote: The gantry is actually fairly light. It is two pieces of extruded aluminum held together with some aluminum cast parts from CastCNC (see attached pic). http://bgp.nu/~tom/pub/castcnc.jpg

Re: [Emc-users] plea for help tuning a servo system in Ann Arbor area

2011-10-19 Thread Dave
On 10/19/2011 11:10 PM, Tom Easterday wrote: On Oct 19, 2011, at 12:47 AM, Dave wrote: Tom, If you try that software and get stuck, drop me a private email. I go through Ann Arbor once in a while. I'm northeast of Fort Wayne, IN. I'm very familiar with Ann Arbor. I grew up in