Hurco BMC 20 Ultimax 3 Retrofit
Please Log in or Create an account to join the conversation.
Have you seen:
wiki.linuxcnc.org/cgi-bin/wiki.pl?The_Is..._Parameter_And_GRUB2
I did, it was not totally clear to me as the lines of code that are at the top of that page is different from what I have.
uuid 42d5e8ad-507d-41ea-8ad6-868e87be2ed6
kernel /boot/vmlinuz-2.6.32-122-rtai root=UUID=42d5e8ad-507d-41ea-8ad6-868e87be2ed6 ro isolcpus=1,2,3
initrd /boot/initrd.img-2.6.32-122-rtai
quiet
Do I just add isolcpus=1 to the end of the GRUB_CMDLINE_LINUX_DEFAULT line?
I will be back out there tonight, i really need to get lan cables run out to the shop and to the machine. My LinuxFu is not very strong either.
Please Log in or Create an account to join the conversation.
I did, it was not totally clear to me as the lines of code that are at the top of that page is different from what I have.
uuid 42d5e8ad-507d-41ea-8ad6-868e87be2ed6 kernel /boot/vmlinuz-2.6.32-122-rtai root=UUID=42d5e8ad-507d-41ea-8ad6-868e87be2ed6 ro isolcpus=1,2,3 initrd /boot/initrd.img-2.6.32-122-rtai quiet
That is the menu.lst from an old-school grub setup, not the nee grub2 format.
So, you should basically ignore that bit.
Please Log in or Create an account to join the conversation.
Heck of a lot better than it was before!
Soooo now I should be down to a 6% error. I think I am going to try some other PC's just to see, but I am going to get back to getting the rest of things rolling now.
Back to getting limits hooked up tomorrow, and servo enables!
I did run across EuSurplus's wiki page www.wiki.eusurplus.com/index.php?title=Install_LinuxCNC
With there dummy proofed how to on it I got it done. Thanks EuSurplus!
Please Log in or Create an account to join the conversation.
- Todd Zuercher
-
- Online
- Platinum Member
-
- Posts: 5000
- Thank you received: 1409
Please Log in or Create an account to join the conversation.
Please Log in or Create an account to join the conversation.
I have 0,1,2 isolated and down to servo 62k, base 27k! I am getting an occasional spike to 75k in the servo, it seems like it is running mostly about 30k, climbs a bit with the occasional spike.
Heck of a lot better than it was before!
Soooo now I should be down to a 6% error. I think I am going to try some other PC's just to see, but I am going to get back to getting the rest of things rolling now.
Well, that is probably good enough for most work. But, the good motherboards get it down to about 5 us. I don't know why some do so much worse. One other thing is to turn off all the acceleration stuff in the graphics driver, or switch to using the totally basic graphics driver instead of a board-specific one. There should be instructions on how to do that in the wiki.
Jon
Please Log in or Create an account to join the conversation.
I wish there was one motherboard, processor, video card that was the smoking gun for the best way to go. I think I would go buy it just to get it done.
Please Log in or Create an account to join the conversation.
Onto attempting to edit the HAL to get my digital inputs where I want them and setting up homing off the limits.
This is the ppmc_io.hal that I have been attempting to edit. The _1 is the original from the configuration. I # out the lines that I was not sure about what I was going to do.
The first thing I am trying to get past is just get the limits on the right "din" and get the servo SSR to operate correctly. I am kinda trying a step at a time so when I screw something up it may be easier to debug.
I need to setup my limits as home switches also as my machine has no home switches
Am I thinking right that I can just edit the locations in the hal and save it and that is all I have to do or is there a better way to go about it.
Thanks for putting up with me being an askhole!
I did get things up on git also
github.com/jakefreese/LCNC_BMC20
Please Log in or Create an account to join the conversation.
Best thing is to copy all your hal files to a backup directory, and copy again just before making any major change. That way, if hal blows up when starting LinuxCNC, you can diff the files to see what changed. Actually, hal gives pretty decent error messages, but they can be hard to find with all the other text that is output.I just deleted all the files in the linuxcnc folder, started a new config, changed the port and its alive now.
So, to home off the -X limit, you would make the X stanza in ppmc_io.hal look like this :
Onto attempting to edit the HAL to get my digital inputs where I want them and setting up homing off the limits.
linksp Xminlim <= ppmc.0.din.01.in-not
linksp Xminlim => axis.0.neg-lim-sw-in
linksp Xmaxlim <= ppmc.0.din.02.in-not
linksp Xmaxlim => axis.0.pos-lim-sw-in
linksp Xminlim axis.0.home-sw-in
This copies the state of the Xminlim signal to the axis 0 home input. Then, in the ini file, in the [AXIS_0] section, you would need to set :
HOME_OFFSET = 1.0
HOME_SEARCH_VEL = -0.5
HOME_LATCH_VEL = 0.1
HOME_USE_INDEX = YES
HOME_IGNORE_LIMITS = YES
Assuming that you have index pulses on your encoders. The above will start the homing move in the minus direction at 30 IPM (0.5 IPS), when it hits the -X limit switch it will reverse and then make a slower approach,
when it trips the 2nd time, it will begin to back away from the switch at 6 IPM (0.1 IPS) until it hits the index pulse. It will then move 1.0 inch in the +X direction to the true home position which will be +1.0 inch from where the index pulse was detected.
If you DON'T have encoder index pulses, then turn the HOME_USE_INDEX = NO, and I think the rest should be OK.
You can check which digital inputs are doing what with Halmeter from the Machine pull-down menu on the Axis screen. Select the digital inputs from the "Pins" menu, and then watch as you trip the switches manually.
The first thing I am trying to get past is just get the limits on the right "din" and get the servo SSR to operate correctly. I am kinda trying a step at a time so when I screw something up it may be easier to debug.
Yes, but there are some restrictions. One big one is that only one signal can be assigned to an input or output HAL pin. If you try to assign two different signals to one pin, it causes an error message and LinuxCNC will not start. I suspect that may be what you ran into.Am I thinking right that I can just edit the locations in the hal and save it and that is all I have to do or is there a better way to go about it.
Jon
Thanks for putting up with me being an askhole!
I did get things up on git also
github.com/jakefreese/LCNC_BMC20[/quote]
Please Log in or Create an account to join the conversation.