Limit Switches, EStop and Spindle

More
5 years 9 months ago #196082 by tommylight

Marsbar wrote: I just tried the circuit but all it does is limit the voltage change to something tiny.
with the existing setup I get a voltage drop from around 9 volts to close to 0.

Diode is reversed.

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

More
5 years 9 months ago #196088 by Marsbar
Swopped the Diode round and got a 0 to 1 volt rise when the switch is activated.
I'm assuming the previous wiring is correct without the resistor & diode as this gives near to 9 volts.

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

More
5 years 9 months ago #196120 by tommylight
What is the voltage on the other inputs that are not connected to anything?

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

More
5 years 9 months ago #196128 by aleksamc
Simply buy NPN sensors and don't waste your time.

Also I didn't anderstand about

I tried your suggestion with the EStop line of code but then I cannot toggle the GUI power switch rendering everything inactive!

Now your E-stop switch is working fine?

If you always get 10V nevertheless, your variable "value" changes, it seems, that analog output is defective.

Then if you want to controll speed from LCNC, try to use discreate PWM signal to your freaquency drive.
Freaquency drive also could be operated by PWM signal (not analog output)

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

More
5 years 9 months ago #196149 by tommylight

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

More
5 years 9 months ago #196183 by Marsbar
Hi tommylight,

I get 9 volts

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

Time to create page: 0.183 seconds
Powered by Kunena Forum