Limit Switches, EStop and Spindle
- tommylight
-
- Away
- Moderator
-
Less
More
5 years 9 months ago #196082
by tommylight
Replied by tommylight on topic Limit Switches, EStop and Spindle
Diode is reversed.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.
Please Log in or Create an account to join the conversation.
5 years 9 months ago #196088
by Marsbar
Replied by Marsbar on topic Limit Switches, EStop and Spindle
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.
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.
- tommylight
-
- Away
- Moderator
-
5 years 9 months ago #196120
by tommylight
Replied by tommylight on topic Limit Switches, EStop and Spindle
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.
5 years 9 months ago #196128
by aleksamc
Replied by aleksamc on topic Limit Switches, EStop and Spindle
Simply buy NPN sensors and don't waste your time.
Also I didn't anderstand about
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)
Also I didn't anderstand about
Now your E-stop switch is working fine?I tried your suggestion with the EStop line of code but then I cannot toggle the GUI power switch rendering everything inactive!
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.
- tommylight
-
- Away
- Moderator
-
5 years 9 months ago #196149
by tommylight
Replied by tommylight on topic Limit Switches, EStop and Spindle
Please Log in or Create an account to join the conversation.
5 years 9 months ago #196183
by Marsbar
Replied by Marsbar on topic Limit Switches, EStop and Spindle
Hi tommylight,
I get 9 volts
I get 9 volts
Please Log in or Create an account to join the conversation.
Time to create page: 0.183 seconds