1. First establish the communication between Simatic net and smart 200PLC, use the OPC scout software in Simatic net to test, the test process is shown in another blog, the blog address is: https://blog.csdn.net/qq_18671205/article/ details / 104492262
First of all, we must ensure that the connection between Simatic net and smart PLC is successful, otherwise we cannot connect to WINCC, and we must achieve the test effect of data reading, if:
Next, open wincc, add a new driver in the variable management, select OPC, then right-click OPC, select system parameters, add variables; as shown in the figure: