Acorn Advanced Homing sequence to marker pulse
Moderator: cnckeith
-
- Posts: 9915
- 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
Acorn Advanced Homing sequence to marker pulse
On my lathe, I have mechanical limit switches on X+ and Z+. Rear mounted tool post
I just installed DMM Servos, which output a reference signal for homing.
On my knee mill with All in One DC, when it homes:
Each axis homes to a mechanical limit switch, then backs off of them and the control hunts for the encoder index pulse and calls that home.
I want to accomplish the same type of homing sequence except that my index pulse will come in on an input.
Input 1=Z axis Limit Switch
Input 2=X axis Limit Switch
Input 3=Z axis index pulse
Input 4=X axis Index pulse
What is the best way to accomplish this? (I am using Acorn with CNC12 to drive the DMM DYN2 AC Servo drives)
Is this a PLC change? or can it be done with a Macro?
I posted here because I figured maybe Marc or Scott if they had the time might catch the question here.
Thanks in advance,
Marty
I just installed DMM Servos, which output a reference signal for homing.
On my knee mill with All in One DC, when it homes:
Each axis homes to a mechanical limit switch, then backs off of them and the control hunts for the encoder index pulse and calls that home.
I want to accomplish the same type of homing sequence except that my index pulse will come in on an input.
Input 1=Z axis Limit Switch
Input 2=X axis Limit Switch
Input 3=Z axis index pulse
Input 4=X axis Index pulse
What is the best way to accomplish this? (I am using Acorn with CNC12 to drive the DMM DYN2 AC Servo drives)
Is this a PLC change? or can it be done with a Macro?
I posted here because I figured maybe Marc or Scott if they had the time might catch the question here.
Thanks in advance,
Marty
Last edited by martyscncgarage on Wed Dec 27, 2017 11:03 pm, edited 1 time in total.
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
-
- Posts: 595
- Joined: Tue Sep 12, 2017 10:03 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 1030090099
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Outside Winston-Salem, NC
- Contact:
Re: Homing sequence
This is an interesting question. I am now wondering how it handles a C axis home.
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
-
- Posts: 9915
- 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: Homing sequence
Are you going to home the C axis?
You might need a sensor on the spindle for that....
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
-
- Posts: 595
- Joined: Tue Sep 12, 2017 10:03 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 1030090099
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: No
- Location: Outside Winston-Salem, NC
- Contact:
Re: Homing sequence
I would think I would home it. I was going to use the encoder z output.martyscncgarage wrote: ↑Sat Dec 16, 2017 3:24 pmAre you going to home the C axis?
You might need a sensor on the spindle for that....
Clay
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
near Winston-Salem, NC
unofficial ACORN fb group https://www.facebook.com/groups/897054597120437/
-
- Posts: 9915
- 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: Homing sequence
I think you can do that. It will revolve until it finds the index pulse. Just set the input on Acorn to home switch.frijoli wrote: ↑Sat Dec 16, 2017 4:37 pmI would think I would home it. I was going to use the encoder z output.martyscncgarage wrote: ↑Sat Dec 16, 2017 3:24 pmAre you going to home the C axis?
You might need a sensor on the spindle for that....
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
Re: Homing sequence
Marty,
Your index pulse must come in on an encoder input in order to do "normal" homing. I suppose you could modify your home file to do an M105 or M106 which are move minus and move plus to switch but I'm not sure why you would want to do that. Is the index pulse not include in the encoder signal itself? ie.. A, A-, B, B- and Z, Z- or I, I- or "Marker"
Your index pulse must come in on an encoder input in order to do "normal" homing. I suppose you could modify your home file to do an M105 or M106 which are move minus and move plus to switch but I'm not sure why you would want to do that. Is the index pulse not include in the encoder signal itself? ie.. A, A-, B, B- and Z, Z- or I, I- or "Marker"
-
- Posts: 9915
- 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: Homing sequence
Hi Scott,diycncscott wrote: ↑Mon Dec 18, 2017 9:41 am Marty,
Your index pulse must come in on an encoder input in order to do "normal" homing. I suppose you could modify your home file to do an M105 or M106 which are move minus and move plus to switch but I'm not sure why you would want to do that. Is the index pulse not include in the encoder signal itself? ie.. A, A-, B, B- and Z, Z- or I, I- or "Marker"
Because this is for Acorn, there is no way for Acorn to see the index pulse. Yet the DMM Technologies DYN2 and DYN4 provide a Zero Reference signal output for the purpose of homing a machine. So my hopes were to mimick what CNC11 does, hit the limit switch back off, hunt for the index pulse, but since it does not come in via the encoder cable, it would have to come in via an input.
Thanks Scott, I appreciate the response. There are a couple other Acorn users wondering if this could be done as well. I know you are a very busy guy so your time and input is appreciated.
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
Re: Homing sequence
I'm sorry, I saw ALLIN1DC at the top and missed the Acorn part at the bottom. Move to "switch" might be your best bet then, just watch your feedrates while hunting for the marker.
-
- Posts: 9915
- 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: Homing sequence
Thanks Scott.diycncscott wrote: ↑Mon Dec 18, 2017 1:40 pm I'm sorry, I saw ALLIN1DC at the top and missed the Acorn part at the bottom. Move to "switch" might be your best bet then, just watch your feedrates while hunting for the marker.
I'm trying to figure out if a change to the PLC is needed or a custom homing macro to automate this homing routine, and how that might look.
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
Re: Homing sequence
No custom PLC needed, M105 and M106 look for the state of an input number, no PLC logic needed. You could set them to unused in the Wizard if you like.
M92 /Z L1 ;Move to Z+ home switch, back off until it clears.
M105 /Z P-4 F3 ;Move Z minus at 3ipm until input 4 closes
M26 /Z ;Set Z home here
M91 /X L1 ;Move to X- home switch, back off until it clears.
M106 /X P-3 F3 ;Move X plus at 3ipm until input 3 closes
M26 /X ;Set X home here
....lather, rinse, repeat
You may need to play around with the rates to get it to stop on the pulse. You can change the moves between looking for switch to open or close by changing the sign of the input # ie.. change -3 to 3
M92 /Z L1 ;Move to Z+ home switch, back off until it clears.
M105 /Z P-4 F3 ;Move Z minus at 3ipm until input 4 closes
M26 /Z ;Set Z home here
M91 /X L1 ;Move to X- home switch, back off until it clears.
M106 /X P-3 F3 ;Move X plus at 3ipm until input 3 closes
M26 /X ;Set X home here
....lather, rinse, repeat
You may need to play around with the rates to get it to stop on the pulse. You can change the moves between looking for switch to open or close by changing the sign of the input # ie.. change -3 to 3