Onawa220 wrote: ↑Mon Nov 11, 2024 8:39 pm
I am slowly working my way though the manual and getting inputs and outputs set up in CNC12 but I'm hitting a bit of a language barrier on what things are called vs what I am used to with Mach4.
I have lots of inputs and outputs so I have hooked up my three separate homing switches and for each axis I have two limits connected together.
Which names am I using for these? Assuming FirstAxisHomeOK for X home, etc. for Y & Z but on the limits there is everything together or EVERTYHING separate into plus and minus limits.
From the Wizard, you have several input options:
Limit only:
* {AxisNum}AxisMinusLimitOk
* {AxisNum}AxisPlusLimitOk
* LimitAll
Homing only:
* {AxisNum}AxisHomeOk
* HomeAll
* SlavedHomeInput (for autosquaring)
* ZriHomingAll
Home/Limit:
* {AxisNum}AxisHomeLimitOk
* HomeLimitAll
With AcornSix, you have 16 inputs built in. There are a few ways you can set up to use 3 switches:
A) The intuitive way to wire this up is to use the {AxisNum}AxisMinusLimitOk, {AxisNum}AxisPlusLimitOk, and {AxisNum}AxisHomeOk inputs but that will leave you with 7 inputs left for your laser, ATC, tool touch, probe, etc.
B) Combining the homing switches to a single HomeAll input would get you back 2 inputs for a total of 9 left for other uses. The limit switches are wired as above. This way still lets you see what limit switch was hit.
C) You can combine all the limit switches to LimitAll input and all the homing switches to HomeAll input. This leaves 14 inputs free but you lose the ability to see which limit was reached in the message log.
Of course, if you are using autosquaring then it would make sense to use the SlavedHomeInput for the paired gantry axis. That will take up another input.
I do not suggest using {AxisNum}AxisHomeLimitOk or HomeLimitAll with three switches per axis. Those would work best with two switches or one switch and soft limits.
I would recommend method B for most cases when using separate home and plus/minus limit switches.