Product Features
DC7-30V wide voltage power supply
Relay output contact isolation
The communication interface supports USB (Type B).
Supporting baud rate: 2400480096001920038400 (can be modified through software, default 9600)
Supports standard Modbus protocol RTU format
You can set 0-255 device addresses, and the 5-digit address dip switch can set 1-31 address codes. For addresses greater than 31, they can be set through software.
Equipped with flashing and breaking functions, it can include parameters in the command and operate the relay to automatically turn off after a period of time;
Equipped with strobe function, it can control the periodic switching of relays;
PRODUCT FUNCTION
Eight way relay control
Support manual control through computer software
Support sequential startup mode
Support flow cycle mode
Support horse racing loop mode
Product Selection
Main parameters:
Interface Description:
wire connectionway
Relay wiring method
Test software description
http://www.juyingele.com.cn/software/software/ Juying Soar DAM Debugging Software User Tutorial. rar (software video tutorial link)
Software functions:
Relay status inquiry
Relay independent control
Analog reading
Switch status query
Debugging information query
Change of working mode
Setting of offset address
Relay overall control
Working mode functions and settings
USB Driver
The USB version module of this product requires the installation of a USB to serial port driver: JY_CP210x_VCP_Windows
The download link for the driver is:http://www.juyingele.com.cn/uploads/soft/140924/4-140924110Q7.rar
After correct installation, connect the module and wait for yourself to identify the driver. Then, find the corresponding port on the computer communication port
Connected Device
http://www.juyingele.com.cn/software/software/ Juying Soar DAM Debugging Software User Tutorial. rar (software video tutorial link)
Open the "Juying Soaring DAM Series Configuration Software"; Serial port settings bar: Select the corresponding COM port of your computer for the serial port, choose the default baud rate of the device (9600) for the baud rate (before setting the baud rate yourself), fill in the device address as "254" (254 is the broadcast address of the device), select the corresponding device model, set the four parameters of the above device, and clickOpen serial portClick the relay button“JD1”If the relay responds, the connection is successful.
Method for changing device address
Introduction to device address
Device offset address refers to offsetting based on the thin code switch address, with the specific relationship being: device address=dip switch address+offset address.
Reading device address
Click on 'Read Address' at the top of the software
Setting and Reading of Offset Address
Click on "Read" or "Set" after the offset address below the software to read or set the offset address of the device.
Introduction to the Address of the Device Dialing Switch
1. When all five dialing codes are dialed to the "ON" position, it is the address "31";
2. When all five dialing codes are dialed to the "OFF" position, it is the address "0";
3. The leftmost 1 is the binary lowest bit.
4. Address Table:
Reading and Setting of Baud Rate
Click on "Read" and "Set" in the baud rate settings bar below to read and set the baud rate and address respectively. After the operation, you need to restart the device and modify the computer serial port settings.
Introduction to Working Mode Functions
Sequential startup mode
All relay modules containing more than 1 relay have this working mode, in which the relays will start in sequence according to the delay configuration parameters after each power on.
This mode is mainly used to alleviate the problem of high-power impact at the moment of power on, similar to LED large screens. After using this mode, the LED modules will start in sequence after each power on, without causing electrical ignition or high-power impact on the power grid causing voltage drop. It has the same effect when applied to other clustered installation electrical equipment.
Configuration parameters: interval time, waiting time
Flow cycle mode
This mode is similar to the cyclic version of the "sequential start" mode, which means that after power on, all relays are sequentially closed according to the delay configuration parameters. After all relays are closed, they start to disconnect from the first relay, and after all relays are disconnected, they start to close again from the first relay.
In this mode, controlling the landscape lights can achieve the effect of turning on and off flowing water. However, due to the mechanical spring structure inside the relay, the relay generally has a lifespan of about 100000 actions, which may slightly decrease when carrying high-power loads. Therefore, this mode is not suitable for long-term frequent use, otherwise it will reduce the service life of the entire module.
Configuration parameters: interval time, waiting time
Racing cycle mode
The relay board in this mode will start to pull in and disconnect from the first relay after each power on, with an interval of the configured delay time. Namely:
Relay 1 on ->Delay time ->Relay 1 off, Relay 2 on ->Delay time ->Relay 2 off, Relay 3 on ->Delay time -> .....
In this mode, there is always a relay closing at any time, but like the two cyclic action modes mentioned above, this mode also has a short lifespan, so it is not suitable for long-term frequent actions.
Configuration parameters: interval time, waiting time.
Working mode function settings
Open it“Juying Soaring DAM Series Configuration Software”Click on the working mode settings bar below“read”And“set up”You can read and set the working mode separately.
Flash on/off function and settings
Introduction to the Flashing and Breaking Function
Manual mode: For each operation of the relay, the relay will flip once (open when closed, close when open);
Flashing mode: For each operation of the relay, the relay will close for 1.5 seconds and then automatically disconnect;
Flashing mode: For each operation of the relay, the relay will disconnect for 1.5 seconds and then self close;
Flashing and disconnecting settings
Open the "Juying Soaring DAM Series Configuration Software" and click the dropdown arrow after the relay mode to select the mode.
Example of Communication Instructions
This product supports standard Modbus instructions. For detailed instruction generation and parsing methods, please refer to the register table in this article and consult the "MODBUS Protocol Chinese Version".
Modbus protocol Chinese version reference:
http://www.juyingele.com.cn/software/software/Modbus%20POLL Software and User Tutorial. rar
Modbus Register Description
This control card is mainly a coil register, which mainly supports the following instruction codes: 1, 5, 15
Coil register address table:
remarks:
① Modbus device commands support the following Modbus addresses:
00001 to 09999 are discrete outputs (coils)
10001 to 19999 are discrete inputs (contacts)
30001 to 39999 are input registers (usually analog inputs) 40001 to 49999 are holding registers (usually storing device configuration information)
Using a 5-digit code format, the first character determines the register type, and the remaining 4 characters represent the address. Address 1 starts from 0, such as 00001 corresponding to 0000.
② Table of baud rate values correspondence
③ Relay status can be queried through address 30002 or address 00001--00002, but control can only use address 00001--00002.
The data length of 30002 address is 16 bits. It can represent up to 16 relays.
The corresponding results are as follows:
The bit 8 of the data in register 30009 is the same as the data in register 00001.
Similarly, the same goes for optocoupler input. The bit8 and bit9 of register 30003 and registers 10001 and 10002 correspond to the specified hardware.
The register address follows the PLC naming convention, where the real address is obtained by removing the highest bit and then subtracting one.
Instruction generation instructions
Application example and explanation: In addition to the dip switch address, the default broadcast address for this device is 254. When there is only one device on the bus, there is no need to worry about the dip switch address. Simply use the 254 address. When there are multiple devices on the bus, select different addresses through the dip switch and send control instructions based on address differentiation.
Note: The RS485 bus can mount multiple devices.
The instructions can be obtained through the debugging information of the "Juying Soaring DAM Series Configuration Software".
Instruction generation instructions: For instructions not listed in the table below, users can generate them themselves according to the Modbus protocol. For reading and writing relay coils, it is actually reading and writing coil registers in the Modbus register. The address of the relay register has been explained in the previous text, and users only need to generate read and write instructions for register operations. For example, reading or writing the status of relay 1 is actually a read/write operation on the coil register 0001 corresponding to relay 1.
Detailed explanation:
Control 1 relay (taking the first circuit as an example, refer to this example for other channels)
Sending code: FE 05 00 00 FF 00 98 35
Relay card return information:
Return code: FE 05 00 00 FF 00 98 35
1: Relay inquiry
Query 6-way relays
FE 01 00 00 00 08 29 C3
Relay card return information:
FE 01 01 00 61 9C
2. Analysis of flashing open and closing instructions
Flash development code: FE 10 00 03 00 02 04 00 04 00 0A 00 D8
Flashing sending code: FE 10 00 03 00 02 04 00 02 00 14 21 62
Return code: FE 10 00 03 00 02 A5 C7
3. Analysis of fully open and fully closed commands
Full development code: FE 0F 00 00 08 01 FF F1 D1
Total disconnection sending code: FE 0F 00 00 08 01 00 B1 91
Full open return code: FE 0F 00 00 0A C1 C3
Total disconnection return code: FE 0F 00 00 08 40 02
Common problems and solutions
After the relay board is powered on, communication cannot be established using the USB interface and cannot be controlled
1. Firstly, confirm whether the USB to serial port driver is installed,
2. Test whether different baud rates can be controlled