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

Modbus TCP from a Raspberry Pi: Register Offsets, and Why Your Value Is One Address Out

plc programming modbus tcp raspberry pi register offset 1 plc

read_holding_registers(40011, count=2) comes back with exception code 02, read_holding_registers(11, count=2) decodes to -2.4e-41, and the 230.5 V the meter shows on its own display is sitting at address 10. That is the Modbus TCP register offset, and it is the fault everybody hits on their first evening with pymodbus 3.15.0 and a power meter on … 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

Polling an S7-1200 from a Raspberry Pi with snap7: DB Numbers, Optimized Access and the PUT/GET Checkbox

plc programming s7 1200 raspberry pi snap7 put get 1 plc

A snap7 S7-1200 read – plc.db_read(12, 0, 12) against a CPU 1214C – returns twelve bytes on the bench and an exception on the machine, and the difference is two checkboxes in TIA Portal, neither of them on the Pi. python-snap7 3.1.2 talks the S7 protocol to TCP port 102 in pure Python, so there … Read more

Advertisement