NEWS
LinuxCNC 2.5.2 Release
There are no translations available.

LinuxCNC 2.5.2 Update Released (changelog).
 
LinuxCNC 2.5.1 Release
There are no translations available.

LinuxCNC 2.5.1 Update Released (changelog). If the Package Manager does not prompt you to upgrade see this page.

 
LinuxCNC 2.5.0 Release
There are no translations available.

New major release (changelog). See the instructions to update your system from EMC 2.4 to LinuxCNC 2.5.
 

Welcome, Guest
Username: Password: Remember me

TOPIC: Swits problems

Re:Swits problems 07 Jui 2012 10:19 #20719

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4106
  • Thank you received: 140
  • Karma: 129
Sorry, I was possibly unclear.
I meant to suggest that you should run Stepconf (from the CNC menu) and modify your config to add the limit switches.
That file is the stepconf representation of your current configuration,
The administrator has disabled public write access.

Re:Swits problems 07 Jui 2012 11:49 #20723

  • Frederik
  • Frederik's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Ok, I am prepared to do anything, but where and what should I start with 1. 2.3. Or is it possible to send some files which I can look for. I am unfortunately not as fast, but only when I see it.
I am very pleased that you will help me.
The administrator has disabled public write access.

Re:Swits problems 07 Jui 2012 12:08 #20725

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4106
  • Thank you received: 140
  • Karma: 129
Frederik wrote:
Ok, I am prepared to do anything, but where and what should I start with.

I am guessing that you know which parallel port pins you connected the switches to. I am further guessing that you plan on using shared home/limit switches, one for each axis.

So, from the CNC menu select the Stepconf Wizard
On the second page select "modify an existing configuration"
Click "Forward" and then select the V90.Stepconf file.
Click Forward through Basic Machine Config
You might as well click "include HALUI" in the "Advanced Config Options"
Click forward to "Parallel Port setup" and look at the right-hand (inputs) column.
Select, for example, Pin 10 as "Both Limit + Home X"
Similarly for Y and Z axes, depending on how you wired the pins.
In the X-axis configuration panel you almost certainly want to set the home-switch position to -24, but I don't know for sure. It depends where the switch is.
If the home switch is at -24 then I think that the Home Search Velocity might need to be negative.

Similarly for axes Y and Z.
Then click through to the end, and Apply.

Check the witch operation manually as described earlier.

Then see what happens when you press "Home" (Be ready on the "ESC" button). You will probably need to adjust the homing directions, speeds, and the signs of the velocities. But that all depends on your machine setup.
The administrator has disabled public write access.

Re:Swits problems 07 Jui 2012 13:23 #20734

  • Frederik
  • Frederik's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Thanks for it, I will try your recipe tomorrow, and so I must report back again.
The administrator has disabled public write access.

Re:Swits problems 08 Jui 2012 02:53 #20740

  • Frederik
  • Frederik's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
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?
The administrator has disabled public write access.

Re:Swits problems 08 Jui 2012 03:04 #20741

  • andypugh
  • andypugh's Avatar
  • NOW ONLINE
  • Moderator
  • Posts: 4106
  • Thank you received: 140
  • Karma: 129
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.
The administrator has disabled public write access.
Time to create page: 0.836 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.