Variable Value Invalid
Kuka · KSS 8.3 System Software
What does 1422 mean?
This message indicates that a variable has an invalid value during program execution. For example, if a program line like `myPos = $POS_INT` is executed, it may trigger this message if the variable `$POS_INT` holds an invalid state. The error can be suppressed by `ON_ERROR_PROCEED` in the preceding line, allowing custom error handling via `$ERR.NUMBER`.
Repair Steps
- 1
Examine the program logic in the line triggering the error (e.g., line 5 `myPos = $POS_INT`) and preceding lines to understand why the variable value is invalid.
- 2
Verify that all variables used in assignments, calculations, or function calls have appropriate data types and are initialized with valid values.
- 3
If `ON_ERROR_PROCEED` is active, ensure the subsequent `SWITCH ($ERR.NUMBER)` block explicitly handles `CASE 1422` with a robust fault service function.
- 4
If the error occurs within an interrupt routine, investigate the context of the interrupt and the data available to the program at that time.