当前位置:网站首页>[Xinge education] poor learning host computer series -- building step 7 Simulation Environment
[Xinge education] poor learning host computer series -- building step 7 Simulation Environment
2020-11-06 01:32:00 【itread01】
Students often ask me , Learn whether to buy the upper computer PLC hardware ?
My general answer is : Rich people buy by themselves , Poor build simulation .
PLC hardware , For learning the upper computer , It's the icing on the cake , Economic conditions allow , It's better to have one , Conditions do not permit , We can also learn by building a simulation environment , So I've prepared a series —— Poor learning host computer series .
01、 Write it at the front
The theme of this paper is based on STEP7 Build Siemens simulation environment ,STEP7 It's Siemens 300 series 、400 Series of programming software , Early learning PLC My little partner must be familiar with this , Although it can be done in TIA Write in the environment S7-300/400 The program , But there is no denying that , There are still a lot of businesses ( Especially in manufacturing ) In the use of S7-300/400 PLC, If you only use S7-300/400, I think STEP7 Compared to boto , It will be smaller and more convenient .
Software environment :SIMATIC Manager V5.6、PLCSIM V5.4、NetToPLCsim、CMSPro Hardware environment :WIN10 64 position
Software gets keywords :STEP7、PLCSIM、NetToPLCsim、CMSPro【dotNet Industrial control upper computer :thinger_swj】
02、 Simulation steps
1、 Create a project : Use STEP7 Build a PLC Project , The name thinger_cn_PLCSimulator, Insert a SIMATIC 300 Site , As shown below :
2、 Hardware configuration : Turn on hardware configuration , First insert a rack Rack, And then insert a S7-300 Of CPU, It's better to choose the belt directly PN Interface , The choice here is CPU 315-2 PN/DP, As shown below :
3、 establish Ethernet: Double click PN-IO, In the pop-up window , Select Properties >> newly build , Then the IP Change the address to 192.168.1.123, Here IP The address is set by yourself , As long as it is in the same network segment as the local computer .
4、 Compile and store : Click on the red box in the figure below , Compile and store the hardware configuration . Piece simulation 300/400PLC, You don't need to install a huge botu Software , And the main use here is NetToPLCsim The plan , It doesn't need to be installed PLCSIM-Advanced.
5、 Start NetToPLCsim: Execute with administrator permission NetToPLCsim, The following window will pop up , Choose yes .
6、 Start PLCSIM: stay SIMATIC Manager In the form , Click on the red box in the figure below , Start PLCSIM, If the diagram is gray , Explain PLCSIM Not installed .
7、 Download PLC The program : stay SIMATIC Manager In the form , Click on the red box in the figure below , Download PLC The program .
8、 newly added Station: go back to NetToPLCsim In software , Click on Add, newly added Station, As shown in the figure below :
9、Start Server: stay NetToPLCsim In software , Click on Start Server, As shown in the figure below :
10、 Communication test : After following the steps above , One S7-300PLC The simulation environment is set up , Then you can communicate , The communication test platform is used here , Set IP Address: 192.168.1.103,PLC Type selection 300PLC, Read variable selection MD0( Because I didn't write any program , It's not established either DB Block , So we test it directly M Storage variables ), Type selection INT Type , Read and write data , Test , The results are as follows :【dotNet Industrial control upper computer :thinger_swj】
Pay special attention to : Here IP The address should be filled in PC Of IP Address , instead of PLC Of IP Address .
03、 Overall summary
STEP7 The biggest advantage of simulation is that it can be used SIMATIC Manager Software simulation 300/400PLC, You don't need to install a huge botu Software , And the main use here is NetToPLCsim The plan , It doesn't need to be installed PLCSIM-Advanced.
【 Teaching assistant Jingjing wechat :xiketang777】
【dotNet Industrial control upper computer :thinger_sw
版权声明
本文为[itread01]所创,转载请带上原文链接,感谢
边栏推荐
- Summary of common algorithms of linked list
- Relationship between business policies, business rules, business processes and business master data - modern analysis
- Vite + TS quickly build vue3 project and introduce related features
- Python Jieba segmentation (stuttering segmentation), extracting words, loading words, modifying word frequency, defining thesaurus
- How to customize sorting for pandas dataframe
- From zero learning artificial intelligence, open the road of career planning!
- This article will introduce you to jest unit test
- 教你轻松搞懂vue-codemirror的基本用法:主要实现代码编辑、验证提示、代码格式化
- Face to face Manual Chapter 16: explanation and implementation of fair lock of code peasant association lock and reentrantlock
- OPTIMIZER_ Trace details
猜你喜欢
It's easy to operate. ThreadLocal can also be used as a cache
How to encapsulate distributed locks more elegantly
Three Python tips for reading, creating and running multiple files
NLP model Bert: from introduction to mastery (2)
Architecture article collection
JVM memory area and garbage collection
前端基础牢记的一些操作-Github仓库管理
Network security engineer Demo: the original * * is to get your computer administrator rights! 【***】
PN8162 20W PD快充芯片,PD快充充电器方案
Elasticsearch数据库 | Elasticsearch-7.5.0应用搭建实战
随机推荐
[C / C + + 1] clion configuration and running C language
Do not understand UML class diagram? Take a look at this edition of rural love class diagram, a learn!
Introduction to quantitative investment and Trading (Python introduction to financial analysis)
NLP model Bert: from introduction to mastery (1)
TensorFlow中的Tensor是什么?
Word segmentation, naming subject recognition, part of speech and grammatical analysis in natural language processing
[actual combat of flutter] pubspec.yaml Configuration file details
一篇文章带你了解CSS 渐变知识
Custom function form of pychar shortcut key
一篇文章教会你使用Python网络爬虫下载酷狗音乐
High availability cluster deployment of jumpserver: (6) deployment of SSH agent module Koko and implementation of system service management
有了这个神器,快速告别垃圾短信邮件
Flink的DataSource三部曲之一:直接API
Python Jieba segmentation (stuttering segmentation), extracting words, loading words, modifying word frequency, defining thesaurus
Solve the problem of database insert data garbled in PL / SQL developer
快速排序为什么这么快?
Individual annual work summary and 2019 work plan (Internet)
IPFS/Filecoin合法性:保护个人隐私不被泄露
ES6学习笔记(四):教你轻松搞懂ES6的新增语法
教你轻松搞懂vue-codemirror的基本用法:主要实现代码编辑、验证提示、代码格式化