19

RTS Nesting

Indramat · ServoDyn D Servo Drive

What does 19 mean?

This nesting error occurs when an RTS (Return from Subroutine) command is encountered in the CLM01.3-M program without a preceding, matching JSR (Jump to Subroutine) command. This indicates an illogical program flow, as the system attempts to return from a subroutine that was never called.

Common Causes

  • An RTS command is executed without a corresponding JSR call, leading to an unbalanced subroutine stack.
  • Program logic error causing an unconditional jump into a subroutine's return path.
  • Corrupted program memory, causing the CLM01.3-M to misinterpret command sequences.
  • Faulty external control sending an erroneous program sequence to the CLM01.3-M.

Repair Steps & Checklist

Click steps to track your progress.

  1. 1

    Review the CLM01.3-M user program to ensure that every RTS command is preceded by a corresponding JSR command within the logical program flow.

  2. 2

    Debug the program logic for any unintended jumps or branches that might bypass a JSR call but still lead to an RTS command.

  3. 3

    Verify program sequencing to ensure that subroutine calls (JSR) and returns (RTS) are properly matched and ordered.

  4. 4

    If the program appears correct, check for potential memory corruption by re-transmitting the user program to the CLM01.3-M.

  5. 5

    If external programming tools are used, ensure they generate correct and balanced JSR/RTS sequences.

Browse all codes in this manual (51)
Verified technical data. Last updated: March 2026

Related Faults

Source: Indramat ServoDyn D Servo Drive