Output triggers and LED status on startup

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

Output triggers and LED status on startup

Postby bjornhallberg » Tue Sep 05, 2023 12:29 pm

I have a relay->contactor that turns on my stepper motor power supply (a chonky, noisy and power hungry Cisco Catalyst 4500 2800W / Sony APS-172). My first thought was to have the power on whenever UCCNC was out of reset and / or the steppers were enabled.

While it technically works I have some questions.

First, when UCCNC is first started it seems to cycle the outputs that are triggered by the LED status, relays and contactor go on and off really fast. Tried linking the output trigger to LED 25 (reset) as well as LED 139 (EnableXAxis) and both give the same result. Is there a way to get around this so I don't end up damaging the power supply? Force these variables to be always off before startup or something? Some sort of macro that follows the reset button but requires an actual button click?

Second, if I understand UCCNC correctly, triggering a limit sensor, editing some settings and applying them etc will trigger a reset and disable the motor axis? Is there a way of changing this, so that for instance, the machine just stops without resetting, or disables the steppers but doesn't reset? I realize the answer is probably soft limits but nevertheless ...

Any other thoughts on how to cleverly integrate the contactor operation in a way that is automatic and doesn't cause unnecessary wear and tear?
bjornhallberg
 
Posts: 9
Joined: Sun Jun 21, 2020 9:05 am

Re: Output triggers and LED status on startup

Postby dezsoe » Tue Sep 05, 2023 1:03 pm

Use a charge pump relay to enable all other outputs (the power line for all other relays). By default the charge pump is on when the reset is cleared, but you can set it to be always on. Always on means that UCCNC is up and running, the outputs are set to their default value. Here you can find information about charge pump circuits. I usually build the 74HC14 circuit, but there are more simple circuits on the web.
dezsoe
 
Posts: 2093
Joined: Sun Mar 12, 2017 4:41 pm
Location: Csörög, Hungary

Re: Output triggers and LED status on startup

Postby ger21 » Tue Sep 05, 2023 3:46 pm

Second, if I understand UCCNC correctly, triggering a limit sensor, editing some settings and applying them etc will trigger a reset and disable the motor axis? Is there a way of changing this, so that for instance, the machine just stops without resetting, or disables the steppers but doesn't reset?

Setup your limits switches as Input triggers, and assign Cycle Stop to them. Do not enter any port and pin numbers for Limits on the Axes setup pages.
Gerry
UCCNC 2022 Screenset - http://www.thecncwoodworker.com/2022.html
ger21
 
Posts: 2714
Joined: Sat Sep 03, 2016 2:17 am

Re: Output triggers and LED status on startup

Postby bjornhallberg » Wed Sep 06, 2023 10:18 am

Good input, thanks! While I read up on charge pumps, I added the output pin for the relay to the startup and shutdown macro files as a temporary solution.
bjornhallberg
 
Posts: 9
Joined: Sun Jun 21, 2020 9:05 am


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 11 guests