S5-115U Manual
PLC System Start-Up and Program Test
4.3
Testing the Program
The following describes the steps for starting the control program in the S5-115U. This is followed
by the description of the test functions with which you can locate logical errors in program
processing.
4.3.1
Starting the Program
Starting point:
The PS 951 power supply module is switched off, the CPU mode selector is at
STOP, the control program is stored on the E(E)PROM submodule.
Insert the memory submodule in the receptacle of the CPU
Switch on the power supply module
The green LEDs of the PS 951 light up (otherwise: power supply module (PS 951) defective)
(if desired:) Overall Reset of CPU
After switching on the power supply module or after Overall Reset (mode selector at STOP), the
STOP LED and the BASP LED light up.
If the STOP LED
flickers, the CPU is defective; if the STOP LED flashes, there is a fault in the
memory submodule (see Chapter 5).
Online functions with the programmer over the serial interface are possible when the CPU is in
the STOP state.
Set the mode selector from STOP to RUN
Both operating mode LEDs light up during the entire restart.
After the restart OB has been processed, the RUN LED lights up (cyclic program scanning).
In the event of a fault, the CPU remains in the STOP state, i.e. the STOP LED lights up. Analysis of
the cause of the interrupt is described in Chapter 5.
If the control program does not work properly, you can debug the program with the "STATUS",
"STATUS VAR" and "FORCE VAR" test functions.
Note
Test functions increase the scan time of the running control program!
EWA 4NEB 811 6130-02b
4-7
Summary of Contents for SIMATIC S5-115U
Page 6: ...EWA 4NEB 811 6130 02b ...
Page 16: ...EWA 4NEB 811 6130 02b ...
Page 18: ...EWA 4NEB 811 6130 02b ...
Page 26: ......
Page 62: ...EWA 4NEB 811 6130 02b ...
Page 64: ...EWA 4NEB 811 6130 02b ...
Page 67: ......
Page 74: ......
Page 79: ......
Page 80: ......
Page 81: ......
Page 82: ......
Page 83: ......
Page 84: ......
Page 97: ......
Page 98: ......
Page 99: ......
Page 114: ...EWA 4NEB 811 6130 02b ...
Page 280: ...EWA 4NEB 811 6130 02b ...
Page 372: ...EWA 4NEB 811 6130 02b ...
Page 432: ...EWA 4NEB 811 6130 02b ...
Page 442: ......
Page 528: ...EWA 4NEB 811 6130 02b ...
Page 590: ......
Page 591: ......
Page 592: ......
Page 593: ......
Page 594: ......
Page 600: ...EWA 4NEB 811 6130 02b ...
Page 602: ...EWA 4NEB 811 6130 02b ...
Page 604: ...EWA 4NEB 811 6130 02b ...
Page 624: ...EWA 4NEB 811 6130 02b ...
Page 632: ...EWA 4NEB 811 6130 02b ...
Page 644: ...EWA 4NEB 811 6130 02b ...
Page 646: ...EWA 4NEB 811 6130 02b ...
Page 652: ...EWA 4NEB 811 6130 02b ...
Page 654: ...EWA 4NEB 811 6130 02b ...
Page 660: ...EWA 4NEB 811 6130 02b ...
Page 662: ...EWA 4NEB 811 6130 02b ...
Page 666: ...EWA 4NEB 811 6130 02b ...
Page 668: ...EWA 4NEB 811 6130 02b ...
Page 674: ...EWA 4NEB 811 6130 02b ...