
Commissioning
4.2.1.2 FUNCTION_BLOCKFB_NT_QuickShutdown
ThefunctionblockFB_NT_QuickShutdowncanbeusedtotriggeranimmediatereboot,withoutstopping
TwinCATortheWindowsoperatingsystem.
Attention:
Attention
Lossofdata
ThefunctionblockFB_NT_QuickShutdownisusedinternallyby
FB_S_UPS_CX9020_U900.Itmustnotbeusedindependently,becausethiscouldresultin
dataloss!
FUNCTION_BLOCKFB_NT_QuickShutdown
VAR_INPUT
VAR_INPUT
NETID:T_AmsNetId;
START:BOOL;
TMOUT:TIME:=DEFAULT_ADS_TIMEOUT;
END_VAR
NETID:AmsNetIDofthecontroller.
START:Risingedgeleadstoimmediaterebootofthecontrolsystem.
TMOUT:Timeoutperiod.
VAR_OUTPUT
VAR_OUTPUT
BUSY:BOOL;
ERR:BOOL;
ERRID:UDINT;
END_VAR
BUSY:QuickShutdownisexecuted.
ERR:BecomesTRUE,assoonasanerroroccurs.
ERRID:SuppliestheerrornumberwhentheERRoutputisset.
Prerequisites
Developmentenvironment Targetplat
form
Hardware PLClibrariestoinclude
TwinCATv2.11R3Build2047orhigher PC(i386) OnesecondUPS TcSUPS_CX9020_U900.
Lib
CX9020 35Version1.1
Kommentare zu diesen Handbüchern