Hardware required for Lathe Macros
- slowpoke
- Offline
- Premium Member
Less
More
- Posts: 146
- Thank you received: 25
06 Dec 2024 14:23 #316104
by slowpoke
Hardware required for Lathe Macros was created by slowpoke
I'm trying to determine both minimum and nice to have hardware requirements when using the lathe macros.
Assume I already have the following:
Assume I already have the following:
- Suitable PC with touchscreen
- MESA 7i96s
- Stepper/Servo for both Z and X axis
- Encoder linked to spindle with A,B,Z outputs
- Manual Start/Stop & Fwd/Rev switches
- Pot presently controlling spindle speed.
- Scales on X & Z not sure the lathe macros need the actual position data but I definitely want the actual position displayed because my leadscrews have a lot of backlash. My assumption at this point is that I will (hopefully) be able to use the macros in a way that actual cutting occurs in one direction only and then the tool retracts, re-positions (including required backlash) and then continues on the next cutting pass, does that sound like a reasonable expectation?
- Pretty sure I need a cycle start button, not sure about a cycle stop?
- Do the lathe macros need Linux control of the spindle speed, or can I control that manually via the existing potentiometer?
- Are limit switches required?
- I will make a control panel so any nice to have features would be good to know about now so I can included them, perhaps a couple of rotary encoders? what else would be good to have?
Please Log in or Create an account to join the conversation.
- Aciera
- Offline
- Administrator
Less
More
- Posts: 3946
- Thank you received: 1705
07 Dec 2024 09:09 - 07 Dec 2024 09:12 #316171
by Aciera
Replied by Aciera on topic Hardware required for Lathe Macros
There is no particular hardware requirement for Lathe Macros as it runs standard Gcode files with parameters.
1. I usually have a button for start, stop and pause but you can set your cycle start button up so it starts a program if it is stopped or stops it if it is running.
2. Not necessarily. If you want to use feed/rev (G95) you need software control of the spindle speed but you also need spindle feedback (ie an encoder) for that.
3. Not necessarily, you could just run on soft limits, although depending on the size of the motors and the robustness of your hardware they might be a very cheap way of avoiding expensive mishaps.
4. Depends on you personal preference really. Maybe have a look at some commercial panels for ideas. Most basic decision to make is whether you trust screen buttons to control machine motion (eg cycle start/stop, jogging, spindle on/off)
Note: you will need spindle feedback (ie encoder A/B and index) for threading.
1. I usually have a button for start, stop and pause but you can set your cycle start button up so it starts a program if it is stopped or stops it if it is running.
2. Not necessarily. If you want to use feed/rev (G95) you need software control of the spindle speed but you also need spindle feedback (ie an encoder) for that.
3. Not necessarily, you could just run on soft limits, although depending on the size of the motors and the robustness of your hardware they might be a very cheap way of avoiding expensive mishaps.
4. Depends on you personal preference really. Maybe have a look at some commercial panels for ideas. Most basic decision to make is whether you trust screen buttons to control machine motion (eg cycle start/stop, jogging, spindle on/off)
Note: you will need spindle feedback (ie encoder A/B and index) for threading.
Last edit: 07 Dec 2024 09:12 by Aciera.
The following user(s) said Thank You: slowpoke
Please Log in or Create an account to join the conversation.
Time to create page: 0.049 seconds