S7UnitTest: Automated testing with SIMATIC S7-PLCSIM Advanced
S7UnitTest consists of two tools:
- S7UnitTest Editor
- S7UnitTest Application
With the S7UnitTest Editor Tool, you create and edit a Test Fixture for your PLC program and save it in a S7UnitTest XML file. A Test Fixture consists of Test Cases with individual Test Steps. In the Test Steps, you determine, which PLC tags are to be read or written in a specific program cycle.
With the S7UnitTest Application, you load the created S7UnitTest XML file and start the tests. The application starts the virtual controller of PLCSIM Advanced for the simulation of the loaded PLC program, accesses the program in the storage of the virtual controller and uses it to perform the tests. The test result is directly displayed in the user interface and additionally stored as XML file.
Compare the SHA-256 checksum with the downloaded data to make sure that the data has been downloaded completely and without errors.
How to determine the SHA-256 checksum of a file is described in Entry ID 109483101.
SIMATIC S7-PLCSIM Advanced
Tool, Test, NUnit, PLCSIM