This guide describes how to configure a Siemens S7 PLC so that DIAP will be able to retrieve data correctly.
Siemens S7 configuration
The DIAP can access various regions in the S7 PLC (In/Out/DB/Merkers/Timers/Counters).
For Siemens S7-300 and S7-400 you have to make a small adjustment.
In you need to be sure that there is a dedicated connection resource to Diap.
Diap is occupying one PG communication , you can adjust that in hardware configuration like shown in the picture below.
For Siemens S7-1200 and S7-1500, however, some configuration is needed to be able to collect data with DIAP.
In the TIA portal, set the PLC protection to allow Read access (Full access will also work). The “Connection mechanisms” must allow PUT/GET communication.
DIAP can only read DB's without optimized block access.
Consequently, this must be turned off on the DB(s) that DIAP needs access to.
Please note: Creating a new DB is also an option if the source DB is heavily used by the CPU.
The following information is needed to configure DIAP. Please send the information in a text format (eg. txt, csv, xls, etc.). Image files are not acceptable.
The rack and slot numbers are as follows:
For example, the following information is required for a DB:
- DB number
- Tag name
- Data type
- Address / offset
Compatible reading types
The following specification data types are currently supported.
S7 compatibility list