Вы находитесь на странице: 1из 77

OB

S7-PLCSIM V5.0
:
C79000G7000C20102

06/2001
2809918-0002

1
2
3
4
5
6


,
,
. ,
:

!
!
!

, ,
, .

,
, .

,
.

, ,
.

,
.



. , ,
,
.

,
,
,
Siemens.
,
, , ,
.


SIMATIC, SIMATIC HMI SIMATIC NET - SIEMENS AG.
, ,
; ,
.
Copyright Siemens AG 2001
,

.
.
, ,
,
.
Siemens AG


\ 4848, D- 90327,

Siemens Aktiengesellschaft



.
,
. ,
, ,

.
.
Siemens AG 2001
Technical data subject to change.

................................................................................................. 1
................................................................................................. 1
5.0 S7-PLCSIM ............................................................ 3
............................................................................................... 4
STEP 7 ................................. 5
S7 ..................................................................... 6
S7-PLCSIM ........................................................................... 8
................................................................................... 9
......................................................................................... 10
.......................................................................................... 10
............................................................................................ 11
........................................................................................ 11
............................................................................. 12
......................................................................... 14
................................................................................. 15
..................................... 16
............................................................. 17
.......................................................... 18
..................................................... 19
S7-PLCSIM ................... 20
OB .............................. 21
S7-300 .............................................................................................. 21
S7-400 .............................................................................................. 21
..................................... 22
............................................ 23
...................................................................................... 23
............................................................................ 23
.................................................... 24
MPI.................................................................. 24
/................................................. 25
....................................................................................... 28
..................................................................................... 28
....................................................................... 29
..................................................................... 30
.................................................................... 30
........................................................................................... 31
S7-PLCSIM ................................................................... 31
CPU () .................................................................. 32
ACCUs & Status Word................................................. 32
Block Regs ( ) ................................... 32
Stacks () ............................................................. 32
Input Variable ( ) ........................ 33
Output Variable ( )................... 33
Bit Memory () ................................................ 34

Timers ()........................................................34
Counter ()........................................................34
(Generic Variable) ............35
Vertical Bits ( ) .............................36
OB ...............................................................................37
............................................................................................................37
(OB40-OB47) ......................................................38
/ (OB70) ........................................39
(OB72)........................................................40
(OB73) ......................................................41
(OB80)..........................................................................42
(OB82) ........................................................43
...............................................................................................43
Module defect (read-only) ( ..............................................44
/ (OB83)..................................45
(OB85) ............................................................46
(OB86) ....................................................................47
...................................................................................................48
.......................................................................................49
S7-PLCSIM..............................................................49
S7-PLCSIM.........................................................................................50
File () ......................................................................................51
Edit () ..................................................................................53
View () ......................................................................................54
Insert () ............................................................................55
PLC ().......................................................................................56
Execute () .....................................................................57
Tools ()......................................................................59
Window ()................................................................................60
Help () ...............................................................................61
S7-PLCSIM .................................................................62
.........................................................63
.........................................................................................................65

S7PLCSIM
C79000G7000C20102

S7-PLCSIM
(),
(, PG 740).
STEP 7,
S7 ( /).
S7 S7-300 S7-400,
WinLC.
S7-PLCSIM
, ( , ). ,
STEP 7. ,
, (VAT)
.

S7-PLCSIM
S7-PLCSIM :

:
T 0 T 511.
:
131 072 (16 )

131 072 (16 ) /
/

131 072 (16 )
( 8192 (1024 )
,
)

64
()
32

2048 (FB) (FC)
:
4095 (DB)

SFB0, SFB1, SFB2, SFB3, SFB4, SFB5, SFB8, SFB9,SFB12,



SFB13, SFB14, SFB15, SFB16, SFB19, SFB20, SFB21, SFB22,
(SFB):
SFB23, SFB32, SFB33, SFB34, SFB35, SFB36 SFB37.
, SFB12, SFB13, SFB14, SFB15, SFB16, SFB19,
SFB20, SFB21, SFB22 SFB23 NOP (
). ,
NOP.

SFC0, SFC1, SFC2, SFC3, SFC4, SFC5, SFC6, SFC7, SFC9,
(SFC):
SFC10, SFC11, SFC13, SFC14, SFC15, SFC17, SFC18, SFC19,
SFC20, SFC21, SFC22, SFC23, SFC24, SFC25, SFC26, SFC27,
SFC28, SFC29, SFC30, SFC31, SFC32, SFC33, SFC34, SFC35,
SFC36, SFC37, SFC38, SFC39, SFC40, SFC41, SFC42, SFC43,
SFC44, SFC46, SFC47, SFC48, SFC49, SFC50, SFC51, SFC52,
SFC54, SFC55, SFC56, SFC57, SFC58, SFC59, SFC60, SFC61,
SFC62, SFC64, SFC65, SFC66, SFC67, SFC68, SFC69, SFC79,
SFC80, SFC81 SFC90.
SFC26 SFC27, S7-PLCSIM
0.
, SFC7, SFC11, SFC25, SFC35, SFC36, SFC37,
SFC38, SFC48, SFC60, SFC61, SFC62, SFC65, SFC66, SFC67,
SFC68, SFC69 SFC81 NOP (

S7PLCSIM
C79000G7000C20102


(OB):

). ,
NOP.
OB1 (),
OB10 OB17 ( ),
OB20 OB23 ( ),
OB30 OB38 ( ),
OB40 OB47 ( ),
OB70 ( /),
OB72 ( ),
OB73 ( ),
OB80 ( ),
OB81 ( ),
OB82 ( ),
OB83 ( /),
OB84 ( ),
OB85 ( ),
OB86 ( ),
OB87 ( ),
OB90 ( OB),
OB100 ( ),
OB101 ( ),
OB102 ( ),
OB121 ( )
OB122 ( ).
, OB81, OB84, OB87 OB90 NOP (
).
, NOP.

S7-PLCSIM :
SIMATIC Manager.
, S7-PLCSIM
. S7-PLCSIM , .
S7-300 S7-400.
,
, .

.
.
(STOP, RUN RUN-P) .
S7-PLCSIM Stop,
.
( ,
, )
.
STEP 7
.
( ), STEP 7 ,
, .

5.0 S7-PLCSIM
5.0 S7-PLCSIM.

/
S7-PLCSIM ,
, .
S7-PLCSIM
.


.
:


S7-PLCSIM:

DT (DATE_AND_TIME)

OB102 ( ),
H-
S7-PLCSIM :
OB102 ( )
H- (OB70, OB72, OB73, SFC14, SFC15, SFC90, SFB8, SFB9)
S7-PLCSIM
OB, , H - SIMATIC.

S7PLCSIM
C79000G7000C20102


S7-PLCSIM,
. SIMATIC Manager.
1. SIMATIC Manager.
2.
Options > Simulate Modules ( >
). S7-PLCSIM
CPU ( , , MPI 2).
3. SIMATIC Manager S7_ZEBRA.
STEP 7, V 5.x (
ZEN01_09_STEP7_Zebra).
4. S7_ZEBRA Blocks (). ( SIMATIC
Manager Help STEP 7.)

SIMATIC Manager
PLC >
Download ( > ) .
?, No (),
, Yes ()
(,
).
1. S7-PLCSIM
:


Insert > Input Variable ( >
). IB0 ( 0).


Insert > Output Variable ( >
) , QB0
( 0).

2.
3.
4.
5.

Insert > Timer ( > )



, . 2, 3 4 (
T 2, T 3 T 4) ,
Enter () .
S7-PLCSIM PLC , Power On (
) ().
Execute > Scan Mode ( > )
() Continuous Scan ( ).
RUN, RUN RUN-P.
0 IB0, 0.0
QB0.

6.
File > Save PLC As...( >
)
.

STEP 7
STEP 7
:
1. ( 7, ), SIMATIC
Manager
2.
View > Online ( > ),
online.
3. Blocks ZEBRA FC1.
LAD/STL/FBD.
4. RUN 0 IB0 ( 10, ),
LAD/STL/FBD Debug > Monitor
( > ),
.

S7PLCSIM
C79000G7000C20102

S7
, :
Stop
, .
(RUN, RUN-P STOP) . ,
, STOP
.
, ,
. .
,
:

.
:
.

. .
OB: OB40 OB47 (
), OB70 ( /), OB72 (
), OB73 ( ), OB80 ( ),
OB82 ( ), OB83 (/ ), OB85 (
) OB86 ( ).
:
, S7-PLCSIM
. ,
, .
, ,
.






(OB1 , )


S7-PLCSIM :
: S7-PLCSIM
. ,
EPROM. , /.
(, RUN STOP)
/ .
(FM).
( S7-400 )
.
, S7-400.
, S7-PLCSIM
S7-300,
.

/
S7-300 /:
, .
.
S7-PLCSIM S7-300 /,
/. ,
S7-PLCSIM S7-300, ,
, .
S7-PLCSIM,
S7-300 /, S7-315-2DP, S7-316-2DP
S7-318-2.
S7-PLCSIM. ,
S7 /
.

S7PLCSIM
C79000G7000C20102

S7-PLCSIM
S7-PLCSIM , ,
, , S7-PLCSIM .
S7-PLCSIM ,
.
, Simulation On/Off (
./.)
( Options > Simulate Modules
( > )) SIMATIC Manager. S7-PLCSIM
CPU .
, , ,
.
, File > New PLC ( >
).
, File > Open PLC...(
> ).
S7-PLCSIM,
.


RUN-P
.
, STEP 7
, , RUN-P.
, , S7-PLCSIM
, .
RUN
: ,
.
STEP 7 ( ),
RUN. , ,
S7-PLCSIM ,
.
STOP
. STOP ,
,
, STOP. ,
STOP. STOP RUN
, .
, Clear/Reset ( )
. ,
.
, RUN RUN-P.

S7PLCSIM
C79000G7000C20102


CPU ,
:
SF ( ) , ,
.
DP ( /)
() /.
DC ( ) .
RUN , RUN.
STOP , STOP.


S7 .
:
PI ( ): .
I (): .
CPU.
PQ ( ) .
.
Q (): .
M (): , .
T (): .
C (): .
, (DB).

10



S7-PLCSIM:
Windows, Simatic>STEP 7>S7-PLCSIM
Simulating Modules.
SIMATIC Manager, Simulation On/Off (
Option > Simulate Modules ( >
/)
).
.
([CD]:\Siemens\PLCSIM\s7wsi\s7wsvapx.exe, [CD] , ).
Simulation On/Off ( ./.)
,
.
, MPI ,
STEP 7. Accessible Nodes ( ),
Accessible Nodes ( ) .

, .
Accessible Nodes ( ), Accessible Nodes
( ) .
S7-PLCSIM
. ,
.

, .
.

11

S7PLCSIM
C79000G7000C20102


S7-PLCSIM Help (),
:
S7-PLCSIM. Help
.
.
Help F1.
Help :


Hide/Show (/)
(, ).
, ;
,
.
Back ()
,
().
Print ()
,
.

Options ()
Hide/Show tabs ( / ):
, .
, , ,
Show () .
Back (): ,
().
Forward ():
, ,
, , .
Home: web , Home page S7-PLCSIM
Online Help.
Stop ():
. ,
(,
), .
Refresh (): .
Internet Options ( ): Internet.
Print ():
.
Seach Highlight Off / Seach Highlight On (/
): , ,
. ,
.

12


Contents tab ( )
, .
, , .
Index tab ()
,
.
Seach ()
, .
List Topics ( ), ,
. Display ()
. ,
, , .
, .

S7PLCSIM
C79000G7000C20102

13


S7-PLCSIM, ,
. S7-PLCSIM,
CPU; S7-PLCSIM
.
:
S7-PLCSIM, .
, File > Recent
Simulation ( > ) File > Open PLC... ( >
) , *.PLC. ,
(,
) . ,
, .
, .
, ,
S7-PLCSIM.
, .
View () Insert () , .
File > Open Layout ( > ),
, , .
;
, .

,
, S7-PLCSIM, .
, ,
, .

*.PLC *.LAY?
*.PLC ,
(.. ).
, :
, ,
*.PLC.
A *.LAY
S7-PLCSIM.
,
, S7-PLCSIM. ,
S7-PLCSIM, . (,
, S7PLCSIM .
, ,
*.LAY.)

14


S7-PLCSIM,
File > Open Layout...( > ).
. ,
* .LAY ;
, , , .
S7-PLCSIM, *.PLC *.LAY (
).
; - . ,
( *.PLC) (*.LAY),
, , S7-PLCSIM
. , ,
, .

S7PLCSIM
C79000G7000C20102

15


S7-PLCSIM
:
: , ,
.
(PI), , , ,
(PQ). ,
( Execute > Next Scan)
.
: .
(PI), ,
(PQ).

, ,
Execute > Scan Mode> Single Scan ( >
> ).
. ,
, ,

.
, ,

Execute > Scan Mode > Continuous Scan ( >
> ). (
- .)

16


.
, .
. , ,
Execute >
Key Switch Position > [mode] ( > >
[]).

: STEP 7
(,
, RUN STOP),
. , ,
, .
, .

S7PLCSIM
C79000G7000C20102

17


,
, .
Insert ():
: ,
(I). 0 0 (IB0).
: ,
(Q). 0 (QB0).
: , (M).
0 (MB0).
: , .
T 0.
: , .
C 0.
: ,
(DB).

, .
,
, .
.
View ():
:
, .
, S7-400.
S7-300 .
:
.
, (
, SAC).
:
MR .
STEP 7
LAD/STL/FBD:

1. SIMATIC Manager, Online,
View > Online.
2. S7_ZEBRA FC1.
3. LAD/STL/FBD ,
. .

18


,
, .
:


.
,
.
, Select
Numeric Format ( ). ,
- ( ), (
), .
, .
(B): -
(W): -
(D): -, .
,
, .
, .
.

. ,
:
, .
:
; , ,
.
,
.
.
, Min
Min Max .
Min.
, Max
Min Max .
Max.

S7PLCSIM
C79000G7000C20102

19

S7-PLCSIM
S7-PLCSIM , :
Pause ()
,
.
, ,
.
.
, :
,
.
:
.

20

OB
S7-PLCSIM, ,
OB . S7-PLCSIM :
OB40 OB47 ( )
OB70 ( /) { 417-H}
OB72 ( ) { 417-H}
OB73 ( ) { 417-H}
OB80 ( )
OB82 ( )
OB83 (/ )
OB85 ( )
OB86 ( )
OB, Execute > Trigger Error
OB( > OB ),
. OK Apply (),

OB. OB, Trigger Error OB
( OB ), / .

/
,
S7-PLCSIM:
S7-300 , 315-2 DP, 316-2 DP 318-2
S7-400, /, ,
/.
, OB ,
, /.
/ , STEP 7
S7-PLCSIM; .

S7-300
S7-300 , S7-315-2DP, S7-316-2DP S7-318-2,
/; S7-300 /,
/, . ,
, ,
.

, /, ,
S7-315-2DP, S7-316-2DP S7-318-2.
/ , OB S7-PLCSIM ( S7PLCSIM /,
).

S7-400
CP / PROFIBUS-DP
/ OB S7PLCSIM. , /
CP S7-400 S7-400 (, 416-DP),
DP.
S7-PLCSIM, OB /.

S7PLCSIM
C79000G7000C20102

21


, OB ,
/ 315-2 DP, 316-2 DP,
318-2 S7-400, (DP).
S7-PLCSIM - DP;
-.
,
.
1. SIMATIC ,
. , SIM_IO.
2. .
3. .
4. .

, ,
SIM_IO.
,
.
5. ,
SIM_IO .
6. SIM_IO
.
7. SIM_IO , :
S7-300, 315-2 DP, 316-2 DP
318-2.
S7-400, , DP.
( DP .)

, STEP 7
, .
, . STEP 7
PROFIBUS DP.
PROFIBUS, .
7. CP DP , CP
SIM_IO. CP , DP
.
8. slaves
PROFIBUS, SIM_IO.
9. , STEP 7 SIM_IO
.
10. SIM_IO.
11. .
, ,
S7-PLCSIM.

22


, /,
S7-PLCSIM, .
1. SIMATIC Manager, SIM_IO blocks ().
OB1.
2. OB1 SIM_IO. ,
S7-PLCSIM OB1 .
3. S7-PLCSIM.

, ,
SIM_IO . ,
SIM_IO, ,
? .
,
.


PLC > Clear/Reset ( >
/), MRES ( )
. ,
.
/ ,
STOP.


Reset Timers ( )
, .
All Timers ( ) ;
.
, Reset Timers
( )
.
, Reset Timers (
)

..

S7PLCSIM
C79000G7000C20102

23


:
1. Tools > Options > Attach Symbols... (
> > ). .
2. STEP 7, .
3. OK.
4. ,
.
5. , Tools >
Options > Show Symbols ( > > ). ,
, .
Vertical Bits ( ),
, .
, .
, (
) .

MPI
MPI ( PLC > MPI Address...
> MPI),
. ,
Save PLC ( ) Save PLC As...(
).
, offline
.
Simulation On/Off ( ./.)

SIMATIC Manager , Accessible Nodes ( ),
.

,
STEP 7 . ,
.

24

/
/
.

:
Tools > Record/Playback ( > /
)
Record/Playback (/)
Alt + F5 Record/Playback
(/).
:
S
S


New Event File ( )
.

Open Event File ( )


.

Save Event File ( )


, .

Play ()
.


Record ()
. bits
. ,
.
Pause ()

. , ,
(, ,
), . Stop
, ,
Delta () .
Stop ()
.

Delta ()
,
. .
, ,
Delta.

S7PLCSIM
C79000G7000C20102

25


:
/,
, .
/.
, ,
.
, Save Event
File S7-PLCSIM.


,
,

Play

.

,
S7-PLCSIM.

S7PLCSIM

.

,

.

,
.

26

S7-PLCSIM STOP RUN.


STOP,
, RUN. ,
STOP,
Delta. , ,
, ,
, .
,
. Open Event File
.

S7-PLCSIM
, . Save Event
File

S7-PLCSIM.

/, , . , ,
. ,
. ,
,
, .
,
. , ,
.
, Delta
().
,
, . ,

.
C:\Siemens\Step7\S7wsi\S7EVENTS.
3.0 4.0 S7-PLCSIM,
- C:\Siemens\STEP7\S7wsi\S7EVENTS.


,
, .



Single Scan,


,
.



,
STEP 7

, , ,

(.., Q0.0, ),
, . ,
8 (.., QB0, ),
,
, . , ,
,
(, ,
),
.
CPU
Single Scan:
Single Scane,
Next Scan
.
Delta 1
. Delta ,
( ,
Record). , Single
Scan, .
.
Single Scan,
Delta (
). ,
, ,
,
. ,
, Next
Scan Continuous Scan
Single Scan .
, , S7-PLCSIM
STEP 7.
.

S7PLCSIM
C79000G7000C20102

27



( ) .
,
S7 OB1
/. ,
STOP.
S7-PLCSIM,
(, ),
.
.
,
, .
,
1 (1000 ) 1 (60000 )
. 20000 .


S7-PLCSIM,
File > Save Layout ( > ).
. , * .LAY
; ,
, .
( *.LAY) ( *.PLC),
: .
, ( *.PLC),
.

28


:
File > Save PLC ( > )
.
File > Save PLC As... ( > )
.
:


( ) , , RUNP, RUN STOP
( , )
/
(T - )

: /
, ,
, STOP.
RUN RUN-P, ,
,
STOP. , RUN RUN-P,
CPU Execute > Key
Switch Position ( > )
STOP RUN RUN-P.
, ,
. , , ,
. , ,
Tools > Options > Show Symbols ( > >
).
, ,
File > Save Layout ( > ).

S7PLCSIM
C79000G7000C20102

29


File > Close PLC ( > ) ,
. CPU
.
,
.
. S7-PLCSIM,
.


,
S7-PLCSIM:
1. STEP 7 , .
2. File > Exit ( > ).
S7-PLCSIM, ,
, .

30


S7-PLCSIM
S7-PLCSIM ,
.
:
CPU ()
ACCUs & Status Word ( )
Block Regs ( )
Stacks ()
Input Variable ( )
Output Variable ( )
Bit Memory ()
Timers ()
Counters ()
Generic Variable ( )
Vertical Bits Variable ( )
.
,
, .
, ( )
.

31

S7PLCSIM
C79000G7000C20102

CPU ()
, , .

.
:
STEP 7 ,
, , , RUN
STOP, RUN/STOP, .
, .
MRES .

ACCUs & Status Word


, , :
View > Accumulators ( > ).
CPU Accumulators ( )
,
:
: .
4 , S7-400; S7-300
.
: .
: (AR1
AR2). .

Block Regs ( )
, , :
View > Block Registers ( > )
Block Registers ( )

(DB1 DB2).
, ( ,
SAC) .

Stacks ()
, , :
View > Stacks ( > )
Nesting Stacks ( )
,
:
.
RLO OR . ,
. : (A), - (AN),
(O), - (ON), (X) - (XN).
MCR (MCR).
RLO MCR (,
MCR).

32

Input Variable ( )
, , :
Insert > Input Variable ( > ).
Insert Input Variable ( )
.
:
: (PI)
.
:
(I) . PI
I . I,
.
, ,
.
, . (
, STEP 7,
:
.)

Output Variable ( )
, , :
Insert > Output Variable ( > )
Insert Output Variable ( )
.
:
() :
(PQ) .
:
(Q) . ,
.
,
.
512 .
, . (
, STEP 7,
:
.)

S7PLCSIM
C79000G7000C20102

33

Bit Memory ()
:
Insert > Bit Memory ( > )
Insert Bit Memory ( )
:
(M) .
(M) ,
. , .
,
, .
.

Timers ()
, , :
Insert > Timer ( > )
Insert Timer ( )
,
. ,
.

, ,
. ,
. ,
T 0 - 600, 10 , 6 .
100 ,
60 (600 * 100 = 60 ).
,
Reset Timers ( )
.
, Reset Timers ( )
.

, .
,
Execute ().

Counter ()
, , :
Insert > Counter ( > )
Insert Counter ( )
(
SIMATIC)
,
. , , C 0.
,
, .

34

(Generic
Variable)
, , :
Insert > Generic ( > )
Insert Generic Variable ( )
:
() :
(PI) (PQ) .
:
(I) (Q) . PI I
. I,
. , ,
.
: , (M)
.
: ,
.
: ,
.
,
. , STEP 7,
:
.
,
, .

S7PLCSIM
C79000G7000C20102

35

Vertical Bits ( )
, , :
Insert > Vertical Bits ( > )
Insert Vertical Bits ( )

, :
() :
(PI) (PQ) .
:
(I) (Q) . PI I
. I,
. , ,
.
: , (M)
.
: ,
.
,
. , STEP 7,
:
. ,
.

36

OB

S7-PLCSIM OB :
OB40 OB47 ( )
OB70 ( /) { 417-H}
OB72 ( ) { 417-H}
OB73 ( ) { 417-H}
OB80 ( )
OB82 ( )
OB83 (/ )
OB85 ( )
OB86 ( )

37

S7PLCSIM
C79000G7000C20102

(OB40-OB47)
OB OB40
OB47.
, OB ( Execute > Trigger Error OB > I/O
Redundancy Error (OB70)...( > OB >
/ (OB70))),

/.
, , ,
OB:


OB4x_MDL_ADDR
WORD

,
: ,
; ,
.
: PIB 0

OB4x_POINT_ADDR DWORD

(Hex)

. ( 0

).
,
CP IM:
.
: 00A21234
OB4x_OB_NUMBR
BYTE
OB ( 40 47).
OB
(
)
, :
STEP 7 OB4-OB47 (Help STEP 7)
Simatic S7. S7-300 S7-400.
.

38

/ (OB70)
PROFIBUS-DP
H-.
, OB ( Execute > Trigger Error OB > I/O
Redundancy Error (OB70)...( > OB >
/ (OB70))),

/.
, ,
OB:

(/)


OB70_EV_CLASS
BYTE
:
B#16#72:
B#16#73:

OB70_FLT_ID
BYTE
( ):
B#16#A2
B#16#A3
DP Master Base Address (
DP), DP Master System ID ( - DP), DP Slave Base Address (
DP-Slave) DP Station Number ( DP) .
, STEP 7,
.
DP Slave Base Address ( DP-Slave), DP Station Number (
DP) / 0xA3.
, :
STEP 7 OB70 (Help STEP 7)
Simatic S7. S7-300 S7-400.
.

S7PLCSIM
C79000G7000C20102

39

(OB72)
OB72_FLT_ID , OB72:
OB72_FLT_ID
B#16#01
B#16#02
B#16#03
B#16#20
B#16#21
B#16#22
B#16#31
B#16#33
B#16#34
B#16#35
B#16#40
B#16#41
B#16#42
B#16#43
B#16#50
B#16#51
B#16#52
B#16#53
B#16#54
B#16#55
B#16#56
B#16#C1

B#16#C2

OB72
(1 2)
(1 2) STOP ,

H- (1 2)
RAM

,
master-
master-
master-

master-

master-, SFC90
"H_CTRL".
-

-

-

-

(SYNC)

/

:
/

,
n- (1 <= n <=
,
- , )

, :
STEP 7 OB72 (Help STEP 7)
Simatic S7. S7-300 S7-400.
.

40

(OB73)
,
S7 H CPU .
, ( Execute > Trigger Error OB >
Communication Redundancy Error (OB73)...),

/.
, ,
, OB :

Error Event Class


( )

OB73_EV_CLASS


BYTE


B#16#73 (
)
B#16#72 (
)

B#16#E0

Error Code
OB_73_FLT_ID
BYTE
( )
, :
STEP 7 OB73 (Help STEP 7)
Simatic S7. S7-300 S7-400.

S7PLCSIM
C79000G7000C20102

41

(OB80)
, OB80
( ). , ,
, OB:

Cycle time exceeded


OB80_FLT_ID
BYTE
:
(
B#16#05
)
OB80_FLT_ID
BYTE
:
Requested OB is still
B#16#02
being processed
( OB
.)

OB call buffer overflow


for the current priority
class (
OB

)
Expired time of day
interrupt:
- Due to a time jump

OB80_FLT_ID

BYTE

:
B#16#07

OB80_FLT_ID

BYTE

:
B#16#05
:
B#16#06

OB80_FLT_ID
BYTE
- On return in to run
after hold
(

:
--

-

)
, :
STEP 7 OB80 (Help STEP 7)
Simatic S7. S7-300 S7-400.

42

(OB82)
, OB82
( ).
, ( Execute >Trigger Error OB >
Diagnostic Interrupt (OB82)...),
/.
: () ,
.
(OB82_EV_CLASS)
B#16#39 ( ) OB82_FLT_ID, B#16#42.
( ), B#16#38
( ).
, , ,
OB :


, .
, , .
(: PIB0).

S7PLCSIM
C79000G7000C20102

OB82_MDL_ADDR

INT

43


Module defect (read-only) (

OB82_MDL_DEFECT
( ))
Internal fault ( )
OB82_INT_FAULT
External fault ( )
OB80_EXT_FAULT
Channel fault ( )
OB82_PNT_INFO
External voltage failed (
OB82_EXT_VOLTAGE
)
Front panel connector unplugged (
OB82_FLD_CONNCTR
)
Module not configured (
OB82_NO_CONFIG
)
Incorrect parameters on module (
OB82_CONFIG_ERR
)
Channel information exists ( )
OB82_MDL_TYPE
User information exists (
OB82_MDL_TYPE
)
Diagnostic interrupt from substitute
OB82_MDL_TYPE
( )
Submodule missing or has an error (
OB82_SUB_MDL_FAULT
)
Communication problem ( )
OB82_COMM_FAULT
Operating mode is STOP ( ) OB82_MDL_STOP
Watchdog timer responded (
OB82_WTCH_DOG_FLT
)
Internal power supply failed (
OB82_INT_PS_FLT
)
Battery exhausted ( )
OB82_PRIM_BATT_FLT
Entire backup failed (
OB82_BCKUP_BATT_FLT
)
Expansion rack failure (
OB82_RACK_FLT
)
Processor failure ( )
OB82_PROC_FLT
EPROM fault ( )
OB82_EPROM_FLT
RAM fault ( )
OB82_RAM_FLT
ADC/DAC error ( /)
OB82_ADU_FLT
Fuse tripped (
OB82_FUSE_FLT
)
Hardware interrupt lost (
OB82_HW_INTR_FLT
)
, :
STEP 7 OB82 (Help STEP 7)
Simatic S7. S7-300 S7-400.

44

BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BYTE
BYTE
BYTE
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL
BOOL

/ (OB83)
, OB83
( / ).
, ( Execute >Trigger Error OB >
Insert/Remove Module Interrupt (OB83)...),

/.
(OB83_EV_CLASS) B#16#39
( ). (Module OK
), B#16#38 ( ).
, ,
OB :
/


Module removed or not responding
OB83_FLT_ID
BYTE
B#16#61
( )
Module inserted:
OB83_FLT_ID
BYTE
B#16#61
module type OK ( :
OK)
OB83_FLT_ID
BYTE
B#16#63
Module inserted:
incorrect module type
( :
)
OB83_FLT_ID
BYTE
B#16#64
Module inserted:
ID cannot be read
( :
ID )
Module inserted:
OB83_FLT_ID
BYTE
B#16#65
in module parameter
assignment
( :

)
Module address
OB83_MDL_ADDR WORD

,
( )

: , , ;
,

.
: PQW 0
, :
STEP 7 OB83 (Help STEP 7)
Simatic S7. S7-300 S7-400.

S7PLCSIM
C79000G7000C20102

45

(OB85)
, OB85
( ). OB85 , ,
( B#16#A3).
, B#16#A1, B#16#A2, B#16#B1 B#16#B2
; , .
, ,
, OB :

OB85_Z1
WORD
Integrated function
( ):
No error resolution
W#16#0100
( )
Block not loaded
W#16#0101
( )
Area length error
W#16#0102
( )
Write protect error
W#16#0103
( )
OB85_Z1
WORD
IEC timer (IEC ):
No error resolution
W#16#0200
( )
Block not loaded
W#16#0201
( )
Area length error
W#16#0202
( )
Write protect error
W#16#0203
( )
, :
STEP 7 OB85 (Help STEP 7)
Simatic S7. S7-300 S7-400.

46

(OB86)
, OB86
( ).
, ( Execute > Trigger Error OB >
Rack Failure (OB86)...),
/. (
S7-PLCSIM.)
(OB86_EV_CLASS)
B#16#39 ( ). (Rack Return,
Rack Return with Discrepancy, DP Station Return DP Station OK),
B#16#38 ().
:


, ,
OB:

IM address (
OB86_MDL_ADDR
WORD

)
,

.
Failure ()
OB86_FLT_ID
BYTE
B#16#C1
Return ()
OB86_FLT_ID
BYTE
B#16#C1
Return with discrepancy
OB86_FLT_ID
BYTE
B#16#C2
( )
OB86_FLT_ID
BYTE
B#16#C6
Operational again but
Error (
,


)

Rack Status (
OB86_RACKS_FLTD
ARRAY
21 ,
)
OF
BOOL
.


.
Green =
Red =
Gray =

S7PLCSIM
C79000G7000C20102

47

DP
DP
DP . , ,
OB :

Subnet ()

OB86_MDL_ADDR

WORD

Failure of DP master system


( DP
)
Station failure (
)
Station fault ( )

OB86_FLT_ID

BYTE


DP
.
B#16#C3

OB86_FLT_ID

BYTE

B#16#C4

OB86_FLT_ID

BYTE

B#16#C5

OB86_FLT_ID

BYTE

B#16#C4

OB86_FLT_ID
OB86_FLT_ID

BYTE
BYTE

B#16#C5
B#16#C7

OB86_FLT_ID

BYTE

B#16#C8

OB86_FLT_ID

ARRAY
OF
BOOL


126 DP .

rack
.
Green = Good
Red = Fault
Gray = Not configured

Station return (
)
Station OK ( )
Station operational
again but error (
,
)
Station return with
Discrepancy (

)
Status DP ( DP)

, :
STEP 7 OB86 (Help STEP 7)
Simatic S7. S7-300 S7-400.

48


S7-PLCSIM
S7-PLCSIM , .
View > Toolbars ( >
).
.
Standard ()
,
, , ?.

Insert ()
Insert ()
View ()

CPU mode ( )
Execute
().

Record/Playback (/)

Record/Playback (/)
Tools ().


,
Alt .
.
ALT + F1 Standard ().
ALT + F2 Insert ()
ALT + F3 CPU Mode ( )
ALT + F4 S7-PLCSIM/
ALT + F5 Record/Playback
(/).

49

S7PLCSIM
C79000G7000C20102

S7-PLCSIM
S7-PLCSIM
File ()
Edit ()
View ()
Insert ()
PLC ( )
Execute ()
Tools ()
Window ()
Help ()

50

File ()
New PLC ( )

File > New PLC ( > )
.

Open PLC ( )
, () ,
File > Open PLC.... ( > )

Close PLC ( )
File > Close PLC ( > ) ,
. CPU
.
,
.

Save PLC ( )

File > Save PLC ( > )
.

Save PLC As ( )
File > Save PLC As ( >
) .

Open Layout ( )
S7-PLCSIM ,
File > Open Layout.... ( > )

S7PLCSIM
C79000G7000C20102

51

Close Layout ( )
, S7-PLCSIM,
File > Close Layout ( > ).

Save Layout ( )
S7-PLCSIM,
File > Save Layout ( > ).

Save Layout As ( )
S7-PLCSIM ,
File > Save Layout ( > ).

Recent Simulation ( )
File > Recent Simulation ( > )
. 1, 2, 3
4 .

Recent layout ( )
File > Recent Layout ( > )
. 1, 2, 3
4 .

Exit ()
File > Exit ( > ) ,
S7-PLCSIM.
S7-PLCSIM ,
.

52

Edit ()
Edit () S7-PLCSIM :

Undo ()
Edit > Undo
( > ). Undo ()
/ Edit (), Insert (), Window
().
Undo () ,
.

Cut ()
Edit > Cut ( > )
.

Copy ()
Edit > Copy ( > )
.

Paste ()
Edit > Paste ( > )

( )
, .

S7PLCSIM
C79000G7000C20102

53

View ()
View () S7-PLCSIM :

Accumulators Command
View > Accumulators ( > )
ACCUs & Status Word ( ).
,
.

Block Registers ( )
View > Block Registers ( > )
Block Regs ( )
(DB1 DB2).

, ( SAC - step
address counter) .

Stacks ()
View > Stacks ( > )

Stacks (),
MCR.

Toolbars... ( )
View > Toolbars... ( > )
S7-PLCSIM, .
, , :
Standard ()
Insert ()
CPU Mode ( )
Record/Playback Files (/ )

Status Bar ( )
View > Status Bar ( > )
/ S7-PLCSIM. , ,
S7-PLCSIM ,
S7-PLCSIM.

Always On Top ( )
View > Always On Top ( > )
S7-PLCSIM
. S7-PLCSIM

54

Insert ()
Insert () S7-PLCSIM :

Input Variable ( )

Insert > Input Variable ( >
)
.
IB0.

Output Variable ( )

Insert > Output Variable ( >
) ,
(Q).
QB0.

Bit Memory ()

Insert > Bit Memory ( > )
,
(M).
MB0.

Timer ()

Insert > Timer ( > )
,
, .
T0.

Counter ()

(
- ) Insert >
Counter ( > ) ,
, .
C 0.

Generic ( )

Insert > Generic ( >
) ,
, ,
(I) (Q). ,
(DB).

Vertical Bits ( )

Insert > Vertical Bits ( >
) ,
,
,
(I) (Q).
, (DB).

S7PLCSIM
C79000G7000C20102

55

PLC ()
S7-PLCSIM PLC () :

Power On ( )
PLC > Power On ( > )
.

Power Off ( )
PLC > Power Off ( > )

Clear/Reset ( )
PLC > Clear/Reset ( > )
"MRES" CPU, ,
.
, CPU STOP.

MPI Address... ( MPI)


PLC > MPI Address... ( > MPI)
.
, Save PLC Save PLC As... .

56

Execute ()
Execute () S7-PLCSIM


Execute > Key Switch Position
: RUN-P, RUN STOP. ,
CPU.


Execute > Startup Switch Position ( >
) ,
STOP RUN:
Warm Start ( ) OB100;
Hot Start ( ) OB101;
Cold Start ( ) OB102.


:
.
Single Scan ( )

Execute > Scan Mode > Single Scan
( > > )
. ,
.
Continuous Scan ( )

Execute > Scan Mode > Continuous Scan
( > > )
( , OB1
). , RUN,
STOP.
(PI)
(I). .
(Q)
(PQ).
Next Scan ( )
Execute > Next Scan ( >

)
( ).
Pause ()
Execute > Pause ( > )

,
(, ).
Pause. ,
.

S7PLCSIM
C79000G7000C20102

57

STEP 7 ,
. ,
STEP7.

Automatic Timers ( > )


Execute > Automatic Timers ( >
) .

Manual Timers ( > )


Execute > Manual Timers ( > ),

. ,
Execute > Automatic Timers ( > ).

Reset Timers ( )
Execute > Reset Timers ( > )
,
, .
.

Reset Timers.

.

Trigger Error OB ( OB )
Execute > Trigger Error OB ( > OB
) , ,
OB .

Scan Cycle Monitoring...( )


Execute > Scan Cycle Monitoring... ( >
) ,
( )
( ) .

OB1 /. ,
STOP.

58

Tools ()
S7-PLCSIM Tools () :

Record/Playback (/)

Tools > Record/Playback ( >
/) .
Alt + F5
Record/Playback
(/).

Options ()
Tools > Options :
Attach Symbols ( ... )...
Show Symbols ( )
Reference Data ( )
Symbol Table ( )
Attach Symbols ( ... )
Tools > Options > Attach Symbols... ( > >
)
. ,
STEP 7.
,
Show Symbols, > Reference Data Symbol Table.
Show Symbols ( )
Tools > Options > Show Symbols ( > >
) , .
.
STEP 7
Attach Symbols (
) .
Reference Data ( )
Tools > Options > Reference Data ( >
) , Reference Data
( ) STEP 7.
.
, STEP 7
Attach Symbols...
( ).
Symbol Table ( )
Tools > Options > Symbol Table ( >
) , STEP 7
, .
STEP 7
Attach Symbols (
).

S7PLCSIM
C79000G7000C20102

59

Window ()
S7-PLCSIM Window () :

Cascade ()
(
S7-PLCSIM),
Window > Cascade ( > ).

Tile Ordered ( )
S7-PLCSIM ,
CPU ,
( > ).

Window > Tile Ordered

Arrange Icons ( )
Window > Arrange Icons ( > )
( )
S7-PLCSIM.

1, 2, 3... 9

Window ().
. . 9
, More Windows... ( )
.

60

Help ()
S7-PLCSIM Help () :

Contents... ()
Help > Contents...( > ) Contents
() S7-PLCSIM.

S7-PLCSIM.

Introduction ()
Help > Introduction ( > ) ,
S7-PLCSIM , .

Getting Started ( )
Help > Getting Started ( > )
, S7-PLCSIM.

Using Help ( )
Help > Using Help ( > )
, ,
Microsoft Windows. Windows
..

About... ( )
Help > About...( > )
.

Help ()
S7-PLCSIM,
:
1.
.
.
2. , . S7PLCSIM .

S7PLCSIM
C79000G7000C20102

61

S7-PLCSIM
,
S7-PLCSIM.

Bits
Binary
Decimal
Hex (Hexadecimal)
S7 Format
Integer
BCD (Binary-coded Decimal)
Real
Char (Character)
String
DT (DATE_AND_TIME)


Bit, Byte _
Byte, Word
Byte, Word, Double Word
Byte, Word, Double Word
Byte, Word, Double Word
Word, Double Word
Word, Double Word
Double Word
Byte, Word, Double Word
254
8 Bytes

S5TIME
Date
Time

Word
Word
Double Word
9h26m53s703ms
9:26:53.702
Dec: Byte, Word, Double
Word

TOD Double Word


Slider:

Slider:

Int: Word, Double Word

Slider:

Real: Double Word

62

off on
10010011
232
9A
dw#16#09A2FF23
632, 2370
400
1.234567e+123
'C', 'AB'
'This is a string'
1993-12-25-8:01:1
: DT
.
3m5s30ms
1998-06-18


,
,
.

/ :
, STOP RUN-P.
,
, RUN.

(SDB), , STOP.
, SDB
STOP.

CPU RUN-P, STEP 7


, STOP
.
,
.
MPI, ,
,
.
,
STEP 7 (, S7 )
, STEP 7
STEP 7
. STEP 7,

.

S7-PLCSIM

locked
up.()

. S7-PLCSIM
locked up, Stop
.



Invalid Address
( ),
.


,
S7-300
.

S7-315-2DP, S7-316-2DP S7-318-2


/.
S7-300,

/. ,

/ S7-PLCSIM.
S7-315-2DP, S7-316-2DP
S7-318-2
.
S7-315-2DP, S7-316-2DP S7-318-2
S7-PLCSIM.

S7PLCSIM
C79000G7000C20102

63

/ - Autoconfigured I/O, 21, 37


, ( ) - Automatic timers command (execute
menu),59
MPI - MPI address, 11, 24, 58
MPI, ( ) - MPI address... command (PLC menu), 58
(Address registers), 32
- CPU accumulators, 32
- Accumulators, 6, 18, 32, 56
- Activate view object, 62
Hardware interrupt (OB40-OB47), 21, 37, 38
- Nesting stacks, 32

- Byte, 64
- Binary, 64
- Bits, 64
- Data blocks, 10, 35
- Block registers, 18, 32, 56
, - Block regs view object, 32
, ( ) - Block registers command (view menu), 56
- Getting Started, 4
, - Getting started command (help menu), 63

- Introduction, 1
, - /Introduction command (help menu), 63
, ( ) - Vertical bits command (insert menu), 57
, , - Vertical bits variable view object, 3, 24,
36
- Real data format, 64
, - View menu, 56
- View objects, 4, 8, 15, 18, 19, 24, 31
, - View objects, vertical bits, 36
, - View objects, input variable, 33
, - View objects, output variable, 33
, - View objects, bit memory, 34
, - View objects, generic variable, 35
, - View objects, block regs, 32
, - View objects, stacks, 32
, - View objects, counters, 34
, - View objects, timers, 34
, - View objects, CPU, 32
- View objects, ACCUs & status word, 32
- Power cycle, 17
-Cycling power for a simulated CPU, 17
, ( ) Power on command (PLC menu), 58
, ( ) - Trigger error OB command (execute
menu), 59

65

S7PLCSIM
C79000G7000C20102

- Event file playback, 25


- Playback, 25
(80) - Time error (OB80), 21, 37, 43
- Time data format, 64
( ) - Always on top command (view menu), 56
, ( ) - Paste command (edit menu), 55
, - Insert menu, 57
, - Insert toolbar, 51
/ - Insert/remove module interrupt (OB83), 21,37, 46
- Input, 10
, -Input variable view object, 18, 33
, - Input variable command (insert menu), 57
- Peripheral variables Input, 33
- Selecting maximum slider value, 19
- Selecting minimum slider value, 19
- Selecting scan mode options, 16
, ( ) -Power off command (PLC menu), 58
, - Execute menu, 59
, ( ) - Cut command (edit menu), 55
, - Exit command (file menu), 53
, - Output variable view object, 18, 33
, ( ) Output variable command (insert menu), 57
- Peripheral variables Output, 33
- Output, 10

, - Hot start command (execute menu), 59

- Date, 64
- - BCD (Binary-coded decimal), 64
- Double word, 64
- Decimal, 64
- Diagnostic Interrupt (OB82), 21, 37, 44
, - Peripheral access error, 65

- More windows, 62

S7-PLCSIM - Downloading the modified configuration


to S7-PLCSIM, 23
, - Downloading problems, 65
- PLC closing, 30
, - Close layout command (file menu), 53
, Close PLC command (file menu), 30, 53
/ - Record/playback, 3, 25
/, ( ) - Record/playback command (tools
menu), 61

- Changing CPU operating modes, 17


- Operating Modes changing, 17

66


- changing CPU operating modes, 17
- Turning Simulation On, 11
/, - Simulation on/off button, 11
- Simulate modules, 11, 4, 8
- Simulated PLC
, - Simulated PLC closing, 30
, - Simulated PLC opening, 14
, - Simulated PLC saving, 29
- Program simulation, 4
, - Simulation starting, 11
, - Simulation ending, 30
-Simulated Program
, -Simulated Program monitoring, 18
, - Index tab, 12
- DC indicator, 10
- CPU indicators, 9, 10, 32
- Tools menu, 61
- Toolbars, 8, 51
, ( ) - Toolbars... command (view menu), 56
OB Using iterrupt OBs in your program,
21, 37
S7-PLC Using S7-PLCSIM to debug your
program, 20
/ Using record/playback, 25
Using slider control, 19
- Using help, 12, 63
Using symbolic addressing, 24

, - Cascade command (window menu), 62


- Shortcut key combinations, 51
, - Priority class error (OB85), 21, 37, 47
- Communication redundancy error (OB73), 21,
37, 42
- Layout
1,2,3,4 , ( ) - Layout 1 2 3 4 command (file menu), 53
, - Layout opening, 15
, - Layout saving, 28
, ( ) - Scan cycle monitoring... command
(execute menu), 59
Scan cycle monitoring, 28
- Hardware configuration, 21, 22, 23, 37
, - modifying, 22
, - downloading, 23
MPI - Configuring an MPI address, 24
, ( ) - Copy command (edit menu), 55

- Maximum slider value, 19


- Menus, 8, 52
- Menus view, 56

S7PLCSIM
C79000G7000C20102

67

- Menus insert, 57
- Menus tools, 61
- Menus window, 62
- Menus PLC, 58
- Menus help, 63
Menus file, 53
- Bit memory, 10, 18, 35, 36
, - Bit memory view object, 34
, - Bit memory command (insert menu), 57
- Minimum slider value, 19
- Modifying bit memory, 34
- Modifying your hardware
configuration, 21, 22, 37
- Monitoring the simulated program, 18

- Monitor program simulation, 4


- Back, 12
, - Back button, 12
- Starting the simulation, 11
, - New PLC command (file menu), 53

- About, 63
- Memory areas, 10, 33, 35
- Generic variable, 18
, - Generic view object, 35
, ( ) - Generic command (insert menu), 57
- single scan, 6, 16, 20
, ( ) - Single scan command (execute
menu), 59
1,2,3 9, ( ) - Window 1, 2, 3... 9 command (window menu), 62
, - Window Menu, 62
- Ending the simulation session, 30
- Options, 61
, - Options button, 12
- Main window, 8
H - Fault-tolerant H systems, 3
- Opening a simulated PLC, 14
- Opening a layout, 14, 15
, ( ) - Open layout... command (file menu), 53
, ( ) - Open PLC... command (file menu), 53
- Open connection message, 65
S7-PLCSIM - Debugging with S7-PLCSIM, 20
PLC Differences from a real S7 PLC, 6
, ( ) - Undo command (edit menu), 55
- Rack failure (OB86), 21, 37, 48
, - Expansion rack failure tab, 48

- CPU mode toolbar, 51

68


- Pause, 6, 9, 20, 59
, ( ) - Pause command (execute menu), 59
- Key switch position, 9, 32
, -Key switch position command (execute
(), - Variable view object (generic), 35
- Process image memory variables input, 33
- Process image memory variables output, 33
, ( ) - Variable view object (vertical bits), 36
- Process image memory variables, 6
Memory peripheral, 6
- Peripheral variables, 6, 10, 35, 36
- Print, 12
, - Print button, 12
- PLC
, - PLC menu, 58
- Search highlighting, 12
, - Search tab, 12
- Show, 12
- Show button, 12
- Show symbols symbolic addressing, 24, 61
, ( ) - Show symbols command (tools menu),
61
- Tooltips, 24
- Symbol tooltips, 24, 31
, - Slider control using, 19
, - Slider numeric format, 64
, ( ) - Startup switch position
command (execute menu), 59
, - Help buttons
- Help on help, 12
, - Help button, 63
, - Help menu, 63
, ( ) - Recent simulation command (file menu), 14,
53
, ( ) -Recent layout command (file menu), 53
OB - Interrupt OBs, 6, 21, 22, 37
( ) - Attach symbols... command (tools menu),
61

- Operating Modes, 6, 32
, ( ) - Tile ordered command (window menu), 62
( ) - Arrange icons command (window menu), 62
- Enable scan cycle monitoring, 28
- Real S7 PLC, 11
, - Differences from Real S7 PLC, 6
, - Edit menu, 55
-CPU operating modes, 9, 32
/, (OB70), 21, 37, 39
- CPU redundancy error (OB72), 21, 37, 40

S7PLCSIM
C79000G7000C20102

69

, - Manual timers command (execute menu),59

- Memory clear/reset, 9, 23, 58


- Resetting the CPU memory, 23
, ( ) - Clear/Reset command (PLC menu), 23, 58
-Resetting timers, 23, 34
, ( ) - Reset timers... command (execute
menu),59
- Character (Char), 64
- Symbolic addressing, 24
- Hide, 12
, - Hide button, 12
, - Next scan command (execute menu), 59
- Word, 64
- Status word, 32
, - Contents... Command (Help Menu), 63
, - Contents Tab, 12
/ - Input/output considerations, 21, 37
- PLC saving, 29
- Saving a layout, 28
, ( ) - Save layout as... command (file
menu), 53
, ( ) - Save layout command (file menu), 53
- Saving a simulated PLC, 29
, ( ) - Save PLC as... command (file menu), 53
, ( ) - Save PLC command (file menu), 53
, ( ) - Reference data command (tools menu),
61
- Standard toolbar, 51
- Stacks, 18
, - Stacks view object, 32
, ( ) - Stacks command (view menu), 56
- String, 64
, ( ) - Status bar command (view menu), 56
, - Counter view object, 34
, ( ) - Counter command (insert menu), 57
- Counters, 10, 18, 34, 35, 36, 57

, ( ) - Symbol table command (tools menu), 61


- Timers, 10, 18, 35, 36, 57, 59
- Timer view object, 34
, - Timers resetting, 23
, ( ) - Warm start command (execute menu), 59
- Data types, 3

- Troubleshooting Tips general, 65


/ - Troubleshooting Tips record/playback, 25

, - File menu, 53

70


, - ACCUs & status word view object, 32
- Data formats, 64
- Numeric data formats, 64
S7 - S7 format, 64
- Formats numeric data, 64

S7-PLCSIM - Features of S7-PLCSIM, 1


, - Cold restart support, 3

- Integer, 64
- Continuous Scan, 16, 20, 59
Scan continuous, 6, 16, 20
, ( ) - Scan mode command (execute menu), 59
- Scan mode options selecting, 16
- CPU, 9
S7-300 - S7-300 CPUs, 21, 22, 37
S7-400 - S7-400 CPUs, 21, 22, 37
, - CPU view object, 4, 9, 32

- Numeric Format, 19
- Numeric format slider control, 19
S7-PLCSIM V 5.0 - What's new in S7-PLCSIM V 5.0, 3

-Hexadecimal (Hex), 64
C
C ( - counter), 10
D
DATE_AND_TIME (DT), 64
DP - DP indicator, 10
DP , - DP failure tab, 48
DT (DATE_AND_TIME), 64
I
I (), 10
I/O (/), 6
L
LED, () 10
Locked-up S7-PLCSIM, 65
M
M (), 10
MCR, 32
-Menus execute, 59
MRES, 23, 32, 58
- onitoring the scan cycle, 28
O
OB - OB communication redundancy error (OB73),42
OB - OB hardware interrupt (OB40-OB47), 38
OB -OB time error (OB80), 43
OB - OB diagnostic interrupt (OB82), 44

S7PLCSIM
C79000G7000C20102

71

OB - OB rack failure (OB86), 48


OB - priority class error (OB85), 47
OB / - OB I/O redundancy error (OB70), 39
OB Error OBs
OB - OB CPU redundancy error (OB72), 40
OB - OB using interrupts, 21, 37
OB / - OB insert/remove module interrupt (OB73), 46
OB102, 3
OB40 to OB47, 21, 37, 38
OB40-OB47 ( ), 38
OB70 ( /), 39
OB70, 21, 37, 39
OB72 ( CPU), 40
OB72, 21, 37, 40
OB73 ( ), 42
OB73, 21, 37, 42
OB80 ( ), 43
OB80, 21, 37, 43
OB82 ( ), 44
OB82, 21, 37, 44
OB83 (/ ), 46
OB83, 21, 37, 46
OB85 ( ), 47
OB85, 21, 37, 47
OB86 ( ), 48
OB86, 48
OBs, 39, 48
P
PI (peripheral input), 10
PQ ( ), 10
Q
Q (), 10
R
RUN command (execute menu), 59
RUN, 9, 10
RUN-P command (execute menu), 59
S
S5TIME, 64
S7-PLCSIM
S7-PLCSIM, - view objects, 31
S7-PLCSIM, - menus, 52
S7-PLCSIM, - modifying your hardware
configuration, 22
S7-PLCSIM, - toolbars, 51
S7-PLCSIM, - features, 1
S7-PLCSIM, - numeric data formats, 64
SF - indicator, 10
SIMATIC manager, 4

72


STOP ( ), 59
STOP, 9, 10
T
T (), 10

S7PLCSIM
C79000G7000C20102

73