- Phone
-
Address
201, Lane 8, Block C, Slope, Xinqiao Village, Shajing Town, Bao'an District, Shenzhen City
Taiwan, China Yuheng Electronics Co., Ltd. - Shenzhen Yuheng Electronics Co., Ltd
201, Lane 8, Block C, Slope, Xinqiao Village, Shajing Town, Bao'an District, Shenzhen City
★ Weighing, counting, animal scales; Label design and printing, ticket design and printing; Weight or quantity calibration;
★ Data integration: Server data exchange (OMSIdentity software), statistical reports, cloud services;
★ Multi channel identification of materials: NFC, scanning gun;
★ Permission management, NFC login; Basic material management, weighing data storage and can be exported via USB or Bluetooth;
★ Version: There are two versions: simple (standalone) and simple (networked), compatible with multiple languages. Provide a free recipe system app;
★ Connecting devices: label printer, receipt printer, tri color light, large screen display NFC、 Scanning gun, 485 upper computer, 4-20mA equipment (optional);
★ Support secondary development and provide SDK development packages;
★ Storage capacity of 16GB
★ Power 10W
★ 2GB memory
★ 7-inch touch screen
★ Ruiwei RK3288 quad core processor


this machine485Port communication usageModbus RTUTransmission mode. The communication between the upper computer and the local computer adoptsModbusProtocol, physical link forRS485Connect.
The serial communication parameters are as follows:
Baud rate |
115200 |
data bit |
8 |
check digit |
NONE |
stop bit |
1 |
Protocol adoptionCRC-16(Modbus)The algorithm generates a checksum.
Architecture Diagram:
|
This system provides the followingModbusCommunication protocol. The transmission instructions and response data are both hexadecimal data.
lObtain internal code
In serialModbus RTUIn transmission mode, address and verification data need to be added separately at the beginning and end.
Special note: If the address is modified in the local address settings page(Slave Address)So when the upper computer sends a request instruction, the address is(Slave Address)It also needs to be modified, andCRCNeed to recalculate.
For example, the address here(Slave Address)For0x01Verify data hereCRC=0x0BC4Attention, according toModbusThe agreement requires,CRCSend the low byte first and the high byte later.
So, the final request packet is:
Slave Address |
Function code |
Starting Address |
Quantity of Registers |
CRC |
|||
Hi |
Lo |
Hi |
Lo |
Lo |
Hi |
||
0x01 |
0x03 |
0x00 |
0x00 |
0x00 |
0x02 |
0xC4 |
0x0B |
The response packet is:
Slave Address |
Function code |
Byte count |
Register value |
CRC |
||||
0x0000 |
0x0001 |
|||||||
Hi |
Lo |
Hi |
Lo |
Lo |
Hi |
|||
0x01 |
0x03 |
0x04 |
0x00 |
0x03 |
0xDA |
0x31 |
0x90 |
0x87 |
Return the sample data of the data packet, where“Register value”Regional“0x89 0xAB 0xCD 0xEF”Four bytes are hexadecimal inner code values, converted to decimal“252465”.
lGet weight
In serialModbus RTUIn transmission mode, address and verification data need to be added separately at the beginning and end.
Special note: If the address is modified in the local address settings page(Slave Address)So when the upper computer sends a request instruction, the address is(Slave Address)It also needs to be modified, andCRCNeed to recalculate.
For example, the address here(Slave Address)For0x01Verify data hereCRC=0xC9E5Attention, according toModbusThe agreement requires,CRCSend the low byte first and the high byte later.
So, the final request packet is:
Slave Address |
Function code |
Starting Address |
Quantity of Registers |
CRC |
|||
Hi |
Lo |
Hi |
Lo |
Lo |
Hi |
||
0x01 |
0x03 |
0x00 |
0x02 |
0x00 |
0x04 |
0xE5 |
0xC9 |
The response packet is:
Slave Address |
Function code |
Byte count |
Register value |
CRC |
||||
0x0000 |
0x0001 |
|||||||
Hi |
Lo |
Hi |
Lo |
Lo |
Hi |
|||
0x01 |
0x03 |
0x04 |
0x00 |
0x03 |
0xDA |
0x31 |
0x90 |
0x87 |
Sample data return packet:
The weight data parsed is0.2000kg
among which“Register value”Regional0x0000The0x0001Data from two registers“0x00 0x00 0x07 0xD0”Four bytes represent the weight integer value in hexadecimal, converted to decimal2000.
among which“Register value”Regional0x0002Register data“0x00 0x04”Two bytes represent the number of decimal places in hexadecimal, converted to decimal4.
among which“Register value”Regional0x0003Register data“0x00 0x02”Two bytes are hexadecimal unitsIDConvert to decimal2Please refer to the following units for detailsIDTable.
unitIDtable | ||
Chinese name of the unit |
Unit English Name (Abbreviation) |
unitID |
kilogram |
Kilogram(kg) |
2 |
gram |
Gram(g) |
3 |
pound |
Pound(lb) |
4 |
catty |
C JIN(cj) |
8 |
catty |
T JIN(tj) |
13 |
Newton |
Newton(N) |
23 |
Tai Liang Liang |
T JIN LIANG(Tjl) |
15 |
Port weight |
H JIN LIANG(Jjl) |
12 |
Port Two |
H LANG(Hl) |
11 |
lzeroize
This instruction is equivalent to a key operation.
In serialModbus RTUIn transmission mode, address and verification data need to be added separately at the beginning and end.
Special note: If the address is modified in the local address settings page(Slave Address)So when the upper computer sends a request instruction, the address is(Slave Address)It also needs to be modified, andCRCNeed to recalculate.
For example, the address here(Slave Address)For0x01Verify data hereCRC=0x36A6Attention, according toModbusThe agreement requires,CRCSend the low byte first and the high byte later.
So, the final request packet is:
Slave Address |
Function code |
Starting Address |
Quantity of Registers |
Byte count |
Register value |
CRC |
||||
Hi |
Lo |
Hi |
Lo |
0x0001 |
||||||
0x01 |
0x10 |
0x00 |
0x06 |
0x00 |
0x01 |
0x02 |
Hi |
Lo |
Lo |
Hi |
0x00 |
0x00 |
0xA6 |
0x36 |
|||||||
The response packet for successful execution is:
Slave Address |
Function code |
Starting Address |
Quantity of Registers |
CRC |
|||
Hi |
Lo |
Hi |
Lo |
Lo |
Hi |
||
0x01 |
0x10 |
0x00 |
0x06 |
0x00 |
0x01 |
0xE1 |
0xC8 |
ldeduplication
This instruction is equivalent to a key operation.
In serialModbus RTUIn transmission mode, address and verification data need to be added separately at the beginning and end.
Special note: If the address is modified in the local address settings page(Slave Address)So when the upper computer sends a request instruction, the address is(Slave Address)It also needs to be modified, andCRCNeed to recalculate.
For example, the address here(Slave Address)For0x01Verify data hereCRC=0xE7A7Attention, according toModbusThe agreement requires,CRCSend the low byte first and the high byte later.
So, the final request packet is:
Slave Address |
Function code |
Starting Address |
Quantity of Registers |
Byte count |
Register value |
CRC |
||||
Hi |
Lo |
Hi |
Lo |
0x0001 |
||||||
0x01 |
0x10 |
0x00 |
0x07 |
0x00 |
0x01 |
0x02 |
Hi |
Lo |
Lo |
Hi |
0x00 |
0x00 |
0xA7 |
0xE7 |
|||||||
The response packet for successful execution is:
Slave Address |
Function code |
Starting Address |
Quantity of Registers |
CRC |
|||
Hi |
Lo |
Hi |
Lo |
Lo |
Hi |
||
0x01 |
0x10 |
0x00 |
0x07 |
0x00 |
0x01 |
0xB0 |
0x08 |
Intelligent instrument label free editing material management scale JDI-880