From 2af789a017beb4588ba90283611cd788cecadd0b Mon Sep 17 00:00:00 2001 From: Michele Cattafesta Date: Thu, 31 Aug 2017 21:13:31 +0100 Subject: [PATCH] Updated test (markdown) --- S7-1200-1500-Notes.md | 24 ++++++++++++++++++++++++ test.md | 1 - 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 S7-1200-1500-Notes.md delete mode 100644 test.md diff --git a/S7-1200-1500-Notes.md b/S7-1200-1500-Notes.md new file mode 100644 index 0000000..11a8b22 --- /dev/null +++ b/S7-1200-1500-Notes.md @@ -0,0 +1,24 @@ +This is taken directly from Snap7 documentation: http://snap7.sourceforge.net/ + +## S7 1200/1500 Notes + +An external equipment can access to S71200/1500 CPU using the S7 “base” protocol, only working as an HMI, i.e. only basic data transfer are allowed. +All other PG operations (control/directory/etc..) must follow the extended protocol, not (yet) covered by Snap7. +Particularly to access a DB in S71500 some additional setting plc-side are needed. + +1. Only global DBs can be accessed. +2. The optimized block access must be turned off. +3. The access level must be “full” and the “connection mechanism” must allow GET/PUT. + +Let’s see these settings in TIA Portal V12 +DB property +Select the DB in the left pane under “Program blocks” and press Alt-Enter (or in the contextual menu select “Properties…”) +Uncheck Optimized block access, by default it’s checked. + ![protection](https://github.com/killnine/s7netplus/blob/master/Documentation/protection.png) + +## Protection + +Select the CPU project in the left pane and press Alt-Enter (or in the contextual menu select “Properties…”) +In the item Protection, select “Full access” and Check “Permit access with PUT/GET ….” as in figure. + +![protection2](https://github.com/killnine/s7netplus/blob/master/Documentation/protection%202.png) \ No newline at end of file diff --git a/test.md b/test.md deleted file mode 100644 index 2e65efe..0000000 --- a/test.md +++ /dev/null @@ -1 +0,0 @@ -a \ No newline at end of file