×
Siemens Industry Online Support
Siemens AG
Entry type: Application example Entry ID: 109746405, Entry date: 05/22/2017
(4)
Rate

S7UnitTest: Automated testing with SIMATIC S7-PLCSIM Advanced

  • Entry
  • Associated product(s)
The S7UnitTest application enables you to automatically test parts of a PLC program with the help of SIMATIC S7 PLCSIM Advanced.

Description
S7UnitTest consists of two tools:

  • S7UnitTest Editor
  • S7UnitTest Application
     



S7UnitTest Editor
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.

S7UnitTest Application
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.

Downloads
  Documentation (1,4 MB)
 Registrierung notwendig  109746405_S7UnitTest.zip (66,0 KB)
SHA-256 checksum: E7AC56C10093439F13596730D1E25DF10773D6EC1690D68514C6519ED09EF57B

Note
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.

Further Information 
SIMATIC S7-PLCSIM Advanced


Additional Keywords 
Tool, Test, NUnit, PLCSIM

Security information
In order to protect technical infrastructures, systems, machines and networks against cyber threats, it is necessary to implement – and continuously maintain – a holistic, state-of-the-art IT security concept. Siemens’ products and solutions constitute one element of such a concept. For more information about cyber security, please visit
https://www.siemens.com/cybersecurity#Ouraspiration.