Park Documentation (Resolved)

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

cnckeith
Posts: 7164
Joined: Wed Mar 03, 2010 4:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: Yes
CNC Control System Serial Number: none
DC3IOB: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Contact:

Re: Park Documentation (Resolved)

Post by cnckeith »

Park is located in the CNC12 "F10 Shutdown" menu on the main screen of CNC12. (Page 41 of the CNC12 operator manual has a blurb about it.)
Parking a machine before shutdown is designed to position the machine in a good resting place ready for the morning power up and homing.
Parking can be used to position the machine close to home, so when you go to home out in the morning it is a quick process.

Park has default behavior and it can be customized. CNC12 uses the default behavior if the Wizard is set to NO "Override Default Park behavior".
The default behavior works fine for most milling machines

but, typically router users will want to create there own 'custom' park macro so they can control exactly the behavior that they desire. choose "YES" and edit the park.mac
custom park.PNG
The provided 'custom' park macro is documented with several examples in the macro itself, so open up park.mac (which is contained in the /cncm/system folder) with Notepadd++ and you will see this..

;------------------------------------------------------------------------------
; Filename: park.mac - Custom Park Button Macro
; Description: This Machine Park macro controls the "F1 Park" command action found in the CNC12 "F10 Shut Down" menu.
; park.mac is a user editable custom macro used for parking a machine tool at a specified position at a specified speed, typically used prior to shut down.
; Notes:
; - This macro overrides the default CNC12 park behavior logic when selected to do so in the Wizard (the Wizard sets CNC12 parameter 59 = 1)
; - This macro allows the user to customize the action and behavior of the "Park" feature in the CNC12 "Shut Down" menu by writing creating a custom G&M code program
; - A semi colon ";" tells CNC12 that the line is a comment, remove semi colon for command to be run, add semi colon to beginning of line to be ignored
;------------------------------------------------------------------------------
M225 #100 "Please edit c:\cncm\system\park.mac to create a custom parking macro, press ESC to exit."
;------------------------------------------------------------------------------
; Example Custom Mill Park Macro assuming XYZ home position is set in the negative direction for each axis.
;G53 Z.25 L20 (Moves Z axis first in machine coordinates to .25 inches away from Z home position at 20 inches per minute)
;G53 X1 L200 (Moves X axis second in machine coordinates to 1 inch away from X home position)
;G53 Y1 L200 (Moves Y axis third in machine coordinates to 1 inch away from Y home position)
;------------------------------------------------------------------------------
; Example Custom Park Macro assuming Y home position is set in positive direction and XZ home position is set in the negative direction for each axis.
;G53 Z.25 L20 (Moves Z axis first in machine coordinates to .25 inches away from Z home position at 20 inches per minute)
;G53 X1 L200 (Moves X axis second in machine coordinates to 1 inch away from X home position at 200 inches per minute)
;G53 Y-1 L800 (Moves Y axis third in machine coordinates to 1 inch away from Y home position at 800 inches per minute)
;------------------------------------------------------------------------------
; Example Custom Park Macro assuming Y home position is set in positive direction and XZ home position is set in the negative direction for each axis.
;G53 Z.25 L20 (Moves Z axis first in machine coordinates to .25 inches away from Z home position at 20 inches per minute)
;G53 X1 Y-1 L200 (Moves X and Y axis at the same time in machine coordinates to 1 inch away from X home position at 200 inches per minute)
;G53 w0 L360 (Moves W rotary axis in machine coordinates to 0.000 at 360 degrees per minute)
;------------------------------------------------------------------------------

Make changes to the park.mac to meet your requirements and save. Now next time you park the machine it will follow your exact commands.
Need support? READ THIS POST first. http://centroidcncforum.com/viewtopic.php?f=60&t=1043
All Acorn Documentation is located here: viewtopic.php?f=60&t=3397
Answers to common questions: viewforum.php?f=63
and here viewforum.php?f=61
Gear we use but don't sell. https://www.centroidcnc.com/centroid_di ... _gear.html
David Buchhauser
Posts: 26
Joined: Mon Sep 16, 2019 10:47 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: C122564
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No
Location: Tucson, Arizona
Contact:

Re: Park Documentation (Resolved)

Post by David Buchhauser »

Thanks cnckeith!
zz0122
Posts: 30
Joined: Wed Sep 30, 2020 11:23 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: No
CPU10 or CPU7: No

Re: Park Documentation (Resolved)

Post by zz0122 »

Hi,
is the park unit used same as machine unit? (matric or standard)

I assumed the unit is the same with machine unit and I tried to modified the value, but it doesn't work.
When I click "Shutdown" and "Park" and "Cycle start", and the pop up said "Please edit c:\cncm\system\park .mac..."
I already updated the macro (below) and clicked "Yes" for override default behavior. did I do it incorrectly?

;------------------------------------------------------------------------------
; Filename: park.mac - Custom Park Button Macro
; Description: This Machine Park macro controls the "F1 Park" command action found in the CNC12 "F10 Shut Down" menu.
; park.mac is a user editable custom macro used for parking a machine tool at a specified position at a specified speed, typically used prior to shut down.
; Notes:
; - This macro overrides the default CNC12 park behavior logic when selected to do so in the Wizard (the Wizard sets CNC12 parameter 59 = 1)
; - This macro allows the user to customize the action and behavior of the "Park" feature in the CNC12 "Shut Down" menu by writing creating a custom G&M code program
; - A semi colon ";" tells CNC12 that the line is a comment, remove semi colon for command to be run, add semi colon to beginning of line to be ignored
;------------------------------------------------------------------------------
M225 #100 "Please edit c:\cncm\system\park.mac to create a custom parking macro, press ESC to exit."
;------------------------------------------------------------------------------
; Example Custom Mill Park Macro assuming XYZ home position is set in the negative direction for each axis.
G53 Z25 L20
G53 X25 L200
G53 Y25 L200

;------------------------------------------------------------------------------
; Example Custom Park Macro assuming Y home position is set in positive direction and XZ home position is set in the negative direction for each axis.
;G53 Z.25 L20 (Moves Z axis first in machine coordinates to .25 inches away from Z home position at 20 inches per minute)
;G53 X1 L200 (Moves X axis second in machine coordinates to 1 inch away from X home position at 200 inches per minute)
;G53 Y-1 L800 (Moves Y axis third in machine coordinates to 1 inch away from Y home position at 800 inches per minute)
;------------------------------------------------------------------------------
; Example Custom Park Macro assuming Y home position is set in positive direction and XZ home position is set in the negative direction for each axis.
;G53 Z.25 L20 (Moves Z axis first in machine coordinates to .25 inches away from Z home position at 20 inches per minute)
;G53 X1 Y-1 L200 (Moves X and Y axis at the same time in machine coordinates to 1 inch away from X home position at 200 inches per minute)
;G53 w0 L360 (Moves W rotary axis in machine coordinates to 0.000 at 360 degrees per minute)
;------------------------------------------------------------------------------

TIA
cncsnw
Posts: 3763
Joined: Wed Mar 24, 2010 5:48 pm

Re: Park Documentation (Resolved)

Post by cncsnw »

Try deleting the M225 line that displays the "Please edit c:\cncm\system\park.mac to create a custom parking macro, press ESC to exit." prompt.
Post Reply