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

Swits problems 06 Jun 2012 22:28 #20696

  • Frederik
  • Frederik's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
I have a V90 from Probotix which run with emc2, which run as it should. I have just fitted swits on x and y , but nothing happens any time. Cables are checked NC, and I have set x and y to the home, it is just and is ticking slowly but ignore swits. If I go in hal test shifts the nor. I have downloaded V90 ini from probotix, but nothing helps. Is there anyone who can help me. ..?
The administrator has disabled public write access.

Re:Swits problems 07 Jun 2012 00:54 #20698

  • cncbasher
  • cncbasher's Avatar
  • OFFLINE
  • Moderator
  • Posts: 681
  • Thank you received: 30
  • Karma: 53
please post your hal and ini files as an attachment

in hal test are the switches shown and working correctly ?
if you are using the switches as limits and also home then set to both-home-x & both-home-y you may also need to invert the pin
The administrator has disabled public write access.

Re:Swits problems 07 Jun 2012 05:00 #20706

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4126
  • Thank you received: 141
  • Karma: 129
Frederik wrote:
I have a V90 from Probotix which run with emc2, which run as it should. I have just fitted swits on x and y , but nothing happens any time.

If it was working without the switches, then you need to change the HAL and INI files to use the switches after you add them.

In the Axis preview window you will see a little arrow appear next to the DRO position display for each axis when the switches operate, and clear when the switches clear. The first test to do is to manually operate the switches and see if you can see these change state.

If they don't, then the likely problem is that the switch inputs are not connected to the home/limit pins in HAL.
The administrator has disabled public write access.

Re:Swits problems 07 Jun 2012 06:00 #20713

  • Frederik
  • Frederik's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Is there some files e.g. hal and ini which can replace, so one should not use a lot of time on something which is made in advance ...?
The administrator has disabled public write access.

Re:Swits problems 07 Jun 2012 06:17 #20714

  • andypugh
  • andypugh's Avatar
  • OFFLINE
  • Moderator
  • Posts: 4126
  • Thank you received: 141
  • Karma: 129
Frederik wrote:
Is there some files e.g. hal and ini which can replace, so one should not use a lot of time on something which is made in advance ...?

Do you have a V90.stepconf file lurking in your linuxcnc folder? If so then the easiest solution will be to add the limits in stepconf.
The administrator has disabled public write access.

Re:Swits problems 07 Jun 2012 10:00 #20717

  • Frederik
  • Frederik's Avatar
  • OFFLINE
  • Fresh Boarder
  • Posts: 19
  • Karma: 0
Here is my : V90.stepconf

<?xml version="1.0" ?>
<stepconf>
<property name="ahomepos" type="int" value="0"/>
<property name="ahomesw" type="int" value="0"/>
<property name="ahomevel" type="float" value="0.05"/>
<property name="alatchdir" type="int" value="0"/>
<property name="aleadscrew" type="int" value="8"/>
<property name="amaxacc" type="int" value="1200"/>
<property name="amaxlim" type="int" value="9999"/>
<property name="amaxvel" type="int" value="360"/>
<property name="amicrostep" type="int" value="2"/>
<property name="aminlim" type="int" value="-9999"/>
<property name="apulleyden" type="int" value="1"/>
<property name="apulleynum" type="int" value="1"/>
<property name="ascale" type="int" value="0"/>
<property name="asteprev" type="int" value="200"/>
<property name="axes" type="int" value="0"/>
<property name="customhal" type="bool" value="True"/>
<property name="dirhold" type="float" value="20000.0"/>
<property name="dirsetup" type="float" value="20000.0"/>
<property name="drivertype" type="int" value="6"/>
<property name="ioaddr" type="string" value="0x378"/>
<property name="latency" type="float" value="15000.0"/>
<property name="machinename" type="string" value="V90"/>
<property name="manualtoolchange" type="bool" value="True"/>
<property name="md5sums" type="eval" value="[('/home/len/emc2/configs/V90/README', 'dcee655beef2a63381f0516b0bd429b3'), ('/home/len/emc2/configs/V90/V90.ini', 'b346c0c94e7ed2acbdca3150cf65afa4'), ('/home/len/emc2/configs/V90/V90.hal', '780bf9ed0cf5ea0eb6c0953bf8b398fc')]"/>
<property name="period" type="int" value="25000"/>
<property name="pin1" type="int" value="13"/>
<property name="pin10" type="int" value="35"/>
<property name="pin10inv" type="bool" value="False"/>
<property name="pin11" type="int" value="35"/>
<property name="pin11inv" type="bool" value="False"/>
<property name="pin12" type="int" value="35"/>
<property name="pin12inv" type="bool" value="False"/>
<property name="pin13" type="int" value="35"/>
<property name="pin13inv" type="bool" value="False"/>
<property name="pin14" type="int" value="16"/>
<property name="pin14inv" type="bool" value="False"/>
<property name="pin15" type="int" value="35"/>
<property name="pin15inv" type="bool" value="False"/>
<property name="pin16" type="int" value="16"/>
<property name="pin16inv" type="bool" value="False"/>
<property name="pin17" type="int" value="16"/>
<property name="pin17inv" type="bool" value="False"/>
<property name="pin1inv" type="bool" value="False"/>
<property name="pin2" type="int" value="2"/>
<property name="pin2inv" type="bool" value="False"/>
<property name="pin3" type="int" value="3"/>
<property name="pin3inv" type="bool" value="True"/>
<property name="pin4" type="int" value="0"/>
<property name="pin4inv" type="bool" value="False"/>
<property name="pin5" type="int" value="1"/>
<property name="pin5inv" type="bool" value="True"/>
<property name="pin6" type="int" value="4"/>
<property name="pin6inv" type="bool" value="False"/>
<property name="pin7" type="int" value="5"/>
<property name="pin7inv" type="bool" value="True"/>
<property name="pin8" type="int" value="16"/>
<property name="pin8inv" type="bool" value="False"/>
<property name="pin9" type="int" value="16"/>
<property name="pin9inv" type="bool" value="False"/>
<property name="pyvcp" type="bool" value="True"/>
<property name="spindlecarrier" type="int" value="100"/>
<property name="spindlecpr" type="int" value="100"/>
<property name="spindlepwm1" type="float" value="0.2"/>
<property name="spindlepwm2" type="float" value="0.8"/>
<property name="spindlespeed1" type="int" value="100"/>
<property name="spindlespeed2" type="int" value="800"/>
<property name="stepspace" type="float" value="5000.0"/>
<property name="steptime" type="float" value="5000.0"/>
<property name="units" type="int" value="0"/>
<property name="xhomepos" type="float" value="0.0"/>
<property name="xhomesw" type="float" value="0.0"/>
<property name="xhomevel" type="float" value="0.05"/>
<property name="xlatchdir" type="int" value="0"/>
<property name="xleadscrew" type="float" value="5.0"/>
<property name="xmaxacc" type="float" value="60.0"/>
<property name="xmaxlim" type="float" value="24.0"/>
<property name="xmaxvel" type="float" value="4.2"/>
<property name="xmicrostep" type="float" value="2.0"/>
<property name="xminlim" type="float" value="-24.0"/>
<property name="xpulleyden" type="float" value="1.0"/>
<property name="xpulleynum" type="float" value="1.0"/>
<property name="xscale" type="float" value="2000.0"/>
<property name="xsteprev" type="float" value="200.0"/>
<property name="yhomepos" type="float" value="0.0"/>
<property name="yhomesw" type="float" value="0.0"/>
<property name="yhomevel" type="float" value="0.05"/>
<property name="ylatchdir" type="int" value="0"/>
<property name="yleadscrew" type="float" value="5.0"/>
<property name="ymaxacc" type="float" value="60.0"/>
<property name="ymaxlim" type="float" value="18.0"/>
<property name="ymaxvel" type="float" value="3.8"/>
<property name="ymicrostep" type="float" value="2.0"/>
<property name="yminlim" type="float" value="-18.0"/>
<property name="ypulleyden" type="float" value="1.0"/>
<property name="ypulleynum" type="float" value="1.0"/>
<property name="yscale" type="float" value="2000.0"/>
<property name="ysteprev" type="float" value="200.0"/>
<property name="zhomepos" type="float" value="0.0"/>
<property name="zhomesw" type="float" value="0.0"/>
<property name="zhomevel" type="float" value="0.05"/>
<property name="zlatchdir" type="int" value="0"/>
<property name="zleadscrew" type="float" value="12.0"/>
<property name="zmaxacc" type="float" value="64.0"/>
<property name="zmaxlim" type="float" value="4.0"/>
<property name="zmaxvel" type="float" value="0.4"/>
<property name="zmicrostep" type="float" value="2.0"/>
<property name="zminlim" type="float" value="-4.0"/>
<property name="zpulleyden" type="float" value="1.0"/>
<property name="zpulleynum" type="float" value="1.0"/>
<property name="zscale" type="float" value="4800.0"/>
<property name="zsteprev" type="float" value="200.0"/>
</stepconf>
The administrator has disabled public write access.
Time to create page: 1.282 seconds
Powered by Kunena Forum
© 2013 LinuxCNC.org
Joomla! is Free Software released under the GNU General Public License.