Posts by Enga

    Not a great solution but what about a job that changes the values in the variables? Then you can use the same P-var several times..

    Why do you want the on and off instructions in separate Jobs? I think its more visual to have the instruction directly in the program.

    MOVL

    MOVL

    DOUT OT 12 ON Laser ON

    MOVL

    MOVL

    DOUT OT 12 OFF Laser OFF


    Or you could use a while command
    Might be wrong here


    While D001 =1 AND (IN for servo on) = ON

    DOUT OT12 ON Laser ON

    MOVL

    SET D001 1 (laser should turn on)

    MOVL

    MOVL

    MOVL

    SET D001 0 (laser should turn off)

    MOVL

    MOVL

    SET D001 1 (laser should turn on)

    MOVL

    MOVL

    MOVL

    SET D001 0 (laser should turn off)

    END WHILE (disables the function)


    It could be worth a try instead of messing with the Ladder