Home > other >  Excuse me everybody, want to through a serial port tool to simulate the send data under the agreemen
Excuse me everybody, want to through a serial port tool to simulate the send data under the agreemen

Time:12-01

HuaYao loadometer XK3190 A9 have RS232/RS422 (optional)/RS485 serial communication interface (optional), can communicate with the computer,
1. RS232 communication interface with 15 core socket (share) with large screen, the pin definition as shown in figure 2-5 June, feet
(RS232) or 1,2,3,4,8 feet (RS422/RS485),
2. All the data are ASCII, each group of data is composed of 10, 1 as the start bit, 10th for the stop bit, 8 bits for data among themselves, a communication methods are divided into:
(1). Continuous mode (tF=0) :
The transmission of data for the current weighing instrument display (gross weight and net weight), each frame is composed of 12 groups of data, data format is as follows:
The first X bytes capacity and injection solution within
1 02 (XON)
2 + or - sign bit
3 high weighing data
Weighing data:
Weighing data:
8 weighing data low
Decimal digits from right to left (0 ~ 4)
The first X bytes capacity and injection solution within
10 xor check high four
11 low xor check four
End of the 12 03 (XOFF)
Exclusive or=2 radius 3 radius... 8 the radius 9

CodePudding user response:

Have a friend know?

CodePudding user response:

Xor check is commonly 8, how 16
The data you want is this?
02 2 b 06 03 01 02, 03 04 05 00 2 d 03
2 b is a plus sign ascll code, and then weight is 0 x10203=66051.1029
If is a decimal weighing data is 10203.456
Don't know yourself right, you right!
  • Related