XL220OL
4.113.0
11/18/2026
SCN: 5437 — XL2; Machine Setup Axis Bugs/Changes

These changes primarily affect Muilti-Axis machines that may not have XL Machine Setup Axes of given types defined.

  1. When Configuring the Machine for Material or PCode an Axis Timeout message was displayed even if there were no Axis of that type defined. For Material and PCode, this also prevented the controller from considering the Machine configured

  2. When Configuring the Machine for Material, PCode or Machine, Axes of those types were trying to be enabled, even if they did not exist, resulting an an uneccesary E-Stop test and E-Stop error message if the machine was e-stopped.

SCN: 5447 — XL2; Add more help to Memory Below % error messages

The Memory Below % error messages have been modified to ecourage customers to check their Eclipse Connection or call AMS Controls before memory corruption occurs. This may encourage customers to stop ignoring these messages before blue screens, which are more difficult to diagnose, occur.

SCN: 5452 — XL; Encoder Simulation Spikes and ISR protection.

PROBLEM

Running a Die Accelerator Test, the simulated material velocity showed sudden spikes, with the die correctly chasing them. This affects the Die Accelerator Test only. The encoder simulation is the only encoder source that behaves this way, and a real encoder, a SERCOS drive and an EtherCAT drive were all confirmed on hardware to be unaffected.

Separately, while investigating that, a number of values shared between the hole detect interrupt and the main program were found to be updated without blocking that interrupt. No field reports are attributed to these, but each has a definite consequence on a production machine: a hole position or a die position wrong by a large amount, a hole seen by the interrupt but never reported, motor feedback counts on a SERCOS or EtherCAT machine counted twice or dropped, and an Open Loop target tested against a wrong position. All of them depend on a monitored input changing state at a particular moment, so they are intermittent and rare.

CAUSE

Two unrelated faults.

The Die Accelerator Test fault is that the encoder read used for an event such as a hole edge was also advancing the shared encoder data that the periodic one millisecond velocity and loop calculations depend on. Real encoder hardware, and a SERCOS or EtherCAT drive, hold a position between reads, so an extra read only splits the same movement into smaller pieces and nothing is gained or lost. The Die Accelerator Test holds no position; it generates its counts as it is read. Every edge on any monitored input therefore injected extra travel into whichever sample contained it, and the velocity filter reported that as a spike.

The second fault is that, on the V4 hardware, the shared values above are either thirty two bits wide, and so are written in two halves, or are flags packed into a single word that both the interrupt and the main program modify. An input edge arriving part way through one of those updates leaves a position built from half of the old value and half of the new, or overwrites the interrupt's own record that a hole has been seen, which is how a hole can be missed with its position already captured but never reported.

Contributing to the second fault, the routines used to block and restore interrupts, on the V4 hardwarte, did not put the previous state back when they finished. They simply enabled everything. A routine that had blocked interrupts could therefore be unblocked by any other routine nested inside it, and a handler could unblock itself part way through its own work.

CHANGE

Encoder event reads and periodic reads are now separate operations with separate entry points. An event read reports the count at that instant without disturbing anything the periodic sample depends on, and it does not advance a simulated encoder at all, since event accuracy during a Die Accelerator Test is not a requirement.

Blocking and restoring interrupts, on the V4 hardware, now counts how many times blocking has been requested and restores the exact state that was in force before the first request. Nested use is safe, and a handler can no longer unblock itself. This is the same behaviour the operating system already provides on the version five controller, so shared code now behaves identically on both.

Every shared value the hole detect interrupt can reach is now updated with interrupts blocked. A hole position, a die position, a motor feedback count or a hole detected flag can no longer be split in half or lost.