
5-7
Ladder Logic (LAD) for S7-300 and S7-400
C79000-G7076-C504-02
5.4 Setting the Trigger Conditions
By setting the trigger condition you select the call environment of the block
to be tested. The test will not take place unless the trigger condition is
fulfilled.
The trigger conditions can be set by using the menu command Debug
"
Call
Environment.
Block Call Environment
Cancel
Trigger Condition
OK Help
No Condition
C
all Path 1st Block:
2
nd Block:
3
rd Block:
Block Status: FB6
Open Data Blocks
G
lobal DB Number: DB6
I
nstance DB Number:
Figure 5-4 Setting the Trigger Conditions
The three possible settings have the following meanings:
S No trigger conditions: The call environment of the block being tested is
irrelevant. This means that if a block is called at various points during the
program, you will not be able to distinguish which status applied to which
call.
S Call path: This is the call path used for calling the block in order to
trigger a status display. You can enter three block nesting levels before the
tested block is reached.
S Open data blocks: In this case the call environment is defined by one or
two data blocks. A status display is triggered when the block currently
being tested is called in association with one of these data blocks.
Background
Procedure
Trigger Condition
Settings and their
Meanings
Editing the Block Properties and Testing the Program
Comentarios a estos manuales