200ppi to Ethernet without programming to achieve 200 224XP and 200SMART PLC data exchange

Publisher:leader5Latest update time:2024-09-23 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

This example takes S7-200 (CPU224XP) and SMART200 as examples to introduce how to exchange data between 200 and smartPLC through Xingda Easy Control PPI-ETH-XD1.0PLUS PLC Ethernet.

poYBAGLrf1SAOBUFAAEH-hh1qDE021.jpg


The DB9 male port (X1) of Xingda Easy Control PPI-ETH-XD1.0PLUS is connected to the PPI port of S7-200. The Ethernet port of SMART200 is connected to the Ethernet port of PPI-ETH through a switch. PPI-ETH-XD configures the exchange command through the NetDevice tool to achieve real-time and efficient data exchange between S7-200 and SMART200.


1. Configure the Xingda Easy Control PPI-ETH module data exchange command

Connection


pYYBAGLrf1SAFXTzAADAnoRq1xQ326.jpg

1. Open NetDevice, click [Search Device], search for CHNet-S7200PLUS, and click [Modify Device Parameters];


poYBAGLrf1OAOX5VAABut5Jroyo248.jpg

2. Create a new client

pYYBAGLrf1SAP7TmAABvxM3DNJo393.jpg


【1】Click Data Exchange, right-click to create a new client 0;

【2】The IP address of the remote server is the IP address of SMART200, which is set as

192.168.1.69; the communication port number of the remote server, the default is 102; the connection timeout default is 10S;

【3】Local/remote TSAP

Local TSAP Remote TSAP
Any 01 00/01
Any 02 00/01
Any 03 00/01

【4】Click OK to create the client.

3. Configure data exchange commands in the client


pYYBAGLrf1OAQLxIAACvA90pSXI212.jpg


【1】 Click New Command (SMART200's VW100~VW108 read S7-200's

VW100~VW108);

【2】 Select [Local → Remote], transfer 5 words; set the transmission timeout to 2S;

【3】 Local station (S7-200) sets the station address of the PLC on the bus where CHNet is located, data area

The domain selects the DB block, the DB number is 1 (for S7200, the V area corresponds to DB1), the byte offset is 100, and the bit offset is ignored;

【4】 The PLC address of the remote site (SMART200) does not need to be set, and the DB block is selected in the data area.

pYYBAGLrf1SAa0yXAAD0ZqT1E64850.jpg


DB number is 1 (for SMART200, V area corresponds to DB1) and the byte offset is

100, bit offset ignored;

【5】 Click the 【Check】 button to check the rules, and click the 【Confirm】 button to generate the command;

4. Client Monitoring


poYBAGLrf1SAIjpEAABcpCP2Z_A897.jpg


Click the client monitoring button, and if [Error Information] shows no error and [Correct] shows data jumping, it means the communication is successful.

2. Verify data exchange

1. Open the status table of STEP7-Micro/WIN and modify the data of VW100~VW108 to

1、2、3、4、5;

poYBAGLrf1WAM4QiAADrRr7eJAM985.jpg


2. Open the status table of STEP7-Micro/WIN SMART200 and monitor the data of VW100~VW108;


pYYBAGLrf1SAbDxGAADPt7lamp8944.jpg


3. The data of the two are completely consistent.


Reference address:200ppi to Ethernet without programming to achieve 200 224XP and 200SMART PLC data exchange

Previous article:300PLCmpi to Ethernet communicates with LABVIEW OPC via CHNet-S7300
Next article:200PPI to Ethernet and easy-to-control modbusTCP client communication configuration

Latest Embedded Articles
Change More Related Popular Components

EEWorld
subscription
account

EEWorld
service
account

Automotive
development
circle

About Us Customer Service Contact Information Datasheet Sitemap LatestNews


Room 1530, 15th Floor, Building B, No.18 Zhongguancun Street, Haidian District, Beijing, Postal Code: 100190 China Telephone: 008610 8235 0740

Copyright © 2005-2024 EEWORLD.com.cn, Inc. All rights reserved 京ICP证060456号 京ICP备10001474号-1 电信业务审批[2006]字第258号函 京公网安备 11010802033920号