XL2CL
5.113.0
11/18/2026
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: 5450 — XL2; EtherCAT Jitter improvement

Improved the steadiness of EtherCAT motion timing while the drive diagnostic screen is displayed. With the diagnostic screen open, the controller reads diagnostic information from the drive over a background message channel. On a drive with a large message size, one of these background messages could briefly occupy the network just ahead of the time-critical motion frame and nudge its timing. The controller now paces the large background messages so that at most one is sent per control cycle, and only after that cycle's motion frame has already gone out. The motion frame is therefore sent first and on schedule, keeping its timing steady while diagnostics are in use. Small background messages are left unpaced, so diagnostics stay responsive.

SCN: 5451 — XL2CL; Home Sensor/Hole Detect caused Die Test encoder jumps.

Problem

During the Die Accelerator Test, tripping an input monitored by the hole interrupt - the home sensor, for example - caused a momentary jump in the reported line velocity. The die accelerator tracked the jump, producing a step in the commanded and actual die motion. Machines running an actual encoder were not affected.

Cause

The simulated line encoder has no position of its own between advances. It produces counts only when the software reads it, and each read advances it by one step. The design assumes the 1 millisecond periodic sample is the only reader, so one read equals one millisecond of simulated travel.

The hole interrupt also read the encoder, on every edge of any monitored input. Before the 12-bit encoder changes this was harmless, because the simulated read did not update the shared encoder counter; the extra counts stayed local to the interrupt and the periodic sample never saw them.

The 12-bit encoder changes made the simulated read update the shared counter. That was required - without it the simulation produced no motion at all - but as a side effect each extra read deposited a step into the counter. The next periodic sample then reported two steps of travel for one millisecond of elapsed time, which the velocity calculation interpreted as approximately double the line speed.

Change

Reads performed for an event - hole detect and die encoder offset - now obtain the current count without advancing the encoder source. Periodic sampling for velocity and loop control is unchanged.

Actual encoders are unaffected. Reading a hardware counter does not create counts, so an event read still takes a fresh reading and returns the position at the moment of the event.

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.