AutomateDirectUSAMotion LibraryIndustrial monitors & PCs

Troubleshooting

Why a Robot Pause Interrupt Works Only Once

Servo and stepper motion Published 5 min read By AutomateDirectUSA engineering team

Short answer

A pause that works once and then needs a program restart almost always comes from a single-use interrupt registration on the pause input. Remove the one-shot optional argument from the input-interrupt instruction, confirm the request input actually releases between requests, and test a second pause without restarting.

On this page
  1. Two conditions, and only one of them is your fault
  2. Where to read each deciding condition
  3. Finding the one-shot registration
  4. Worked example: proving a second event exists before you edit code
  5. Removing the single-use option
  6. Testing a second pause without a restart
  7. Questions asked

A robot pause that works once and then needs a program restart almost always comes from a single-use interrupt registration. On an IRC5-class controller running RAPID, the ISignalDI instruction connects a digital input to a trap routine, and its optional Single argument limits the interrupt to one occurrence. The controller's own documentation for that argument says it specifies whether the interrupt occurs once or cyclically: with Single present, the registration is consumed after the first qualifying transition, so a second pause request has nothing left to trigger it. Restarting the program makes the pause work again only because the startup path executes the registration instruction a second time.

This is an event-lifecycle problem, not a motion, load or tuning problem. Diagnose the input transition and the interrupt registration before touching motion settings or adding delays.

Two conditions, and only one of them is your fault #

Distinguish the input being active from a new qualifying input event:

  • A held input is not a new event. After the first pause, the external request must release and produce the next transition. A button held down, a latched PLC output, or a request that never returns to its inactive state blocks a second interrupt even after you remove Single.
  • A consumed registration is not an event source. With Single in the instruction, the first event itself removes the ability to respond, regardless of what the input does afterward.

Watch the input and program execution together to tell them apart: no visible transition points to the request circuit or handshake; a visible transition with no trap running points to the registration or the state the first pause left behind.

Where to read each deciding condition #

Condition What decides it Where to read it
Pause events handled per startup Only the first works when Single is present Cycle behavior and the ISignalDI call in the program
Request input state The input releases and produces a new qualifying transition Controller I/O display and the requesting device's logic
Registration execution The setup instruction runs before requests are expected Initialization path and execution pointer
Pause-handler completion The trap finishes and returns to the cycle The trap routine and the program execution display
Controller stop or fault state An independent condition blocks execution Controller status and event log

Finding the one-shot registration #

Work through these checks in order, cheapest first:

  1. Locate the ISignalDI instruction connected to the pause input and note which trap routine it connects.
  2. Read its argument list for the optional Single switch. Its presence matches the symptom exactly: one pause per program start.
  3. Trace when that instruction executes. If it sits in an initialization path, confirm that a plain input request does not re-run it.
  4. Observe the pause input during the first request, its release, and the second request, and confirm the requesting device produces separate transitions.
  5. Follow the first pause through its recovery and check that execution returns to the intended cycle with interrupt processing intact.
  6. If the second request coincides with a stopped task or motion inhibition, read the controller event log; a registration fix will not clear an independent fault.

A programmer used to PLC scan logic expects every line to be evaluated repeatedly. Robot program execution follows its written flow, so initialization statements are not re-executed just because another physical request arrives. That is why a restart-dependent symptom points straight at the setup code.

Worked example: proving a second event exists before you edit code #

Before changing the program, prove the request side produces a new transition. Use a stopwatch test against the controller's I/O display, with example values for a typical pick-and-place cell:

  • Inputs and where they come from: the pause-request digital input, observed on the controller I/O display (installed system); the release behavior, observed on the requesting device's output; timings recorded by stopwatch during a manual cycle.
  • The rule in words: a new interrupt requires the input to go inactive, then active again. So the display must show two rising transitions per cycle for a repeating pause.
  • The arithmetic: first request active for 2 s, then inactive for 3 s, then active again for 2 s gives transitions at t = 0 s, t = 2 s and t = 5 s — two rising edges, separated by 3 s of inactive time.
  • The result: two distinct rising transitions per pause-and-release cycle.
  • The decision: if the display shows those two rising edges and the trap still runs only once, the registration is the fault and removing Single is the correction. If the display never shows the second rising edge, fix the requesting device or handshake first — removing Single alone will not restore the pause.

Removing the single-use option #

Make one narrow edit so the result is attributable to the interrupt lifecycle:

  1. Save a recoverable copy of the current program and record the affected ISignalDI instruction as written.
  2. Remove the Single optional argument from that instruction. Keep the input, trigger value, interrupt association and all other arguments unchanged.
  3. Check the edited instruction against the installed controller's RAPID technical reference manual for the accepted syntax.
  4. Run the initialization path that establishes the edited registration. Editing the text alone does not change the running registration.
  5. Test pause and recovery under controlled commissioning conditions before returning the robot to production motion.

No controller firmware change belongs in this correction. The reported fix was the removal of Single, nothing else.

Testing a second pause without a restart #

A successful second request without restarting is the first decisive test. After that, the pause routine must leave the interrupted cycle in a state the robot can resume:

  • Issue a pause request, release the input, and let the intended recovery complete.
  • Issue a second request without restarting the program and confirm the trap executes again.
  • Repeat at different points in the pick-and-place sequence, with the gripper loaded and unloaded, and check the motion resumed after each recovery.
  • Test a held request separately from repeated requests: holding the input active is a different condition from producing a second transition, and it fails for a different reason.

The decision, for both cases: if the symptom is one pause per program start, remove the Single optional argument from the ISignalDI registration; if the input never produces a second transition, correct the requesting device first, then retest.

Questions asked

What does the Single optional argument do on ISignalDI?

It makes the interrupt registration single-use. The instruction says the interrupt is to occur once instead of cyclically: after the first qualifying transition on the input, the registration is consumed and no later event can trigger the connected trap until the setup code runs again, which is what a program restart does.

The pause still fails after removing Single. What now?

Check that the request input actually returns to its inactive state between requests. A second pause needs a new transition, not just an input that is already active. Watch the input on the controller I/O display during a release and a second request: a missing transition points to the requesting device or its handshake; a visible transition with no trap points to the registration or execution state.

Does the trap routine need to do anything special so later interrupts still fire?

Yes. The handler must complete and let normal execution resume. If the first pause leaves execution stuck inside the trap, in a wait that never finishes, or with interrupt processing disabled, the controller is not ready for the next request even though the registration is fine. Confirm execution returns to the cycle after each pause.

Keep reading

  • Explainer

    What Decides Whether an Old Robot Arm Router Retrofit Works

    An old six-axis robot can drive a router only when four checks pass: the servo drives and feedback are documented and can be commanded, the controller runs inverse kinematics that turn Cartesian coordinates into six joint commands, the planned tool paths avoid singular poses, and the complete router assembly sits inside the wrist payload rating. Reach and payload figures in a listing decide nothing on their own.

    Servo and stepper motion

  • Troubleshooting

    Why a Servo Gripper Trips Overload at the Closed Jaw Position

    The trip is thermal, not logical: when the jaws stop on the part before the commanded close position, the unclosed position error keeps the servo drawing stall current, and the overload model accumulates until it trips. End the closing move on detected contact - motion stopped plus a torque or current threshold - and transfer the axis to a controller-supported limited-force or soft-absorber hold; do not raise the trip setting.

    Servo and stepper motion

  • Selection guide

    Brushed DC Servo Robot Arm Retrofit: Keep or Convert to Steppers

    Keep the brushed DC servos and chain mechanics wherever they are serviceable: they are the measured proof of the torque and speed every joint needs. Replace damaged encoders matched by shaft size and line count, and run the motors from brushed-servo drives that accept step and direction commands. Convert a joint to steppers only after its measured load proves torque at speed on the candidate's own curve.

    Servo and stepper motion