Skip to content
Discussion options

You must be logged in to vote

One correction on the program-block part, for S7-1200 specifically.

The data side above is right: with PUT/GET enabled and "Optimized block access" off, db_read()/db_write() work on an S7-1200, and so do inputs, outputs and markers.

Reading program blocks (OB/FB/FC) is a different matter. The project's own documentation now says to treat block upload and download on S7-1200/1500 as unsupported unless you have verified it on your CPU and firmware (doc/plc-support.rst, "Feature Availability"). The hardware report in #907 shows why: a CPU 1212C, firmware V4.7.3, with PUT/GET enabled, serves DB reads and writes but refuses upload() with

S7ProtocolError class 0x81, code 0x04: This service is n…

Replies: 3 comments

Comment options

You must be logged in to vote
0 replies
Comment options

You must be logged in to vote
0 replies
Answer selected by gijzelaerr
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants