Can't get my turret to work on my lathe.
I have followed the Acorn axis driven turret procedure.
ACORN_4.14_Lathe_Axis_Driven_Turret.zip
Copied and pasted macro files.
I have set parameters 60, 160, 161 as per instructions
and I'm getting this message As per picture.
Please find attached files
Can you tell me what am I doing wrong?
ATC TURRET turn
Moderator: cnckeith
-
- Posts: 8
- Joined: Mon Feb 19, 2018 1:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: MILL 38D2693D0B0-0110180508 LATHE 38D2694DA013-0321180756
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Contact:
Re: ATC TURRET turn
- Attachments
-
- report_38D2694DA013-0321180756_2019-09-26_14-27-23.zip
- (216.05 KiB) Downloaded 118 times
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Community Expert
- Posts: 9958
- Joined: Tue Mar 28, 2017 12:01 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: Yes
- AcornSix CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Hickory CNC Controller: Yes
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: Mesa, AZ
Re: ATC TURRET turn
Please explain the expected sequence of events.
Marty
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
We can't "SEE" what you see...
Mesa, AZ
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 52
- Joined: Thu Aug 10, 2017 1:55 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: Yes
- Hickory CNC Controller: No
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
Re: ATC TURRET turn
The G-code on screen looks like the line is missing a ";" at the beginning of line, as this is a comment line the control needs to skip....
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8
- Joined: Mon Feb 19, 2018 1:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: MILL 38D2693D0B0-0110180508 LATHE 38D2694DA013-0321180756
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Contact:
Re: ATC TURRET turn
My turret is going to be driven with stepper motor.
In order to change tool the piston needs to be actuated that will push front plate assembly M10 (turret) and than stepper motor will index the turret to required position.
Once position of the turret have been reached piston will return. (springs on the assembly will take care of pulling the assembly back)
This can be achieved with M10 M11 Command
I have defined the parameter 161 to be consistent with 6 tools.
My stepper motor is also set that 1=1 tool position as per instructions.
In order to change tool the piston needs to be actuated that will push front plate assembly M10 (turret) and than stepper motor will index the turret to required position.
Once position of the turret have been reached piston will return. (springs on the assembly will take care of pulling the assembly back)
This can be achieved with M10 M11 Command
I have defined the parameter 161 to be consistent with 6 tools.
My stepper motor is also set that 1=1 tool position as per instructions.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 815
- Joined: Mon Feb 19, 2018 2:52 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 38D269594F9C-0110180512
- DC3IOB: No
- CNC12: Yes
- CNC11: No
- CPU10 or CPU7: No
- Location: UK
- Contact:
Re: ATC TURRET turn
As Centroid 188 says, if you look carefully you have typed a ":" instead of ";". So it doesn't recognise the character as a comment demarker and thinks this is a command with no parameters.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8
- Joined: Mon Feb 19, 2018 1:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: MILL 38D2693D0B0-0110180508 LATHE 38D2694DA013-0321180756
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Contact:
Re: ATC TURRET turn
Thank you for help.
I have managed to get the turret moving and index properly.
Problem I have is when I power down machine and home it. Turret looses position displaying 0.
Also it doesn't seems to update tool nr just the offset nr
Obviously I'm missing something.
please find attached macro:
;------------------------------------------------------------------------------
; Filename: cnctch.mac
; Description: Axis driven tool change macro for Lathe
; Notes: Turns/rev must be configured 1 = 1 turret position change
; Turret is on 4th axis, positions are in machine position.
; Requires: Machine home must be set prior to use.
;
;#100 = Number turret positions
;#101 = Calculated position to move to when requested position < current position.
;#4120 = requested tool
;#20601-#20604 = Counts per unit for axes1-4
;#5021-#5024 is the current machine position for axes 1(#5021) through 4(#5024)
;------------------------------------------------------------------------------
IF #50001 ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching
IF [ABS[#4120-#5024] < .005] THEN GOTO 1000
IF #5024 > #4120 THEN #101 = [6 + #4120] ELSE #101 = #4120
IF #4120 > 6 THEN GOTO 1000
M05
M09
G30P1
M10
G04P2.
G53 G00 A#101
M26 /A L[#4120*#20604]
M11
G04P2.
#150 = #4120
N1000 ;Macro finished
I have managed to get the turret moving and index properly.
Problem I have is when I power down machine and home it. Turret looses position displaying 0.
Also it doesn't seems to update tool nr just the offset nr
Obviously I'm missing something.
please find attached macro:
;------------------------------------------------------------------------------
; Filename: cnctch.mac
; Description: Axis driven tool change macro for Lathe
; Notes: Turns/rev must be configured 1 = 1 turret position change
; Turret is on 4th axis, positions are in machine position.
; Requires: Machine home must be set prior to use.
;
;#100 = Number turret positions
;#101 = Calculated position to move to when requested position < current position.
;#4120 = requested tool
;#20601-#20604 = Counts per unit for axes1-4
;#5021-#5024 is the current machine position for axes 1(#5021) through 4(#5024)
;------------------------------------------------------------------------------
IF #50001 ;Prevent lookahead from parsing past here
IF #4201 || #4202 THEN GOTO 1000 ;Skip macro if graphing or searching
IF [ABS[#4120-#5024] < .005] THEN GOTO 1000
IF #5024 > #4120 THEN #101 = [6 + #4120] ELSE #101 = #4120
IF #4120 > 6 THEN GOTO 1000
M05
M09
G30P1
M10
G04P2.
G53 G00 A#101
M26 /A L[#4120*#20604]
M11
G04P2.
#150 = #4120
N1000 ;Macro finished
(Note: Liking will "up vote" a post in the search results helping others find good information faster)
-
- Posts: 8
- Joined: Mon Feb 19, 2018 1:32 pm
- Acorn CNC Controller: Yes
- Plasma CNC Controller: No
- AcornSix CNC Controller: No
- Allin1DC CNC Controller: No
- Hickory CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: MILL 38D2693D0B0-0110180508 LATHE 38D2694DA013-0321180756
- DC3IOB: No
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Contact:
Re: ATC TURRET turn
I don' know why, but when I run tool change from MDI turret always lands on right spot.
But when I run tool change from programme it seems to always counting incrementally.
But when I run tool change from programme it seems to always counting incrementally.
(Note: Liking will "up vote" a post in the search results helping others find good information faster)