relays always on 5i25 with extra bit file ?

More
19 Jun 2016 14:38 #76284 by tkamsker
i created an bit file to not need to solder an cable for an bob straight forward. everything works ,
spindle on off speed (the left relais seem tho have a contact problem which i need to check but not relevant for that issue )
so when i exit linuxcnc

the relays jumps to on and the spindle runs full speed !!
so my question how do i debug that or better how do i set the gpio output to standard low ?

where is that behavior coming from ? (the bob is an ionicube4 from granite )

any hints would help me thx thomas

Please Log in or Create an account to join the conversation.

More
19 Jun 2016 14:44 #76285 by PCW
5I25 outputs are high when idle so this is not something you can easily
fix in software/firmware.

Relays and spindle enables should be either active low or
(better) enabled by a charge pump/watchdog

Please Log in or Create an account to join the conversation.

More
19 Jun 2016 14:53 #76286 by tkamsker
Wow that was fast ,..
i started with the pncconf for basic and
i connected them to an gpio pin and this pin will then always be high when linuxcnc is not in charge
if linuxcnc is running the relays and such behaves so how do i overcome that high when idle ?

i think the config is working ok when linuxcnc is running (like it did when using the parallel board ) but maybe that means i have to switch the whole logic in the relays right ? but then the spindle will run as soon the machine is powered on and the the linux pc is not running ?
how are the others doing that ? or i am now totally mistaken ? thank you for your very fast answer
thx thomas

Please Log in or Create an account to join the conversation.

More
19 Jun 2016 15:02 #76287 by PCW
It normally not an issue as things like spindles should have a charge pump
and all of our breakouts use active low for enables

All 5I25 pins will be high on startup or watchdog bite

Please Log in or Create an account to join the conversation.

More
20 Jun 2016 15:23 #76320 by cncbasher
one way is to use an additional relay , as an enable in series with the spindle fwd/rev common line ,
so if the relay input goes high then the relay contacts are then oc .

Please Log in or Create an account to join the conversation.

Moderators: cmorley
Time to create page: 0.068 seconds
Powered by Kunena Forum