On Sun, 2012-01-01 at 13:04 -0600, Jon Elson wrote:
... snip
> the turret component apparently gets stuck.
> I gave him some pointers on what to do, and maybe he should make the state
> variable exported as an output pin so it can be examined.

The first thing that comes to mind, I had to adjust the position of the
magnet arm on the shaft to get the encoder position sensed a bit early
so that the sense, decode, and pawl solenoid activation could happen
before the the proper stop came along. Otherwise the table just keeps
rotating forever. I think I used HALmeter to show the position then
rotated the magnet until I got the position indicator and the true
position to match, then advanced the magnet until I got zero and backed
off a little bit to get the proper static position, but with early
rotation position.

> I'm guessing his turret may have somewhat different movement timing that 
> might
> be causing the problem.

Replacing all of the rubber seals and adjusting according to the
maintenance manual made a big difference. Getting this done made the
rest pretty easy.

>   One other thing is that the weighted sum 
> routine can produce
> values from zero to 15, and there's nothing that limits it to only valid 
> tool positions.

My absolute encoder (original) will only output
0,1,0,2,0,3,0,4,0,5,0,6,0,7,0,8,0,1,0...

So, I guess I don't need to worry about it.

> Do you have any suggestions on debugging this?  Not too sure how skilled 
> Dick
> is with coding and debugging hal stuff.
> 
> Thanks,
> 
> Jon

The component code needs some time-outs added for each state, and a user
friendly means to check that the turret is ready to use, such as check
the air pressure switch and maybe a safe XZ.
-- 
Kirk Wallace
http://www.wallacecompany.com/machine_shop/
http://www.wallacecompany.com/E45/index.html
California, USA


------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
Emc-users mailing list
Emc-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to