Re: [Emc-users] Where is home?

2010-07-13 Thread Ian R Upton
Gentlefolk,

Chased this one a little further.

Increased the home_offset, decreased all speeds.

By means of watching the Axis gui display, holding the axis lightly and 
listening it would appear that the following is happening:

The axis homes to the switch.
The axis reverses direction for a small  distance  (0.1-2 mm at most).

At this point the motor makes a strange noise for  a brief instant. This 
seems to relate to the axis gui display showing the axis moving to the 
offset location (correct direction).
It then makes another strange noise for a longer time. This seems to 
relate to the axis gui display showing the axis moving from the offset 
location back to the limit switch.

During the above two occurrences the I can feel the axis barely move, 
sort of vibrates.

 From experience this indicates the stepper is being told to move faster 
than it can actually move. A look at the logic signal 'step' from the 
computer to the driver indicates (very roughly) that 'step' signals 
during the above two occurrences are at twice the rate of the home 
movement to the switch.

No changes to any of the home_?_vel  parameters make any difference.

Ian

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machine Lubrication via EMC

2010-07-13 Thread Richard Arthur
My KMB-1 M/X has one-shot pneumatic lube. The timer you describe fires 
the solenoid valve (I've never checked the exact timing) and runs when 
the servos are activated. The duty cycle is dictated by the profile of 
the cam on the timer. The oil flow rate can be controlled by the the air 
pressure to the valve. The lubrication is total loss, that is, the oil 
ends up in the coolant sump in the base of the the machine. If you have 
retained the relay card (assuming a similar set up to mine) you could 
reinstate this arrangement, I've found it simple and reliable.

On 13/07/2010 01:22, lloyd wilson wrote:
 While dissecting the Hurco mill that I'm converting to EMC, I've
 realized I don't know how lubrication is handled in CNC  machines. This
 one has an auto oiler  (pneumatic driven), and a pump in the machine
 base that evidently returns oil to the oiler unit.
 There was a mechanical timer in the cabinet that was set to turn on for
 4 min. of a 15 min. cycle - I clipped it before tracing, but assume it
 controls the sump pump.

 So -
 -is lubrication normally on whenever any axis is in motion?
 -if not, is it provided on a periodic basis (maybe a shot when motion
 starts, further
shots at timed intervals, or just at intervals). If so, what
 parameters would be
appropriate?
these would probably be initiated by or-ing all the
 axis.N.amp-enable-out signals

 -what facilities within EMC provide minutes-long timing functions?
 Somehow, a
realtime thread seems overkill for that sort of operation.

 other ideas?

 thanks to everyone for sharing a huge amount of expertise

 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users





--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machine Lubrication via EMC

2010-07-13 Thread Leslie Newell
I would suggest that you try ClassicLadder. It is a little overkill for 
just the lube pump but once you get the hang of it, you will probably 
find lots of other uses for it. For instance on my lathe it takes a 
second or two after they are enabled for the drives to signal back that 
they are ok. I use a timer triggered off the drives enable that ignores 
the drives ok signal for the first couple of seconds.

Probably the best signal to enable the pump is one of the drive enables. 
It doesn't matter which one because as far as I know they all come on 
together anyway. If you want to be extra safe, make the drive enable 
signal also reset the timer so that you always get a shot of oil when 
you enable the drives. This way, if the machine has been sat in estop 
for a while you get an immediate shot of oil before you start moving.

Les


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] LinuxCNC Sticker - centralised Order?

2010-07-13 Thread Erik Christiansen
On Mon, Jul 12, 2010 at 06:12:48PM +0200, Carsten Presser wrote:
 
 Just let me know, if I shall start an order :)

Since we'd have to figure out how to send the money the other way, I've
also downloaded the pdf, and will first see if somone can do one locally.

Many thanks for a very nifty sticker. ;-)

Erik

-- 
Let not the sands of time get in your lunch.


--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Where is home?

2010-07-13 Thread Andy Pugh
On 13 July 2010 08:52, Ian R Upton upt...@pacific.net.au wrote:

 The axis homes to the switch.

home search velocity

 The axis reverses direction for a small  distance  (0.1-2 mm at most).

home latch velocity

 At this point the motor makes a strange noise for  a brief instant. This
 seems to relate to the axis gui display showing the axis moving to the
 offset location (correct direction).

Indeed, at the axis max velocity. I suspect that your axis max
velocity is much too high, but in normal use is being limited by the
global max velocity.

 It then makes another strange noise for a longer time. This seems to
 relate to the axis gui display showing the axis moving from the offset
 location back to the limit switch.

That seems strange.

-- 
atp

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Machine Lubrication via EMC

2010-07-13 Thread John Thornton
On my Hardinge CHNC Lathe I have a pneumatic pump. Air on for 30 seconds 
air off for 2 minutes or so. I used classicladder and any time an axis 
is in motion I start the cycle. It only took one rung of ladder. I'll 
post it on the forum when I go out there to the machine. The timers on 
classicladder have minutes so long times are not a problem.

John



--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.4.2

2010-07-13 Thread Jeff Epler
I can't reproduce the keyboard problem you describe.

Here are the steps I followed:
 * start emc 2.4.2 (I used a run-in-place sim build on ubuntu 10.04)
 * in the config selector, choose sim/axis
 * using a standard USB HID keyboard, press the following sequence of
   keys: F1 F2
 * press and hold right-arrow
This sequence of keys brings the machine out of e-stop, turns the
machine on, and jogs towards +X.

If I misunderstood the problem you're trying to describe, please try
explaining it again.  A step by step explanation may help me understand
what you're trying to get at.

 Use a different name for your modified version of hal_manualtoolchange.
 Except for configuration files, dpkg always overwrites all package
 files when installing upgrades, so we have no freedom to change this
 behavior while using debian packaging for emc2.
 
 Is it referenced anywhere else but in the .hal file?

The only references are in the hal file.

Jeff

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] RELEASED: emc 2.4.2

2010-07-13 Thread Steve Blackmore
On Tue, 13 Jul 2010 09:00:45 -0500, you wrote:

I can't reproduce the keyboard problem you describe.

Here are the steps I followed:
 * start emc 2.4.2 (I used a run-in-place sim build on ubuntu 10.04)
 * in the config selector, choose sim/axis
 * using a standard USB HID keyboard, press the following sequence of
   keys: F1 F2
 * press and hold right-arrow
This sequence of keys brings the machine out of e-stop, turns the
machine on, and jogs towards +X.

If I misunderstood the problem you're trying to describe, please try
explaining it again.  A step by step explanation may help me understand
what you're trying to get at.

Will be weekend before I can get back in the shop, will let you know.

 Use a different name for your modified version of hal_manualtoolchange.
 Except for configuration files, dpkg always overwrites all package
 files when installing upgrades, so we have no freedom to change this
 behavior while using debian packaging for emc2.
 
 Is it referenced anywhere else but in the .hal file?

The only references are in the hal file.

Great, thanks Jeff.

Steve Blackmore
--

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users


Re: [Emc-users] Spindle at speed Coordinated Motion problems?

2010-07-13 Thread Don Stanley
Thanks Andy;
The setp mode 1 stopped the negative jumps.
I also went with 4x mode. I went with the A phase only thinking it may
reduce
process overhead and allow higher spindle speeds. The more I thought the
less
I believed it.

I still have a similar symptom, as follows:
 -  motiom.spindle-speed-in and
 -  signals-spindle-velocity
are jumping around together (always in proper polarity) depending on spindle
RPM (10 to 200). How often and how far they jump is a function of
speed with no correlation to the speed; as if the signal processing was not
synchronized with the input encoder signals.

The  .hal configuration is as follows:
addf encoder.update-countersbase-thread
addf encoder.capture-position   servo-thread

setp encoder.0.position-scale 200
#setp encoder.0.x4-mode 1  (Is Defaulted true)
net spindle-index-enable encoder.0.index-enable =
motion.spindle-index-enable
net spindle-phase-b  motenc.0.in-05-not = encoder.0.phase-B
net spindle-phase-a  motenc.0.in-06-not = encoder.0.phase-A
net spindle-indexmotenc.0.in-07-not = encoder.0.phase-Z
net spindle-position encoder.0.position = motion.spindle-revs
net spindle-velocity encoder.0.velocity = motion.spindle-speed-in

I appreciate any HELP, before all my hair is pulled out.
   Thanks
 Don


On Sat, Jul 10, 2010 at 3:25 PM, Andy Pugh a...@andypugh.fsnet.co.ukwrote:

 On 10 July 2010 19:43, Don Stanley dstanley1...@gmail.com wrote:

  Can anyone see the problem; or have a solution?

 Try
 setp encoder.0.counter-mode 1

 A then not A then A with no B looks like an oscillating spindle, you
 need to tell it to not even look at B.
 (Incidentally, if you can afford a pin then having B might be useful,
 you get 4x the resolution)

 --
 atp


 --
 This SF.net email is sponsored by Sprint
 What will you do first with EVO, the first 4G phone?
 Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
 ___
 Emc-users mailing list
 Emc-users@lists.sourceforge.net
 https://lists.sourceforge.net/lists/listinfo/emc-users

--
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
___
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users