Siemens AG 1999 All rights reserved File: PRO1_09E1 Information and - ( ) 2 3 4 5 Monitor/Modify Variables" 6 7 8 9 10 11 CPU 12 Stop 13 (Forcing) 14 (1) 15 (2) 16 : 17 : Stop 18 : 19 : (Forcing) 20 : 21 1
- ( ) Siemens AG 1999 All rights reserved File: PRO1_09E2 Information and Debug -> Monitor Monitor ( Status ) LAD/FBD, Options -> Customize : -> " " -> " " 1 Monitor (LAD, STL, FBD) 2 CPU STOP 2
Siemens AG 1999 All rights reserved File: PRO1_09E3 Information and Debug-> Operation Breakpoint Single-step( ) CPU Protection Operation 3
Siemens AG 1999 All rights reserved File: PRO1_09E4 Information and Debug -> Call Environment ( ), DB FC 1 ( ) FC 30 FB 1 FC 40, DB FB DB DB2 DB1, DB2, DB3 DB2 "Test Operation" 4
LAD/STL/FBD Editor -> Options ->Customize : Siemens AG 1999 All rights reserved File: PRO1_09E5 Information and Status Bit, RLO Standard status Options -> Customize -> STL AR1 Address register 1, AR2 Address register 2, Accumulator 2 DBR1 Data block register 1 ( DB ) DBR2 Data block register 2 ( DB ) Indirect, (MD DD, L IW [MD 100] ) (, 16, ) RLO, STA ( ) 5
"Monitor/Modify Variables" Siemens AG 1999 All rights reserved File: PRO1_09E6 Information and Monitor/Modify Variables STEP 7 CPU View -> Toolbar Standard View Variable View -> Symbol / Symbol Comment / Monitor Format / Monitor Value / Modify Value View 6
Siemens AG 1999 All rights reserved File: PRO1_09E7 Information and VAT 1 LAD/STL/FBD PLC ->Monitor/Modify Variables 2 SIMATIC Manager Blocks Insert New Object -> Variable Table ( ) HEX () 7
Siemens AG 1999 All rights reserved File: PRO1_09E8 Information and Variable -> Update Monitor Values Variable -> Monitor 1 Modify Value 2 3a Variable ->Activate Modify Values ( 3b) 3b Variable -> Modify 4 Monitor 8
PII : RUN --> STOP PIQ Siemens AG 1999 All rights reserved File: PRO1_09E9 Information and Variable -> Set Trigger Monitoring and Modifying Variables Monitor Trigger Point Modify Trigger Point Monitor Trigger Frequency ( ) Modify Trigger Frequency! Monitor Trigger Frequency Once, Modify Trigger Frequency Once, Every Cycle Monitor Modify Monitor CPU ( : CPU 314-1AE03) Modify Trigger Frequency Every cycle" "Force 9
Siemens AG 1999 All rights reserved File: PRO1_09E10 Information and VAT 0 65535, VAT5 10
Siemens AG 1999 All rights reserved File: PRO1_09E11 Information and 1 Table -> Open 2 Open" 3 Blocks 4 5 "OK 11
CPU CPU Station 1 CPU CPU (HW Station 2 "Station 2 VAT) Station 3 PG Siemens AG 1999 All rights reserved File: PRO1_09E12 Information and PLC VAT CPU CPU CPU PLC -> Connect To CPU CPU CPU CPU CPU S7 (H/W ) CPU CPU PG CPU CPU CPU PLC -> Connect To -> Accessible CPU CPU CPU 12
Stop Siemens AG 1999 All rights reserved File: PRO1_09E13 Information and Enable Peripheral Outputs" (PQ) CPU STOP 1 Table -> Open (VAT) 2 PLC -> Connect to CPU 3 PLC -> Operation Mode Operation Mode CPU STOP 4 Modify Value" : PQB 7 : 2#0001000011 PQW 2 W#16#0027 PQD 4 DW#16#0001 5 Variable -> Enable Peripheral Outputs Enable Peripheral Outputs 6 Variable -> Activate Modify Values Enable Peripheral Outputs Varialbe -> Enable Peripheral Outputs 7 4 CPU STOP RUN STARTUP CPU RUN Enable Peripheral Outputs 13
(Forcing) Siemens AG 1999 All rights reserved File: PRO1_09E14 Information and (Forcing) S7-400,, S7-300 CPU Force Values Force Values CPU Force Values Force CPU Variable -> Stop Forcing Force Values Monitor/Modify Variables Edit -> Undo Forcing! Force! CPU (, CPU 314-1AE03) 14
(1) Siemens AG 1999 All rights reserved File: PRO1_09E15 Information and STL CPU Test View -> Breakpoint Bar "Test Operation"! CPU! CPU (, CPU 314-1AE03) 15
(2) Breakpoint Next statement Siemens AG 1999 All rights reserved File: PRO1_09E16 Information and / / Set/Delete Breakpoint Breakpoint Active Show Next Breakpoint Resume "Next Statement Next Statement Execute Call 16
: 32 16 Siemens AG 1999 All rights reserved File: PRO1_09E17 Information and S7 "My Program VAT 1 S7 : Insert -> Block,, I 80 ~ I 87 8 CPU Start of cycle Every cycle Monitor Variable Modify Value 1 Modify 17
: Stop Siemens AG 1999 All rights reserved File: PRO1_09E18 Information and CPU Stop, Stop CPU STOP VAT 1 PQB 20(PQB 8) "BIN" 00100000 Variable -> Enable Peripheral Outputs Variable -> Activate Modify Values Esc Stop 18
: S7 "My Program OB 1 (Q 46) (Q 46) Siemens AG 1999 All rights reserved File: PRO1_09E19 Information and Modify Variables S7 "My Program OB 1 ( ) S7 "My Program" CPU STOP CPU RUN VAT 1 Q 86(Q 46) Modify Trigger Point "0" Modify Variable 19
: (Forcing) Siemens AG 1999 All rights reserved File: PRO1_09E20 Information and Force Monitor and Modify Variable" Variable -> Display Force Values "Force Values" I 00 ~ I 02 ( ) Variable -> Force "Force Values CPU 20
: Siemens AG 1999 All rights reserved File: PRO1_09E21 Information and Monitor and Modify Varialbe LAD/STL/FBD ( FC 1, S7 My Program ) Monitor and Modify Variable I 00 ~ I02 Monitor Variable LAD/STL/FBD Editor" FC 1 Force Variable -> Display Force Values Variable -> Stop Forcing 21