Invalid Program Number
Kuka · KSS 8.3 System Software
What does PGNO_FAULT mean?
This fault occurs within the CELL.SRC program when the robot controller receives an invalid program number from a higher-level controller. The `P00` function call with `#PGNO_FAULT` signifies that the program number transmitted (e.g., via `#EXT_PGNO`) does not match any of the defined `CASE` branches in the `SWITCH PGNO` statement, preventing the selection and execution of a user-defined program.
Repair Steps
- 1
Review the higher-level controller's logic to confirm it is sending a valid program number (e.g., 1, 2, 3 as per the example in CELL.SRC).
- 2
Inspect the `CELL.SRC` file to verify that the `SWITCH PGNO` statement includes `CASE` branches for all expected program numbers from the higher-level controller.
- 3
If new user programs are added, ensure corresponding `CASE` entries are created in `CELL.SRC` and that `P00 (#EXT_PGNO,#PGNO_ACKN,DMY[],0 )` is called after successful receipt.
- 4
Check the configuration of the `P00.DAT` file if error numbers are intended to be transmitted back to the higher-level controller (refer to Page 197 for details).