Hi John,

I have now read through all the HAL documentation that I could find on 
the EMC2 site and I'm still confused.....

In 'stepgen step_types' I can't work out whether I would need to specify 
type 0 or type 1 ( I originally thought 1 but then saw something that 
says this has two outputs and I only want to control the stepper via a 
normal step/direction driver board).

Looking in stepper_xyza.hal file....

I realise that I will have to add 'ctrl_type = p,p,p,v' to the end of 
the 'loadrt stepgen step_type' line to make the 4th axis a velocity one.
in '# hook its functions to realtime threads' do I need to add anything 
else - I see it has a 'make.pulses base-thread' and various 
servo-related threads (are these actually needed for stepper motor 
machines?).

In the next two sections '# connect position commands from motion module 
to step generator' and '# connect position feedback from step 
generators' am I right in thinking that I should change the several 
'Apos - cmd' and 'Apos - fd' to 'Avel - cmd' and 'Avel - fb' respectively?

After these I can't see anything else that looks as though it needs 
modifying - am I missing something?

I looked for info on 'limit2' but what I found didn't mean zip to me - 
do I really need to worry about this or will MAXVEL and MAXACCEL take 
care of everything? By experiment I have found that the maximum speed I 
can get out of the lathe spindle with the stepper I have attached is 
1400RPM which, with a 200 step stepper and 1/8 stepping driver is 
2240000 steps per minute. It does need ramping up to this speed though 
over maybe 2 seconds.

I'd be very grateful for any other help you could give me on this, 
particularly as one of my driver boards has gone down and I'm having 
problems getting the supplier to repair it. If I can shuffle the 
remaining boards I have and get this driving method working, I could get 
the whole thing up and working again and start to clear my backlog.......

-- 
Best wishes,

Ian
____________
Ian W. Wright
Sheffield  UK

"The difference between theory and practice is much smaller in theory than in 
practice..."


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to