MONITOR INSTRUCTION PROBLEM

  • Hi everybody. I have a problem with adding the MONITOR instruction. Syntax error:

    " INTP-274 (JOB_DROP_1, 1) CH program error

    " INTP-202 (JOB_DROP_1, 1) Syntax error " STOP.L

    HELP Please.


    Below are the program codes:


    1. The processing program (JOB_DROP_1) in which I need to control the input


    2. Monitoring program (C_MONITOR)


    3. event response program (FAULT1)


    *************************************


    /PROG JOB_DROP_1


    DEFAULT_GROUP = 1,*,*,*,*;

    CONTROL_CODE = 00000000 00000000;

    LOCAL_REGISTERS = 0,0,0;

    /APPL


    AUTO_SINGULARITY_HEADER;

    ENABLE_SINGULARITY_AVOIDANCE : TRUE;

    /MN

    1: MONITOR C_MONITOR ;

    2:J P[1] 100% FINE ;

    3: ;

    4:J P[2] 100% FINE ;

    5: ;

    6: MONITOR END C_MONITOR ;

    /POS


    ******************************************


    /PROG C_MONITOR Cond

    ...

    DEFAULT_GROUP = *,*,*,*,*;

    CONTROL_CODE = 00000000 00000000;

    ...

    AUTO_SINGULARITY_HEADER;

    ENABLE_SINGULARITY_AVOIDANCE : TRUE;

    /MN

    1: ;

    2: WHEN DI[2]=ON,CALL FAULT1 ;

    3: ;

    /POS

    /END


    **********************************************


    /PROG FAULT1

    ...

    DEFAULT_GROUP = *,*,*,*,*;

    CONTROL_CODE = 00000000 00000000;

    LOCAL_REGISTERS = 0,0,0;

    /APPL


    AUTO_SINGULARITY_HEADER;

    ENABLE_SINGULARITY_AVOIDANCE : TRUE;

    /MN

    1: DO[5]=ON ;

    /POS

    /END

  • Thank you. But you can see that the type of this program is COND

    "/PROG C_MONITOR Cond

    ..."

    And it looks like CH in list of programs.

  • This is driving nuts.

    when I run drop-job-1 step by step and I get to MONITOR C_MONITOR i get an error that is a motion group

    it's not , i have ++++++++ on the 3 programs, drop-job (i delete the points), the monitor and the fault


    The C-MONITOR program can no be wrong because the only way to run the WHEN command is when the program is defined as condition


    Somehow the DROP+JOB_! program is "wrong", I dont see where

    Retired but still helping

  • This may be way off but:


    It looks like C_MONITOR has a blank line 1 and you put the WHEN on line 2. Try deleting the blank line 1 so that the WHEN is on line 1.

    I spent a whole day and night on this battle with the robot. I have already tried different program names, different conditions, and many other actions. I transferred programs from a real robot to Roboguide and got exactly the same errors.


    And only after deleting ALL the empty lines in the CH program did it finally start working.!!!:uglyhammer2:


    Thank you!

  • Sorry to hijack your post but I think we have to get to the bottom of this command issue for the rest of the people

    Look at the pictures

    I tried many things and still getting the error. What's interesting is that if I start the program at the first point, the robot actually executes the 2 points and the MONITOR END command, which does not make sense to me because as far as I see it never executed






    Retired but still helping

  • i'll check it again. But everything become good without empty lines.

Advertising from our partners