The following figure is a simple program to illustrate the process of creating and downloading programs for Siemens S7-200
1. Open the program editor
2. Input program segment 1-normally closed contact trigger timer timing
As shown in the figure below, the instruction program can be dragged to the program editing area by dragging
3. Input program segment 2-timing to turn on the coil
As shown in the figure below, the second program entered
4. Input program segment 3-reset timer
The function of this program is to regularly turn on Q0.0 for 150ms, then turn off Q0.0 for 50ms, and continuously cycle this process
5. S7-200 save program
Click save as in File to save the program
6. Download the program of S7-200
Click download to pop up the following dialog box to download the program. In the picture, there is no connection to the PLC, so an X will pop up.
7. Upload program from S7--200PLC (read)
As shown in the figure below, click the button to upload the PLC program to the computer.