5226BB Rev F.
4.4.32
11/2/2026
SCN: 5399 — 5226; BG2 Pairs with BG1 When No Park Position

Changes made for Pathfinder 5226 controllers.

Non-taper parts: if Setup ID 826 is zero, BG2 gets the BG1 target instead of parking. Same three-line change in both bend loaders.

New Is_Paired_BackGauge() helper. When paired, BG2 takes the same finger offset BG1 was given and skips its own finger-1 raise logic so both carriages stay parallel.

Jog rework: a jog of either backgauge first aligns the two (the trailing one moves to the other's position, flagged as an "align jog" so no finger offset is applied), and once parallel a jog moves both together with the target clamped to both axes' travel limits and conflict-checked for both.

SCN: 5400 — 5226; BG2 Max Separation from BG1

Changes made for Pathfinder 5226 controllers.

New setup parameter, struct field, and error code E478.

Check_BackGauge_2_Separation() runs every 1 ms from the run wait loop. It tolerates being outside the limit while the gap is closing or holding, and faults only if the gap opens further by more than BG2 tolerance. On fault it halts and stops both backgauges. Auto mode: Axis_Move_Conflict rejects a BG2 move whose intended target would exceed the limit. Jog mode: the jog target is clamped to the other backgauge plus or minus the limit, and a jog that would open the gap further is refused with E478.

Groups 1 and 2 share files and are only meaningful together, so they are effectively one checkin.

SCN: 5401 — 5226; Emergency Clamp Up as an Exclusive Output

Changes made for Pathfinder 5226 controllers.

If O_126 is defined, raise-clamp-on-E-Stop drives only that output. The drive enable, direction, speed select, and analog outputs are suppressed for the duration.

SCN: 5402 — 5226; Simulated Pressure Ramp

Changes made for Pathfinder controllers.

Instead of jumping straight to max counts when relief turns on, simulated pressure starts 10 percent below the working pressure and ramps 1 percent every 200 ms. This exists to exercise the pressure wait loops that group 4 touches, so it belongs with that checkin.

SCN: 5403 — 5226; Siemens S210 EIP Driver Hardening and Diagnostic Cleanup

Changes made for Pathfinder 5226 controllers.

Traversing-task handshake: before writing START_MDI the driver now walks reject (bit 4 low), release (bit 4 high, bit 6 low), then activate, one produced frame per step, to avoid drive alarm A07487.

Keepalive moved from a 100-frame counter to a 2 s wall-clock interval, and it is skipped while an explicit message is in flight so keepalive reads cannot flood the drive.

All temporary bench printf diagnostics removed from both files. The "complete the explicit message even on error" fix stays.

SCN: 5431 — 5226; Won't Go Into Fast if FoldguardActive is Defined

Changes made for Pathfinder 5226 controllers.

Change: allow fast clamp close under FoldGuard handshake (BlackBox, RunSingleBend.c)

Status: edited 2026-10-21, pending TFS checkin against changeset 4453. One file, five lines added, no lines removed.

Problem. On JornsFlex, and any other configuration that enables the FoldGuardWithHandshake feature group, the automatic clamp close always ran in slow speed from the top of the stroke. The FastSpeedSelect output never turned on, regardless of the FoldGuardActive or ClampingBeamSlowSpeedLimit input states.

Root cause. The handshake group maps FoldGuardActive, both EnableClampMoveDown inputs, ClampingBeamSlowSpeedLimit and the RequestClampMoveDown output, but it never assigns a pin to FoldGuardClampingBeamLaser. The clamp-close speed decision in RunSingleBend.c only consulted two inputs, ClampingBeamInhibited and FoldGuardClampingBeamLaser. With neither defined it always chose slow. That set the safe-speed flag, the discrete open-loop state machine started the move in its slow state, and that state has no transition back to fast. FoldGuardActive was consulted only to skip the safety-stop-height stop, never for speed. Jogging already treated FoldGuardActive as permission for fast, so jog and automatic behaved differently.

Fix. Added a third permitting term to the SlowSpeed expression at RunSingleBend.c:883-889. Fast is now allowed when FoldGuardActive is defined and on, and no FoldGuard laser input is defined. The two existing terms are unchanged.

Safety behaviour.

If a configuration maps the FoldGuard laser, the laser term still decides. A blocked laser is never overridden by FoldGuardActive. Slowing down remains the FoldGuard's responsibility through the ClampingBeamSlowSpeedLimit input. If it is on at move start the clamp starts in slow. If it turns on mid-move the existing handler issues a slow command, the loop drops to slow and the fast select clears on the next 1 ms cycle. Once slow, the clamp stays slow for the rest of that close. Automatic now matches the existing jog behaviour. Expected result on the machine. With FoldGuardActive on and the slow limit off, the clamp starts in slow for the configured slow-start time, then the fast select comes on until the slow distance or until the FoldGuard asserts the slow limit.

Not changed. The double-bend close in RunDoubleBend.c always passes safe speed and has no laser term, so HyperDrive and TwinPro handshake machines still close in slow. Left as is pending a decision.