PIDE Against PID: When the Enhanced Loop Earns Its Complexity

A side by side comparison of PID and PIDE across nine rows: languages, algorithm form, where the delta t comes from, gain changes, ownership, cascade handshake, autotune, 5590 support and execution time

PIDE Against PID: When the Enhanced Loop Earns Its Complexity Convert a ControlLogix 5580 project to a 5590 and every PIDE in it fails verification with the same message: Invalid instruction reference, PIDE is not available for this controller type. Using PPID is recommended. 1756-RM100M prints that string verbatim, and 1756-RM006P carries the same warning … Read more

PID on a ControlLogix: the Loop Update Time, the Task and the Tieback

The PID structure members that decide the loop on a dryer temperature controller, with .UPD, the gain members, the two scaling pairs and the tieback range shown as values

PID on a ControlLogix: the Loop Update Time, the Task and the Tieback A PID instruction on a 1756-L83E executes on every scan of the routine that holds it, and it never once asks the controller what time it is. Its integral and derivative terms are built from .UPD, the loop update time you typed … Read more

CONCAT, MID and FIND: Taking a Barcode Apart and Building a Message From It

The barcode LHR3402 backslash PAX backslash 0000241 with each character numbered, and the FIND, MID and CONCAT operands that split and rebuild it

The scanner delivers LHR3402\PAX\0000241 to a ControlLogix 5580, 19 characters, and the routine that splits it has worked for eleven months. This morning one bag arrives with a label printed without separators, and the minor fault log picks up type 4, code 56. The routine keeps running. The message tag holds whatever it held last … Read more

One Machine End to End: PLC Data to a Dashboard Through OPC UA, a Broker and a Historian

Five boxes in a row for the controller, the OPC UA server, the edge node, the broker and the store, each listing what it holds and what it costs in nodes, messages or rows, with numbered markers underneath and arrows carrying the values from one stop to the next along the whole path

One Machine End to End: PLC Data to a Dashboard Through OPC UA, a Broker and a Historian Belt 1 on transfer TR-14 was stopped for 60 of the 480 minutes of a Tuesday day shift, and the guard door was open for 17 of them. The other 43 minutes were the machine standing there … Read more

Building an Add-On Instruction: the Parameters, the Local Tags, and the Revision Nobody Manages

The Valve_Ctrl definition: seven parameters with usage, data type, required and visible flags, and the three local tags underneath

The Import Configuration dialog offers three words: Rename, Overwrite, Use Existing. Behind Collision Details, the Property Compare tab says Revision 1.4 against Revision 2.1 and two different Edited Dates. The Project References tab says the existing Valve_Ctrl is used in 38 places. Pick Overwrite and all 38 calls are now calling a different instruction. The … Read more

ALMD and ALMA: Putting the Alarm in the Controller Instead of the HMI

The ALMD and ALMA operands with real values, and the ALARM_DIGITAL and ALARM_ANALOG members that carry the answer

On a ControlLogix 5580, Tank_Level_Alarm.Status.3 is set. Every one of HHInAlarm, HInAlarm, LInAlarm and LLInAlarm reads 0, the transmitter has been sitting at 94.0 against a high-high limit of 90.0 for six minutes, and no alarm exists anywhere on the system. Nothing is faulted and the ALMA instruction is scanning. Status bit 3 is AlarmLimitsInv, … Read more

Periodic, Event or Continuous: Which Task Type a Piece of Logic Actually Belongs In

The three task types side by side with what triggers each, what it costs, and the one sentence that decides it

A 1756-L83E carries a 10 ms periodic task at priority 5 and a continuous task that takes 48 ms end to end. Trend the interval between two consecutive executions of that periodic task and it reads 10.0, 10.0, 10.0, 14.2, 10.0, 10.0, 21.8, 10.0. The period is set to 10. Seven of the eight intervals … Read more

When the Data Layer Is the Wrong Answer: What Not to Connect

A six-row table naming each signal that gets connected to a data layer anyway: a safety function, a loop closed over a link, everything published at ten milliseconds, an MES that writes setpoints, a tag with no owner and an unsynchronised clock. Each row carries the reason it gets connected, what breaks when it is, and what to do instead, with two rows picked out

When the Data Layer Is the Wrong Answer: What Not to Connect Open OPC UA Access on a GuardLogix safety tag and the list has two entries in it: Read Only and None. Rockwell took Read/write off the menu in firmware, and publication 1756-UM023B-EN-P adds that with the controller online you cannot edit that setting … Read more

Triggering a Task From the Program: the EVENT Instruction and the Trigger That Gets Dropped

The EVENT instruction with its Task operand, next to the event task properties showing type Event, trigger EVENT Instruction Only, priority 1 and watchdog 500 ms

The Monitor tab on a 1756-L83E’s Shut_Down task reads Task Overlap Count 63. The task has executed 12 times since the last download, and three programs between them asked for it 75 times. Nothing faulted, nothing latched, and the numbers add up exactly: 12 plus 63 is 75. That is the whole of the EVENT … Read more

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

Advertisement