Basic Concepts for Programming an S7-200 CPU
4-36
S7-200 Programmable Controller System Manual
A5E00066097-02
To choose the categories of values that you want to appear in the STL status
window, select Tools > Options and then select the STL Status tab. You can
choose to monitor three categories of values in the STL status window:
• Operands (up to three operands per instruction)
• Logic Stack (up to four of the most recent values from the logic stack)
• Instruction Status Bits (up to twelve instruction status bits)
To obtain first scan information, place the PLC in STOP mode, enable STL status,
then select Debug > First Scan.
MAIN
Name Var Type Data Type Comment
0
Op 1
Op 2
Op 3
PLC Debug Tools Windows Help
STL Program Status (runtime)
SIMATIC FBD
TEMP
TEMP
OD<= *VD0 *VD4
// V SCRR S2 S1 S0 / Neg
OD<> *VD0 *VD4
// V SCRR S2 S1 S0 / Neg
OD<> *VD0 *VD4
// V SCRR S2 S1 S0 / Neg
OD<> *VD0 *VD4
SCRE
NETWORK 7
//*****************************
// Color scheme check
// Communication Function
//
LD SM0.0
MOVW +1, VW0
*I -1, VW0
LD SM0.0
MOVD &VB4, VD0
MOVB 1, VB4
MOVB 0, VB1500
MOVB 3, VB1501
MOVD &VB0, VD1502
MOVB 0, VB1506
MOVD &VB1500, VD1508
MOVB 16#80, SMB87
MOVD &VB1520, VD1524
//Verify Red Color Scheme
// V S0 / Neg / 1 (VB4)
XMT *VD0, 0
// V S0 / Neg / 1 (VB4)
RCV *VD0, 0
// V/S0 / Neg / 165(VB1500)
NETR *VD1508, 0
// V/S0 / Neg / 165(VB1500)
NETW *VD1508, 0
+1 +1
-1 -1
16#8000004
1
0
3
16#8000000
0
16#0005DC
16#80
16#80005F0
+13217732
1
0
3
+134217728
0
+134219228
128
+13421948
1 (VB4)
1 (VB4)
165
(VB1500)
Triggered Pause
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
1
-
1
1
1
1
1
1
1
1
1
1
1
1
1
1
0
0
0
-
SBR_0
Figure 4-19 Displaying the Status of a Program in Statement List