Hybrid View
-
18-02-2018 #1
Ok think we are looking at two different pieces of code here. I've just downloaded Chaz's file and you could be correct.!!
Looks like ToolTurretPosBit1 uses the tool counter when in incremental mode and then toggles tool position each time this increments.
However Still not sure thou because how does the tool position get incremented inside the PLC.?Last edited by JAZZCNC; 18-02-2018 at 09:18 PM.
-
18-02-2018 #2
-
18-02-2018 #3
-
18-02-2018 #4
No, no sensor. Here is a video of it running (on Mach 3).
https://www.youtube.com/watch?v=-cCDulVashA
-
18-02-2018 #5
Some more example stuff here.
http://centroidcncforum.com/viewtopi...ilit=atc#p5499
-
18-02-2018 #6
-
18-02-2018 #7
Copied:-
TurretMotor is an output. It turns on if currentPosition_W != RequestedLocation_W.
;If current position != requested position, rotate turret
IF DoingTurretIndex_M && RequestedLocation_W != CurrentTurretPosition_W THEN SET TurretMotor
Not sure where or how this TurretMotor is defined. On my Triac, that was just an output for a relay, so that's easy. This is different as its actually the A Axis and not an 'outside' device.
-
18-02-2018 #8
I'm only going by the code snippet Chaz posted, but it looks to me like if you enable incremental mode, it expects you to link an input, along with a directional command, and the rest is then handled behind the scenes.
However, I would still expect you to be able to directly change the tool position, to allow for tool changer homing routines, and recovery of changers that have no home sensor.Avoiding the rubbish customer service from AluminiumWarehouse since July '13.
-
18-02-2018 #9
If notice there's nothing in there which actually moves the turret etc. Still needs code adding. Better example is to look at this link and download the file.
http://centroidcncforum.com/viewtopi...lit=turret+atc
-
18-02-2018 #10
Thread Information
Users Browsing this Thread
There are currently 2 users browsing this thread. (0 members and 2 guests)
Similar Threads
-
Centroid Acorn DIY CNC controller
By NB70 in forum Control Hardware & SystemsReplies: 3Last Post: 15-11-2017, 02:14 PM -
Centroid Acorn CNC Controller
By wallyblackburn in forum Gantry/Router Machines & BuildingReplies: 22Last Post: 29-10-2017, 12:28 PM -
Controller Cabinet
By cropwell in forum Workshop & EquipmentReplies: 2Last Post: 19-12-2015, 02:23 PM -
FOR SALE: Controller Box for sale
By lateAtNight in forum Items For SaleReplies: 12Last Post: 04-03-2012, 10:17 AM -
Controller Box
By M250cnc in forum Motor Drivers & ControllersReplies: 1Last Post: 21-11-2010, 01:34 AM
Bookmarks