How-To Guides
DeviceHub Guides
Use the Siemens S7CommPlus Driver to Read Optimized Data Blocks
6min
the siemens s7commplus driver allows users to read tags in their siemens s7 1200 and s7 1500 plcs using symbolic addressing tags in optimized data blocks, non optimized data blocks, and named registers can be accessed note support for tags and data blocks in software units is available from the litmus edge 3 16 7 release software units are only available in the s7 1500 series configure your siemens s7 1200 or s7 1500 plc in tia portal open your tia portal project in the project tree, right click your plc and select properties… from the popup menu the properties window opens to obtain the device’s ip address (if you do not already have it) from the left pane, select profinet interface > ethernet addresses in the right pane, go to internet protocol version 4 (ipv4) , find the ip address of the plc, and copy it aside from the left pane, select profinet interface > advanced options > port \[x1 p1] > port interconnection in the right pane, enter “any partner” in the partner port field you do not need to edit any protection & security settings from the default settings in tia portal the driver will automatically select the approriate authentication mode you do not need to disable optimized block access in any data block properties the driver can access optimized data blocks authentication modes the siemens s7commplus protocol has three levels of authentication, which are described below the driver will automatically select the appropriate authentication mode based on the plc's firmware version and protection setting p1 authentication provides basic, unencrypted access, suitable for s7 1200 plcs with firmware versions below v4 0 this level is designed for environments where top tier security isn't a priority p2 authentication incorporates symmetric key based security for s7 1200 plcs with firmware v4 0 to v4 4 and s7 1500 plcs with firmware v2 0 to v2 8 this middle tier offers a balanced approach, securing systems against moderate security threats p3 authentication offers the highest level of security using tls handshake protocols for s7 1200 plcs with firmware versions v4 5 and above, and s7 1500 plcs from v2 9 onwards if tls is disabled, the system automatically defaults to p2 authentication, ensuring continuous security browse and add tags in litmus edge devicehub browsing and adding tags to the siemens s7commplus includes the following tasks step 1 add siemens s7commplus device to devicehub in litmus edge, navigate to devicehub > devices click the connect a device box the connect device dialog box appears in the device type drop down list, select siemens in the driver name drop down list, select siemens s7commplus configure the parameters for the device see connect a device docid\ ish7bqhzxswtdx8vbnszb and siemens s7commplus docid\ j8pvjlg9dhvmvnbeo5s w to learn more copy the name you gave to the device and paste it somewhere for reference later step 2 browse for tags for browsing tags in litmus edge, please refer to the following guidelines based on your version if you are using litmus edge version 3 16 x or below , please refer to the browse for tags (3 16 x and below) docid 1pr wjxpulghki4w4j4gx page for instructions on how to browse for tags if you are a using a version greater than 3 16 x , please refer to the browse for tags (after 3 16 x) docid\ jqnxwjlan4 2cfyc1jhxh page for instructions on how to browse for tags ensure to use the correct devicehub device with your configuration make sure to check your version before proceeding to ensure you are following the correct steps