# Delayed shutdown of the 24v relay (aftermarket spindle)

**URL:** <https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375>\
**Category:** Spindle/VFD (Aftermarket/Unsupported)\
**Created:** [July 10, 2023, 4:20pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375 "2023-07-10T16:20:29Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 10, 2023, 4:20pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/1 "2023-07-10T16:20:29Z")

</div>

Hello everybody.  
I use 2.2kw spindle and huanyang vdf.  
I control the suction and the cooling pump with the 24v relay of the vfd  
I am adding water cooling radiators to the circuit.  
I was wondering if it is possible to easily delay this relay or if I need to add a time delay relay.  
My idea is that the coolant pump still runs a bit after the spindle stops.  
I couldn’t find any info on this, if anyone has done this.  
THANKS

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 10, 2023, 6:07pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/2 "2023-07-10T18:07:03Z")

</div>

Hey Fred,

with my VFD, the [Omron MX2](https://industrial.omron.co.uk/en/products/mx2), which is practically identical to [Hitachi WJ200](https://www.hitachi-ies.co.jp/english/products/inv/wj200/index.htm), this is easily possible by programming the intelligent output to have a transition delay:

 ![Omron_MX2_Manual __4-6-4__ Output_Signal_ON-OFF_Delay_Function__P227_PDF253](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/8/9/8980340d297c63be8cfbe0820d88a605bd51fdd3.png)  
– Source: [Omron MX2 Manual](https://assets.omron.eu/downloads/manual/en/v5/i570_mx2_users_manual_en.pdf)

I have studied the Huanyang HY Series manual, and although they offer a timer, it is not easy to make it a transition timer for the end of the RUN phase to simply let the Multi-output on a little longer. At least not what my reflection has brought me to so far 🙂

You say you use the 24 V output so you mean PD050 (Multi-output “DRV”) I assume, to switch both dust collection and water coolant pump on and off, so I assume you set PD050 to “01” (output is active when VFD is in RUN mode).

The timers the Huanyang HY offers can be used together with any of its Multi-outputs by setting PD050–PD053 to 18 (for Timer 1) or 19 (for Timer 2) but it would make the selected output active for the duration programmed in PD063 (for Timer 1) or PD064 (for Timer 2). You would choose another output (e.g. FA/FB/FC) and wire it in a way that it switches an external relay that is in parallel to your first relay control, which means, it would make the dust collection and the water coolant pump on for the duration of the timer, but not before and not after, but independently of the state of the other relay output. The counter is activated by triggering a Multi-input which you need to choose from Multi-Inputs 1-6 (PD044–PD049) and set it to 12 (for Timer 1 start) or 13 (for Timer 2 start), but you would then need an event to trigger it and for this, you would need another more output and to what would you program it? This is where I am with trying to think (in the heat) 🙂

At the moment, I think if I had bought the Huanyang, I would implement a delay to let the water pump on for a few minutes more with the external relay, by attaching it to a NE555 universal programmable timer. If you are not a pcb solderer, you could look for “[relay delay NE555](https://metager.org/meta/meta.ger3?eingabe=relay%20delay%20NE555&focus=web&mgv=468b1cb8ecbc4793756f22a54fab806a)” in the WWW [or at ebay](https://www.ebay.fr/sch/i.html?_from=R40&_trksid=m570.l1313&_nkw=delay+relay+ne555&_sacat=0) for modules with screw terminals 😉

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 10, 2023, 7:27pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/3 "2023-07-10T19:27:03Z")

</div>

Hi Aiph5u.  
I use FA/FB/FC PD052:2  
and this relay [Industrielles Halbleiterrelais Ssr 40A mit Schutzflagge Ssr-40DA 40A DC-Steuerung AC Hfmqv | Fruugo CH](https://www.fruugoschweiz.com/industrielles-halbleiterrelais-ssr-40a-mit-schutzflagge-ssr-40da-40a-dc-steuerung-ac-hfmqv/p-97278113-204743885?language=de)  
If I’m not talking nonsense it’s 24v and the NE555 is 12 v

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 10, 2023, 7:28pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/4 "2023-07-10T19:28:46Z")

</div>

sorry the NE 555 also exists in 24v

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 10, 2023, 7:46pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/5 "2023-07-10T19:46:03Z")

</div>

Hey Fred,

the NE555 is “probably the most popular integrated circuit ever made” [[1]](https://en.wikipedia.org/wiki/555_timer_IC) 🙂

The chip itself usually works with up to 16 V, but if you buy a module that says “24 V supply” or “24 V input power”, I would assume it has a [voltage regulator](https://en.wikipedia.org/wiki/Voltage_regulator#Linear_regulators) onboard to drive the NE555. The 0–30 V DC or 0–250 V AC “load power” usually mean the voltage that the onboard relay can switch.

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 10, 2023, 7:58pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/6 "2023-07-10T19:58:50Z")

</div>

I’ll try that, do you have a wiring diagram?

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 10, 2023, 8:15pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/7 "2023-07-10T20:15:46Z")

</div>

Hey Fred,

not at the moment, no time this evening, if you want to buy one of the modules at ebay I don’t know how they are wired to control the start of the delay. I will see if I can help you tomorrow, okay?

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 10, 2023, 8:46pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/8 "2023-07-10T20:46:28Z")

</div>

No problem it’s late for me.  
Thank

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 11, 2023, 10:41am UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/9 "2023-07-11T10:41:09Z")

</div>

Hi.  
I found that.

> **[Retardateur Relais Autobloquant Délai d’arrêt Interrupteur Super 55...](https://www.fruugoschweiz.com/retardateur-relais-autobloquant-delai-d%E2%80%99arret-interrupteur-super-555-minuterie-dc/p-178074030-380321019?language=fr&ac=ProductCasterAPI&asc=pmax&gclid=CjwKCAjw2K6lBhBXEiwA5RjtCU5stIezRq6u5jxJ6FeSZsR3vtgYbRjnCt-F7XLeozY5jOe-2UAt3RoCsvYQAvD_BwE)**
>
> Achetez Retardateur Relais Autobloquant Délai d’arrêt Interrupteur Super 555 Minuterie DC. Lun des nombreux articles disponibles dans notre rayon {1} ici chez Fruugo !

I think it should be fine.  
To connect it I thought in series between the vdf and the relay which controls the 230v. Just wondering for the x1, maybe bridging from the +

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 11, 2023, 12:59pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/10 "2023-07-11T12:59:48Z")

</div>

Hey Fred,

I was just ready to start to have a look at how those modules at ebay are possibly wired, when I saw your posting and your link:

Probably any electronics engineer will say it’s total overkill to use a [microcontroller](https://en.wikipedia.org/wiki/Microcontroller) like the [STC 8G1K08](https://www.stcmicro.com/stc/stc8g1k08.html) (a [Intel MCS-51 (8051)](https://en.wikipedia.org/wiki/Intel_8051) specimen) instead of a [programmable interval timer](https://en.wikipedia.org/wiki/Programmable_interval_timer) like the [NE 555](https://en.wikipedia.org/wiki/555_timer_IC), but if you get a µC-based module at this price! 🙂

In fact, either way, you would not really need the [relay](https://en.wikipedia.org/wiki/Relay) cascade because a NE 555 module with its driver transistor would already be able to drive the control input of your [SSR](https://en.wikipedia.org/wiki/Solid-state_relay) directly, and a µC delay would too, but yes, if you depend on using ready-made modules with screw terminals, I would switch the control input of your SSR with the onboard relay of the delay module. At least if your load to be switched (dust collector, pump, etc.) consumes more than the ampères that the module can switch (10 A here for the blue electromagnetic relay on the module).

Please report how it works.

Making a circuit diagram for a NE-555-based delay for a relay was on my list anyway, but if you have success earlier, please let us know! 🙂

> [@Fred11](#):
>
> Just wondering for the x1, maybe bridging from the +

That’s the problem with the no-name china modules where you have neither a datasheet nor support.

But if you search for TRM01 module, some vendors have different function descriptions which may help:

- [DC 5V/12V/24V TRM01 Time Delay Relay Switch Module Self-Locking Trigger Delay - Ebay](https://www.ebay.com/itm/404133468407)

It seems always auto-translated from chinese anyway though ☹

Don’t forget this is a microcontroller so it is far more difficult to guess (or to disassemble or decompile) what the manufacturer programmed, than looking at the circuit of a programmable interval timer like the NE 555

I would try function 2 and feed x1 with DC+ input

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 11, 2023, 4:56pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/11 "2023-07-11T16:56:53Z")

</div>

I’m not sure I understand, the link I put for the self-timer is marked as being a super 555.

The SSR is already installed and allows me to manage the 230v, the vdf would have done it alone?

Indeed I am not able to solder printed circuits.

For the 10A It should be fine since the VDF relay is also 10A.

Yes with Chinese equipment it’s a bit of a lottery but they make what you order them 😀.  
Finally my spindle and my vdf are Chinese and they work.

For the function are you sure I would have said the F4 friends it is not very clear to me 🤔.

And for the output I would say NO and COM.

If I order this model is that I manage to make it all work, I would obviously come back to keep you informed and that it can be useful to someone else.

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 11, 2023, 5:48pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/12 "2023-07-11T17:48:42Z")

</div>

Hey Fred,

> [@Fred11](#):
>
> super 555

this seems to be a marketing advantage, the module does what usually a NE 555 does, but internally it makes it with a microcontroller. They seem to assume that you would search for “555”, and they were right! The use of a microcontoller allows it to be more versatile: It has more modes that you can simply switch between (the four functions you can select with the button and where the four LEDs 1-4 on the module pcb indicate which one you have selected), while with an ordinary NE 555, you would have to alter the circuit / the components or wiring of the module if you want to have another function. So there’s nothing wrong if you use such a µC-based module. It could possibly be even simpler since I am not sure how the NE 555 modules available are exactly wired and it could be necessary to alter the circuit.

I will be there to help you, I just don’t always have the time immediately. but electronics is fun for me since childhood

> [@Fred11](#):
>
> For the function are you sure I would have said the F4 friends it is not very clear to me 🤔.

what do you mean with this?

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 11, 2023, 6:42pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/13 "2023-07-11T18:42:02Z")

</div>

No worries about the delay, I already appreciate the helping hand. Thanks for that  
If I sent the result of my search fast enough it’s because I like to find solutions to my problems and if I find me, someone else doesn’t need to do it.

Given what you just told me I think I’m going to choose this module, I don’t know how to modify these circuits and I’m going to damage everything

For function F2 or F4 by reading what is written on the site I would have chosen function 4 and not 2, but you seem to be much better at mastering this kind of thing than me

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 11, 2023, 6:51pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/14 "2023-07-11T18:51:44Z")

</div>

Hey Fred,

I agree.

I am not sure with the functions either as the auto-translated chinese is not trivial. But you can experiment. This is easier as you probably don’t need to alter a circuit with this module.

I will try to find the time to design and draw a “normal” NE 555-based delay circuit diagram anyway (will post anything) but I have so much to do so you could be faster.

Feel free to ask questions.

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 14, 2023, 6:04pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/15 "2023-07-14T18:04:49Z")

</div>

Everything is ordered, all you have to do is wait

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 28, 2023, 5:49pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/16 "2023-07-28T17:49:51Z")

</div>

Hi.  
That’s it I received the TRM01.  
I tried plugging it in today.  
Obviously It would have been too easy for it to work the first time.  
I managed to make it work, to choose the function but it does not start what is plugged in after as if there was no power.  
After some research I think you have to do as in the picture.  
I will test that tomorrow.

 ![s-l1600](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/3/c/3c331af237f6a10637a892c741f98b4a739aa154.jpeg)  
It’s not the same, I’m not the k1 or the display but I think the power supply principle is the same

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 28, 2023, 8:26pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/17 "2023-07-28T20:26:56Z")

</div>

Hey Fred,

welcome back!

I received a lot of electronic components from my supplier too. I ordered nice DIN-rail cases too, with screw terminals. I plan a single and a double relay with NE 555-based delay for DIN rail. I am testing on breadboard, and am making schematics. I plan to make a pcb for the [Omron G4A](https://components.omron.com/us-en/products/relays/g4a) relays and ICM7555. Unfortunately I have also a lot of other things to do so my progress is not as fast as I’d want :).

I think the problem with the chinese timer delay modules that I don’t know as I never ordered one, is how to make it be triggered by the cut of the power. In my own design, of course I know how to implement that, but I don’t know how they implement it on the chinese modules. I see that they have a switch to trigger the start of the delay, but what you need instead, is considering that you have the 24 V power on from the VFD relay output as long as the VFD is in RUN mode, and when the spindle is stopped, the power of the VFD relay output is cut AND THEN THIS SHALL trigger the start of the delay in a way to let the 24 V remain on for the delay time.

Your SSR trigger input should be at the **output** of the blue relay on the module, it’s just you got to experiment what to do with the **trigger input** of the timer module. I would start with bridging it with the DC+ input and see what happens.

By the way, I had a look at the document on [Buildbotics.com](http://Buildbotics.com) website where they propagate the use of a [SSR relay](https://en.wikipedia.org/wiki/Solid-state_relay) and especially the [FOTEK SSR-40](https://www.fotek.com.tw/en-gb/product-category/143), which everyone seems to use, which is [this document](https://buildbotics.com/solid-state-relay/). Why do they use a SSR, and not an electromagnetic relay like Omron G4A? I think it’s because SSR’s need only a very small trigger current, and as you maybe know, on Buildbotics and Onefinity Controllers, the [25-pin I/O port](https://buildbotics.com/manual-v1-0/#25pinioport)’s pins are directly the pins of the internal [AVR microcontroller](https://en.wikipedia.org/wiki/AVR_microcontrollers), with no optocouplers (as on Masso), no driver transistors to protect these inputs and to provide more current for triggering things, so these AVR microncontroller outputs can only deliver extremely low currents. The relay output of a VFD should be able give a little more, but is also very limited, so connecting a SSR with its low input current needed does not require additional parts. I think that’s why they propagate its use.

[SSRs](https://en.wikipedia.org/wiki/Solid-state_relay) have other advantages and are sometimes a good choice, but they also have a lot of disadvantages compared to [electromagnetic relays](https://en.wikipedia.org/wiki/Relay).

But be aware that there are mainly counterfeits of FOTEK SSR-40 out there. When I tried to look for one, I was not able to find an original. All were counterfeits, which means they can burn up on much less power than rated on nameplate! [See here for details](https://protosupplies.com/inferior-counterfeit-fotek-ssr-25-solid-state-relays-on-the-market/) (link provided by Tom @TMToronto, many thanks!)

Examples for alternatives:

- [CARLO GAVAZZI Factory number RA4850-D12](https://www.reichelt.de/de/en/solid-state-relay-control-voltage-2-32-vdc-load-voltage--ra-4850-d12-p22692.html?trstct=pos_6&nbc=1&&r=1)
- [CARLO GAVAZZI Factory number RM1A23D25](https://www.reichelt.de/de/en/semiconductor-relay-industrial-housing-25-a-230-v-ac-rm1a23d25-p79464.html?GROUPID=7626&START=0&OFFSET=16&LANGUAGE=EN&&r=1) (sale)

But I would always use no SSR but better an electromagnetic relay.

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 28, 2023, 10:27pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/18 "2023-07-28T22:27:42Z")

</div>

Indeed the fact that the vfd relay is cut may be a problem.  
It is on the vdf relay that it would be necessary to intervene, or to have a separate 24v power supply.  
I’ll try my idea and see if it works or not.

---

<div class="post-metadata">

**Author:** ![349iq2345](https://avatars.discourse-cdn.com/v4/letter/3/bb73d2/32.png) [@349iq2345](https://forum.onefinitycnc.com/u/349iq2345)\
**Post date:** [July 28, 2023, 11:43pm UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/19 "2023-07-28T23:43:39Z")

</div>

Hey Fred,

if you wire the relay output FA/FB/FC of the HY VFD the way most people do to switch your SSR, you feed it from a +24 V screw terminal output on the VFD. This output should have permanently 24 V. Whether or not it is enough to drive the module I don’t know, I haven’t found any current rating in the Huanyang HY series manual. Cheap chinese VFD manuals are quite incomplete.

---

<div class="post-metadata">

**Author:** ![Fred11](https://avatars.discourse-cdn.com/v4/letter/f/51bf81/32.png) [@Fred11](https://forum.onefinitycnc.com/u/Fred11)\
**Post date:** [July 29, 2023, 12:48am UTC](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375/20 "2023-07-29T00:48:44Z")

</div>

I made a diagram it’s easier for me  
Here is my current wiring

 ![branchement actuel](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/1/a/1a8b93d01f9acb9767bf296701049b7309b5486c.jpeg)

Are you suggesting something like this?

 ![branchement a faire](https://us1.discourse-cdn.com/flex022/uploads/onefinitycnc/original/3X/3/5/351d7b4fea1717959d5a8c9bc055c00fb50c6c7b.jpeg)  
I’m really not on wiring 😀

I wonder if the 24 v is not cut once the pin stops

[Next page](https://forum.onefinitycnc.com/t/delayed-shutdown-of-the-24v-relay-aftermarket-spindle/21375.md?page=2)
