DC 7-28V Modbus RTU Network Relay Module W5500 Ethernet LAN Controller
Product Details
1.Description:
Modbus RTU Network Relay Module W5500 Ethernet LAN Controller equipped with mature and stable 32-bit MCU and W5500 all-hardware TCP/IP protocol stack network chip. Reserved MCU debugging interface to support secondary development.
Using the standard MODBUSRTU communication protocol, it can realize the control of 1 relay output in LAN, and can be used for power control under wired network.
2.Feature:
1>.Mature and stable on-board 32bit MCU STM32F103C6T6 chip;
2>.nboard W5500 all-hardware TCP/IP protocol stack Ethernet chip, supporting 10/100M bps rate;
3>. Relay status and equipment address can be read by software/instruction;
4>.onboard 1 channel 5V, 10A/250V AC 10A/30V DC relay, can continuously suction 100,000 times, with diode leakage protection, short response time;
5>.onboard power supply and relay switch indicator;
6>.Onboard MCU reset button;
7>. Reserved UART serial port and SWD program write port, support secondary development.
3.Parameter:
1>.Power supply: DC 7-28V
2>.Communication protocol: Modbus RUT
3>.UART Communication baud rate: 115200
4>.Device address: The value ranges 1-255. The default value is 255
5>.Work Temperature: -25℃~85℃
6>.Work Humidity: 5%~95%RH
7>.Size: 73*45mm
4.Introduction to Modbus RTU instructions:
1>.The Modbus device executes relevant operations by receiving the Modbus RTU instructions from the external control terminal (such as the upper computer). A frame instruction generally consists of the device address, function code, register address, register data and check code, and the frame length is related to the function code.
Generally, the first byte of each frame is the device address. The value range is 1 to 255, and the default value is 255(0xFF). The last two bytes are the CRC verification code.
Assuming the device address is 255, the common Modbus RTU command is as follows:
2>.Open relay No. 1 (manual mode)
Send: FF 05 00 00 FF 00 99 E4
Return as is: FF 05 00 00 FF 00 99 E4
Notes: (1) The 3rd -- 4th byte of the sent frame represents the relay address. The addresses of relay #1 relay-- #32 are 0x0000-0x001F respectively
(2) The 5th -- 6th byte of the sent frame represents data, 0xFF00 represents open relay, 0x0000 represents close relay
3>.Close No.1 relay (manual mode)
Send: FF 05 00 00 00 00 D8 14
Return as is: FF 05 00 00 00 00 D8 14
4>.Open No.2 relay (manual mode)
Send: FF 05 00 01 FF 00 C8 24
Return as is: FF 05 00 00 00 00 D8 14
5>.Close No.2 relay (manual mode)
Send: FF 05 00 01 00 00 89 D4
Return as is: FF 05 00 01 00 00 89 D4
6>.Turn on all relays
Send: FF 0F 00 00 00 20 01 FF B0 15
Return as is: FF 0F 00 00 00 20 41 CD
7>.Turn off all relays
Send: FF 0F 00 00 00 20 01 00 F0 55
Return as is: FF 0F 00 00 00 20 41 CD
8>.Set the device address to 1
Send: 00 10 00 00 00 01 02 00 01 6A 00
Original value Returned: 00 10 00 00 00 01 02 00 01 6A 00
Note: The 9th byte 0x01 of the sent frame is the address of the device that is written
9>.Set the device address to 255
Send: 00 10 00 00 00 01 02 00 FF EB 80
Original value Returned: 00 10 00 00 00 01 02 00 FF EB 80
Note: The 9th byte 0xFF of the sent frame is the address of the device that is written
10>.Read the device address
Send: 00 03 00 00 00 01 85 DB
Return: 00 03 02 00 FF C5 C4
Note: The fifth byte 0xFF of the returned frame is the address of the device read
11>.Reading relay status
Send: FF 01 00 00 00 20 28 0C
Return: FF 01 04 00 00 00 01 25 DE
Note: Bit31-Bit0 in bytes 4-7 of the return frame represents relay #32 relay-- #1 status, 0 is off, 1 is on
12>.Open No.1 relay (flash closed mode 2S)
Send: FF 10 00 00 00 02 04 00 04 00 14 85 8A
Return: FF 10 00 00 00 02 A4 16
Notes: (1) The 3rd--4th byte of the sent frame represents the relay address. The addresses of relay #1 relay-- #32 are 0x0000-0x001F respectively
(2) The 10th--11th byte of the sent frame represents the delay setting value. The delay base is 0.1s, so the delay time is 0x0014*0.1=20* 0.1s =2S, and the relay will automatically close after opening for 2S.
13>.Close No.1 relay (flash closed mode 2S)
Send: FF 10 00 00 00 02 04 00 02 00 1E E5 8C
Return: FF 10 00 00 00 02 54 16
Notes: (1) The 3rd--4th byte of the sent frame represents the relay address. The addresses of relay #1 relay-- #32 are 0x0000-0x001F respectively
(2) The 10th--11th byte of the sent frame represents the delay setting value. The delay base is 0.1s, so the delay time is 0x001E*0.1=30* 0.1s =3S, and the relay will automatically open after closing for 3S.
5.Package:
1pcs Modbus RTU Network Relay Module W5500 Ethernet LAN Controller.