UCCNC ETH300/UB1 Servo Alarm Setup

If you have a question about the software please ask it here.

UCCNC ETH300/UB1 Servo Alarm Setup

Postby pupdogg » Mon May 14, 2018 9:32 pm

I was provided the attached wiring diagram from the AC Servo manufacturer. I have the STEP/DIR and ENA capability working but am having issues trying to wrap my head around the ALARM input from the servo to the UB1 board. How would you advise configuring it inside UCCNC? Do I need to set it up as an input trigger tied to the E-STOP function? Also, wiring wise, I have the ALARM output from SERVO.P18 going to -> UB1.X210 and SERVO.P5 COMM pin to -> UB1.0V on the input side. Is that correct? Any detailed help would be greatly appreciated. Thank you!

Image
pupdogg
 
Posts: 1
Joined: Mon May 14, 2018 9:19 pm

Re: UCCNC ETH300/UB1 Servo Alarm Setup

Postby cncdrive » Mon May 14, 2018 10:16 pm

The drawing looks OK.
There are several ways to handle the alarm. If the alarm is a safety signal then you can attach it to the e-stop input in the UCCNC or to a limit input.
You can also attach the signal to an input trigger and attach it to call a Reset or Stop function.
The difference is that the e-stop and limit inputs are handled directly by the motion controller and the input triggers are handled on the software side. And the limit and e-stop input pins while active then you can't remove the reset in the software (except the limit if you override them.) and the input triggers are signal edge triggers, so you can remove the reset after it happened, because the signal happens only when the input changes logic state, then the trigger function is called once.
You could also write macroloop to monitor the alarm if it is not a safety signal and if it does not have to stop the machine, but you want to see when it happens then you could make a macroloop to e.g. attach a virtual LED on the screen or write a Status message etc.
cncdrive
Site Admin
 
Posts: 1855
Joined: Tue Aug 12, 2014 11:17 pm

Re: UCCNC ETH300/UB1 Servo Alarm Setup

Postby Weerasak » Tue May 15, 2018 5:02 pm

Code: Select all
Reference to the asked email.

"I’m really enjoying the UB1 breakout board but was having an issue trying to wrap my head around how to wire up my servo’s ALARM pin out into the UB1’s safety circuit? I’ve posted the issue on CNCDrive for public discussion as well at https://www.forum.cncdrive.com/viewtopic.php?f=4&t=1242. Any technical guidance you can provide would be greatly appreciated. The servo manufacturer advised wiring to X205 input where as I think I need to start with X103...is it true that if I solder the bridge underneath X103 that it should work as the ALM out is working off 5V? I’ve made a private video of my setup here and for time being I’m just testing with X axis and have the servos disengaged from the rack. Video here: https://youtu.be/5W_9eTyRxZM"


The information from the table below shows that the ALM (P18) output able to carry voltage/current up to 30V/50mA. So, you can benefit the safety circuit and overriding of UB1 board by connecting ALM (P18) to X103...X110.
Notice that solder bright for that input need to be soldered too.

Image
Weerasak
 
Posts: 5
Joined: Sun Mar 19, 2017 3:59 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: Google [Bot] and 1 guest

cron