I am running the latest version of CNC12 with Acorn board V3 and using relay number 3 on the breakout board to control the power from a 24v PSU to control the brake on my Z axis DMM servo.
Everything is working OK as far as i can tell but the only way i can get the relay to switch the brake off with the 24v is to press cycle start in CNC12 and in turn this activates the relay, this would not be a problem but i am using a servo motor for the spindle connected via the encoder connection on the acorn board so when i press the reset button on Acorn and power cycle the servo drives i get a quadrature error on the spindle encoder unless release the z axis brake quickly by pressing the cycle start button after resetting it.
Is there a way i can get the relay to turn on without having to press the cycle start button quickly just after resetting ? The brake will not be needed once the reset button has been pressed as the z axis servo will have power running to it preventing the z axis to fall as far as i can tell.
I hope this all makes sense and any help would be much appreciated.
Cheers
Phil
Quadrature Error with DYN4 Spindle Servo
Moderator: cnckeith
-
- Posts: 25
- Joined: Wed Dec 05, 2018 5:08 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: UK
Quadrature Error with DYN4 Spindle Servo
Last edited by pbaudio on Sat Jul 20, 2019 4:58 pm, edited 3 times in total.
Phil - UK - Acorn CNC12 Pro
-
- 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: Relay Switching & Z Axis Brake Conflict with Spindle
Phil,
hello!
Please post a fresh report.zip
photos of the machine and z axis
and info on what motors and drives are being used and how they are wired. and then with that info can help you out!
hello!
Please post a fresh report.zip
photos of the machine and z axis
and info on what motors and drives are being used and how they are wired. and then with that info can help you out!
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
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
-
- Posts: 25
- Joined: Wed Dec 05, 2018 5:08 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: UK
Re: Relay Switching & Z Axis Brake Conflict with Spindle
Hi Keith,
Thanks for helping, i have attached a report and some photos, its a total mess at the moment as you can see.
I have actually come to the conclusion it has nothing to do with the brake at all but I still have to hit the cycle start just after reset on acorn otherwise i get the quadrature error on the spindle servo.
I have all the DYN2 drive power supply's and the DYN4 setup on contactors that come on when you press the reset button in acorn.
The brake has its own 24v psu, i am using the other 24v psu to power the acorn board and anything else that needs it like the servo drive encoder cables on the 5v line.
Eveything seems to run totaly fine if i hit that cycle start button in time
Many Thanks
Phil
Thanks for helping, i have attached a report and some photos, its a total mess at the moment as you can see.
I have actually come to the conclusion it has nothing to do with the brake at all but I still have to hit the cycle start just after reset on acorn otherwise i get the quadrature error on the spindle servo.
I have all the DYN2 drive power supply's and the DYN4 setup on contactors that come on when you press the reset button in acorn.
The brake has its own 24v psu, i am using the other 24v psu to power the acorn board and anything else that needs it like the servo drive encoder cables on the 5v line.
Eveything seems to run totaly fine if i hit that cycle start button in time
Many Thanks
Phil
- Attachments
-
- report_40BD322E8EA8-0905181166_2019-07-17_20-00-13.zip
- (494.34 KiB) Downloaded 89 times
Phil - UK - Acorn CNC12 Pro
-
- 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: Quadrature Error with DYN4 Spindle Servo
thanks.. others have reported the quadrature error with DMM products
viewtopic.php?f=20&t=3299&start=10&hili ... ture+error
viewtopic.php?f=20&t=3299&start=10&hili ... ture+error
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
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
-
- Posts: 12
- Joined: Sun Oct 07, 2018 6:00 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: 38D2697C7838-0522180924
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
Re: Quadrature Error with DYN4 Spindle Servo
Must use the bko output on the drive and a relay. Had issues of the brake not released. The enable circuit on the dny4 sends the signal to the bko to release when motion is commanded. Maybe this is not the same problem but just putting it here.
Dale.
Dale.
-
- Posts: 372
- Joined: Fri Jan 10, 2014 11:29 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Howard, PA
Re: Relay Switching & Z Axis Brake Conflict with Spindle
If you turn off power to the drive that is repeating the encoder signal, you will get an encoder error.
Either don't turn off the drive, or ignore the error(s) with parameters 332-335.
If the Z brake is causing noise issues, connect a snubber (diode) to clamp the brake coil flyback voltage.
-
- Posts: 25
- Joined: Wed Dec 05, 2018 5:08 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: UK
Re: Quadrature Error with DYN4 Spindle Servo
I have done some more testing and it has nothing to do with the brake or relays, the only way i can get it to not make the error is press cycle start just after reset like in this video i have just posted to youtube.
https://www.youtube.com/watch?v=nkQBrEUMfF8
https://www.youtube.com/watch?v=nkQBrEUMfF8
Phil - UK - Acorn CNC12 Pro
-
- Posts: 372
- Joined: Fri Jan 10, 2014 11:29 am
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: Yes
- Oak CNC controller: Yes
- CNC Control System Serial Number: none
- DC3IOB: Yes
- CNC12: Yes
- CNC11: Yes
- CPU10 or CPU7: Yes
- Location: Howard, PA
Re: Quadrature Error with DYN4 Spindle Servo
Set parameters 334 and 335 to 255.
-
- Posts: 25
- Joined: Wed Dec 05, 2018 5:08 pm
- Acorn CNC Controller: Yes
- Allin1DC CNC Controller: No
- Oak CNC controller: No
- CNC Control System Serial Number: none
- DC3IOB: No
- CNC11: No
- CPU10 or CPU7: No
- Location: UK
Re: Quadrature Error with DYN4 Spindle Servo (FIXED)
Thank you that has fixed the issue i just hope it will not create other problems down the road.
Many Thanks
Phil
Phil - UK - Acorn CNC12 Pro
-
- 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: Quadrature Error with DYN4 Spindle Servo
I've been gone a couple of days...
Describe the machine?
I assume you are trying to use a DMM DYN4 and a motor as a spindle drive?
Did you tell DMM at the time of order you needed it to work this way?
Did you get the schematic sheet to wire it up as a spindle motor?
What kind of cable did you use between Acorn Encoder DB9 and the DYN4 DB9?
Are you using 120VAC to feed DYN4 or 240VAC?
Did you go to CNC12's PID screen and note the spindle encoder pulses?
I work with DMM and their drives so I am interested in hearing more. I can't "SEE" what you see so need more pieces of the puzzle.
Marty
Describe the machine?
I assume you are trying to use a DMM DYN4 and a motor as a spindle drive?
Did you tell DMM at the time of order you needed it to work this way?
Did you get the schematic sheet to wire it up as a spindle motor?
What kind of cable did you use between Acorn Encoder DB9 and the DYN4 DB9?
Are you using 120VAC to feed DYN4 or 240VAC?
Did you go to CNC12's PID screen and note the spindle encoder pulses?
I work with DMM and their drives so I am interested in hearing more. I can't "SEE" what you see so need more pieces of the puzzle.
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