UID and UIE on a ControlLogix: Protecting a Critical Section From an Interrupt

Timeline showing MainTask at priority 10 writing three setpoints, a 5 ms FastTask at priority 5 reading the array between the second and third write and receiving 120, 340 and 0, against the same sequence protected by UID and UIE where FastTask is held off by 6 milliseconds

UID and UIE on a ControlLogix: Protecting a Critical Section From an Interrupt Three setpoints that belong together — 120, 340 and 75 — reached the downstream controller as 120, 340 and 0, roughly once an hour, on no pattern anyone could find. A 5 ms task at priority 5 was reading the array while … Read more

GSV and SSV on a ControlLogix: Reading the Controller’s Own Data, Including the Clock

Panel of a GSV against the WallClockTime object: class name WallClockTime, instance name left blank, attribute LocalDateTime, destination Clock[0], followed by the seven array elements filled in as year 2026, month 11, day 16, hour 17, minute 3, second 0 and microsecond 418250

GSV and SSV on a ControlLogix: Reading the Controller’s Own Data, Including the Clock About one alarm row in forty carried a timestamp that could not have happened: 17:03:00 with 941 250 microseconds, logged after a row reading 17:03:01 with 12 microseconds. Two programs were each doing their own GSV against the WallClockTime object, in … Read more

AFI, NOP and TND: Changing a Routine Temporarily Without Deleting Anything

Four columns showing AFI at one rung, TND at the rest of a routine, Program DisableFlag at one program and Task InhibitTask at one whole task, each with what it reaches, how it is set, and what still happens when it is active

AFI, NOP and TND: Changing a Routine Temporarily Without Deleting Anything An exhaust fan had been running since 06:14 with the temperature 9 °C below its setpoint, and the rung that should have dropped it looked perfectly healthy in Studio 5000. Four rungs above it sat XIC Commissioning_Mode and a TND. Commissioning_Mode had been set … Read more

JMP, LBL and MCR on a ControlLogix: Skipping Rungs, and Why MCR Is Not a Stop

A routine listing showing rungs 8 to 17: a JMP on rung 8 skipping forward to the LBL on rung 11, an MCR zone opened on rung 12 by Line_Enable and Guard_Closed, an OTE, an OTL and a TON inside it, the unconditional closing MCR on rung 16, and an unaffected OTE on rung 17

JMP, LBL and MCR on a ControlLogix: Skipping Rungs, and Why MCR Is Not a Stop Rung 14 of a filling machine carries OTL Glue_Pot_On and it sits between two MCR instructions. Open the guard, the zone goes false, every OTE inside it clears to 0 — and the glue pot stays hot, because a … Read more

Advertisement