Welcome to the user guide for the TwinCAT 3 Function Blocks. This guide provides an overview of the available function blocks and their usage.
- Manages multiple test suites.
- Adds, executes, and manages test suites.
- Provides methods for starting and stopping test suites.
- Represents a single test suite.
- Defines test cases and assertions.
- Handles file operations and assertion checks.
- Provides file manipulation functionalities.
- Creates, deletes, appends, and loads files.
- Represents a list of strings.
- Adds, inserts, retrieves, and clears string items.
- Builds and manipulates strings efficiently.
- Appends values and converts to string.
- Provides assertion functionalities for testing.
- Verifies conditions and checks for equality.
- Instantiate the desired function block.
- Set properties and configure methods.
- Execute methods to perform operations.
- Check results using assertions.
// Instantiate FB_Testsuite
fbTestsuite: FB_Testsuite;
// Define test cases
fbTestsuite.M_Testcase("TestName", T#1S, "", "", 1);