Connect the Senlan inverter to the Profinet network via Modbus to Profinet

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

This case is a configuration case of using the MODBUS to PROFINET gateway of Bestun Technology to connect the Senlan inverter and PLC. The devices used are Siemens S7-1200PLC, MODBUS RTU to PROFINET gateway, and Senlan inverter.

wKgZomTKJ-6AU7r4AAHXqDaTTrI120.png


1. First create a new project file;

pYYBAGQrtaeAbfGKAACM_YoP_18676.png


2. Import the GSD file. Copy the GSD file of the MODBUS to PROFINET gateway to any location. Open Portal and create a new project. Enter Devices and Networks, select Manage General Station Description Files in the Options, and install the GSD file;

poYBAGQrtbOAcDfyAAB25rPoUvM136.png


3. Search for the folder where the GSD file is stored. After finding the GSD, select Install and wait for the installation to succeed.

poYBAGQxQayAQr8mAABqpIXsTrc288.png


4. After successfully installing GSD, open the hardware directory and add the installed GSD file to the configuration. The MODBUS to PROFINET gateway and PLC have not yet been connected and are in an unassigned state;

pYYBAGQxQbGAY6DfAACuBVM_iTo242.png


5. Click Unassigned to connect to the PLC and then set the parameters of the MODBUS to PROFINET gateway properties;

pYYBAGQxQbaAQBPRAAAwUPRjtbU152.png


6. Modify the properties of the MODBUS to PROFINET gateway, modify the IP address and PROFINET device name of the MODBUS to PROFINET gateway (do not include symbols such as *./ in the device name);

poYBAGQxQbuAKVlkAAA96I1lr-0174.png


7. Add the required input (inptu) and output (output) bytes. Add the bytes as required;

pYYBAGQxQcCAD_MlAACp-ceZk8g312.png


8. After setting the parameters, you can download and load it to the PLC as shown in the figure below;

pYYBAGQrteOAd9eLAAC21m5bTa8443.png


9. Open the configuration software Gateway Configuration Studio;

pYYBAGQxQcqAMRAHAAAMMjgvGpI209.png


10. Click New and select the device as PN2MRM3;

poYBAGQxQc-AW9FYAAAogt2G0bM688.png


11. The IP address in the configuration software must be consistent with the IP address in the Botu MODBUS to PROFINET gateway configuration;

pYYBAGQxQdWAUe0RAABsfTBDnQU482.png


12. The PROFINET configuration in the configuration software must be consistent with the PROFINET gateway configuration of Botu MODBUS;

poYBAGQxQdqAfTDOAABoi1b4_a8650.png


13. Configure the baud rate, word width (data bit selection), parity check and other parameters according to the device instructions. From the figure, we can see that the inverter slave protocol is Modbus-Rtu communication data format with 8 data bits and one stop bit without check. Similarly, the gateway is configured in the same way;

wKgZomTKKFOABnNkAAB7EZmPWPg443.png

14. Take the device description in the figure below as an example. In the device description, address 1, function code 3/10, the address to be written is 3200H, 3201H. The configuration of writing the main control word is as follows;

wKgaomTKKFiAFrCNAAUM0lbNRDQ609.png

wKgaomTKKGGAExXYAACUGloq2LU921.png


wKgZomTKKGqAU_NyAACeyDgBBwc042.png


15. After configuring all the required parameters, download, click Tools and then click Communication Settings;

pYYBAGQxQfOAQ9G4AABvjCe7bwE426.png


poYBAGQxQfeAGhO_AAAkbUQqB18491.png


16, the hexadecimal address is converted to the decimal starting address. Write 12800 register quantity. Two representatives can input the main control word start and stop and the given frequency. Read using the 03 function code. If you want to read the value from the main status word to the FF-17 process word to select the output, then you need to fill in 10 register data starting from 12816. Click Search to enter the next interface and then click Search and double-click the IP and device in the red box below.


Reference address:Connect the Senlan inverter to the Profinet network via Modbus to Profinet

Previous article:SIMATIC S7-1500 PLC multiple background applications 1-2
Next article:ETHERNET IP to ETHERCAT connection ethercat bus servo how to control

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号