beautypg.com

Function_block fb_nt_quickshutdown var_input, Var_output, Function_block fb_nt_quickshutdown – BECKHOFF CX50x0 User Manual

Page 23

background image

Notes on the documentation

CX50x0 - Hardware Documentation

21

FUNCTION_BLOCK FB_NT_QuickShutdown

The function block FB_NT_QuickShutdown is used to immediately reboot the PC without stopping TwinCAT or the
operating system Windows.

Attention:

The function block FB_NT_QuickShutdown is used internally from FB_S_UPS and is not intended to be used
elsewhere!

FUNCTION_BLOCK FB_NT_QuickShutdown

VAR_INPUT

VAR_INPUT
NETID

:T_AmsNetId;

START

:BOOL;

TMOUT :TIME := DEFAULT_ADS_TIMEOUT;

END_VAR

NETID

: AmsNetID of the PC.

START

: rising edge leads to an immediate reboot of the PC.

TMOUT

: Timeout time.

VAR_OUTPUT

VAR_OUTPUT

BUSY :BOOL;

ERR :BOOL;

ERRID

:UDINT;

END_VAR

BUSY

: The QuickShutdown is being executed.

ERR

: Is TRUE, if an error occurs.

ERRID

: Delivers the error number in case that ERR is TRUE.