On 3 April 2011 14:07, Andrew <[email protected]> wrote:

> I'm new to EMC2, so please help me correctly understand stepper setup. I
> have DMM tech servos in step mode,

I am glad that somebody has tried those, the pricing looks very good :-)

Is there any option to run them in PWM mode and close the loop in
EMC2? The main thing I couldn't work out reading the specs was whether
the encoder positions are available in a format that EMC2 can
understand.

As for the axis limits in cartesian space, it seems you should be able
to add them to your hexkins module. You could add some HAL pins to the
kinematics code (have a look at gantrykins to see how you can do that,
but don't get confused by the fact that gantrykins also lets you set
the parameters in the module declaration line)

The kinematics module "knows" both the joint and cartesian positions,
so should be able to set a pin to indicate imminent table crash.

One worry is that it might not know that a crash in imminent in time
to prevent it at high speed. You might need to add some code that
looks at current X-direction velocity and makes predictions. (and I
think that would only be available by storing the value from the last
iteration)

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

------------------------------------------------------------------------------
Create and publish websites with WebMatrix
Use the most popular FREE web apps or write code yourself; 
WebMatrix provides all the features you need to develop and 
publish your website. http://p.sf.net/sfu/ms-webmatrix-sf
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to