603,836 active members*
3,053 visitors online*
Register for free
Login
Results 1 to 6 of 6
  1. #1
    Join Date
    Nov 2004
    Posts
    446

    Testing for drive enable?

    Short of running a wire from my Galil ICM2900 EnableX pin to an input and then testing the input for 1 or 0, is there a way to test to see if the galil card has the X axis enable=true or false?

    I know there is a command to test for Moving, but I just want to know if the enable circuit is true or false without using an input. I dont care if its moving or not..

    Thanks
    Murphy

  2. #2
    Join Date
    Dec 2003
    Posts
    24260
    I assume you want to record when the AEN is activated by the MO motor off command?
    If so, if you look in the command Summary for Galil, the MO command can be interogated
    e.g. Var=_MOX , this will record the status of the X axis off command in Var(iable).
    Al
    CNC, Mechatronics Integration and Custom Machine Design

    “Logic will get you from A to B. Imagination will take you everywhere.”
    Albert E.

  3. #3
    Join Date
    Apr 2003
    Posts
    332
    Murphy,

    Answers to a few question from today.

    (1) WAITUNTIL #19=1 '#19 is an output

    Since #19 is an output, you can:
    (a) Click on the #19 relay light on the Digital I/O panel to change states
    (b) Use the FAKE command
    (c) Type #19=1 in Diagnostic
    (d) Hit Esc

    (2) Amp Enable.
    Al is correct here. We would also say the input is important to react to since the amp itself may be in distress or over heated.

    (3) If you're using the default Jogging then this has 'plug and play" jog features by default. You can customize this using the JOG.FIL file but it will work without any customization.

    Tech Support
    CamSoft Corp.
    (951) 674-8100
    [email protected]
    www.cnccontrols.com
    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)

  4. #4
    Join Date
    Nov 2004
    Posts
    446
    Quote Originally Posted by camsoft
    Murphy,
    (1) WAITUNTIL #19=1 '#19 is an output
    Since #19 is an output, you can:
    (a) Click on the #19 relay light on the Digital I/O panel to change states
    (b) Use the FAKE command
    (c) Type #19=1 in Diagnostic
    (d) Hit Esc

    (2) Amp Enable.
    Al is correct here. We would also say the input is important to react to since the amp itself may be in distress or over heated.
    ]
    (a) is not an option because that panel wont be open during normal run and the machine needs to break-out by itself.

    (b). This is interesting.. FAKE I search the help files and got nothing on this one. Never even heard of it.. I dont have the paper manual with me, but I dont recall seeing it in there either.

    (c) goes back to (a) so it wont work.

    (d) Doesnt Esc end program?? We dont want to do that either.. I just want to break out of the wait..

    I think if there is no way to break out of it then I am going to replace the WAITUNTIL with a GOTO LOOP code. (at least I can break out of that easy)

    (2) Al is correct here.. (YES Al is like that often!)

    Thanks for the advice! You folks are a big big help!!!
    Murphy

  5. #5
    Join Date
    Nov 2004
    Posts
    446
    Quote Originally Posted by Al_The_Man
    I assume you want to record when the AEN is activated by the MO motor off command?
    If so, if you look in the command Summary for Galil, the MO command can be interogated
    e.g. Var=_MOX , this will record the status of the X axis off command in Var(iable).
    Al

    Yes.. That's it.. Thank you AGAIN Al...
    I am obviously not very familiar with the galil commands. The SH and MO commands you taught me have really made things easier!!!

    Can I say thanks again??? LOL

    Thanks
    Murphy

  6. #6
    Join Date
    Nov 2004
    Posts
    446
    FIXED IT !!!

    I used a loop command and just checked a variable then :EXIT if true.

    Thanks,
    Murphy

Similar Threads

  1. Testing stepper motors
    By monkeypuzzle in forum Stepper Motors / Drives
    Replies: 6
    Last Post: 07-26-2015, 10:38 AM
  2. Enable connections on drivers
    By metalhacker in forum Stepper Motors / Drives
    Replies: 6
    Last Post: 06-12-2005, 07:43 AM
  3. Enable = False while doing other stuff?
    By murphy625 in forum CamSoft Products
    Replies: 7
    Last Post: 03-30-2005, 07:48 PM
  4. Connecting Amp Enable
    By keithorr in forum CamSoft Products
    Replies: 5
    Last Post: 03-22-2005, 12:31 AM
  5. Active High/Active Low
    By Sanghera in forum CNC Machine Related Electronics
    Replies: 21
    Last Post: 11-07-2004, 03:47 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •