Howto: Reset switch to trigger output pulse?

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

Howto: Reset switch to trigger output pulse?

Postby matth » Tue Apr 07, 2020 12:22 pm

Hi Guys,

I would like to be able to use a switch to activate the over-ride input on the safety circuit on the UB1 board I am using.
I would also like to be able to use a double switch and use the second set of contacts to initiate a short output pulse on 4 outputs.

This is for the Alarm Clear lines on my servo drives.

I presume I need a Marco loop monitoring an input that will then trigger a short pulse (>100ms) on the selected outputs (one for each drive).

I could do this directly with the wiring but I thought that if I had the software doing it then I could tie in the main onscreen Reset button to also trigger the output.

The problem is I am a complete dummy when it comes to any sort of code.
Can someone give me some example code to work with?
matth
 
Posts: 7
Joined: Thu Mar 12, 2020 1:34 pm

Re: Howto: Reset switch to trigger output pulse?

Postby matth » Tue Apr 07, 2020 12:35 pm

Here's the semi rebuilt cab:

2020-04-07 13.24.56.jpg


And a crude diagram of the reset logic I'd like:

2020-04-07 13.31.58.jpg
matth
 
Posts: 7
Joined: Thu Mar 12, 2020 1:34 pm


Return to Ask a question from support here

Who is online

Users browsing this forum: No registered users and 24 guests