1Product Features
lSupply VoltageDC7-40V;
lRelay output contact isolation;
luseGPRSCommunication,SIMThe card supports China Mobile and China Unicom, but does not currently support China Telecom;
lCommunication interface supportRS485perhapsRS232;
lCommunication baud rate:2400,4800,9600,19200,38400;
lCommunication protocol: Supports standardsmodbusagreement;
IIPRODUCT FUNCTION
lthirty twoRoad relay control;
lthirty twoRoad optical coupling isolation input, can be connected to passive contacts andDC5-24V voltage;
ltiming control----Custom time control settings for year, month, day, hour, minute, and second, which can be looped;
lOutput interlock----The interlocking relationship between custom output channels and output channels;
lSwitching 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.
3、 Version Description
① TheNormal version:
lThe default input and output of the device are independent of each other and have no relationship.
② Intelligent self-control version:
ltiming control----Custom time control settings for year, month, day, hour, minute, and second, which can be looped;
lOutput interlock----The interlocking relationship between custom output channels and output channels;
lSwitching linkage----Manual switch or switch triggered device is linked with control output;
lAnalog automatic control----Customize the upper and lower limit thresholds for analog signals, and automatically control them upon triggering;
lscene control-----Customize complete logic control triggering conditions;
l70Group rule setting----up to70Set group rule conditions to meet various logical requirements.
4Main parameters
5、 Communication Architecture Description
Equipment usage based on mobile or China UnicomGSMRemote communication through the internet, with devices plugged into China Mobile or China UnicomSIMCard is sufficient, supporting data cards.
6、 Instructions for use
1After the device is powered on, insert China Mobile or China Unicom into the deviceSIMCard;
2Obtain device uniqueness by providing QR code tags or sending query SMS instructionsIDnumber;
3installappAdd a device to the software for testing. The default device's pointing server is our company's serverems.jydtu.com】;
7Interface Description
1pinouts
2Size
8、 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
After the device is powered on, aThe WIFI signal of HI_LINK_ * * has a WIFI connection password of 12345678. After connecting, configure the parameters of the device.
If this signal does not appear, the device needs to be reset first.
Attention: Connect devicesWhen using WIFI signal, it is required to set the wireless network card on the computer to automatically obtain IP.
1Regarding Reset
ØThere is a black reset button or pin (two bent pins) on the left side of the Ethernet port. If there is no reset button or pin, please contact technical customer service,010-82899827-803.
ØPress and hold the reset button (or short circuit two reset pins) for more thanRemove it after 10-15 seconds. After removing it, the yellow and green lights on the internet port will remain on once and then turn off. The device reset is successful. After waiting for 30 seconds, the device's WIFI signal will appear. The WIFI signal name is HI_LINK_ * * (* * represents a number), and the WIFI connection password is 12345678.
9、 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
10Equipment parameter configuration
1Network configuration instructions
GPRSeditionThe device passes throughSEND SMS COMMANDPerform parameter configuration, detailed configuration methods, read 【 Juying Cloud Platform 】GPRSeditioninstructions】Documents are sufficient;
Download link:
http://www.juyingele.com.cn/software/clp/Juying Cloud PlatformGPRSeditionoperatedescribe.rar
11、 Unique equipmentIDname
Using the Juying Cloud platform software requiresDAMThe device has a unique featureIDNumber, uniqueIDThere are two ways to obtain the number:
1、Scan the QR code to obtain
Scan the QR code on the device casing or packaging casing with a mobile phone to obtain a unique oneIDNumber, as shown below:
TwelvePlatform Software Description
Juying Cloud Platform is a network platform software developed for our company, which includes mobile phonesAPPPlatform software and web version platform, including mobile phoneAPPThe software also includesAndroid、IOSTwo major categories, platforms based on our company'sDAMSeries of network devices andGPRSThe version of the device is the application object, aiming to provide users with remote control outputs (relays, switch values), analog signals(4-20mA、0-10V、0-5V)Collection, switch quantity collection and other services greatly facilitate users' needs. The server is provided by our company, and customers can use it with confidence.
Specific operating instructionsRead about the Juying Cloud PlatformGPRSVersion Usage Instructions】Documents are sufficient;
Download link:
http://www.juyingele.com.cn/software/clp/Juying Cloud PlatformGPRSeditionoperatedescribe.rar
13、 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
14Common problems and solutions
1)WIFI module indicator light stays on and does not flash:
ØSimply power on again;
tenfiveTechnical support contact information
Contact phone number: 010-82899827/1-803
Contact QQ:3323725294/4008128121