Posts by amanmani


    Easy way:
    If your TP is OFF then
    BG:

    Code
    IF (DI[23]=ON),F[1]=ON

    Macros with cond on F[1]:

    Code
    UALM[1]
    F[1]=OFF


    Thanks Scotty for your omnidirectional reply


    But would it work if TP is on ie robot is in teach mode also ? Because actually this DI will only get when robot TP is ON
    SORRY I didn't share this info coz I didn't think it would matter.


    Thanks guys for taking your time out to help me


    Create a macro and put your code in it. Set the macro to run when DI[x] turns on. The user alarm serverity has an effect on how this will work. For example if the severity 6 then the macro will not complete and an alarm will be posted to the TP. If the serveriy is 0 then the user alarm is posted and the macro completes.


    Thanks for your reply and forgive my ignorance but my robot is a welding robot and I want to continuously monitor a particular DI all the time as it is a safety signal but by creating macro I will only be able to check it when macro command executes.


    I want to monitor that DI 24 hours and I am able to do it but I am not able to generate an alarm out of it so that person using pendant can also know about it otherwise PLC logic would have to be monitored every time this fault comes....
    Is there any other way to do it ?

    I have been trying to implement following logic


    IF(DI[23]=ON),JMP LBL[1]
    LBL[1]
    UALM[1]


    But I am not able to display User alarm as it is showing INTP-443 INVALID ITEM FOR MIXED LOGIC.


    Can you help me generate alarm for the above logic or if there is any other way to generate alarm, then please tell me.


    Thanks in advance
    :help: :help:

    I wish to create a user alarm when a certain DI gets on but I am not able to write User alarm in BG logic as I am getting syntax error .
    Please help me guys I am a newbie and wish to learn


    Thanks in advance !!!!! :help: :help:

Advertising from our partners