Professional Documents
Culture Documents
Contents Page
Chapter HW Configuration:
Adapting the ACTUAL Configuration .................................................................................... 3
Assign Parameters to CPU Clock Memory and Test ............................................................ 5
Chapter Symbols:
Creating a Symbol Table for the Conveyor Model ................................................................. 6
Contents Page
Chapter Troubleshooting:
Overview: Stop Errors and Logical Errors ............................................................................ 27
Print out of the Error Program .............................................................................................. 28
Note The result of the Exercise is displayed in the picture above (for the S7-300
16 bit training unit).
Note The result of the Exercise is displayed in the picture above (for the S7-300
32 bit training unit).
Hardware
S1 S2 S1 S2 S1 S2
II1.0
1.0 II1.1
1.1 II1.0
1.0 II1.1
1.1 II1.0
1.0 I 1.1
I1.1
Programmable controller Programmable controller Programmable controller
Q 4.0 Q 4.0 Q 4.0
Software
I 1.0 I 1.1 Q 4.0 I 1.0 I 1.1 Q 4.0 I 1.0 I 1.1 Q 4.0
LAD
FDB
I 1.1 Q 4.0 I 1.1 Q 4.0 I 1.1 Q 4.0
Exercise Complete the programs above to obtain the following functionality: When switch
S1 is activated and switch S2 is not activated, the light should be ON in all three
cases.
Note ! The terms "NO contact" and "NC contact" have different meanings depending
on whether they are used in the process hardware context or as symbols in the
software.
Statement
Global Local Absolute Symbolic Temporary Static Parameter
L #Number_1 X X X
L #Number_2 X X X
T #Max_value X X X
L #Intermediate_result X X X
L “Number_1" X X
T MW 40 X X
T #Number_2 X X X
L DB18.DBW10 L DBW18.DBW0
2 FC 18, Network 5 FC 18, Network 5 L #Setpoint L #Setpoint
>=I >=I
CALL FC20 CALL FC20
2 FC 20, Network 1 FC 17, Network 2 Flash Frequency Flash Frequency
= DBX10.3 = „2_Hz“ (M10.3)
Logical Errors:
Error Fault Function Error Location Incorrect -> Correct Instruction
„M_Jog_Right“
Logical Error
Logical Error
„2_Hz“
1 Logical Error
STOP Error
„IW_BCD“
STOP Error
„DB_Parts“.ACT_Number_of_Parts