| A | B | C | D | E | F | G | H | I | J | K | L | M | N | O | P | Q | R | S | T | U | V | W | X | Y | Z | AA | AB | |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
1 | Modbus-RTU Protocol Applicable to AD2015E, TDA-08A | |||||||||||||||||||||||||||
2 | 1. Data frame format: | |||||||||||||||||||||||||||
3 | 8-bit data, 1 stop bit, No validation (default) Baud rate: 9600 (default), Slave address: 1 | |||||||||||||||||||||||||||
4 | Read command 03H sending format | |||||||||||||||||||||||||||
5 | byte | XX | function code | XX | XX | XX | XX | CRC H | CRC L | |||||||||||||||||||
6 | definition | slave address | 03H | Start address high stage(H) | Start address low stage (L) | Number of registers high stage(H) | Number of registers low stage (L) | check (H) | check (L) | |||||||||||||||||||
7 | Read command 03H response format | |||||||||||||||||||||||||||
8 | byte | XX | function code | XX | XX | …… | XX | CRCH | CRCL | |||||||||||||||||||
9 | definition | Slaves address | 03H | byte number | number data 1 | number data 2……n-1 | number data n | check (H) | check (L) | |||||||||||||||||||
10 | Write command 10H sending format | |||||||||||||||||||||||||||
11 | byte | XX | function code | XX | XX | XX | XX | XX | …… | CRCH | CRCL | |||||||||||||||||
12 | definition | slave address | 10H | Start addresshigh stage (H) | Start addresslow stage (L) | Number of registers high stage(H) | Number of registers low stage (L) | byte number | number data 1 …… number data n | check (H) | check (L) | |||||||||||||||||
13 | Write command 10H response format | |||||||||||||||||||||||||||
14 | byte | XX | function code | XX | XX | XX | XX | CRCH | CRCL | |||||||||||||||||||
15 | Definition | Slaves address | 10H | Start addresshigh stage (H) | Start addresslow stage (L) | Number of registers high stage (H) | Number of registers low stage (L) | check (H) | check (L) | |||||||||||||||||||
16 | ||||||||||||||||||||||||||||
17 | 2. Register address table | |||||||||||||||||||||||||||
18 | Category | Name | Address | Type | Description | Attributes | Defaults | |||||||||||||||||||||
19 | Communication parameters number | slave address | 40001 (000) | 16 Bit Unsigned int number | Serial communication address; range 1~247 (need to be unlocked) | Read/Write | 0x01 | |||||||||||||||||||||
20 | (Single Bit bps): (need to be unlocked) | |||||||||||||||||||||||||||
21 | Baud rate setting | 40002 (001) | 16 Bit Unsigned int number | 0x00:1200 0x01:2400 0x02:4800 0x03:9600 (default) 0x04:19200 0x05:38400 | Read/Write | 0x03 | ||||||||||||||||||||||
22 | 0x06:57600 0x07:115200 | |||||||||||||||||||||||||||
23 | (Modification requires unlocking) | |||||||||||||||||||||||||||
24 | number data frame format | 40003 (002) | 16 Bit Unsigned int number | 0x03:8 Bit number data Bit, even check, 1 Bit stop bit 0x04:8 Bit number data Bit, odd check, 1 Bit stop Bit 0x05:8 Bit number data Bit, no check, 1 Bit stop Bit (default) | Read/Write | 0x05 | ||||||||||||||||||||||
25 | 0x06:8 Bit number data Bit, no check, 2 Bit stop bit | |||||||||||||||||||||||||||
26 | protocol type | 40004 (003) | 16 Bit Unsigned int number | 0x00: Free protocol 0x01: Modbus RTU (default) 0x02: ASCII protocol (modification requires unlocking) | Read/Write | 0x01 | ||||||||||||||||||||||
27 | Command response delay | 40005 (004) | 16 Bit Unsigned int number | When used for RS485 communication, some hosts switch between sending and receiving slowly, resulting in the loss of response instructions. Single Bit ms; range: 0~255; 0 means no delay | Read/Write | 0x00 | ||||||||||||||||||||||
28 | lock/unlock System Configuration | 40006 (005) | 16 Bit Unsigned int number | Write 0x5AA5 to unlock. After unlocking, can modify it if need to unlock it. | just write | -- | ||||||||||||||||||||||
29 | Firmware version | 40007 (006) | 16 Bit Unsigned int number | Module internal software version | read only | -- | ||||||||||||||||||||||
30 | Restore factory settings set | 40008 (007) | 16 Bit Unsigned int number | Restore to factory default parameter number; Write 0x55 to start initialization (recovery requires unlocking) | just write | -- | ||||||||||||||||||||||
31 | module status | 40009 (008) | 16 Bit Unsigned int number | Bit15--Bit12: all 0 Bit11:0 Peak not detected/1 Detected Bit10:0 Valley value not detected/1 detected Bit9:0 normal/overload Bit8:0 regular/1 smart sensor Bit7:0 non-zero/1 zero point Bit6:0 normal/1 overflow Bit5:0 stable/1 unstable Bit4:0 has not been cleared at power on/1 has been cleared at power on. Bit3:0 positive sign/1 negative sign Bit2-0: Small number, click Bit to set | read only | -- | ||||||||||||||||||||||
32 | Register high and low bit order | 40010 (009) | 16 Bit Unsigned int number | Used to set the order of the high and low bits of the 32-bit register; 0x00: High Bit first, low Bit last 0x01: Low bit first, high bit last | Read/Write | 0x00 | ||||||||||||||||||||||
33 | Measurement stability parameter number | AD conversion speed | 40033 (032) | 16 Bit Unsigned int number | 0x00:10 0x01:40 0x02:640 0x03:1280 | Read/Write | 0x02 | |||||||||||||||||||||
34 | Filtering type | 40035 (034) | 16 Bit Unsigned int number | Choose the appropriate filtering method based on data for different applications. 0x00: Not used 0x01: Average filtering 0x02: Medium Bit value filtering 0x03: First order filtering 0x04: Moving average filter 0x05: Medium Bit value average filter 0x06: Bit value average filtering in sliding 0x07: Average filter + first-order filter 0x08: Medium Bit value filter + first-order filter 0x09: Moving average filter + first-order filter 0x0A: Medium Bit value average filter + first-order filter | Read/Write | 0x09 | ||||||||||||||||||||||
35 | Filter strength | 40036 (035) | 16 Bit Unsigned int number | Range: 0~50, the larger the number, the stronger the filtering | Read/Write | 0x05 | ||||||||||||||||||||||
36 | Weight Calibration | Zero point calibration | 40039 (038) | 32 Bit signed integer number | Write 0 to mark the 0 point. After marking the 0 point, you will enter the gain calibration. | Read/Write | 0x00 | |||||||||||||||||||||
37 | Gain calibration | 40043 (042) | 32 Bit signed integer number | After calibrating at 0 point, put the weight on and write the actual weight of the weight. | Read/Write | -- | ||||||||||||||||||||||
38 | Code | Real-time AD value | 40045 (044) | 32 Bit signed integer number | AD converted filtered original code | Read-only | -- | |||||||||||||||||||||
39 | Calibration without weights | Sensor sensitivity | 40047 (046) | 32 Bit Unsigned int number | For weight-free calibration, see the sensitivity value on the sensor label for details. There is no need to enter a small number point when setting. For example, if the sensitivity is 1.95582mv/V, Write 19558 (retain 4 Bits after the small number point) | Read/Write | 20000 | |||||||||||||||||||||
40 | Sensor range | 40049 (048) | 32 Bit Unsigned int number | The measuring range of the sensor can be calibrated without using weights. If the sensor range is 10kg, to be accurate to 1g, enter 10000 | Read/Write | 10000 | ||||||||||||||||||||||
41 | Display Value related parameter number | Real-time weight/actual time measurement value | 40081 (080) | 32 Bit signed integer number | Actual weight/force value, negative number uses standard complement method | Read-only | -- | |||||||||||||||||||||
42 | Net weight | 40083 (082) | 32 Bit signed integer number | The value after gross weight minus tare weight; negative number, sampling standard complement method | Read-only | -- | ||||||||||||||||||||||
43 | Tare weight | 40085 (084) | 32 Bit signed integer number | Tare value; range: -8000000 ~ 8000000; write 0x7fffffff to execute automatic taring; | Read and write | 0 | ||||||||||||||||||||||
44 | Full range | 40087 (086) | 32 Bit signed integer number | Set the maximum range value of the Weighing / Force measuring range | Read/Write | 10000 | ||||||||||||||||||||||
45 | Gain value | 40089 (088) | 16 Bit Unsigned int number | 0x00: 0.0001 0x01: 0.0002 0x02: 0.0005 0x03: 0.001 0x04: 0.002 0x05: 0.005 0x06: 0.01 0x07: 0.02 0x08: 0.05 0x09: 0.1 0x0A: 0.2 0x0B: 0.5 0x0C: 1 0x0D: 2 0x0E: 5 0x0F: 10 0x10: 20 0x11: 50 | Read/Write | 0x06 | ||||||||||||||||||||||
46 | Manual zero range surround | 40094 (093) | 16 Bit Unsigned int number | Clear range; A single bit is the percentage of full scale; Manually clear after writing 0 Function is invalid | Read/Write | 0 | ||||||||||||||||||||||
47 | Clear | 40095 (094) | 16 Bit Unsigned int number | Write 1 to clear | write only | -- | ||||||||||||||||||||||
48 | Start to zero range "surround" | 40096 (095) | 16 Bit Unsigned int number | Set the range of power-on clearing; single bit is the percentage of full scale; after writing 0 Not cleared after power on | Read/Write | 0 | ||||||||||||||||||||||
49 | Auto zero Bit followed by tracking range | 40097 (096) | 16 Bit Unsigned int number | Parameter number range: 0~10000; Single Bit: 0.1d; when set to 0, zero Bit is turned off. tracking function | Read/Write | 0 | ||||||||||||||||||||||
50 | Auto zero Bit followed by tracking time | 40098 (097) | 16 Bit Unsigned int number | range :1~50; single Bit :0.1s | Read/Write | 10 | ||||||||||||||||||||||
51 | Stable range of judgment | 40099 (098) | 16 Bit Unsigned int number | Parameter number range: 0~10000; single Bit: d; when set to 0, the stability judgment function is turned off (Supported by firmware version V1.1 or above) | Read/Write | 0 | ||||||||||||||||||||||
52 | Stable time | 40100 (099) | 16 Bit Unsigned int number | range :1~50; single Bit :0.1s | Read/Write | 10 | ||||||||||||||||||||||
53 | Creep Tracking Fan "surround" | 40103 (102) | 16 Bit Unsigned int number | Parameter number range: 0~1000; single Bit: 0.1d; when set to 0, creep tracking is turned off Tracking function (supported by firmware version V1.4 or above) | Read/Write | 0 | ||||||||||||||||||||||
54 | When creep tracking between | 40104 (103) | 16 Bit Unsigned int number | range: 1~10000; single Bit: 0.1s (supported by firmware version V1.4 or above) | Read/Write | 100 | ||||||||||||||||||||||
55 | Weight single bit | 40105 (104) | 16 Bit Unsigned int number | 0 None 1 g 2 kg 3 t 4 N | Read/Write | 0 | ||||||||||||||||||||||
56 | Peak and Valley | Clear peaks and valleys | 40291 (290) | 16 Bit Unsigned int number | Write 1 to clear peak and valley values | write only | -- | |||||||||||||||||||||
57 | Peak value | 40292 (291) | 32 Bit signed integer number | Peak value, negative number adopts standard complement method | Read-only | -- | ||||||||||||||||||||||
58 | Trough value | 40294 (293) | 32 Bit signed integer number | Valley value, negative number adopts standard complement method | Read-only | -- | ||||||||||||||||||||||
59 | Peak detection enable mode | 40296 (295) | 16 Bit Unsigned int number | 0: Turn off peak detection; 1: Peak detection is started after the force value exceeds the peak threshold; 2: Peak detection is started after being triggered externally and meeting the peak threshold | Read/Write | 0x00 | ||||||||||||||||||||||
60 | Bottom value detection enable mode | 40297 (296) | 16 Bit Unsigned int number | 0: Turn off valley detection; 1: Start valley detection after the force value exceeds the valley threshold; 2: Start valley detection after being triggered externally and meeting the valley threshold | Read/Write | 0x00 | ||||||||||||||||||||||
61 | peak threshold | 40298 (297) | 32 Bit signed integer number | Peak detection is started only after the force value exceeds the peak threshold. | Read/Write | 0x00 | ||||||||||||||||||||||
62 | valley threshold | 40300 (299) | 32 Bit signed integer number | Valley detection is started only after the force value exceeds the valley threshold. | Read/Write | 0x00 | ||||||||||||||||||||||
63 | Peak hysteresis | 40302 (301) | 32 Bit signed integer number | After the force value falls beyond the peak hysteresis value, the current peak value is latched. | Read/Write | 0x00 | ||||||||||||||||||||||
64 | Trough retracement | 40304 (303) | 32 Bit signed integer number | After the force value falls beyond the valley return difference value, the current valley value is latched. | Read/Write | 0x00 | ||||||||||||||||||||||
65 | Peak to valley interval time | 40306 (305) | 16 Bit Unsigned int number | The minimum interval time for peak and valley value measurement. Only when the minimum interval time is exceeded, the peak and valley value measurement will continue to be started (peak value and valley value are at the same time); range 0~255 | Read/Write | 0x32 | ||||||||||||||||||||||
66 | Simulation parameter number (Only modules with analog functions support) | Simulation type | 40131 (130) | 16 Bit Unsigned int number | Set analog signal type 0x00: 0~20mA current 0x01: 4~20mA current 0x02: -10V~10V voltage 0x03: 0~5V voltage 0x04: 0~10V voltage 0x05: -5V~5V voltage | Read/Write | 0x01 | |||||||||||||||||||||
67 | output number data type | 40132 (131) | 16 Bit Unsigned int number | Set output number data type 0x00: measured value; 0x01: Gross weight value; 0x02:Net weight value" | Read/Write | 0x01 | ||||||||||||||||||||||
68 | The first point Analog quantity | 40133 (132) | 16 Bit signed integer number | Range :-10000~20000,single Bit is millivolt (milliamp); | Read/Write | 0 | ||||||||||||||||||||||
69 | The first point of simulation Quantity correction | 40134 (133) | 16 Bit signed integer number | Range :-1000~1000,single Bit is millivolts (milliamps) | Read/Write | 0 | ||||||||||||||||||||||
70 | The first point Weight value | 40135 (134) | 32 Bit signed integer number | The first weight; range: negative full scale ~ full scale | Read/Write | 0 | ||||||||||||||||||||||
71 | Second point Analog quantity | 40137 (136) | 16 Bit signed integer number | Range :-10000~20000,single Bit is millivolt (milliamp); | Read/Write | 10000 | ||||||||||||||||||||||
72 | Second point simulation Quantity correction | 40138 (137) | 16 Bit signed integer number | Range :-1000~1000,single Bit is millivolts (milliamps) | Read/Write | 0 | ||||||||||||||||||||||
73 | Second point Weight value | 40139 (138) | 32 Bit signed integer number | Second point weight; range: negative full scale ~ full scale | Read/Write | 50000 | ||||||||||||||||||||||
74 | The third point Analog quantity | 40141 (140) | 16 Bit signed integer number | Range : -10000~20000,single Bit is millivolt (milliamp); | Read/Write | 0 | ||||||||||||||||||||||
75 | The third point of simulation quantity correction | 40142 (141) | 16 Bit signed integer number | Range : -1000~1000,single Bit is millivolts (milliamps) | Read/Write | 0 | ||||||||||||||||||||||
76 | The third point Weight value | 40143 (142) | 32 Bit signed integer number | The third point is weight; range: negative full scale ~ full scale | Read/Write | 0 | ||||||||||||||||||||||
77 | Switch parameter number | Read input port n(n=0~19) | 40201 (200) | 16 Bit Unsigned int number | Read operation: read the status of the corresponding input port; write operation: ignore; up to 20 input ports | Read/Write | -- | |||||||||||||||||||||
78 | 40202 (201) | |||||||||||||||||||||||||||
79 | Read and writeoutput port n(n=0~19) | 40221 (220) | 16 Bit Unsigned int number | Read operation: read the status of the corresponding output port; write operation: write 0 corresponding The output port is closed. Writing 1 corresponds to the output port opening; a switch output is required. This operation is only valid when the function is set to "Communication Control"; up to 20 output ports | Read/Write | -- | ||||||||||||||||||||||
80 | 40222 (221) | |||||||||||||||||||||||||||
81 | 40223 (222) | |||||||||||||||||||||||||||
82 | Input port n function setting (n = 0~19) | 40241 (240) | 16 Bit Unsigned int number | The function definition is as follows; 0x00: Not used 0x01: Cleared 0x02: Peeling 0x03: Cleaning 0x04: Start peak and valley detection 0x05: Clear peak and valley values 0x0A: Start comparator 0 0x0B: Start comparator 1 0x0C: Start comparator 2 0x0D: Start comparator 3 0x0E: Start comparator 4 0x0F: Start comparator 5 (V2.0 firmware and above) | Read/Write | 0x00 | ||||||||||||||||||||||
83 | 40242 (241) | |||||||||||||||||||||||||||
84 | 40261 (260) | 16 Bit Unsigned int number | The function definition is as follows; 0x00: Communication control 0x01: zero point 0x02: stable | Read/Write | 0x00 | |||||||||||||||||||||||
85 | output port n function setting (n=0~19) | 40262 (261) | 0x03: Overload 0x04; Alarm 0x0A: Comparator 0 comparison result 0x0B: Comparator 1 comparison result 0x0C: Comparator 2 comparison result 0x0D: Comparator 3 comparison result 0x0E: Comparator 4 comparison result 0x0F: Comparator 5 comparison result | |||||||||||||||||||||||||
86 | 40263 (262) | |||||||||||||||||||||||||||
87 | Input port Filter time | 40281 (280) | 16 Bit Unsigned int number | Input signal filtering time; range: 0~255 | Read/Write | 0x0A | ||||||||||||||||||||||
88 | Peak and Valley | Clear peaks and valleys | 40291 (290) | 16 Bit Unsigned int number | Write 1 to clear peak and valley values | write only | -- | |||||||||||||||||||||
89 | peak | 40292 (291) | 32 Bit signed integer number | Peak value, negative number adopts standard complement method | Read-only | -- | ||||||||||||||||||||||
90 | Trough value | 40294 (293) | 32 Bit signed integer number | Valley value, negative number adopts standard complement method | Read-only | -- | ||||||||||||||||||||||
91 | Peak detection enable mode | 40296 (295) | 16 Bit Unsigned int number | 0: Turn off peak detection; 1: Peak detection is started after the force value exceeds the peak threshold; 2: Peak detection is started after being triggered externally and meeting the peak threshold | Read/Write | 0x00 | ||||||||||||||||||||||
92 | Bottom value detection enable mode | 40297 (296) | 16 Bit Unsigned int number | 0: Turn off valley detection; 1: Start valley detection after the force value exceeds the valley threshold; 2: Start valley detection after being triggered externally and meeting the valley threshold | Read/Write | 0x00 | ||||||||||||||||||||||
93 | peak threshold | 40298 (297) | 32 Bit signed integer number | Peak detection is started only after the force value exceeds the peak threshold. | Read/Write | 0x00 | ||||||||||||||||||||||
94 | valley threshold | 40300 (299) | 32 Bit signed integer number | Valley detection is started only after the force value exceeds the valley threshold. | Read/Write | 0x00 | ||||||||||||||||||||||
95 | Peak hysteresis | 40302 (301) | 32 Bit signed integer number | After the force value falls beyond the peak hysteresis value, the current peak value is latched. | Read/Write | 0x00 | ||||||||||||||||||||||
96 | Trough retracement | 40304 (303) | 32 Bit signed integer number | After the force value falls beyond the valley return difference value, the current valley value is latched. | Read/Write | 0x00 | ||||||||||||||||||||||
97 | Peak to valley interval time | 40306 (305) | 16 Bit Unsigned int number | The minimum interval time for peak and valley value measurement. Only when the minimum interval time is exceeded, the peak and valley value measurement will continue to be started (peak value and valley value are at the same time); range 0~255 | Read/Write | 0x32 | ||||||||||||||||||||||
98 | Comparator parameter number (Group) | Comparator 0 Enable mode | 40311 (310) | 16 Bit Unsigned int number | 0: Comparator stops; 1: Start the comparator upon power-on; 2: External signal start and stop comparator | Read/Write | 0x00 | |||||||||||||||||||||
99 | Comparator 0 judgment method | 40312 (311) | 16 Bit Unsigned int number | The comparator judgment method is as follows; 0x00: Force value > upper limit 0x01: Middle limit < force value ≤ upper limit 0x02: Lower limit < force value ≤ middle limit 0x03: Force value ≤ lower limit 0x04: Force value>upper limit lower limit<force value≤middle limit 0x05: Force value>upper limit Force value≤lower limit 0x06: Force value ≤ lower limit, middle limit < force value ≤ upper limit | Read/Write | 0x00 | ||||||||||||||||||||||
100 | Comparator 0 number data source | 40313 (312) | 16 Bit Unsigned int number | The source of the comparator number data is as follows; 0x00: Measured value 0x01: Gross weight; 0x02: Net weight; 0x03: peak value; 0x04: Valley value; 0x05: Peak-Trough | Read/Write | 0x01 | ||||||||||||||||||||||