Swits problems
- Frederik
- Offline
- New Member
- Posts: 18
- Thank you received: 0
Parallel Port Setup: pin ll: Both limit + Home.
There is nothing called: include Hal or Advanced config Options.
Next page-X Axis Config: Home location: 0
Table travel:-24 two 24
Home switch location: 0.0
Home switch velocity: 0.05
Home Latch direction: Sami
So I save, goes into the program, there will be an arrow Chal X, but I can do nothing, there will be a warning in the lower right-hand corner: "joint 0 on limit switch error"
What do I do so?
Please Log in or Create an account to join the conversation.
- andypugh
- Offline
- Moderator
- Posts: 23182
- Thank you received: 4869
So I save, goes into the program, there will be an arrow Chal X, but I can do nothing, there will be a warning in the lower right-hand corner: "joint 0 on limit switch error"
What do I do so?
That's a good start, I think.
You need to go back into Stepconf and invert the pin. (little box next to it in the parallel port setup).
However, where is the switch mounted on the axis? You seem to be configuring it with the switch in the middle of travel (0) and a range of -24 to 24. That can't work with a shared limit/home switch as you will keep tripping the limit when you get to the middle of the table.
If you are using a combined limit/home switch then the switch needs to be outside the normal working range of the axis.
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1744
- Thank you received: 288
also list your parrell port pin assignment
i presume you are using stepconf to assign pins .
joint 0 on limit switch error is , the joint 0 limit switch is active ( could be the pin needs to be inverted ) depending if your switches are normaly closed rather than normaly open
this can be checked in AXIS using the hal configuration windows ( under the machine tab )
joint 0 = X joint 1 = Y etc....
home switch location values are stored in the ini file. and can be hand edited usiing gedit for example
parrell port setup is in the HAL file and again can also be hand edited ..
Please Log in or Create an account to join the conversation.
- Frederik
- Offline
- New Member
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Frederik
- Offline
- New Member
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- Frederik
- Offline
- New Member
- Posts: 18
- Thank you received: 0
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1744
- Thank you received: 288
you do seem to have the pin selected correctly
so selecting within hal configuration .,.. pins ... and then parport select the watch window and the pin for example pin-11-in-not . if you then toggle the switch manualy the watch pin should change state
are your switches connected to ground and the port pin ?
Please Log in or Create an account to join the conversation.
- Frederik
- Offline
- New Member
- Posts: 18
- Thank you received: 0
But now I have set x to 0 and Y to 0, so I have to manually run indtilvidere.
But if you find solution later I would be super happy. A thousand thanks for now and good weekend/Frederick
Please Log in or Create an account to join the conversation.
- cncbasher
- Offline
- Moderator
- Posts: 1744
- Thank you received: 288
how are your switches wired ?
are all your switches connected to one pin i.e x y z ?
or are the x and y switches on seperate pins?
Please Log in or Create an account to join the conversation.
- Frederik
- Offline
- New Member
- Posts: 18
- Thank you received: 0
I have just installed X and Y.
Z and Stop is connected directly to the 0.
X is fitted with two sw in series normal closed (NC), start/stop, from Board X through sw and back to 0. And the same is true of Y, and there is a signal through the wires, it is also tested. But all exit doors work perfect.
Please Log in or Create an account to join the conversation.