Swits problems

More
08 Jun 2012 09:53 #20740 by Frederik
Replied by Frederik on topic Re:Swits problems
So try I right from the beginning.

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.

More
08 Jun 2012 10:04 #20741 by andypugh
Replied by andypugh on topic Re:Swits problems
Frederik wrote:

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.

More
08 Jun 2012 10:11 #20742 by cncbasher
Replied by cncbasher on topic Re:Swits problems
please post your hal file and ini file from your config folder ..
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.

More
08 Jun 2012 11:12 #20744 by Frederik
Replied by Frederik on topic Re:Swits problems
here is some files

File Attachment:

File Name: V90.stepconf
File Size:6 KB
Attachments:

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

More
08 Jun 2012 11:23 #20745 by Frederik
Replied by Frederik on topic Re:Swits problems
ini file

File Attachment:

File Name: V90-998b7f...b6ce.ini
File Size:2 KB
Attachments:

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

More
08 Jun 2012 11:24 #20746 by Frederik
Replied by Frederik on topic Re:Swits problems
Hal file

File Attachment:

File Name: V90-5547be...223c.hal
File Size:3 KB
Attachments:

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

More
08 Jun 2012 12:27 - 08 Jun 2012 12:38 #20747 by cncbasher
Replied by cncbasher on topic Re:Swits problems
are you able to see the switch changing state in the hal configuration ?
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 ?
Last edit: 08 Jun 2012 12:38 by cncbasher.

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

More
08 Jun 2012 13:21 #20748 by Frederik
Replied by Frederik on topic Re:Swits problems
I have checked everything, but is is no forbinfelse to the software when I activate switches ... Who is as for missing a checkbox somewhere.
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.

More
08 Jun 2012 13:27 #20749 by cncbasher
Replied by cncbasher on topic Re:Swits problems
which breakout board are you using ?
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.

More
08 Jun 2012 13:47 #20750 by Frederik
Replied by Frederik on topic Re:Swits problems
It is a PBX 2 from Probotix.
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.

Time to create page: 0.092 seconds
Powered by Kunena Forum