Synchronised Hobbing
- llrjt100
- Offline
- Senior Member
-
- Posts: 40
- Thank you received: 1
I've got a few questions:
1. My hobbing gear ratio is fixed, so I'm happy to hardwire it into the .hal file to avoid having to configure the Pyvcp panel mentioned in Andy's example. What modifications to the Andy's .hal file do I need to make to hardwire it?
2. My current ini file has X Y Z A for my lathe setup. The Pico-Systems Universal Stepper Controller .hal files use A for the spindle encoder, and I'm using X & Z for the two lathe axes. If I specify LATHE = 1 in the .ini file to give me a more helpful display in AXIS, I can see the X, Y and A axes in the AXIS display panel, but not Y. Because of this, I'm thinking of using Y for the rotary table/worm wheel blank axis - I don't need to see anything in AXIS, just have it synced to the spindle behind the scenes. So I guess I need to replace AXIS_3 references in Andy's .hal example with AXIS_1 (my Y axis)?
3. Pico-Systems Universal Stepper Controller has several .hal files - where should I put the .hal stuff from Andy's example .hal file?
4. Does any of the other stuff in Andy's example .hal file conflict with existing entries in the various Pico-Systems .hal files (for thread sync)?
Many thanks,
Richard
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23406
- Thank you received: 4971
1. My hobbing gear ratio is fixed, so I'm happy to hardwire it into the .hal file to avoid having to configure the Pyvcp panel mentioned in Andy's example. What modifications to the Andy's .hal file do I need to make to hardwire it?
adding
setp invert.0.in 15
I'm thinking of using Y for the rotary table/worm wheel blank axis - I don't need to see anything in AXIS, just have it synced to the spindle behind the scenes. So I guess I need to replace AXIS_3 references in Andy's .hal example with AXIS_1 (my Y axis)?
It might be more normal to map it to B or C, but in many ways the gear blank axis isn't an "axis" at all, if you don't want to be able to jog it then it can be a perfect slave, invisible to G-code.
4. Does any of the other stuff in Andy's example .hal file conflict with existing entries in the various Pico-Systems .hal files (for thread sync)?
it's hard to say. I am afraid you will have to read enough about HAL to understand exactly what is going on.
Please Log in or Create an account to join the conversation.
- BigJohnT
-
- Offline
- Administrator
-
- Posts: 6999
- Thank you received: 1176
linuxcnc.org/docs/html/hal/basic_hal.html
As for conflicts between various HAL files I would assume yes.
HAL files are loaded in the order you list them in the ini file.
linuxcnc.org/docs/html/config/ini_config...id_sub_hal_section_a
JT
Please Log in or Create an account to join the conversation.
- llrjt100
- Offline
- Senior Member
-
- Posts: 40
- Thank you received: 1
Please Log in or Create an account to join the conversation.
- michelko
- Offline
- New Member
-
- Posts: 18
- Thank you received: 0
You have to cut the Connection
net zpos-fb stepgen.1.position-fb =>axis.2.motor-pos-fb
Regards Michael
Please Log in or Create an account to join the conversation.
- andypugh
-
- Offline
- Moderator
-
- Posts: 23406
- Thank you received: 4971
And if you break any feedback loop, you have no idea if the table is lagging behind the hob. If it is then the gear will not come out right.
Please Log in or Create an account to join the conversation.