Crusader II retrofit

More
03 Feb 2016 22:17 - 03 Feb 2016 22:19 #69529 by jamby
Crusader II retrofit was created by jamby
Hello

I've got a error "joint 0 following error" large red X when trying to jog X axis. Y also same.

Mill is a 1985 Alliant knee mill (bridgeport clone), SEM motors w/tacho, westamp boards.
Computer: Dell Optiplex 745 no video card.
Linuxcnc: 2.7.3 wheezy from CD
Cards: 5i25 to 7i77 external power from computer to 7i77

My setup is based on this post "forum.linuxcnc.org/forum/39-pncconf/2909...77-5i25?limitstart=0" and Punking has helped me along with it. Without him I'd still be trying to get started.

The message on the axis gui is the only message I can find. Nothing in dmesg or in the terminal that started linuxcnc.


File Attachment:

File Name: Alliant_02-2.ini
File Size:3 KB


File Attachment:

File Name: Alliant_02-2.hal
File Size:10 KB


Thanks
Jim
Attachments:
Last edit: 03 Feb 2016 22:19 by jamby.

Please Log in or Create an account to join the conversation.

More
03 Feb 2016 22:43 - 03 Feb 2016 22:45 #69531 by PCW
Replied by PCW on topic Crusader II retrofit
Basically this is the expected result until everything is set up correctly and tuned
basic servo setup is as follows:

1. Get encoders reading correctly (correct directions and scale)
(drives disabled )

2. Get drive enables working (drives must be disabled unless LinuxCNC is running and in the machine-on state)

3. Verify feedback direction (expect runaways) You may need to widen the ferror and min-ferror
limits to a visible but safe distance to see whats going on (say 1 inch). For this test set P to about 1 to 5 and all
other PID parameters to 0
If you get a runaway on an axis you will need to reverse the analog output polarity of that axis.
This is done by changing the sign of the OUTPUT_SCALE parameter of the affected axis (in the .ini file)

4. Once all axis hold position and can be jogged around (inaccurately) you proceed to tuning


Note that PNCCONF has a bug and sets the PID MAX_ERROR to .0005
change PID_MAXERROR to 0 in the HAL file to fix this
Last edit: 03 Feb 2016 22:45 by PCW.

Please Log in or Create an account to join the conversation.

More
03 Feb 2016 23:34 #69535 by jamby
Replied by jamby on topic Crusader II retrofit
PCW

Set
pid.x.maxerror 0.0
pid.y.maxerror 0.0
pid.z.maxerror 0.0

did not change
pid.s.maxerror .0005

also changed ini file value to
MIN_FERROR = 0.5
from
MIN_FERROR = 0.05

Now when jogged nothing happens?

Jim

Please Log in or Create an account to join the conversation.

More
03 Feb 2016 23:45 - 03 Feb 2016 23:45 #69536 by PCW
Replied by PCW on topic Crusader II retrofit
Are the drives enabled?

( you would expect to to be able to jog 0.5 inches now before a following error occurs if the motors are not moving )
Last edit: 03 Feb 2016 23:45 by PCW.

Please Log in or Create an account to join the conversation.

More
04 Feb 2016 00:07 #69537 by jamby
Replied by jamby on topic Crusader II retrofit
Is there a way to test if they are being enabled? With the main power on and the normal noises coming out of the servo box "I can turn the hand wheel which is not normal. I will recheck my wiring to the westamp boards.

Jim

Please Log in or Create an account to join the conversation.

More
04 Feb 2016 00:20 #69538 by punking
Replied by punking on topic Crusader II retrofit
do you have a main switch such as the green button i have in the video i sent you? when your drives are enabled and you click the button (red X) in linuxcnc yoiur servos may jolt and start singing a bit.

Please Log in or Create an account to join the conversation.

More
04 Feb 2016 00:29 - 04 Feb 2016 00:29 #69539 by punking
Replied by punking on topic Crusader II retrofit
also, i just looked at your ini file above . you may want to change your setting a little for each axis:

MIN_LIMIT = -0.001
MAX_LIMIT = 8.0

to

MIN_LIMIT = -10
MAX_LIMIT = 10

you may limit out before anything happens.
Last edit: 04 Feb 2016 00:29 by punking.

Please Log in or Create an account to join the conversation.

More
04 Feb 2016 00:31 #69541 by jamby
Replied by jamby on topic Crusader II retrofit
Just went back to the shop and checked the wiring on the westamps.,.., it was wrong. Now with the main control powered up, when I push the linuxcnc power on button the drive motors start to growl and the hand wheels can not be turned.

How ever it still doesn't respond to input thru the jog button on X or Y axis....ummmm

Jim

Please Log in or Create an account to join the conversation.

More
04 Feb 2016 00:33 #69542 by punking
Replied by punking on topic Crusader II retrofit
how about z axis?

Please Log in or Create an account to join the conversation.

More
04 Feb 2016 00:43 #69543 by punking
Replied by punking on topic Crusader II retrofit
also, does it still kick out a "joint 0 following error" error?

Please Log in or Create an account to join the conversation.

Moderators: cncbasher
Time to create page: 0.086 seconds
Powered by Kunena Forum