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

Firmware Mismatch on a Spare CPU: What Actually Has to Match

plc programming spare cpu firmware mismatch 1 plc

A spare CPU firmware mismatch looks like this: a new 1756-L83E ships at firmware revision 1.xxx, and a project saved from Logix Designer v33 will not download to it until the controller is at some 33.xxx. Those two facts sit on the same page of the ControlLogix 5580 user manual, and between them they are … Read more

Changing an Interface on a Running S7-1500 Without Losing the Values

plc programming s7 1500 interface change in run keep values 1 plc

An optimized block on an S7-1500, or on an S7-1200 at V4.x, is created with a 100 byte memory reserve, which is room for 25 Reals of new Statics before a download in RUN has to reinitialise the instance DB. Whether an S7-1500 interface change makes the load preview put “reinitialize” against the block is … Read more

Advertisement