Limit Switches, EStop and Spindle
22 Jan 2021 13:08 #196217
by Clive S
Replied by Clive S on topic Limit Switches, EStop and Spindle
Just a thought did you say some ware that you had 2 P/port if so are you look at the wrong one in hal show
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
22 Jan 2021 13:11 #196218
by tommylight
Replied by tommylight on topic Limit Switches, EStop and Spindle
His motors are working, only inputs are not, but the answers we are getting from him are of much help.
Explain what you did, preferably with pictures.
Explain what you did, preferably with pictures.
Please Log in or Create an account to join the conversation.
22 Jan 2021 13:12 #196219
by Marsbar
Replied by Marsbar on topic Limit Switches, EStop and Spindle
Yes there are two, but I'm only using the primary one
For good measure, I checked the pin 10 on the port grounded against the casing of the secondary one - but nothing from Hal show
For good measure, I checked the pin 10 on the port grounded against the casing of the secondary one - but nothing from Hal show
Please Log in or Create an account to join the conversation.
- tommylight
- Away
- Moderator
Less
More
- Posts: 19209
- Thank you received: 6438
22 Jan 2021 13:18 #196223
by tommylight
Replied by tommylight on topic Limit Switches, EStop and Spindle
Check pin 10 on both ports.
Please Log in or Create an account to join the conversation.
22 Jan 2021 13:21 #196225
by Marsbar
Replied by Marsbar on topic Limit Switches, EStop and Spindle
Yep, checked both ports just in case.
Nothing from Hal show.
Thinking of ordering a different parallel port.
Nothing from Hal show.
Thinking of ordering a different parallel port.
Please Log in or Create an account to join the conversation.
- Todd Zuercher
- Offline
- Platinum Member
Less
More
- Posts: 5007
- Thank you received: 1441
22 Jan 2021 19:00 #196262
by Todd Zuercher
Replied by Todd Zuercher on topic Limit Switches, EStop and Spindle
Check with a DVM for voltage on pin10 to ground (directly at the port). Should be 3.3v or 5v. (PS are you checking directly at the parallel port or on the end of the cable? Could be a bad cable.)
If you don't have anything, you might need an external pull up. Shouldn't be nessisary, but I've had one parallel port card that needed it. If you can't get any reading even with the external pull up, then something is broken.
(PS are you checking directly at the parallel port or on the end of the cable? Could be a bad cable.)
If you don't have anything, you might need an external pull up. Shouldn't be nessisary, but I've had one parallel port card that needed it. If you can't get any reading even with the external pull up, then something is broken.
(PS are you checking directly at the parallel port or on the end of the cable? Could be a bad cable.)
Please Log in or Create an account to join the conversation.
24 Jan 2021 11:36 - 24 Jan 2021 11:47 #196399
by aleksamc
Replied by aleksamc on topic Limit Switches, EStop and Spindle
1) As I know HAL Show doesn't have realtime reload. I don't see changing of the variable in it.
Insteat of HAL Show I use HAL Meter.
Try HAL Meter for this reason.
2) As for inductive sensors they could not support resistor connection because of lack of the power.
In the past tried to connect inductive sensor in parallel of PLC input and Relay Coil. I was insuccesful in this. PLC input doesn' saw the change of inductive sensor. So only Relay Coil or PLC Input. In your situation you are doing the same but only with resistor (not inductance).
So as Summary:
-use hal Meter to look the state of variable
- to change that variable use short wire between P10 and GND. It's possible that you have damaged your P10 input, so reconfigure to P9.
- if you have succeded then buy NPN sensors and that one live for arduino.
- else if not, then I don't know what, maybe buy another board for this
- else if not, then don't use e-stop and limit switches and try to use without them. On my CNC 2 years I succesfully work without any limit switch and E-stop is only for button Turn-on. If you know how to work on CNC router, you don't need any limits and E-stops.
Insteat of HAL Show I use HAL Meter.
Try HAL Meter for this reason.
2) As for inductive sensors they could not support resistor connection because of lack of the power.
In the past tried to connect inductive sensor in parallel of PLC input and Relay Coil. I was insuccesful in this. PLC input doesn' saw the change of inductive sensor. So only Relay Coil or PLC Input. In your situation you are doing the same but only with resistor (not inductance).
So as Summary:
-use hal Meter to look the state of variable
- to change that variable use short wire between P10 and GND. It's possible that you have damaged your P10 input, so reconfigure to P9.
- if you have succeded then buy NPN sensors and that one live for arduino.
- else if not, then I don't know what, maybe buy another board for this
- else if not, then don't use e-stop and limit switches and try to use without them. On my CNC 2 years I succesfully work without any limit switch and E-stop is only for button Turn-on. If you know how to work on CNC router, you don't need any limits and E-stops.
Last edit: 24 Jan 2021 11:47 by aleksamc.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
27 Jan 2021 07:18 #196705
by Mike_Eitel
Replied by Mike_Eitel on topic Limit Switches, EStop and Spindle
Maybe silly question
On the GND of your inputs you use a red cable. Is this positiv voltage (and high enough for your optocoplers to see it) Why not black for ground?
On the GND of your inputs you use a red cable. Is this positiv voltage (and high enough for your optocoplers to see it) Why not black for ground?
Please Log in or Create an account to join the conversation.
27 Jan 2021 08:19 #196710
by Marsbar
Replied by Marsbar on topic Limit Switches, EStop and Spindle
Hi Mike,
I'm guessing you are referring to the the pin 10 - Estop - GND wiring.
Just happened to have a red cable already attached to the Estop switch.
I'm currently waiting for a different Parallel Port Card to arrive as all the fault chasing and testing seem to be pointing in the direction of a dodgy port.
I'm guessing you are referring to the the pin 10 - Estop - GND wiring.
Just happened to have a red cable already attached to the Estop switch.
I'm currently waiting for a different Parallel Port Card to arrive as all the fault chasing and testing seem to be pointing in the direction of a dodgy port.
Please Log in or Create an account to join the conversation.
- Mike_Eitel
- Offline
- Platinum Member
Less
More
- Posts: 1150
- Thank you received: 184
27 Jan 2021 08:25 #196712
by Mike_Eitel
Replied by Mike_Eitel on topic Limit Switches, EStop and Spindle
No
I ask for the screw connection GND. Is this ground of the switches and do you "input" enough voltage/current for the inputs?
I ask for the screw connection GND. Is this ground of the switches and do you "input" enough voltage/current for the inputs?
Please Log in or Create an account to join the conversation.
Time to create page: 0.132 seconds