Resurrecting an old project

Moderators: TomKerekes, dynomotion

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: Resurrecting an old project

Post by TomKerekes » Mon Jan 27, 2020 5:27 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

FlyingScot
Posts: 9
Joined: Wed Jan 08, 2020 11:43 pm

Re: Resurrecting an old project

Post by FlyingScot » Mon Jan 27, 2020 6:25 pm

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

User avatar
TomKerekes
Posts: 2676
Joined: Mon Dec 04, 2017 1:49 am

Re: Resurrecting an old project

Post by TomKerekes » Mon Jan 27, 2020 6:55 pm

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.
Regards,

Tom Kerekes
Dynomotion, Inc.

FlyingScot
Posts: 9
Joined: Wed Jan 08, 2020 11:43 pm

Re: Resurrecting an old project

Post by FlyingScot » Mon Jan 27, 2020 7:19 pm

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

FlyingScot
Posts: 9
Joined: Wed Jan 08, 2020 11:43 pm

Re: Resurrecting an old project

Post by FlyingScot » Mon Jan 27, 2020 9:19 pm

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

Post Reply