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.
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
1. Open NetDevice, click [Search Device], search for CHNet-S7200PLUS, and click [Modify Device Parameters];
2. Create a new client
【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
【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.
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
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;
2. Open the status table of STEP7-Micro/WIN SMART200 and monitor the data of VW100~VW108;
3. The data of the two are completely consistent.
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
- Popular Resources
- Popular amplifiers
- Red Hat announces definitive agreement to acquire Neural Magic
- 5G network speed is faster than 4G, but the perception is poor! Wu Hequan: 6G standard formulation should focus on user needs
- SEMI report: Global silicon wafer shipments increased by 6% in the third quarter of 2024
- OpenAI calls for a "North American Artificial Intelligence Alliance" to compete with China
- OpenAI is rumored to be launching a new intelligent body that can automatically perform tasks for users
- Arm: Focusing on efficient computing platforms, we work together to build a sustainable future
- AMD to cut 4% of its workforce to gain a stronger position in artificial intelligence chips
- NEC receives new supercomputer orders: Intel CPU + AMD accelerator + Nvidia switch
- RW61X: Wi-Fi 6 tri-band device in a secure i.MX RT MCU
Professor at Beihang University, dedicated to promoting microcontrollers and embedded systems for over 20 years.
- LED chemical incompatibility test to see which chemicals LEDs can be used with
- Application of ARM9 hardware coprocessor on WinCE embedded motherboard
- What are the key points for selecting rotor flowmeter?
- LM317 high power charger circuit
- A brief analysis of Embest's application and development of embedded medical devices
- Single-phase RC protection circuit
- stm32 PVD programmable voltage monitor
- Introduction and measurement of edge trigger and level trigger of 51 single chip microcomputer
- Improved design of Linux system software shell protection technology
- What to do if the ABB robot protection device stops
- CGD and Qorvo to jointly revolutionize motor control solutions
- CGD and Qorvo to jointly revolutionize motor control solutions
- Keysight Technologies FieldFox handheld analyzer with VDI spread spectrum module to achieve millimeter wave analysis function
- Infineon's PASCO2V15 XENSIV PAS CO2 5V Sensor Now Available at Mouser for Accurate CO2 Level Measurement
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- Advanced gameplay, Harting takes your PCB board connection to a new level!
- A new chapter in Great Wall Motors R&D: solid-state battery technology leads the future
- Naxin Micro provides full-scenario GaN driver IC solutions
- Interpreting Huawei’s new solid-state battery patent, will it challenge CATL in 2030?
- Are pure electric/plug-in hybrid vehicles going crazy? A Chinese company has launched the world's first -40℃ dischargeable hybrid battery that is not afraid of cold
- The diameter of the four holes on the EK140 base plate
- This circuit is called a "lawn mower"
- CC3200-LAUNCHXL
- How to monitor battery voltage with Arduino
- Image Algorithm Transplantation to DSP and Its Optimization Steps
- Prize-winning live broadcast: Keysight’s Metaverse Test Series Seminar: Challenges in VR/AR Digital Interface Testing in Progress!
- 51 STM32 reference study manuals, one-click download without points!
- Microwave and RF Applications
- [ESP32-S2-Kaluga-1 Review] 3. Physical buttons?
- Unable to search for Bluetooth signal after adding characteristic value