Hi Art,
SWE would not normally be appropriate as that comes on after KFLOP/Kanalog Boots not when Mach3/KMotionCNC is initialized and the servos are enabled.
I don't have any idea why a wiring a relay would cause a reset, reboot, or disconnect. Any relay with a coil should have a reverse diode to avoid a high reverse voltage (spark) when it is turned off.
You might turn off a KFLOP LED so you can determine if KFLOP is being reset (and the LED would be turned back on) or the PC is disconnecting the USB.
Resurrecting an old project
Moderators: TomKerekes, dynomotion
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Resurrecting an old project
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 9
- Joined: Wed Jan 08, 2020 11:43 pm
Re: Resurrecting an old project
Hi Tom
I forgot that I had changed from SWE to Fet 0 O/P and I have a diode across the relay. I have also moved the relay from the kflop enclosure to be close to the drives.
I am not sure what you mean by turning off a kflop led?
Regards
Art
I forgot that I had changed from SWE to Fet 0 O/P and I have a diode across the relay. I have also moved the relay from the kflop enclosure to be close to the drives.
I am not sure what you mean by turning off a kflop led?
Regards
Art
- TomKerekes
- Posts: 2676
- Joined: Mon Dec 04, 2017 1:49 am
Re: Resurrecting an old project
Hi Art,
Placing
ClearBit(46);
In your Initialization C Program will turn off one of the LEDs on KFLOP. If the LED comes back on you will know KFLOP rebooted.
Placing
ClearBit(46);
In your Initialization C Program will turn off one of the LEDs on KFLOP. If the LED comes back on you will know KFLOP rebooted.
Regards,
Tom Kerekes
Dynomotion, Inc.
Tom Kerekes
Dynomotion, Inc.
-
- Posts: 9
- Joined: Wed Jan 08, 2020 11:43 pm
Re: Resurrecting an old project
Hi Tom
Yep Kflop rebooted relay dropped out.
Going to try a separate 5v power supply incase there is a drop in 5v when relay triggers. (Its not visible on meter and I don't have my scope handy)
Art
Yep Kflop rebooted relay dropped out.
Going to try a separate 5v power supply incase there is a drop in 5v when relay triggers. (Its not visible on meter and I don't have my scope handy)
Art
-
- Posts: 9
- Joined: Wed Jan 08, 2020 11:43 pm
Re: Resurrecting an old project
Thanks Tom
Problem solved it was due to using a dual power supply 5v and 24v.
Now using individual supplies and all seems well.
Regards
Art
Problem solved it was due to using a dual power supply 5v and 24v.
Now using individual supplies and all seems well.
Regards
Art