Skip to content

S7Client

Federico Barresi edited this page Jun 5, 2020 · 3 revisions

Use an object of type S7Client in order to communicate with a PLC

Supported Targets

  • S7 300/400/WinAC CPU (fully supported)

  • S7 1200/1500 CPU

They use a modified S7 protocol with an extended telegram, 1500 series has advanced security functions 
(such as encrypted telegrams), 
however they can work in 300/400 compatibility mode and some functions can be executed.
  • CP (Communication processor - 343/443/IE)
It’s possible to communicate with them, and see their internal SDBs, 
although it's not such a useful thing, or you can use SZL information for debug purpose.

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 implemented yet.

Particularly to access a DB in S71500 some additional setting plc-side are needed.

  • Only global DBs can be accessed.

DB_props

  • The optimized block access must be turned off.

  • The access level must be “full” and the “connection mechanism” must allow GET/PUT.

DB_sec