ABPLC connects to ethernet to modbusTCP gateway and connects to Kunlun Tongtai touch screen

Publisher:TranquilJourneyLatest update time:2024-05-10 Source: elecfans Reading articles on mobile phones Scan QR code
Read articles on your mobile phone anytime, anywhere

This case simulates the access of Modbus TCP device data to the Ethernet network of Rockwell PLC. The device used is Rockwell ABPLC1769-L32E, Kaijiang Intelligent Ethernet/IP to ModbusTCP Gateway. MODBUS TCP slave station Kunlun Tongtai touch screen.

poYBAGR_KOiANmYQAAQA7fiY1Ec399.png

1. Configuration method: First, you need to open the Studio5000 configuration software, create a new project and add a site.

poYBAGR_KPCAIm4HAADVRxt4_7w144.png


2. Add AB's PLC1769-L32E;

pYYBAGR_KPWAX5RFAAFRuyjF0fs288.png


3. Use BOOTP-DHCP Server software to set the PLC IP in advance and connect it to the Internet.

poYBAGR_KPyAJFWoAAA8dEGbDHQ979.png


4. Click TOOls-EDS Hardware Installation Tool to import the eds file of Ethernet/IP to ModbusTCP gateway;

pYYBAGR_KQeAONqjAASI8w8mFwI635.png poYBAGR_KQuACgq8AAGSRBybY5g746.png poYBAGR_KQGAc25zAADtyL9mHB4726.png


5. Keep clicking Next, click Borwse to select the location of the EDS file;

poYBAGR_KRKAS0g0AAFoB43mXfE554.png


6. Download the configuration to the PLC, right-click on Ethernet Prot and select New Module to add the Ethernet/IP to ModbusTCP gateway module;

pYYBAGR_KR6AFujyAAI45ymXm8w428.png


7. Enter eip and search for EIP001;

poYBAGR_KSOAJ0V9AADGeagA5ZY687.png


8. Set the Ethernet/IP to ModbusTCP gateway name and IP address (the name can be arbitrary, mainly the IP address corresponds);

pYYBAGR_KSiAZaKAAAD3rhMyYJ8140.png


9. Click Change to set the input and output length;

pYYBAGR_KS6AH1_0AACbp4U6tRE884.png


10. Open the configuration software of Kunlun Tongtai touch screen and create a new TCP forwarding device;

poYBAGR_KTOAF2R8AADZw4YpGTo036.png


11. Then start setting forwarding parameters;

poYBAGR_KTmAcdOkAABne5SJXrE843.png


12 Click the device window Port Number is set to 502;

poYBAGR_KT-AI1SbAAG1RfwLv5w990.png


13. Associate the corresponding view interface and the MCGS end is over. Open the gateway configuration software to configure the modbus parameters . Click New in the red circle and select EIP-MTC.

pYYBAGR_KUWAdBOVAAAkyaHcbj0553.png


14. Set the IP address of the Ethernet/IP to ModbusTCP gateway and the input and output data length to be consistent with the PLC configuration;

pYYBAGR_KVKAC4onAABgJkeLhuQ795.png poYBAGR_KU2AENJQAABh7OE5wYk586.png


15. Set the local port IP of Modbus TCP and keep it in the same network segment with KingView but with different IP;

poYBAGR_KVeAapLqAAB4tXLNBKs711.png


16. Right-click on Modbus TCP and click Insert. Fill in the IP address of the slave server in the lower-level NODE.

pYYBAGR_KVuAevxXAACBAVtu5l0592.png


17. Note: Response wait represents the longest waiting time for the slave station to respond, and polling delay represents the interval after the slave station responds before sending the next command;

poYBAGR_KWKAI_EpAADHaL_v3a0855.png


18. Select the corresponding function code and fill in the register address and quantity. After configuring multiple commands, click on the automatic calculation mapping address, and the data will automatically correspond to the corresponding IQ address;

pYYBAGR_KW2ALE3SAACDXm7t9og834.png pYYBAGR_KWeACVrkAACMOZZ48Nk815.png


Reference address:ABPLC connects to ethernet to modbusTCP gateway and connects to Kunlun Tongtai touch screen

Previous article:Microflex E190 servo communicates with Siemens PLC1200 via EtherCAT to Profinet gateway
Next article:Why does bldc use square wave control? Can bldc be controlled by sine wave?

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号