Beckhoff function block for restarting after losing power

Anonymous
2014-10-29
2014-11-04
  • Anonymous - 2014-10-29

    Originally created by: Russell Schwulst

    Hi there. Are there specific fucntion blocks in Twincat 2 that in the event that the power is lost to the CX controller, once the power is restored to the unit various programs and comms can be switched on and off accordingly?

    i.e.
    [If fbPowerRestore.PowerBackOnBit then
    Motor_1:=true;
    fbSerialComms.bExecute:=False;
    END_IF
    (as an example)

    Kind regards

    Russell

     
  • shooter - 2014-10-30

    yes there are look in taskbox for events.
    and you can make it yourself by using a bit at the start of the program and set this bit after restart is done.
    if bit is off restart is needed.

     
  • Anonymous - 2014-11-04

    Originally created by: Russell Schwulst

    Thanks Shooter. I have looked in the taskbox but can't create the option for an event. The only option that I have is for a cyclic program. Could you possibly advise further?

     

Log in to post a comment.