Intouch 怎样用DASSIDirect with Siemens S7-200 PLC 通讯

Configure the S7-200 PLC
1.Start Step7-Micro/Win 32. Create a new project or load your existing one (Figure 1 below):


Figure 1: Step 7 - Micro/WIN32 - Project1 Dialog Box
2.Click on Tools and then select Ethernet Wizard.
3.Step through the wizard:


Figure 2: Ethernet Wizard
4.Click Yes when asked to use symbolic addressing. Otherwise the wizard cannot continue:


Figure 3: Click Yes
5.Enter the module position of the CP243-1.

If you are uncertain about the position, click the button Read Modules. Otherwise you can enter the number directly:


Figure 4: Specify Module Position Dialog Box
6.Enter the IP configuration of your CP243-1.

Especially during the startup phase of the project, I would recommend not to use a BOOTP server.

Let the module detect the connection type (Figure 5 below):


Figure 5: Module Address Configuration
7.Enter the numbers of connections you want to configure for the CP243-1.

Default value is 0, which would not allow communication. In this example I will use 2 connections (Figure 6 below):


Figure 6: 2 Connections

Now you have to configure the connections. Connection 0 (Figure 7 below) will accept all in
coming client requests:


Figure 7: Connection Configuration
8.Always select This is a Server Connection. I recommend using the default TSAP's as suggested by Step7-Micro/Win32.
9.Click Next Connection (or Prev. Connection if available) to step through all the connections to configure them.

Note: If you plan to use such a connection, be sure that only one client tries to connect to the PLC via this connection at the same time. All other connection tries will be rejected.

Connection 1 accepts only requests from the specified client:


Figure 8: Specified Client Requests
10.If all connections are configured click OK.

During the startup phase of a project I would recommend not to use a CRC protection:


Figure 9: No CRC Protection

The wizard now needs a range in the V-Memory where to store this information. Step7-Micro/Win32 will suggest a valid range.

本文发布于:2024-09-25 16:29:56,感谢您对本站的认可!

本文链接:https://www.17tex.com/tex/3/487211.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:
留言与评论(共有 0 条评论)
   
验证码:
Copyright ©2019-2024 Comsenz Inc.Powered by © 易纺专利技术学习网 豫ICP备2022007602号 豫公网安备41160202000603 站长QQ:729038198 关于我们 投诉建议