CHARACTERISTICS
DC12-30V wide voltage power supply; Input optocoupler isolation, relay output contact isolation; Using GPRS communication, the SIM card supports both China Mobile and China Unicom, but does not currently support telecommunications; Supports standard Modbus protocol, as well as RTU and TCP formats; 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; 0-255 device addresses can be set through software configuration.
2、 Product Features
8-way optocoupler input (5-24V); 12 relay outputs; 8-channel 12 bit resolution analog voltage input; 4-channel 12 bit resolution analog isolated output supports baud rate: 2400480096001920038400 (can be modified through software, default 9600);
3、 Version Description

① Normal version: The default input and output of the device are independent of each other and have no relationship.
② Intelligent self-control version:
Timed control - customizable time control for year, month, day, hour, minute, and second, which can be looped;
Output Interlock - Customize the interlocking relationship between output channels;
Switch linkage - manual switch or switch triggered device is linked with control output;
Analog automatic control - customize the upper and lower limit thresholds of analog signals, and automatically control them after triggering;
Scene control - Customize complete logic control triggering conditions; 70 sets of rule settings - up to 70 sets of rule condition settings to meet various logical requirements.
4、 Main parameters
5、 Interface Description

1. Pin Description

6、 Communication wiring instructions
1. Architecture Description: The device uses a wide area network based on the Internet for remote communication, and communicates with our cloud server ems.jydtu.com through configuration parameters, with port number 60001.

7、 Quick instructions for use
1. After the device is powered on, insert a mobile or China Unicom SIM card into the device; 2. Send administrator instructions to the phone number in the device using a mobile phone; 3. Obtain the unique ID number of the device through the provided QR code label or by sending a query SMS command; 4. Install the app software and add a device for testing. The default server for the device is our company's server ems.jydtu.com; 5. Change the server address to the one being used by sending SMS instructions; [Selection]
8、 Input/output wiring
1. Schematic diagram of active switch wiring

2. Schematic diagram of passive switch wiring

3. Relay wiring instructions

4. Analog wiring diagram
The power supply in the following figure is for sensor power supply. AI1-AI8 are connected to the sensor signal positive, ACOM - is the sensor signal negative, and ACOM+is not used.
The relationship between the AI data collected by the device and the actual input value: actual value=return value * 0.001
two-wire system

Three-wire

four-wire system

9、 Equipment parameters and working mode configuration
1. Network configuration instructions: GPRS version devices can be configured through SMS commands. For detailed configuration methods, please refer to the "User Manual for GPRS Version of Juying Cloud Platform" document;
Download link:Operating Instructions for GPRS Version of Juying Cloud Platform
10、 Unique Device ID Number
Using the Juying Cloud platform software, it is required that DAM devices have a unique ID number. There are two ways to obtain a unique ID number:
1. Scan QR code to obtain: Use your mobile phone to scan the QR code on the device casing or packaging casing to obtain a unique ID number, as shown below:

11、 Platform Software Description
1. Communication Protocol Description
Juying Cloud Platform is a network platform software developed by our company, which includes mobile APP platform software and web version platform. The mobile APP software includes two categories: Android and IOS. The platform is designed for our company's DAM series network version devices and GPRS version devices, aiming to provide users with remote control output (relay, switch quantity), analog quantity (4-20mA, 0-10V, 0-5V) acquisition, switch quantity acquisition and other services, greatly facilitating user needs. The server is provided by our company, and customers can use it with confidence. For specific operation instructions, please refer to the document 'User Manual for Juying Cloud Platform Single Network Port Version';
Download link:User Manual for Juying Cloud Platform Single Network Port Version
12、 Development documentation description
1. Communication Protocol Description
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".
Download link for Modbus protocol manual:Modbus 20POLL Software and User Manual
2. Modbus Register Description
Coil register address table:

remarks:
① Modbus device instructions 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 hold registers (usually storing device configuration information), using a 5-bit code format, with the first character determining the register type and the remaining 4 characters representing the address. Address 1 starts from 0, such as 00001 corresponding to 0000.
② Table of baud rate values correspondence

3. Instruction generation instructions: Instructions can be obtained by checking the debugging information in the "Juying Soar DAM Debugging 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 00001 corresponding to relay 1.
4. Instruction List

5. Instruction Explanation
5.1 Relay output
Control one relay (taking the first one as an example, refer to this example for other channels), if any byte changes, the CRC check bit will also change accordingly.
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.2 Relay Status
Search for 12 relay sending codes: FE 01 00 00 00 0C 28 00

Relay card return information: Return code: FE 01 01 00 61 9C

5.3 Optocoupler input
Query the optocoupler sending code: FE 02 00 00 00 08 6D C3

Optocoupler return information: Return code: FE 02 01 01 50 5C

5.4 Analog quantity query
The relationship between the obtained analog data and the actual input value is: actual value=return value * 0.001
Query analog AD character sending code: FE 04 00 00 00 08 E5 C3

Simulated return information: Return code: FE 04 02 00 00 AD 24

5.5. Single channel analog output
The relationship between analog data and actual output values is: actual value=output value * 0.01
Set the first analog output: FE 06 01 90 03 20 9D 3C

Simulated return information: FE 06 1 90 03 20 9D3C

5.6. Setting up multiple analog outputs:
FE 10 01 90 00 04 08 00 00 00 00 00 00 00 00 C8 3A

Simulated return information: FE 10 01 90 00 04 D4 14

5.7 Flash on/off command
Analysis of Flash Open and Flash Close Instructions
Flash development code: FE 10 00 03 00 02 04 00 04 00 0A 41 6B
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

5.8. Fully open and fully close command
Analysis of fully open and fully closed commands
Full development code submission: FE 0F 00 00 00 0C 02 FF FF A1 F4
Completely disconnect sending code: FE 0F 00 00 00 0C 02 00 00 A0 44

Full open return code: FE 0F 00 00 00 0C 41 C1
Total disconnect return code: FE 0F 00 00 00 0C 41 C1

13、 Technical Support Contact Information
Contact phone number: 4008128121, 010-82899827/1-803
Contact QQ: 4008128121