UNIVERSAL-SOLDER Electronics Ltd

FREE Canada/USA Shipping for Orders >100 CAD
Volume Discounts available for logged-in users only.

2 Channel Modbus RS232 Relay Module
2 Channel Modbus RS232 Relay Module 2
Easter Special: “3-for-2” deals or huge discounts on all items
Free USA & Canada Shipping >200 CAD

2 Channel Modbus RS232 Relay Module

FREE Canada & USA shipping available (see details)

$17.90

In stock

Added to wishlistRemoved from wishlist 0
SKU: 26667 Category:

Level: Challenging!

The documentation for this module is pretty sparse. You should have some experience with Modbus and serial communication protocols to figure out its function.


Overview
LC 2 channel Modbus relay module equipped with mature and stable 8-bit MCU and RS485 level communication chip,adopt standard MODBUS RTU format RS485 communication protocol , It can realize 2 way input signal detection and 2 way relay output, can be used for digital detection or power control occasions.

Function
1. Onboard 8-bit MCU and RS485 level communication chip.
2. Communication protocol support standard Modbus RTU protocol
3. Communication Interface support RS485/TTL UART interface
4. Communication baud rate 4800/9600/19200, default 9600bps, Support power-down save
5. Optocoupler input signal range, DC3.3-30V (this input can’t use relay control)
6. Output signal relay switch signal, support manual control, flash OFF/ON mode. The delay base is 0.1s, the maximum allowable flash OFF/ON time is 0xFFFF*0.1s=65535*0.1s=6553.5S
7. Device address range 1-255, default 255
8. Baud rate/optocoupler input status/relay status/device address can be read by software/commands.
9. Onboard 2 way 5V,10A/250V AC 10A/30V DC relay
10. Onboard relay switch indicator.
11. Supply voltage DC7-24V, with input reverse protection

Connectors
– Power supply DC7-24V
– Optocoupler inputs IN1, IN2 3.3-30V DC
– A+ / B- RS485 communication Interface
– Relay switch outputs NC/COM/NO
– GND,RXD,TXD pins for TTL-Level UART (3.3-5V); jumpers DI and RO must be set to NC
– RS485 level interface, if used jumpers RO-RXD and DI-TXD must be connected

Modbus RTU instruction
Each frame’s first byte is the device address (1-255; default 255 = 0xFF). The last 2 bits are CRC checksum.

Suppose the device address is 255, the commonly used Modbus RTU instructions are as follows:

1, Open no.1 relay (manual mode)
send :FF 05 00 00 FF 00 99 E4
return :FF 05 00 00 FF 00 99 E4
notes: (1)the 3–4th byte of the transmitted frame represents the relay address,the relay 1-relay 8 address are respectively  0x0000,0x0001,0x0002,0x0003,0x0004,0x0005,0x0006,0x0007
(2)the 5–6th byte of the transmitted frame represents Data,0xFF00 represent  turn on relay,0x0000 represents turn off relay

2, Turn off the relay No. 1 (manual mode)
send :  FF 05 00 00 00 00 D8 14
return :  FF 05 00 00 00 00 D8 14

3, Turn on the relay No. 2 (manual mode)
send : FF 05 00 01 FF 00 C8 24
Return : FF 05 00 01 FF 00 C8 24

4, Turn off the relay no.2 (manual mode )
send : FF 05 00 01 00 00 89 D4
return : FF 05 00 01 00 00 89 D4

5, Turn on all relay
send :FF 0F 00 00 00 08 01 FF 30 1D
return :FF 0F 00 00 00 08 41 D3

6, Turn off all relay
send :FF 0F 00 00 00 08 01 00 70 5D
return :FF 0F 00 00 00 08 41 D3

7,Set the device address to 1
send :00 10 00 00 00 01 02 00 01 6A 00
return :00 10 00 00 00 01 02 00 01 6A 00
notes: The 9th byte of the transmitted frame, 0x01 is the written device address.

8, Set the device address to 255
send :00 10 00 00 00 01 02 00 FF EB 80
return :00 10 00 00 00 01 02 00 FF EB 80
notes: The 9th byte of the transmitted frame, 0xFF is the written device address.

9, Read device address
send:00 03 00 00 00 01 85 DB
return :00 03 02 00 FF C5 C4
notes: The 5th byte of the Return frame, 0xFF is the read device address

10, read relay state
send :FF 01 00 00 00 08 28 12
return :FF 01 01 01 A1 A0
notes: The 4th byte of the Return frame,Bit0–Bit7 of 0x01 representing relay 1-relay 8, 0 is turn off .1 is turn on.

11, Read optocoupler input status
send : FF 02 00 00 00 08 6C 12
return : FF 02 01 01 51 A0
notes: The 4th byte of the Return frame, Bit0–Bit7 of 0x01 represent  optocoupler1- optocoupler 8 input signal ,0 represent low level ,1 represent high level

12, Set the baud rate to 4800
send : FF 10 03 E9 00 01 02 00 02 4A 0C
return :FF 10 03 E9 00 01 C5 A7
notes: the 9th byte of the transmitted frame is the baud rate setting value ,0x02, 0x03, x04 represents 4800, 9600, 19200

13, Set the baud rate to 9600
send :  FF 10 03 E9 00 01 02 00 03 8B CC
return : FF 10 03 E9 00 01 C5 A7

14,Set the baud rate to 9600
send :FF 10 03 E9 00 01 02 00 04 CA 0E
return : FF 10 03 E9 00 01 C5 A7

15,Read the baud rate
send : FF 03 03 E8 00 01 11 A4
return : FF 03 02 00 04 90 53
notes: The 5th byte of the Return frame represent baud rate, 0x02, 0x03, x04 represents 4800,9600,19200.

16,Turn on no.1 relay (flash ON mode )
send :FF 10 00 03 00 02 04 00 04 00 14 C5 9F
return :FF 10 00 03 00 02 A4 16
notes: (1) the 3-4th byte of the transmitted frame is represent relay address,relay1-relay8’s address separately is 0x0003,0x0008,0x000D,0x0012,0x0017,0x001C,0x0021,0x0026
(2)The 10th-11th byte of the transmitted frame represents the delay setting value, and the delay base is 0.1S, so the delay time is 0x0014*0.1=20*0.1S=2S, and the relay automatically turns off after turned on 2S

17. Turn off no.1 relay(flash OFF mode)
send : FF 10 00 03 00 02 04 00 02 00 1E A5 99
return : FF 10 00 03 00 02 A4 16
notes: (1) the 3-4th byte of the transmitted frame is represent relay address,relay1-relay8’s address separately is 0x0003,0x0008,0x000D,0x0012,0x0017,0x001C,0x0021,0x0026.
(2)The 10th-11th byte of the transmitted frame represents the delay setting value, and the delay base is 0.1S, so the delay time is 0x001E*0.1=30*0.1S=3S,and the relay automatically turns off after turned on 3S

Link to manufacturer homepage for additional information (if available)

Specification: 2 Channel Modbus RS232 Relay Module

EAN

4260474036677

Brand

CANADUINO

Manufacturer

UNIVERSAL-SOLDER

2 Channel Modbus RS232 Relay Module
2 Channel Modbus RS232 Relay Module

$17.90

UNIVERSAL-SOLDER Electronics Ltd
Logo
Enable registration in settings - general
Shopping cart