[LCNC 2.9, Probe Basic GUI (python3 branch), Mesa 7i76ED]
All,
Starting a tool changer build and could use some assistance with the LCNC side of things. Maybe the mechanical stuff, too, but I think I've got that figured out.
Here's the plan:
- Design - bog-standard carousel disk arrangement
- Disk rotation - stepper motor controlled by Mesa 7i76 in pulse/dir mode.
- Carriage slide - 2-way air cylinder
- Spindle - encoder w/index, connected 1:1 via belt.
- Encoder & index already connected to Mesa.
- Motor driven by VFD
- VFD has no internal homing or positioning functions.
- Drawbar - pneumatic PDB
- Air valve is currently connected to Mesa through a relay
- Cylinder has a piston position sensor connected to Mesa
- Working fine now manually (both sensor and actuation)
- Sensors - separate PNP-NC for each of
- PDB Cylinder up (tool clamped)
- Slide in
- Slide out
- Disk index/home (one pulse per rev)
- Disk position (one pulse per slot)
First question: Anyone see anything I'm missing on the hardware or sensor side?
As far as LCNC goes, I'm planning to use the ORIENT and CAROUSEL components. I've browsed through a few sample configs posted here and I think I've got a very basic idea.
Second question - how do I connect the CAROUSEL pins to the joint pins in HAL? Or is there no joint? I'm unclear on the basic scheme of connecting CAROUSEL to the Mesa step outputs. I sort of get using a couple of relays connected to carousel.N.motor-fwd or carousel.N.motor-rev pins for a 'dumb' DC motor, but the connections from "T1M6" to the stepper drive inputs is hazy.
Third question: should I be using some other Lcnc control scheme than CAROUSEL?
Note - I have no idea how to code anything in python or C or other computer language, and I'm very reluctant to expend time & energy stumbling through yet another foreign language. Yes, I'm sure it's insanely powerful but I've got limited brainpower. I kinda understand HAL now, a little Classic Ladder, and G-code - that's about it.
Comments & suggestions are most welcome.
-Ralph