KRV2000 CNC Conversion

More
5 years 10 months ago #193791 by Benb
Replied by Benb on topic KRV2000 CNC Conversion
You gave the same signal two different names. I believe that is not allowed.
net axis-select-x halui.axis.x.select (in 1st file).
net pdnt.axis.x.select whb.halui.axis.x.select halui.axis.x.select (in 2nd file).
Either use axis-select-x or pdnt.axis.x.select but not both for the same signal.

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

More
5 years 9 months ago #193832 by ChrissyAG
Replied by ChrissyAG on topic KRV2000 CNC Conversion
Thanks Benb, I will try that today and report back

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

More
5 years 9 months ago #193837 by ChrissyAG
Replied by ChrissyAG on topic KRV2000 CNC Conversion
Ok, assuming I have understood what you have suggested, I have tried the following:

1. Tried changing in Matilda001.hal
net axis-select-x halui.axis.x.select
to
net pdnt.axis.x.select halui.axis.x.select
result is that the mpg encoder wheel still doesnt work

2. Tried in Matilda001.hal hashing out
net axis-select-x halui.axis.x.select
result is still no joy with encoder wheel

When I have tried modifications to the hal files, I have opened the hal configuration window to watch for jog counts.
pdnt.axis.x.jog-counts
in signals section never displays any counts despite
pdnt.axis.x.jog-enable
and
pdnt.axis.x.jog-scale
functioning correctly.

I cant help feeling that I am being totally stupid and missing something obvious.

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

More
5 years 9 months ago #193905 by Benb
Replied by Benb on topic KRV2000 CNC Conversion
Don’t feel bad the pendants interface is a tough one. If you search the forum you will discover that you are not the only one having problems with pendants.
Now back to the problem you are having.
Comment out in matilda01.hal #net axis-select-x halui.axis.x.select
net pdnt.axis.x.jog-counts whb.axis.x.jog-counts axis.x.jog-counts
This part is correctly configured, and you should see activity if driver and hardware are working ok.
Are you using halscope? if not try it, its much better at monitoring pulse trains.

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

More
5 years 9 months ago #193982 by ChrissyAG
Replied by ChrissyAG on topic KRV2000 CNC Conversion
Thanks Benb for the encouragement and continued input.

Ok. So I’ve spent a while familiarising myself with Halscope and have used it to monitor:

axis.x.jog-enable ,whb.halui.axis.x.select (on channels 1 and 2 respectively, which both synchronously give a signal when the axis select rotary switch on the MPG is turned to X)

At the same time:
pdnt.axis.x.jog-counts is monitored on channel 3 to monitor for pulses from the MPG jog wheel. None are ever recorded by halscope.

I have also hashed out the net axis-select-x halui.axis.x.select in Matilda001.hal file (including the corresponding ones for the other axes. Still the encoder wheel on the MPG does not work.

The MPG pendant tells me that it is sending a signal from the encoder wheel because it displays the "send" black dot matrix box icon next to the battery icon when the wheel is turned.

The hardware therefore appears to work as it should which leads me to conclude that there may be an issue with the driver. However, this does not explain why axis.sim configuration can respond to the MPG encoder wheel, unless of course, there is some way that axis.sim has a workaround.

This is as far as I have got so far, further comments and suggestions are very welcome.

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

More
5 years 9 months ago #194002 by Benb
Replied by Benb on topic KRV2000 CNC Conversion
pdnt.axis.jog-counts is connected to the raw pulse coming of the driver pin if you’re not getting any activity at that pin then I would think you have loaded the wrong driver or the hal program / the ini file is missing something. If you look at the 2.8 docs it shows 3 drivers for similar pendant (xhc-hb04-accels, xhc-hb04, xhc-whb04b-6) the developer of the 3rd driver is indicating that his driver was only tested with the 18 keys pendant and he is not sure about the 16 keys. I think your pendant looks similar to the xhc-whb04b-6, so make sure that you are loading the proper driver.

Question about your milling machine, does it have ball screws? if not, are you planning to install ballscrews? I have similar machine (Bridgeport clone) I was looking at ground ball screw on eBay, but the cost is more than I paid for the machine. So, I am looking at Chinese rolled ballscrews, but I am not sure how good they are. Do you have solution for the Z axis motor mount …?

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

Time to create page: 0.263 seconds
Powered by Kunena Forum