Posts by Pano

    Hi,


    I have a TP program started by the RUN command which can set an UALM in a specific condition. My "mother" program uses a flag to wait the end of execution:

    Code
    F[1]=(ON)
    RUN CHECK_SR
    ...somethings....
    WAIT (F[1]=OFF)

    When the runned program set the UALM it goes in the PAUSED status and the "mother" program remains stuck on the WAIT condition (this is ok and is what I need); by the BLUE RESET BUTTON I reset the fault but with a CYCLE START it doesn't run anymore remaining in the PAUSED status. The question is: how to restart a runned program that han been paused? is it possible?

    thanks

    Hi to all,


    I'm wondering if there is a method to send strings from a Siemes PLC and store them to string registers; I have read about ethernet IP but currently my robot doesn't have this option (it is linked by profinet). I'm looking for functions/examples in the karel manual but unsucessufully. Any ideas?

    Thanks

    Hi,


    I have seen these three lines on top of every .ls programs. What are them about?

    For example, if I set IGNORE PAUSE to ON to a program from the TP and then open it using a text editor I see that PAUSE_REQUEST is 7; are there other values?


    Thanks

    I have seen that it's an array of 4 but how to link a target program to its task number? I can see from MENU->STATUS->PROGRAM the currently value but is it always the same?


    at the top of all .ls program I can see this lines:

    Code
    BUSY_LAMP_OFF    = 0,
    ABORT_REQUEST    = 0,
    PAUSE_REQUEST    = 0;

    what are them? can them be helpfull to my purpose?

    the RUN command is above the main loop but if I move to the top manually (I mean line 1) is not possible to avoid another execution of the RUN (I need a variable or I need to understand that a ABORT ALL has been done and so I can run it again).


    I can remove the final JUMP from the runned program so that it starts and ends and RUN it from a bg_logic (instead of the main program) using a flag as suggested. By this way the bg_logic runs it continuously

    yes, I usually use the same idea with runned programs that start and end but in this case I use a JUMP to the top of the program in order to check timers continuously.


    The problem is that if I return on top of the MAIN program without a "FCTN->ABORT ALL" COMMAND the RUN is executed again and I get the error; this is way I would use a system variable to avoid this.

    Hi to all,


    my purpose is to run (RUN not CALL) a program at the top of the main program that manages and checks timers (because of is not possible use timers in a bg_logic :pouting_face:) and that runs continuously parallel to the main program.

    Is there a variable about its status (paused, aborted, running) that allow me not to run it again if it's already running and avoid the error?


    Thanks

    Hi,
    I would use a program that checks continuously for errors and situations that can stop robot's cycle of a robotic cell. To this purpose, I would use a program (call it CHK_ERR) launched one time using the command RUN by my MAIN.LS program.
    If a wrong situation occurs I use command UALM[]; the question is: does UALM command stop both programs (MAIN and all programs launched by RUN)? or just the program that uses UALM?
    In case of both programs stopped, when user press START button on the robot's electric cabinet, does it restart both program?
    Thanks

Advertising from our partners