7-4
Primer: S7-300 Programmable Controller, Quick Start
C79000-G7076-C500-01
Regardless of whether you want to test a block created in STL, LAD, or
FBD, you can always:
S Define the trigger condition,
S Select the test environment and
S Define the settings for the test display.
We will explain the meanings of
these settings below!
When you set the trigger condition, you set the call environment for the
block to be tested. The test function is only executed if the trigger condition
set is also fulfilled. You can choose between three different settings, as
shown in Figure 7-2:
Block Call Environment
Cancel
Trigger Condition
OK Help
No Condition
Call Path 1st Block:
2
nd Block:
3
rd Block:
Block Status: FC1
O
pen Data Blocks
D
B1 Number:
DB
2 Number:
Figure 7-2 Defining the Trigger Condition
For the sample program, the default setting ‘No Condition’ applies since the
call environment of the block to be tested is not important.
Introduction
Meaning of the
Trigger Condition
Downloading and Testing Your User Program
What Do You Have to Know about Testing?