FB_TestPrepBase

Function block for the preparation steps of a test case. This function block can be used to move the steps required to reach the operating point of a test case into a separate function block. The advantage of this is that these steps can be reused in different test cases. The preparation function block also has the necessary methods to detect errors that occur during the execution of the preparation steps. The basic preparation step has the following internal variables, which can be modified using the methods described below.
|
Name |
Type |
Default value |
Meaning |
|---|---|---|---|
|
nCurStep |
UDINT |
0 |
Status variable for a possible step sequence |
|
bDone |
BOOL |
FALSE |
Indicates whether the function block has completely finished executing. |
|
bError |
BOOL |
TRUE |
Error Analysis of the function block call |
|
sFinalMessage |
STRING(255) |
|
Message that is passed after the test. |