Harrison M280 CNC Lathe, Setting up Threading using phototransistor

More
5 years 5 months ago #210363 by andypugh
Yes, there is nothing encoder-related in that INI file. Perhaps PNCconf created a new file somewhere else?

Open a halmeter and have a look at hm2_7i76e.0.encoder.00.count and see if the number changes as you rotate the spindle.

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

More
5 years 2 months ago #218754 by PhilCNC
Thanks for the help Andy, it's mostly setup now but there seems to be a problem somewhere. When I command a G33, the machine does not move. I am getting encoder feedback though. I can adjust a variable in my Hal file to get motion with a G33, but it moves extremely slow! I feel so close to completion!

Here is a link to a video I took of this problem.


Any advise is appreciated! I will keep looking at other peoples files.

Hal and INI in original post.

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

More
5 years 2 months ago #218771 by andypugh
Does the spindle.0.revs signal _increase_ as the spindle rotates forwards? (And by 1.0 per revolution)

What is the state of spindle.0.index-enable when the system has "stuck" at the start of the G33?

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

More
5 years 2 months ago #218846 by PhilCNC
Hi Andy, looks like there is a problem. I opened Hal Scope and I didn't see a change on spindle.0.revs signal even as the spindle is turned on. Also spindle.0.index-enable is always off. I'm currently using a manual switch to turn the spindle on and off. I used PNC config to make the hal and ini files.

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

More
5 years 2 months ago #218856 by PhilCNC
Alright! I found the solution! In my INI file I had my pulses per revolution set to 50. It needed to be -50. It works!

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

More
4 years 10 months ago - 4 years 10 months ago #228669 by PhilCNC
Hi everyone, I need to hook up a coolant pump and spindle controls that are usable both when using the machine for CNC and manual. What is the best way to do this? I've thought about it a bit, and I think I will need a physical switch on both to make this work.
Last edit: 4 years 10 months ago by PhilCNC.

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

Time to create page: 0.083 seconds
Powered by Kunena Forum