IncStep

IncStep 1:

As described in the FB_TestPrepBase chapter, there are internal variables that can be used during the implementation of the preparation steps. Among other things, the variable nCurStep is used as a status variable for a “Case” construct, which can be used to structure the preparatory steps in the form of a state machine. The IncStep method increments the value of the nCurStep variable by 1. If a different status variable is to be used, this method must be overridden when it is to be used.

Syntax

METHOD IncStep
VAR_INPUT
END_VAR