Results 1 to 4 of 4

Thread: Limit switch

  1. #1
    Registered
    Join Date
    Oct 2007
    Location
    Belgium
    Posts
    12
    Downloads
    0
    Uploads
    0

    Limit switch

    Hi,

    I program A60,the limit switch was hit (led lamp was for 1 sec on) there was no response.
    When I move slow the machine stops G1 A60 F100 (100mm/min) by F500
    Machine doesn't stop

    IF #13=1 THEN ESTOP

    What is your response time ?
    thanks
    I have camsoft pro + new industrial computer win xp


  2. #2
    Registered Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel,MN,USA
    Posts
    1,361
    Downloads
    0
    Uploads
    0
    <I'm at grandma's house and not near my manuals so my advice could be better otherwise>

    I make it a practice to not use ESTOP in a situation like this. I think your control is fighting itself here. The Galil board has program logic that halts motion when a limit switch is hit. Doing an Estop in additon defeats this logic. Make a trial with the IF#13 line commented out and see wh


  3. #3
    Registered Karl_T's Avatar
    Join Date
    Mar 2004
    Location
    Dassel,MN,USA
    Posts
    1,361
    Downloads
    0
    Uploads
    0
    Quote Originally Posted by Karl_T View Post
    <I'm at grandma's house and not near my manuals so my advice could be better otherwise>

    I make it a practice to not use ESTOP in a situation like this. I think your control is fighting itself here. The Galil board has program logic that halts motion when a limit switch is hit. Doing an Estop in additon defeats this logic. Make a trial with the IF#13 line commented out and see wh
    <Sorry baby nephew hit SEND KEY>
    and see what happens. Your galil board should stop the motion for you. IIRC. my .cbk has logic to keep the control from locking up after hitting a limit switch but I don't remember extactly how it goes. If you'd like this for your control, email me next week.

    Karl


  4. #4
    Moderator HuFlungDung's Avatar
    Join Date
    Mar 2003
    Location
    Canada
    Posts
    4,826
    Downloads
    0
    Uploads
    0
    You need to write logic for your limits.fil and perhaps for the Estop.fil

    I'd prefer to not go into a real Estop just because a limit was hit, so I used the STOP command in the limits.fil shown below. Estop turns your motors off, which then does not permit you to back off the limit with motor power.
    ~@~LIMITS.FIL
    IF#6=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z- LIMIT HIT;12
    IF#7=1THENSTOP :LIGHT 10;ON;12 :LABEL2 X+ LIMIT HIT;12
    IF#11=1THENSTOP :LIGHT 9;ON;12 :LABEL2 Z+ LIMIT HIT;12
    IF#12=1THENSTOP :LIGHT 10;ON;12 :LABEL2 X- LIMIT HIT;12
    IF#6=0THENIF#11=0THENLIGHT 9;OFF
    IF#7=0THENIF#12=0THENLIGHT 10;OFF
    IF#6=0THENIF#7=0THENIF#11=0THENIF#12=0THEN LABEL2 LIMITS CLEARED :SLEEP 1 :LABEL2 ;11
    First you get good, then you get fast. Then grouchiness sets in.

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


Similar Threads

  1. Is it possible to use the home switch as the limit switch as well?
    By Darc in forum Mach Software (ArtSoft software)
    Replies: 4
    Last Post: 11-02-2012, 01:25 PM
  2. Limit switch ???
    By turmite in forum General Electronics Discussion
    Replies: 11
    Last Post: 07-25-2007, 03:58 PM
  3. limit switch and home switch setup
    By Runner4404spd in forum General Electronics Discussion
    Replies: 0
    Last Post: 12-15-2005, 08:58 AM
  4. Limit Switch / Home Switch in Software
    By Sanghera in forum General Electronics Discussion
    Replies: 6
    Last Post: 11-01-2004, 06:58 PM

Posting Permissions


 


About CNCzone.com

    We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

Follow us on

Facebook Dribbble RSS Feed


Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.