Ok, my video skills are sorely lacking. Hard to take a vid, show which buttons I push, watch the turret and show the tool numbers change. I'll make another attempt in a little while.martyscncgarage wrote: ↑Thu May 03, 2018 6:54 pm Great.
Please post the inputs and outputs you used and how they were assigned as well.
Don't forget a video demonstrating the turret working after making tool calls. Until then, it's all "fish stories"
Marty
As for in/outs, it's all assigned in the PLC, as you don't have inputs/outputs in the wizard to do these functions yet. The code is well documented, so rather than making a huge post, easiest thing to do is simply download the report file and extract the acorn_incremental-turret-r3.src out to read through. As otherwise, it would be like posting the entire PLC program since there are portions documented in numerous places. Pretty much anyone setting up a turret like mine simply needs to wire the each tool switch to input 6, the tool zero switch to input 5 and the turret motor to output 2. Typically the each tool switch is tripped on when the tool is at the position, so it's normally open. The zero tool is just the opposite and it's on until at the position and trips off (but I have it inverted so it trips on at the position, just made more sense). The only modification you would need to make is if you don't use the dual homing, change the cnct.hom file.
But here are the inputs/outputs again:
;ToolTurretSyncBit IS INP5 ;&*;
;ToolTurretPosBit1 IS INP6 ;&*;
;RotateToolTurret IS OUT2 ;&*;
Edit- removing this report as it won't work with the new version of CNC12 plus we ended up finding a few bugs. Working through them now and will post a new report with a working copy compatible with the latest version of CNC12 and the bugs worked out.