2 fault trigger (l_fwm), Fault trigger (l_fwm), Function library lenzedrive.lib – Lenze DDS Function library Drive User Manual
Page 78: Special functions

2.7.2
Fault trigger (L_FWM)
Function library LenzeDrive.lib
Special functions
2−68
L
LenzeDrive.lib EN 1.7
2.7.2
Fault trigger (L_FWM)
Note!
The FB L_FWM of function library LenzeDrive0201.lib has been revised and can be used for the
following Lenze PLCs:
·
9300 Servo PLC EVS93XX−xI − version 7.0
·
9300 Servo PLC EVS93XX−xT − version 7.0
·
Drive PLC EPL10200 − version 7.2
·
ECSxAxxx − version 7.0
If the FB L_FWM is used from older LenzeDrivel.lib versions, it should be replaced or only be used
after consultation with Lenze!
The FB L_FWM is used to transmit error messages to the PLC. In this way, a TRIP, FAIL−QSP,
message or warning can be triggered in the PLC while the PLC program is running.
The fault number that is transmitted is stored in the history buffer of the PLC (C0168/x).
byTypeOfFault
L_FWM
bExecute
wFaultNumber
Fig. 2−67
Fault trigger (L_FWM)
VariableName
DataType
SignalType
VariableType
Note
bExecute
Bool
VAR_INPUT
A High transition triggers a fault signal.
byTypeOfFault
Byte
VAR_INPUT
Triggered by fault type
0: TRIP
1: Message
2: Warning
3: Switched off
4: FAIL−QSP
wFaultNumber
Word
VAR_INPUT
Fault number (400−999)
The fault number that is transmitted is stored in the history
buffer of the PLC (C0168/x) together with the offset for the
fault type.