最新文章专题视频专题问答1问答10问答100问答1000问答2000关键字专题1关键字专题50关键字专题500关键字专题1500TAG最新视频文章推荐1 推荐3 推荐5 推荐7 推荐9 推荐11 推荐13 推荐15 推荐17 推荐19 推荐21 推荐23 推荐25 推荐27 推荐29 推荐31 推荐33 推荐35 推荐37视频文章20视频文章30视频文章40视频文章50视频文章60 视频文章70视频文章80视频文章90视频文章100视频文章120视频文章140 视频2关键字专题关键字专题tag2tag3文章专题文章专题2文章索引1文章索引2文章索引3文章索引4文章索引5123456789101112131415文章专题3
当前位置: 首页 - 正文

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

来源:动视网 责编:小OO 时间:2025-09-30 01:00:59
文档

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

ConfiguretheS7-200PLC1.StartStep7-Micro/Win32.Createanewprojectorloadyourexistingone(Figure1below):Figure1:Step7-Micro/WIN32-Project1DialogBox2.ClickonToolsandthenselectEthernetWizard.3.Stepthroughthewizard:Figure2:EthernetWizard4.ClickYeswhenaskedt
推荐度:
导读ConfiguretheS7-200PLC1.StartStep7-Micro/Win32.Createanewprojectorloadyourexistingone(Figure1below):Figure1:Step7-Micro/WIN32-Project1DialogBox2.ClickonToolsandthenselectEthernetWizard.3.Stepthroughthewizard:Figure2:EthernetWizard4.ClickYeswhenaskedt
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 incoming 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. 

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:

Figure 10: Store Memory Allocation for Address 

12.Click Next.

The program now has enough information:

Figure 11: Generate Project Components

13.Click Finish to complete the configuration:

Figure 12: Complete the Wizard Configuration

14.Click Yes.

In Step7-Micro/Win32 you should now see something like the following figure:

Figure 13: Step7_Micro/Win32 Window

Step7-Micro/Win32 has created some new entries in the V-Memory, starting at the address as specified during the setup of the CP243-1.

15.Download the configuration to the PLC:

Figure 14: Download the Configuration

16.Select all options and click OK (Figure 15 below):

Figure 15: Download Options

17.Set the PLC to STOP mode in order to be able to download a new configuration:

Figure 16: PLC STOP Mode

18.After the download don't forget to set the PLC to RUN mode again. This will not be done automatically:

Figure 17: PLC RUN Mode 

The PLC side is now configured.

Configure the DAServer

Configuration of the DAServer is quite easy. 

Since we have created two connections in the PLC, we will also create two connections in DASSIDirect DAServer.

Connection 0 will correspond to the connection as 

Figure 18: DASSIDirect Connection 0

The Remote TSAP in DASSIDirect must be the Local TSAP in the PLC configuration, and vice versa.

Connection 1 shown in Figure 19 (below) will correspond to the connection as created in 

Figure 19: DASSIDirect Connection 1

Now create your device group(s), if necessary. 

For a DDE/SuiteLink connection you need to have at least one device group per connection, for OPC it is not necessary. For to test the communication as described below, please enter a device group called S7200.

The connection between DASSIDirect and the S7-200 PLC should now be ready to test.

Test the Communication

In previous TechNotes we used wwclient for testing. This tool will no longer be installed when installing ArchestrA (A²) products like InTouch 8.0 or any DAServer. If you have InTouch 7.11 installed you will find this tool under Program Files/Wonderware FactorySuite/Common and you can use this tool.

1.Create a simple InTouch application with one tag. 

2.Select Special/Access Names from the main menu. 

3.Select Add.

The Add Access Name dialog box appears:

Figure 21: Add Access Name

4.Enter a meaningful name in the Access field. 

5.Leave the Node Name blank if you have InTouch and DASSIDirect on the same node. 

Otherwise enter the nodename of the PC where DASSIDirect resides. 

The Topic Name must match the Device Group name as configured in DASSIDirect.

6.Select Special/Tagname Dictionary and select New.

Figure 22: New Tagname

7.Select Type: I/O Integer and the access name as created in the previous steps. 

8.Use the item MB1 because it always exists in all S7-200 PLCs.

Use this tag in the window you just created.

9.Activate DASSIDirect in the System Management Console (SMC). 

10.Start WindowViewer™. 

11.Open the Diagnostic in the SMC to verify the communication:

Figure 23: Check Communication from the SMC

If you see a Time value that is changing, and a Client Quality of 00C0, your communication is fine.

文档

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

ConfiguretheS7-200PLC1.StartStep7-Micro/Win32.Createanewprojectorloadyourexistingone(Figure1below):Figure1:Step7-Micro/WIN32-Project1DialogBox2.ClickonToolsandthenselectEthernetWizard.3.Stepthroughthewizard:Figure2:EthernetWizard4.ClickYeswhenaskedt
推荐度:
  • 热门焦点

最新推荐

猜你喜欢

热门推荐

专题
Top