Hardware Configuration. , , 18, Hardware, , 24.
26 -
Hardware Configuration . . . -, . , .
(Rack), . , SIMATIC 300
SIMATIC 300 Rack-300 Rail. , drag & drop.
, 1 . SIMATIC 300 PS-300.
CPU CPU-300, 2. S7-300 c 3 IM,
, 24 .
, DM370 DUMMY SM-300\Special-300.
, . 8 (SM), (CP) (FM). , .
, , .
, , View->Address Overview, , 25. , , DI32xDC24V DI4xNAMUR.
Type : I , Q
.
Addr. from Addr. to , . DI32xDC24V 32 , 4 0 3. 4 DI4xNAMUR.
27 -
|
|
, . OB1.
R , S . DI32xDC24V 4, DI4xNAMUR 5.
DP , IF , C++.
. ,
. , . General, 26, , , , MPI . , , Properties, Adress.
27 Startup, . S7-300 Warm restart. Cold restart.
28 - S7-300
Finished Message by Modules (ms) . , .
29 - S7-300
Transfer of Parameters to Modules , .
Startup when expected/actual configuration differ - DP S7-400 , . .
S7-400 Reset outputs at hot restart .
Retentive Memory ( ) , STOP RUN. S7-300
, (OB, FC, FB, DB), , , , , . , CPU.
28 Cycle/Clock Memory .
30 - S7-300
Cycle/Clock Memory Scan Cycle Monitoring Time (ms) . , STOP. , , .
|
|
Cycle Load from Communication (%) , . , .
, 20% , 100 20 .
Clock Memory, . , .
Protection, 29, .
31 - S7-300
Protection . Keyswitch setting . , : 1 (STOP) , (RUN) ; 2 , 3 ,
. , 2 3, Removable with password .
Diagnostic/Clock, 30, Report cause of stop , ( Synchronization) ( Correction factor). , 5 , Correction factor +5000 ms.
32 -. S7-300
, , Interrupts, Cyclic Interrupts, Time-of-Day Interrupts.
Interrupts 31. , .. , . Execution, , ,
Start Date Time of Day.
33 - Interrupts
1
, Station Save. Save and Compile DB . , Station -> Consistency Check. , PLC -> Download, STOP.
, , .
STEP 7
: LAD ( ), STL ( ), FBD ( ).
34, . LAD -, STL ,FBD -. , SIMATIC Manager .
34 - STEP 7
, , 21, . Insert -> S7 Block . LAD/STL/FBD, 35.
|
|
: ; ; .
. .
, , , , networks.
. , , , . , .
View , 35. : LAD, STL FBD. .
LAD FBD STL. STL (, STL, ).
STL LAD FBD . , , STL. .
35 - LAD/STL/FBD
FBD LAD . , . . , .
New Network , .
STL . : Help -> Help on STL. : Statement List Instructions , ; Working with Statement List ( ) , , , .
STL , . , LAD/FBD.
, .
. , OB1, . , STL:
CALL FC 1
CALL FC 2
, . 5 PLC -> Download. , .
STEP 7 . SIMATIC Manager,
Symbols,
LAD/STL/FBD, Options -> Symbol Table. , 36.
|
|
36 -
. . .
Edit (. 36) , : Search For ; Replace With ; Search Only ; From Cursor Down ; From Cursor Up ; Match Case ; Whole Word Only ; All , ; Selection .
* , .
View Filter, 37, , , (symbol properties).
37 - Filter
. , , . : Name (), Address (), Data type ( ), Comment (), Operator control and monitoring ( ), Communication (), Message ().
: * ?.
, M*, , M .
SENSOR_?, , SENSOR_ .
Valid Invalid . , , View -> Filter Invalid.
View -> Sort . , .
Symbol Table -> Export , . :
) ASCII Format (*.ASC) Notepad Word;
) Data Interchange Format (*.DIF) EXCEL; ) System Data Format (*.SDF) ACCESS;
) Assignment List (*.SEQ) STEP 5.
Symbol Table -> Import , . Symbol Table -> Import, Import, Find in, File Name OK.
Options -> Edit Symbols Edit Symbol .
. , , . .
, . SIMATIC Manager Blocks, Properties Blocks. Absolute Value ( ) Symbol ()
Priority ().
, , On = I 0.1,
On = I 1.0.
, . I 0.0 I 1.0 . , I 0.0.
|
|
, , .
, I 0.0 ( On) I 1.0 . , I 0.0 I 1.0
. . , .