当前位置:网站首页>Use of Siemens plcs7-200 (I) -- Introduction to development environment and configuration software

Use of Siemens plcs7-200 (I) -- Introduction to development environment and configuration software

2022-06-25 10:21:00 Fat brother, Miss Wang

background

I have been doing industrial control development for several years , The entity's PLC Not much contact , Among them, Siemens s7-200 Count as PLC Products widely used in , So the recent project involves this production , Let's learn how to do simple PLC Programming and configuration software debugging .

Hardware

SIMATIC S7, CPU-200 SMART, 6ES7 288-1ST20-0AA1, Some treasure 700 many , Something 2000 many , The key is a piece of paper .
 Insert picture description here

Three in the upper right corner IO It is the power connection port .

 Insert picture description here
Power Supply  Insert picture description here
This is a matching one 24V Power Supply , It feels really good , Heavy , No loss is an official product . Insert picture description here

Wiring way :
24V just ----------------L+
24V negative ----------------M

Then connect the Ethernet port of the computer PLC Of the Internet .
 Insert picture description here

Software

The software used is the official tool of Siemens , The software can be downloaded from the official website
Download address
Programming software and configuration software are mainly used .

STEP 7- Micro/WIN SMART yes S7-200 SMART Programming software based on . Support Windows 7 or Windows 10, The installation file is smaller than 300 MB, Integrate Modbus ,USS,PROFINET, Motion control and other library instructions .

PC Access SMART yes S7-200 SMART Communication with host computer OPC Software . With this software , The operator can easily read through the upper computer S7-200 SMART The data of , So as to realize equipment monitoring or data archiving management .

Download the above two software from the website , And install . It doesn't need any cracking at all ……
 Insert picture description here

STEP 7- Micro/WIN SMART

This is programming software , After running , First of all PC To work with plc Establishing a connection .

 Insert picture description here
Then you can search 192.168.2.1 Of PLC 了 , The default address is usually this . If you want to establish a connection , Yours PC Must be set to the same network segment IP Address . That doesn't explain it .
 Insert picture description here

Then we can write a simple test program , Download Software , see PLC Can it work properly .

Refer to the user manual , The following ladder program is written
 Insert picture description here

The general effect is , Timer 2s, stay 1s When Q0.0 Output high level , stay 2s When ,M0.0 Reset timer . The combined result is Q0.0 every other 1s Lighten up , Another time 1s Extinguish . Don't ask me why I understand , Because I don't understand either
 Insert picture description here

Then program burning
 Insert picture description here

 Insert picture description here
Then the light starts flashing
 Insert picture description here
As for other programming methods , You need to learn by yourself , After all, I'm just a novice .
 Insert picture description here

The configuration software uses

After running the software , First, select the network card , Click on the network interface card , Choose the network card you use
 Insert picture description here
Then build PLC, Interface and Step7 It's the same . Look up your PLC

After finding it , Right click in the space on the right , Insert entry  Insert picture description here
Here is a new read Q0.0 The operation of
 Insert picture description here
Then add the entry to the following test client

 Insert picture description here
Finally, open the test client
 Insert picture description here
See the following values in 0 and 1 Change between
 Insert picture description here
 Insert picture description here
The simple configuration is completed . It's said that the configuration software on tall buildings needs to be charged , I don't dare to ask
 Insert picture description here

Data download

Siemens s7-200 Chinese user manual

Conclusion

Today, I saw a news that a student of Xi'an University of Electronic Science and technology was informed after recruiting a representative , Also think of now C The Q & a part of the station , Most of them are college students who ask questions , Find someone else to help with the design and problems , He even offered money to solve , I always think this is not a good phenomenon .
I watched a teaching video of Professor Guo Chengcheng at noon today , Talked about the mental outlook of college students in the new era , Treat western countries , Be able to look at them head on , Keep your eyes wide open , Think about , This is a good start , No longer worship or even kneel as before .
 Insert picture description here

But the attitude of learning , Be pragmatic , If you want to look down on others , You have to have real skills , Otherwise, it's just blind arrogance . The gap between us and the west is still obvious , It even takes decades to catch up . As the hope of the motherland , Do a simple programming problem , Also come online to post , What else did you learn .
 Insert picture description here

原网站

版权声明
本文为[Fat brother, Miss Wang]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/176/202206250945070894.html