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

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

Running an S7-1200 Program in PLCSIM With No Hardware: The Simulated Interface and What Behaves Differently

plc programming s7 1200 plcsim no hardware what behaves differently 1 plc

A project built for a CPU 1214C DC/DC/DC, no CPU in the building until Thursday, and an S7-1200 PLCSIM instance one toolbar button away. Press it, pick PLCSIM in the PG/PC interface dropdown instead of the wired NIC, and the download that would have gone to 192.168.0.1 over the bench cable goes to a powered-up … Read more

Advertisement