Intouch 怎样用DASSIDirect with Siemens S7-200 PLC 通讯
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
Configure the S7-200 PLC
1.Start Step7-Micro/Win 3
2. Create a new project or load your existing one
(Figure 1 below):
F IGURE 1:S TEP 7-M ICRO/WIN32-P ROJECT1D IALO
G B OX
2.Click on Tools and then select Ethernet Wizard.
3.Step through the wizard:
F IGURE 2:E THERNET W IZARD
4.Click Yes when asked to use symbolic addressing. Otherwise the wizard
cannot continue:
F IGURE 3:C LICK Y ES
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:
F IGURE 4:S PECIFY M ODULE P OSITION D IALO
G B OX
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):
F IGURE 5:M ODULE A DDRESS C ONFIGURATION
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):
F IGURE 6:2C ONNECTIONS
Now you have to configure the connections. Connection 0 (Figure 7
below) will accept all incoming client requests:
F IGURE 7:C ONNECTION C ONFIGURATION
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:
F IGURE 8:S PECIFIED C LIENT R EQUESTS
10.If all connections are configured click OK.
During the startup phase of a project I would recommend not to use a CRC protection:
F IGURE 9:N O CRC P ROTECTION
The wizard now needs a range in the V-Memory where to store this
information. Step7-Micro/Win32 will suggest a valid range.
11.Click on Suggest Address if you have planned to use this range for
something else.
In this case Step7-Micro/Win32 will suggest another free range that has the correct size to hold this data:
F IGURE 10:S TORE M EMORY A LLOCATION FOR A DDRESS
12.Click Next.
The program now has enough information:
F IGURE 11:
G ENERATE P ROJECT C OMPONENTS
13.Click Finish to complete the configuration: