3 user-defined error messages, User-defined error messages -68, Cross cutter – Lenze EVS93xx CrossCutter User Manual

Page 236: Appendix

Advertising
background image

Cross Cutter

Appendix



Prepared Solution Servo PLC / ECSxA 1.1 EN

6-68

6.3.3

User-defined error messages

In the programmable variant of the prepared solution, users can program their own error
messages in addition to the standard errors. To do this, proceed as follows:

1. Create a new network by copying and pasting one of the networks from the

UserErrors(PRG) POU.

2. Rename the copied FB FWM.

3. Link the bExecute input from the instanced FB FWM to the boolean variable to be monitored.

In order for errors to be resolved correctly, the boolean variable to be monitored may only be
TRUE for the specific machine state. The trigger signal must be pending for at least 5 ms.
You can safeguard this by using a pulse timer, for example (FB TP).

4. Set the required error number at the wFaultNumber input of the instanced FB FWM. Only

error numbers from 508…999 may be used. Error numbers below 508 are already in use.

Input FB FWM

Name Data

type

Value/Meaning
Error number for the user error message

wFaultNumber

WORD

508 … 999 Error number

5. You can assign an error message (text message) to the set error number in the ErrorCode

(ENUM) data type (see Chapter 6.3.4).

6. Set the required error response at the byTypeOfFault input. You can select from the

following options:

Input FB FWM

Name Data

type

Value/Meaning
Selection of response to user error message

0 TRIP

1 Message

2 Warning

3 Off

(no

response)

byTypeOfFault

BYTE

4 Fail

QSP

7. Link the wActFaultNumber input to the g_wActFault global variable.

Input FB FWM

Name Data

type

Value/Meaning

wActFaultNumber

WORD

Error channel for the system; link this variable to the g_wActFault
global variable.

Note!
The wActFaultNumber input of the FB FWM acts as an error channel for communication
with the internal "FailManager" and must be linked to the g_wActFault global error channel
variable.

Advertising