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
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
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
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.
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?