RS485 MODBUS to PROFINET gateway case_Inovance MD310 inverter connected to 1500 PROFINET

This article mainly introduces how to use the MODBUS to PROFINET (PROFINET to MODBUS) gateway PNMD485-K20 of Beijing Microhard Innovation Technology Co., Ltd. (Microhard Innovation) to connect the Inovance MD310 inverter to the Siemens PLC1500 PROFINET network:

MODBUS to PROFINET gateway network application sketch editing

In this case, MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 application site Inovance MD310 inverter adopts MODBUS RTU communication protocol, standard RS485 communication interface, PLC uses Siemens S7-1500 series PLC, on-site Using PROFINET industrial Ethernet communication, the purpose of this case is to use S7-1500 to set the parameters of the inverter, and at the same time collect various status values ​​of the inverter

Introduction of MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20:

The PNMD485-K20 model is the MODBUS to PROFINET gateway PNMD485-K20 developed by Beijing Microhard Innovation Technology Co., Ltd. (Microhard Innovation), which realizes the function of MODBUS to PROFINET, and can realize MODBUS interface instruments, frequency converters, comprehensive protection, soft starters and other equipment Connected to PROFINET network systems such as S71500, S71200, CPU315-2PN/DP, and S7400, it is a kind of serial port PROFINET gateway. The gateway is a PROFINET slave station on the PROFINET side, and there are two physical interfaces on the serial port side, RS-485 or -232, and supports MODBUS/RTU master station or slave station.

When the MODBUS-to-PROFINET gateway acts as the master station on the MODBUS side, it can be used for one-to-many integration of MODBUS/485 or one-to-one integration of MODBUS/232 devices, forming a MODBUS subnet to connect to PROFINET, and realizing the technology of PROFINET controller monitoring MODBUS devices Requirements, when the MODBUS side of the gateway is a slave station, it can be used to transmit other MODBUS master stations (such as PLC/DCS) and its slave station data to the PROFINET controller. The technical principle of this gateway is memory sharing type, without the programming of PLC/DCS of the master station, only need to configure the gateway MODBUS message in the master station configuration (such as STEP7) to realize the automatic sending function of the automatic gateway MODBUS master station.

MODBUS to PROFINET gateway related parameters:

1. The protocol type supported by the serial port: MODBUS master station, MODBUS slave station, custom protocol and general mode (receiving type, question and answer type);

2. Serial port parameters:

① Working mode: half-duplex;

②Baud rate: 300, 600, 1200, 2400, 4800, 9600, 19.2K, 38.4K, 57.6K, 115.2Kbps optional;

③Data bit: 8 bits;

④ Parity digit: none, odd, even, sign, space optional;

⑤Stop bit: 1, 2 optional;

3、MODBUS:

①Function code: 01H, 02H, 03H, 04H, 05H, 06H, 0FH, 10H functions;

② Format: RTU format and ASCII format;

③Function: optional function of writing command continuous output, prohibition output or every change output;

④Each master station can configure up to 48 MODBUS commands;

4. Power supply: 24VDC (11V~30V);

5. Working environment temperature: -20℃~60℃; working environment humidity: 5% to 95% (no condensation);

6. Built-in electrostatic protection: 15KV ESD; communication port isolation: 3KV;

7. Mechanical size: 40mm (width) × 110mm (height) × 74mm (depth);

8. Protection level: IP20;

Two: Configuration method in Siemens Portal software: TU to PROFINET gateway PNMD4 85-K20

1. MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 Configuration 1: Import XML to create a new project

Open the Portal software “TIA Portal V13” to create a new project —> enter the project name —> create

Configuration interface one edit

2. MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 Configuration 2: Add a new device

Configuration interface 2Edit

3. MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 Configuration 3: Select PLC

Configuration interface three edit

4. MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 Configuration 4: Add subnet and set IP

Configuration interface four edit

5. MODBUS RTU to PROFINET bridge/PROFINET to MODBUS RTU bridge PNMD485-K20 configuration five: add GSD file

Configuration interface five edit

6. MODBUS RTU to PROFINET bridge/PROFINET to MODBUS RTU bridge PNMD485-K20 configuration six: Find the folder where GSD is located

Configuration interface six edit

7. MODBUS RTU to PROFINET bus bridge/PROFINET to MODBUS RTU bus bridge PNMD485-K20 Configuration Seven: Find the required module PNMD485-K20

Configuration interface seven edit

8. MODBUS RTU to PROFINET bus bridge/PROFINET to MODBUS RTU bus bridge PNMD485-K20 Configuration 8: Set the IP and device name of the PROFINET gateway PNMD485-K20

Configuration interface eight edit

9. MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 Configuration 9: Add read and write commands and fill in the slave station address and register address

Configuration Interface NineEdit

10. Configuration of MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 Ten: Assign new IP and device name to PROFINET gateway PNMD485-K20

Configuration Interface TenEdit

11. MODBUS RTU to PROFINET gateway/PROFINET to MODBUS RTU gateway PNMD485-K20 Configuration 11: Just assign the required equipment

Configuration interface eleven

MD310 series inverters provide RS232/RS485 communication interface and support Modbus communication protocol. The user can realize centralized control through a computer or PLC, set the operation command of the inverter through this communication protocol, modify or read the function code parameters, and read the working status and fault information of the inverter, etc.

Agreement:

The Modbus protocol communication data format of MD310 series frequency converter is as follows: When using RTU mode, message sending should start with a pause interval of at least 3.5 characters.

Summary: After the simple configuration above, using the corresponding model of Microhard innovative profinet protocol conversion gateway, users can easily complete the protocol conversion between RS485 RS232 MODBUS RTU and PROFINET, read and write data of MODBUS devices under the PROFINET bus protocol, and realize RS232 For PROFINET, the corresponding model is PNRS232-K20; for RS485 to PROFINET, the corresponding model is PNRS485-K20, for MODBUS to PROFINET, if you want to know more, you can contact the blogger. If you need more detailed information, you can ask the blogger or consult WeChat Hard innovation official website, thank you for your attention~~

Reviewing editor: Tang Zihong

Leave a Reply

Your email address will not be published.