1Product Features
lDC12V/24V (default 12V);
lRelay output contact isolation;
l485 communication optoelectronic isolation;
lThe communication interface supports RS485 and RS232、Wireless WIFI communication;
lCommunication baud rate: 2400480096001920038400 (can be modified through software, default)9600);
lCommunication protocol: Supports standard Modbus-RTU/TCP/ASCLLagreement;
l0-255 device addresses can be set;
lEquipped 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;
lHaving frequencyFlash function, can control the periodic switching of relays.
IIPRODUCT FUNCTION
lthirty twoRoad relay control;
lthirty twoRoad optocoupler isolated input, capable of connecting passive contacts and DC5-24V voltage;
lTimed control - customizable time control for year, month, day, hour, minute, and second, which can be looped;
lOutput Interlock - Customize the interlocking relationship between output channels;
lSwitch linkage - manual switch or switch triggered device is linked with control output;
lScene control - Customize complete logic control triggering conditions;
l70 sets of rule settings - up to 70 sets of rule condition settings to meet various logical requirements.
IIIProduct Selection
4Main parameters
5Interface Description
1pinouts
2Size
6、 Communication wiring instructions
1RS232Connection
RS232 wiring is standardDB9The female interface is a direct connection, and the pin definitions are as follows:
2RS485 cascade connection method
The built-in serial port of the computer is usually RS232, which needs to be equipped with232-485Converter (recommended for industrial environments to use active band isolated converters), after conversionRS485doA、BTwo lines,AConnect to the boardATerminal,BConnect the B terminal on the board,485Shielding can be connectedGNDIf there are many devices, it is recommended to use twisted pair shielded wires and adopt a chain network structure.
3WIFI communication instructions
1Communication wiring instructions
Wait for 5 seconds after powering onThe appearance of equipmentWIFI signal,Connect devices with a computer or mobile phoneWIFI signal (JY_ * * * *).
Attention: When connecting the WIFI signal of the device, it is required that the wireless network card on the computer be set to automatically obtain the IP address.
2Regarding Reset
ØThe reset button is a black buttonlikeNo reset button or pinPlease contact technical customer service at 010-82899827-803.
ØPress and hold the reset button5sTake it away afterwards. After removing it,The WIFI module indicator light will flash rapidly a few times and then flash normallyThe device reset is successful, waiting5s, The WIFI signal of the device will appear,The WIFI signal name isJY_**(**Representing numbers), The WIFI connection password is 12345678.
7、 Input/outputwire connectiondescribe
1Relay wiring instructions
2. Schematic diagram of passive switch quantity (dry contact) wiring
3. Active switch quantity(PNPSchematic diagram of high-level wiring
4Analog wiring diagram
The power supply part in the following figure is for sensor power supply,IN17-IN32 is connected to a positive sensor signal,GNDThe sensor signal is negative,
The relationship between the AI data collected by the device and the actual input values:
actualValue=returnValue * 0.001
8、 Usage process
1. Default mode
ØEquipment power supply DC 7-30V;
ØConnect the default WIFI signal of the device, using the default IP: 192.168.10.1, port number 10000;
ØUse JYDAM debugging software on the computer to establish a TCP connection for testing;
ØUse the Juying configuration software or other third-party software for communication on the computer, and connect and use the Android app software on the mobile phone.
2. WIFI mode
ØEquipment power supply DC 7-30V;
ØConnect the default WIFI signal of the device, open the browser on your phone or computer and enter the device's default IP to enter the configuration interface for parameter configuration;
ØConnect the user's own WIFI and use the JYDAM debugging software to establish a TCP connection for testing;
ØUse the Juying configuration software or other third-party software for communication on the computer, and connect and use the Android app software on the mobile phone.
9、 Communication configuration instructions
Equipment'sThe IP parameters and network (TCP/UDP) working mode require the WIFI signal of the connected device for parameter configuration.
1. User Manual Download
Download link for user manual:http://www.juyingele.com.cn/zlxz/danziliao/990.html
10、 Parameter configuration
1. Equipment address
① The device address is different from the device's IP address. The default device address is 254, the default IP address is 192.168.10.1, and the port number is 10000/8080.
② The device is distinguished by its IP address, which defaults to 254. If you need to modify the device address, use the JYDAM debugging software to modify the offset address in the configuration parameters, as shown in the following figure:
【 JYDAM Debugging Software 】 Download link:
http://www.juyingele.com.cn/zlxz/danziliao/1105.html
2Intelligent self-control function configuration
Intelligent self-control version features:
Ø L timed control - customizable time control for year, month, day, hour, minute, and second, which can be looped;
Ø l Output Interlock - The interlock relationship between custom output channels and output channels;
Ø l Switch linkage - manual switch or switch triggering device is linked with control output;
Ø l Analog Automatic Control - Customize the upper and lower limit thresholds of analog signals, and automatically control them after triggering;
Ø l Scene Control - Customize complete logic control triggering conditions;
Ø l70 sets of rule settings - up to 70 sets of rule condition settings to meet various logical requirements.
2.1Software Download
Download link:http://www.juyingele.com.cn/zlxz/danziliao/1101.html
Detailed configuration instructions can be found in the document 'Instructions for Using the Intelligent Self Control Configuration Software'.
3、Flash on/off function and settings
3.1、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: The relay closes every time it is operated1Second (actual time in seconds)=Set numbers*0.1)Then disconnect it on its own;
Flashing mode: The relay will disconnect every time it is operated1.Close automatically after seconds (adjustable time);
3.2、Flashing and disconnecting settings
The flashing mode cannot be written into the internal device and can be achieved by sending instructions, 【JYDAM Debugging Software】And【Juying configuration software】This function can be implemented on the platform.
Juying configuration software interface
JYDAM Debugging Software Interface
Note: The flashing and disconnecting mode cannot be written into the device chip. After selecting the flashing and disconnecting mode in the software, all channels are in flashing and disconnecting mode. Single channel control can be achieved by sending a flashing and disconnecting command for a single channel, without affecting the normal control of other channels.
11、 Development documentation description
1、communicationProtocol Specification
This product supports standardsmodbusInstructions, for detailed instruction generation and parsing methods, please refer to the register table in this article for reference《MODBUSThe Chinese version of the agreement is sufficient.
ModbusagreementDownload link for the manual:
http://www.juyingele.com.cn/software/software/Modbus%20POLLSoftware and User Manual.rar
2、ModbusRegister Description
This control card mainlyuseThe following command code:1、5、15
Register Address Table:
remarks:
①:ModbusThe device instructions support the followingModbusAddress:
00001 to09999It is a discrete output(coil)
10001 to19999It's a discrete input(contact)
30001 to39999It's an input register(Usually an analog input) 40001 to49999It's to keep the register(Usually storing device configuration information)
Using a 5-digit code format, the first character determines the register type, while the rest4A character represents the address. address1follow0At the beginning, as00001corresponding0000.
② Table of baud rate values correspondence
3Instruction 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, and it can be used directly254The address is sufficient. When there are multiple devices on the bus, different addresses can be selected through the dip switch, and control instructions can be sent through address differentiation.
Note: The RS485 bus can mount multiple devices.
Instructions can be obtained through“Juying SoarsDAMdebuggingsoftware”To obtain debugging information.
Instruction generation instructions: For instructions not listed in the table below, users can generate them themselves according to the Modbus protocol. For the reading and writing of relay coils, it is actually formodbusThe reading and writing of the coil register in the 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 the register operation0001Read and write operations. Just enough. For example, reading or writing relays1The state is actually related to the relay1Corresponding coil register
4. Instruction list
5Instruction Explanation
5.1Relay
Control 1Road relay(Taking the first channel as an example, refer to this example for other channels)
Send code:FE 05 00 00 FF 00 98 35
Relay card return information:
Return code:FE 05 00 00 FF 00 98 35
5.2relay status
Relay inquiry
query32Road relay
FE 01 00 00 00 20 29 DD
Relay card return information:
FE 01 04 0000 00 00 F4 DE
Query optocoupler
Send code:FE 02 00 00 00 20 6D DD
Optocoupler return information:
Return code: FE 02 04 00 00 F4 ED
5.3Flash open/close command
Analysis of Flash Open and Flash Close Instructions
Flash development code:FE 10 00 0300 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
instruction list
5.4Fully open and fully close command
Fully open and fully closedInstruction parsing
completeDevelopment code submission:FE 0F 00 00 00 20 04 FF FF FF FF F6 0B
Completely cut offSend code:FE 0F 00 00 00 20 04 00 00 00 00 F7 9F
of whichFF FF FF is a fully open and fully closed instruction, converted from binary to hexadecimal. In binary, 1 represents suction, 0 represents disconnection, 11111111 11111 11111 11111 11111 is fully open, and 00000000 00000000 00000000 is fully disconnected. Every 8 channels is a byte, starting from the right side. For example, if channels 1, 5, 8, 10, 12, 16, and 21 are open, then 1.5.8 is 10010001, hexadecimal is 91, 10,12,16 is 10001010, hexadecimal is 8A, 21 is 00010000, and hexadecimal is 10,
All switch commands are 91 8A 10 00.
Completely cut offopenreturnCode:FE 0F 00 00 00 20 40 1C
5.5Analog quantity query
The relationship between the obtained analog data and the actual input value is: actual value=Return value*0.001
Query the first analog quantity AD word
FE 04 00 00 01 25 C5
Simulated return information:
FE 04 02 00 00 AD 24
5.6analog quantityoutput
set upThe first analog signaloutput
The relationship between the output value and the actual value is set as follows: output value=Actual value * 100, 4-20mA corresponds to 400-2000, 0-100V corresponds to 0-1000. If the output is set to 4ma, write 400.
FE 06 01 90 01 9D E8
Simulated return information:
FE 06 01 90 019D E8
5.7Set up multiple analog output channels
FE 10 01 90 00 02 04 00 00 00 00 C4 44
Simulated return information:
FE10 01 9000 02 54 16
TwelveCommon problems and solutions
1)WIFI module indicator light stays on and does not flash:
ØSimply power on again;
tenthreeTechnical support contact information
Contact phone number: 010-82899827/1-803
Contact QQ:3323725294/4008128121