----- Original Message ----- 
From: "John Kasunich" <[EMAIL PROTECTED]>
To: "Enhanced Machine Controller (EMC)" 
<[email protected]>
Sent: Friday, August 03, 2007 11:21 AM
Subject: Re: [Emc-users] HAL Error, what did I do wrong?
>
> This is a head-scratcher.

<snip>

>
> What version are you running?
>
> Do you have any other addf commands in your file that end in zero?
>
> Try removing the comment after the addf command?
>
> Let me know what you find out.
>
> Regards,
>
> John Kasunich
>

Thanks once again John, I removed the comment after the addf and got it 
to run.  I thought the position error had to do with PID position but I 
know I commanded moves to 0 without error.  I was running 2.1.branch but 
changed 2.1.7 when it was released a couple of days ago.  I'm seeing 
numbers in my Axis Hal configuration watch window.  Now to connect the 
analog out to the drives analog in and see if I can tune it.

I added another limit 2.0 to the feedback rpm going into the pid loop. 
I limited the rate of change to 3000 rpm / sec figuring 3 rpm per 1ms 
servo thead fperiod.  So now my negative spike generated from threading 
resetting the spindle position will be limited to 3 rpm in one servo 
period.  If this thing is tunable I should have a pretty nice closed 
loop spindle control... hopefully!

Thanks again

Roger Neal


-------------------------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc.
Still grepping through log files to find problems?  Stop.
Now Search log events and configuration files using AJAX and a browser.
Download your FREE copy of Splunk now >>  http://get.splunk.com/
_______________________________________________
Emc-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/emc-users

Reply via email to