Reading a Logix Tag into Node-RED on a Raspberry Pi Without Writing Code

plc programming logix tag node red raspberry pi no code 1 plc

A Node-RED Logix tag read takes one install script, one palette install and two dialogs on a Raspberry Pi 4: Zone7_Speed from a 5069-L306ER appears in the debug sidebar as 30.0, and none of it involves typing a line of code. The node that does it is node-red-contrib-cip-ethernet-ip 1.1.3, installed from the palette manager, configured … Read more

Timestamping PLC Data on a Raspberry Pi: Which Clock Wins and Why Your Trend Repeats an Hour

plc programming plc data timestamps raspberry pi clocks repeated hour 1 plc

At 02:30 on Sunday 25 October 2026 a logger in Berlin writes a row, and sixty minutes later it writes another row stamped 02:30, and the trend viewer draws the second hour on top of the first. Meanwhile the controller it reads from keeps its own idea of the time as a LINT of microseconds … Read more

Photo-Eye Placement on an Accumulation Zone: Distance From the Discharge and What a Long Box Does

Three zones in side view with the eye 150 mm back from the discharge: a stopped 600 mm carton with 750 mm of zone behind it, and a stopped 1219 mm carton with 131 mm

A 42EF retroreflective eye bolted 150 mm back from the discharge roller of a 1.5 m zone stops a 600 mm carton with 750 mm of zone still behind it, and stops a 1219 mm carton with 131 mm. Move the same eye to 50 mm from the discharge and the first carton overshoots into … Read more

Reading a CompactLogix Tag from a Raspberry Pi with pycomm3

Raspberry Pi, switch and CompactLogix 5380 on one subnet, with the IP plan, the EtherNet/IP port and the direction of the request marked

Four lines of Python on a Raspberry Pi 4 read a CompactLogix tag – a REAL out of a 5069-L306ER – and nothing at either end is licensed. pycomm3 1.2.16 speaks EtherNet/IP to TCP port 44818 itself, which takes the OPC server, the Windows box it used to live on and the licence out of … Read more

Singulation on a Zero-Pressure Accumulation Conveyor: The Release Rule That Stops Two Boxes Leaving Together

Four accumulation zones with eye positions, the 1.5 m pitch, and the length of conveyor that no photo-eye covers

On a 1.5 m zone pitch at 0.28 m/s, a 600 mm carton is invisible to both photo-eyes for 3.2 seconds of its journey between them. An upstream zone whose release permissive is nothing more than “the next eye is clear” will use that window to send a second carton, and the two of them … Read more

A Conveyor Jam Timer That Does Not Nuisance-Trip: Setting the Time From Zone Length and Belt Speed

Three zones of an accumulation conveyor with zone length, photo-eye position and belt speed marked, and the eye-to-eye pitch that sets the transit timer

Time it with a stopwatch before you type anything into the preset: the longest carton you run, crossing the photo-eye, on the slowest zone. A 1219 mm carton at 0.28 m/s sits on that eye for 4.35 seconds, which is why the 2000 ms that came across with the copied project trips every time the … Read more

Writing a Setpoint Back to the PLC from a Pi: The Handshake That Stops It Being a Safety Problem

The write path from dashboard to Pi to CompactLogix, with the panel selector switch drawn as a hard-wired input beside the controller and no safety tag anywhere on the path

A pycomm3 write of 95.0 to Line4_SP on a CompactLogix comes back to the Raspberry Pi with no error, and the line is now running at 95 % because nothing between the driver and the tag asked whether it should. A read-only logger becomes a control path the first time somebody puts a slider on … Read more

Advertisement