Working Lathe config with Mesa 7196s + Encoder (no probing yet)
- RogEnk
- Offline
- Junior Member
Less
More
- Posts: 21
- Thank you received: 11
05 Jan 2025 00:49 - 05 Jan 2025 00:52 #318135
by RogEnk
Working Lathe config with Mesa 7196s + Encoder (no probing yet) was created by RogEnk
Hi all,
Thought I would share, on the off chance other(s) may benefit from what I have learnt converting from Axis Lathe to Prob Basic Lathe.
Thought I would share, on the off chance other(s) may benefit from what I have learnt converting from Axis Lathe to Prob Basic Lathe.
- I am using a Mesa 7i96s without any add-ons, an Omron 100P (E6B2-CWZ1X Differential) rotary encoder from Ebay.
- I configured a new base config for an Axis Lathe using MesaCT (no encoder at this point)
- Followed the excellent instructions from here: kcjengr.github.io/probe_basic/machine_config.html
- Tested and confirmed working
- Copied previously working Encoder section from Axis lathe base hal file to Probe Basic Lathe main.hal
- Correct PNCConf vs MesaCT encoder name (was referenced as ENCODER_SCALE by PNCConf but referenced as ENCODER by MesaCT) in both ini and main.hal
- Edited line 13 (in my case) from:
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config=" sserial_port_0=00000000" to:
loadrt [HM2](DRIVER) board_ip=[HM2](ADDRESS) config="num_encoders=1 num_pwmgens=1 num_stepgens=5 sserial_port_0=00000000" - Added:
net spindle-speed-fb hm2_7i96s.0.encoder.00.velocity-rpm
net spindle-speed-fb => qtpyvcp.spindle-encoder-rpm.in
To end of probe_basic_postgui.hal - Enjoyed a Whiskey when RPM worked!
I have attached the files in question, new_lathe.ini is the Probe version, other file names should be clear.
Hope this helps someone!
Rog
Last edit: 05 Jan 2025 00:52 by RogEnk. Reason: Whiskey or editor is buggy...
The following user(s) said Thank You: tommylight, Lcvette
Please Log in or Create an account to join the conversation.
- Lcvette
- Offline
- Moderator
Less
More
- Posts: 1247
- Thank you received: 635
06 Jan 2025 13:30 #318216
by Lcvette
Replied by Lcvette on topic Working Lathe config with Mesa 7196s + Encoder (no probing yet)
nice! it is a wonderful thing to get true rpm working and have threading available! congrats!! post some picture too! show off your project!
Chris
Chris
Please Log in or Create an account to join the conversation.
Moderators: KCJ, Lcvette
Time to create page: 0.053 seconds