Test for moving ?


Results 1 to 3 of 3

Thread: Test for moving ?

  1. #1
    Registered
    Join Date
    Nov 2004
    Location
    USA
    Posts
    446
    Downloads
    0
    Uploads
    0

    Default Test for moving ?

    I just found out that the "LISTSETUP" command is not a valid command while moving.

    Ok.. So I find the "MOVING" command because I am going to need to test for it before I let the LISTSETUP command run.

    My question:
    Will the MOVING command return variables correctly in DEMO mode?
    (In DEMO mode, when you command an axes to move, it gets from point A to point B instantly because its all virtual) I am wondering if this would cause a problem with the MOVING command....

    My Code
    !MOVING -1;\15
    !MOVING 0;\16

    !IF \15=0 THEN bla bla bla
    !IF \15=1 THEN bla bla bla
    !IF \16=0 THEN bla bla bla
    !IF \16=1 THEN bla bla bla

    The above code is just my way of testing the command to see how it works.
    Nothing I do seems to make \15 or \16 = anything but 0 (false)

    Here is another question.. A quote straight from the CamSoft software help file.
    SUSPEND
    The SUSPEND command can be used by itself or used with five possible parameters:
    DISABLE, RESPOND, MCODE, INPUTS or GUI. The SUSPEND command cannot be
    used by itself. The SUSPEND command suspends all inquiries to the motion control
    card and digital I/O for the encoder, limit switches, axis motion and auxiliary digital I/O.
    Use the RESUME command to resume operation. The SUSPEND DISABLE command
    stops encoder processing until a RESUME command is issued. The SUSPEND
    RESPOND command stops all reactions of the control to all digital I/O. The parameter
    MCODE inhibits all MCODES from executing. The SUSPEND INPUTS command only
    suspends digital inputs reacting to the INPUTIO.FIL. The GUI parameter suspends all
    graphical user interface actions, although I/O and commands issued through logic will
    still work. Any or all of these parameters may be used in one line at a time and all
    parameters will be reset when a RESUME command is encountered.
    EXAMPLE: SUSPEND DISABLE
    EXAMPLE: SUSPEND RESPOND
    EXAMPLE: SUSPEND MCODE
    EXAMPLE: SUSPEND INPUTS
    EXAMPLE: SUSPEND GUI


    Ok... My question is: Can the SUSPEND command be used by itself or not???

    Did they make a typo in that??

    Thanks,
    Murphy

    Similar Threads:


  2. #2
    Registered
    Join Date
    Sep 2003
    Location
    ADDISON, Illinois
    Posts
    17
    Downloads
    0
    Uploads
    0

    Default

    Ok one last one for the night.

    I know that only CNC Professional has a real simulation mode but the CNC Lite or Plus doesn't so MOVING isn't going to be able to tell if it's moving unless your in real mode. Tomorrow when you ask Camsoft ask if the factory automation program is like CNC Lite.

    I have used SUSPEND before but only a few times. I think what they are saying is that SUSPEND by itself with out any of the listed parameters doesn't do anything.

    Jim C.



  3. #3
    Registered
    Join Date
    Nov 2004
    Location
    USA
    Posts
    446
    Downloads
    0
    Uploads
    0

    Default How long have you been using Camsoft?

    Jim,

    Thanks again.

    Bye the way.. How long have you been using the camsoft package?


    Murphy



Tags for this Thread

Posting Permissions

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


About CNCzone.com

    We are the largest and most active discussion forum for manufacturing industry. The site is 100% free to join and use, so join today!

Follow us on


Our Brands

Test for moving ?

Test for moving ?