Type:Voltage Regulator
Model Number:MODBUS RTU
Condition:New
4 opto-isolated inputs for dry contact input switch, not with voltage.4 10A high current relay outputs. AdoptionRS485 interface, A popular protocol used industryMODBUS RTU protocol. You can easily embed the RS485 bus.An RS485 bus 32 modules can be attached,Software set address and other parameters.Address and other parameters are stored in EEPROM.Providing control sample source code.Standard industrial rail mounting.Anti aspiration design. The power is not aspiration.MODBUS standard provides test software.Wide power supply 9-24V supply.
First, the wiring instructions
GND -------- ground NO1 ---- The first group normally open relay
+ 12V ------- 12V COM1 --- first group of relay common
NC1 ---- 485A ------- RS485 are the first group of relay normally closed
485B ------- RS486 negative NO2 ---- The second group normally open relay
IN1 -------- first group of digital input COM2 ---- second set relay common
IN2 -------- second group of digital input NC2 ---- second set of relay normally closed
IN3 -------- third group switch input NO3 ---- The third group normally open relay
IN4 -------- Group 4 digital input COM3 ---- The third group relay common
NC --------- empty, do not use a third group NC3 ------- relay normally closed
NO4 ------- fourth group of normally open relay
COM4 ------ fourth group relay common
NC4 ------- fourth group relay normally closed
One,Software Agreement
9600 baud, A start bit, 8 data bits, one stop bit, invalid check digit. Default Address 0x01. In line with MODBUS RTU protocol specification.
Detailed instructions (0x10 to address, for example)
A reading digital input.
Send Command format: address (1 byte) + commands (one byte) + register address (two bytes) + data field (two bytes) + CRC check code (two bytes).
Data Returned Format: Address (1 byte) + commands (one byte) + returns the number (1 byte) + returned data (one byte) + CRC check code (two bytes) byte
Send:0x01, 0x02, x00, 0x20, 0x00, 0x04, 0x78, 0x03
Returns:0x01, 0x02, x01, 0x0F, 0xE1,0x8c
ReturnReturn0x0F,This module only low four, only interested in the low four. From the first to the second4, respectively, the digital input INPUT1 to INPUT4 state, when there is the digital input
When the signal, the corresponding bit is 0 if the first way switch input, there is no other way switch input, the value 0x0E.
2,Control relay outputs.
2.1 a control individual relay (assuming module 0x01)
Opened the first road 0x01,0x05,0x00,0x10,0xFF, 0x00,0x8D, 0xFF
To open the second road 0x01,0x05,0x00,0x11,0xFF, 0x00,0xDC, 0x3F
Open the third road 0x01,0x05,0x00,0x12,0xFF, 0x00,0x2C, 0x3F
Open fourth road 0x01,0x05,0x00,0x13,0xFF, 0x00,0x7D, 0xFF,
Off the first road 0x01,0x05,0x00,0x10,0x00,0x00,0xCC, 0x0F
Second off road 0x01,0x05,0x00,0x11,0x00,0x00,0x9D, 0xCF
Off Third Road 0x01,0x05,0x00,0x12,0x00,0x00,0x6D, 0xCF
Off fourth road 0x01,0x05,0x00,0x13,0x00,0x00,0x3C, 0x0F
2.2 all in one operation relay
Open all0x01,0x0F, 0x00,0x10,0x00,0x04,0x01,0x0F, 0xBF, 0x51
All off0x01,0x0F, 0x00,0x10,0x00,0x04,0x01,0x00,0xFF, 0x55
Is set to open a two-way, set off the road thirty-four0x01,0x0F, 0x00,0x10,0x00,0x04,0x01,0x03,0xBF, 0x54
Set off a Road, the road home thirty-four open 0x01,0x0F, 0x00,0x10,0x00,0x04,0x01,0x0C, 0xFF, 0x50
3,Read relay output status
SendInstruction formatFormula: address (1 byte) + commands (one byte) + register address (two bytes) + data field (two bytes) + CRC check code (two bytes).
Data Returned Format: Address (1 byte) + commands (one byte) + returns the number (1 byte) + returned data (one byte) + CRC check code (two bytes) byte
Send:0x01,0x01, x00,0x10,0x00,0x04,0x3c, 0x0c
Returns:0x01, 0x01, x01,0x00,0x51,0x88
ReturnBack 0x00, status output relay, 0 is off, 1 is energized. This module only low four, only interested in the low four.
4,Setting the module address
WillDevice address to01: 0x00,0x06,0x00,0x01,0x00,0x01,0x18,0x1b
This product is definitely connected PLC, we know PLC supports MODBUS RTU protocol, the following test software with MODBUS Modbus Poll test communications.
Control Relay

Read switch


C ++ code is designed to provide a reference, here is a program that provides an interface reference

This interface provides the source code, powerful, able to modify the address of the device that can operate each of the relays, as well as reading the digital input, can read the relay is energized or closed. Also calculates the CRC value, and can display the data returned by the device, the software during installation can be directly used to test equipment that allows the installer after installation, immediately to test whether the device is properly installed, greatly facilitate device installation and maintenance.