Posts by dodasch

    The code is just a bit difficult for me to read because I'm not familiar with some of the tools, such as the SFLP command.


    But it's true, AS language is powerful, precisely because it's easier to reach your goal with the individual tools than with conventional programming languages. But you have to know when to use the right tools.


    I'm also not always sure whether I've chosen the easiest way or whether the code could be written even shorter.


    The forum is perfect for that, thanks for your help!

    It's a bit intermediate to understand but this code works better than the code from dm.bogachev above!


    The code from dm.bogachev has an overlap with the timer somewhere.


    Sometimes the vacuum is simply switched off or you have problems switching it on because you have to press the interface panel button twice.


    Thank you for your reply and I apologize if I have not expressed myself correctly

    Thanks for your detailed reply, but again:


    The main problem is, that the timer gets not reseted, as soon as one of the vacuum circuits is switched on again.


    ==============================

    This does the same as the code above:


    STIM 3009 = 9 OR 10 OR 11 OR 12, 20
    SOUT 2009 = 3009
    ;
    IF SIG (2009) THEN
    SIG -9,-10,-11,-12
    END

    ==============================


    I need something to intercept a signal edge, as soon as a signal switches HIGH, a flag should be set and the timer should start.

    If the signal remains HIGH, the time should still expire and the vacuum should switch off.

    BUT: As soon as another vacuum signal switches to HIGH, the timer should be reset.

    This prevents the vacuum from being switched off during operation.

    This example also do not work because:

    Quote

    My problem:

    the time is not reset if one of the signals mentioned is switched HIGH again in the meantime.

    Hi!


    If you need to switch off the same signals, consider PULSE instruction.


    And in your case, if condition goes right after the STIM command. It checks the signal once and then program goes further. You should use SWAIT command and then switch off the signals.

    This will only work in programs, but i would like to switch my vacuums also on my IF-Panel.
    So there is no option for a "MONITOR COMMAND" in which I can execute two commands.

    This also won't work:

    STIM 3009 = 9 OR 10 OR 11 OR 12, 20
    SOUT 2009 = 3009
    ;
    IF SIG (2009) THEN
    SIG -9,-10,-11,-12
    END

    because, the timer is not reset if one of the signals is switched on again in the meantime.

    The STIM function only works with one signal although it allows "AND" and "OR" :frowning_face:

    Hey guys,


    Is there a possibility to query a signal state, as soon as it becomes HIGH, a timer of e.g. 20s should expire. After this time, the signal should be switched off.

    However, if the signal or another air output is activated again, the time should start counting from zero again.


    I have tried this in a pc.program:


    SOUT 2009 = 9 OR 10 OR 11 OR 12

    STIM 3010 = 2009, 20


    IF SIG (3010) THEN

    SIG -9,-10,-11,-12

    END


    My problem:

    the time is not reset if one of the signals mentioned is switched HIGH again in the meantime.

    I was in the same situation, wanted that nobody would save or modify the programs without password, but i did not find any solution for this.


    Although, you can have a background program which remain at the same IF page if you dont set a certain/variable password to unblock the IF page.


    I already know this trick, but it disturbs more than it is worth.


    Quote

    I really don't know why protective features are required.

    Through proper training, there is no requirement IMHO especially if you set the application to operate without a teach pendant (which is under the control of maintenance) and drive it all from an HMI and PLC.


    We have almost 100 Kawasaki robots, we also need an enormous amount of personnel for that. This also means that a lot of training is needed.


    A PLC or HMI is too expensive. But what is possible, we have covered via the IF panel.

    Quote

    Protect in what regard, you mention protect........but in regard to what?

    I want to protect the programs from modification, because they are standard programs that should not be modified.


    They are only there, to make a copy.

    I would use the "Taught Programm Protection Options" if i could change the "Operator 3" password.

    (everyone already knows this password)


    My goal is to protect Standard Pick&Place Programms, wich you can copy to generate a new Programm.

    But it seems to be impossible :frowning_face:

    So sad, but thank you for your help.

    Then I will not get around to train the people on the robot until they can handle it.


    But in the meantime there is the possibility to use the "operator" command not only as a keyboard command but also as a program command in F-Controllers (and E-Controllers from a certain software version).


    So you can use the following commands in the program:


    If operator 3 is active:

    operator 2

    If operator 2 is active:

    operator 1

    If operator 1 active:

    operator 2


    But what does not work

    the change from operator 2 to operator 3

Advertising from our partners