17 vartrouble, Vartrouble -33, Cross cutter – Lenze EVS93xx CrossCutter User Manual
Page 201: Appendix

Cross Cutter
Appendix
Prepared Solution Servo PLC / ECSxA 1.1 EN
6-33
6.1.17 VarTrouble
Inputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
Switch to "Error" state.
•
This variable can be set using a "Set" instruction.
•
It is reset to FALSE automatically via the template.
g_bErrorSet BOOL
TRUE
Switch to "Trouble" state.
Reset internal and user-defined errors.
•
Setting the g_bErrorResetEqTripReset variable to TRUE will trigger a
TRIP reset simultaneously on the PLC.
g_bErrorReset BOOL
TRUE Reset
error.
User quick stop (quick stop of the drive system)
g_bUserQuickstop
BOOL
TRUE
Initiate user quick stop.
Controller inhibit (CINH)
g_bControllerInhibit BOOL
TRUE
Set controller inhibit on the PLC.
Output control signal via state bus.
g_bUserStateBus
BOOL
TRUE
Set state bus to LOW level to switch all
nodes connected to the state bus to a
preselected state (e.g. TRIP, QSP or
controller inhibit).
Outputs
Global variables
(Variable type: VAR_GLOBAL)
Name Data
type
Value/Meaning
"Global error" status signal
•
The template is in the "Trouble" state.
•
If this is a template or user error, g_bErrorSet will also be TRUE.
g_bGlobalError
BOOL
TRUE
A PLC, template or user error has
occurred.
g_wActFault
WORD
Error channel for communication with the "FailManager".
•
This variable can only be used for the FWM block.
g_wErrorNumber
ENUM "ErrorCode" Display indicating the error designation
•
See the Object Organizer: Data Types tab > UserDataTypes folder >
ErrorCode (ENUM)
Output of error response
0 TRIP
1 Message
2
Warning
3 Fail
QSP
g_wErrorType
WORD
4 Ready
"Following error warning" status signal
g_bFollorErrorWarn BOOL
TRUE
The following error warning limit (C3645)
has been exceeded.
"Following error" status signal
g_bFollorErrorQSP BOOL
TRUE
The following error limit (C3643) has
been exceeded.
"Error reset active" status signal
g_bErrorResetBusy BOOL
TRUE
A reset of template-internal and user-
defined errors is
currently in progress.