Can't change homing direction! (Resolved)

All things related to the Centroid Acorn CNC Controller

Moderator: cnckeith

Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC 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:

Can't change homing direction! (Resolved)

Post by Muzzer »

I want my Shizuoka milling machine to home with the table moved to the left extent of travel, not the right extent of travel. For homing, the same physical switch is used for both home ramp stops, of which there is one at each end of the table. In fact, all 3 axis home switches are wired in series (all NC). So it is wired into input 8 as "HomeAll" and already works for homing X. I haven't changed any of the wiring.

I edited my .HOM file to change the direction of X homing by changing "M91/X L1" to "M92/X L1", thinking this would suffice.

Originally like this:
;Perform Homing commands
M26/A
M92/Z L1
M26/Z
M91/Y L1
M26/Y
M91/X L1
M26/X

I changed it to:
;Perform Homing commands
M26/A
M92/Z L1
M26/Z
M91/Y L1
M26/Y
M92/X L1
M26/X

When the ramp stop triggers the home switch, Input 8 still changes state (goes from green to red, as before) but the homing sequence doesn't see it any more. When I change the M92 back to M91, it reverts to working again. Somehow it doesn't see the HomeAll signal with M92 but it does with M91.

I can trigger the switch with my finger when it's making the homing move. When homing in M91 that will trigger the response but in M92 it won't.

I'm seriously confused but can't see any explanation or solution. I've attached today's report. Can somebody please point out how to correct the (simple?) issue? Perhaps I'm getting too old for this!

I've set the A axis home without a homing move, as I don't have a home switch for that.

Thanks!
Attachments
report_38D269594F9C-0110180512_2020-05-22_14-59-31.zip
(591.83 KiB) Downloaded 124 times
swissi
Posts: 573
Joined: Wed Aug 29, 2018 11:15 am
Acorn CNC Controller: Yes
Allin1DC CNC Controller: No
Oak CNC controller: No
CNC Control System Serial Number: 985DADEB24D5-0309180716
DC3IOB: No
CNC11: No
CPU10 or CPU7: No

Re: Can't change homing direction!

Post by swissi »

Muzzer,

did you make that change with the Wizard or just manually editing the .hom file?

If you change the .hom file manually, you must make the changes in the machine configuration as well to tell CNC12 where your home switch is.
I recommend you use the Wizard to make those changes.

-swissi
If you are using Fusion 360, check out my CNC12 specific Post Processor
If you are using a Touch Probe, Tool Touch Off Device or a Triple Corner Finder Plate, check out my ProbeApp

Contact me at swissi2000@gmail.com
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Can't change homing direction!

Post by martyscncgarage »

Swissi is correct. Make these changes in the Wizard.
DONT FORGET TO CHANGE YOUR SOFT LIMITS (Direction)

From your report file
LOG:
(1) 05-22-2020 14:05:13 CNC12 Acorn Mill v4.49 BETA, Rev 4 URL: /cnc11/branches/acorn R11244 modified May 13 2020, 12:32:59
(4) 05-22-2020 14:05:13 9033 Reset Initiated, Press Reset to Clear
(4) 05-22-2020 14:05:23 4032 Reset Cleared
(4) 05-22-2020 14:37:47 907 X axis travel exceeded
(4) 05-22-2020 14:37:47 907 X axis travel exceeded
(1) 05-22-2020 14:38:25 406 Emergency stop detected
(4) 05-22-2020 14:39:40 907 X axis travel exceeded
(4) 05-22-2020 14:39:40 907 X axis travel exceeded
(4) 05-22-2020 14:39:40 907 X axis travel exceeded
(4) 05-22-2020 14:39:46 9033 Reset Initiated, Press Reset to Clear
(4) 05-22-2020 14:39:46 4032 Reset Cleared
(4) 05-22-2020 14:39:50 907 X axis travel exceeded
(4) 05-22-2020 14:39:50 907 X axis travel exceeded
(1) 05-22-2020 14:55:01 406 Emergency stop detected
(1) 05-22-2020 14:55:17 406 Emergency stop detected
(1) 05-22-2020 14:59:31 Creating report...



You have not changed your soft limits:
CNC12 v. 4.49 coordinates file
Axis Minus Plus Return Return Return Return
Limit Limit #1(G28) #2(G30) #3 #4
X 0.0000 700.0000 100.00000 5.00000 690.00000 453.20500
Y 0.0000 410.0000 100.00000 5.00000 325.00000 241.51200
Z -145.0000 0.0000 0.00000 0.00000 0.00000 0.00000
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC 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: Can't change homing direction!

Post by Muzzer »

Haha, knew there would be a simple explanation! What threw me is that I thought "homing" was the machine learning where the home switch was - but seems you also need to tell it. Wasn't expecting that.

The reason I didn't use the wizard is because it will insert A axis homing each time - and the wizard asks if you want to edit your homing file manually. I'll use the wizard and then comment out the A axis homing afterwards.

Yes, I was planning to edit the machine soft limits once I'd got past this bit. Instead of 0 to 700mm, it will be perhaps -700 to 0mm. Also my G28 / G30 return positions for park, vise and TTS. Thanks for checking though.

Some of those error messages would be due to me homing the machine and either manually triggering it or the table going past and hitting the limit switches. Good thing you couldn't hear the accompanying sound track!
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Can't change homing direction!

Post by martyscncgarage »

Muzzer wrote: Fri May 22, 2020 12:24 pm Haha, knew there would be a simple explanation! What threw me is that I thought "homing" was the machine learning where the home switch was - but seems you also need to tell it. Wasn't expecting that.

The reason I didn't use the wizard is because it will insert A axis homing each time - and the wizard asks if you want to edit your homing file manually. I'll use the wizard and then comment out the A axis homing afterwards.

Yes, I was planning to edit the machine soft limits once I'd got past this bit. Instead of 0 to 700mm, it will be perhaps -700 to 0mm. Also my G28 / G30 return positions for park, vise and TTS. Thanks for checking though.

Some of those error messages would be due to me homing the machine and either manually triggering it or the table going past and hitting the limit switches. Good thing you couldn't hear the accompanying sound track!
Use the wizard to create the file, edit it and then set the Wizard not to overwrite your file perhaps
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Can't change homing direction!

Post by martyscncgarage »

Fix the soft limits at the same time....
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC 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: Can't change homing direction!

Post by Muzzer »

All done now. Homing correctly, soft limits, G28, G30 etc.

Now I can mount my rather oversized 4th axis on the LH side of the table without it crashing into the machine head when I home. And the table won't force me against the desk when it is parked.

Appreciate the help, as ever!
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Can't change homing direction!

Post by martyscncgarage »

Muzzer wrote: Fri May 22, 2020 12:53 pm All done now. Homing correctly, soft limits, G28, G30 etc.

Now I can mount my rather oversized 4th axis on the LH side of the table without it crashing into the machine head when I home. And the table won't force me against the desk when it is parked.

Appreciate the help, as ever!
Muzzer, please clarify what you did to fix the issue.
Thanks
Marty
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Muzzer
Posts: 728
Joined: Mon Feb 19, 2018 2:52 pm
Acorn CNC Controller: Yes
Allin1DC 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: Can't change homing direction!

Post by Muzzer »

Sorry, yes I did what you said - used the wizard to change the direction of homing and the new X coordinate range(soft limits). Simple and quick. Then went into the G28 / G30 table and set return coordinates. And commented out the 4th axis homing move, as there's no homing switch on it.

I've now mounted and trammed the 4th axis, then reduced the table movement (soft limits) very slightly so that the spindle can't possibly hit the body or chuck of the 4th axis - peace of mind etc. Simultaneous 4th axis toolpaths here we come....
martyscncgarage
Posts: 9912
Joined: Tue Mar 28, 2017 12:01 pm
Acorn CNC Controller: Yes
Allin1DC CNC Controller: Yes
Oak CNC controller: No
CNC Control System Serial Number: none
DC3IOB: No
CNC12: Yes
CNC11: Yes
CPU10 or CPU7: Yes
Location: Mesa, AZ

Re: Can't change homing direction!

Post by martyscncgarage »

Thanks Muzzer!
Reminder, for support please follow this post: viewtopic.php?f=20&t=383
We can't "SEE" what you see...
Mesa, AZ
Post Reply