Download as pdf or txt
Download as pdf or txt
You are on page 1of 2

Description of Post-Scatter Digital Communication

The communication adopts RS-485 electrical port, and uses modbus protocol to
exchange data with the outside.

1. Electrical port

The communication port adopts the electrical protocol of RS-485. The configurations are in a
commonly used and stable format, and cannot be modified. See the following table for details:
Baud Rate Check Digit Data Bit Stop Bit
9600 no test 8 bits 1 person

2. Protocol

The communication uses modbus-rtu protocol, and the instrument is used as a slave to send
and receive data, and the slave address is 01. It can read and write real-time data. 0x64 for
reading and 0x65 for writing.
Slave Address Use of Function Code Register Address Number of Inspection Type
Registers
0x01 0x64/0x65 0x00 0x01 0x00 0x01 crc16

3. Register Description

The length of all registers is 0x01, occupying two bytes. See the following table for register
address and description:
Register Description Register Mode Default Remark
Address Length
0x0001 Smoke 2 R 0 Floating-point, occupying two
concentration value registers.
0x0003 Raw value of smoke 2 R 0 Floating-point, uncorrected
concentration raw data occupying two
registers.
0x0005 PD value 1 R 0 Integer, the unit of monitoring
value of the laser’s optical
power is Mv.
0x0006 LD value 1 R 0 Integer, the unit of monitoring
value of the laser’s optical
power is Mv.
0x0007 ADC value 1 R 0 Integer, the unit of signal
returned by the demodulator
is Mv.
0x0008 DAC1 1 R 800 Integer, controlling the output
voltage of the current loop,
the unit is Mv.
0x0009 DAC2 1 R 254 Integer, controlling the output
voltage of the comparator, the
unit is Mv.
0x000A Range 1 RS
0x000B Smoke correction K 1 RS 1 Integer, the value of this
value*100 register divided by 100 is the
real value.
0x000C Smoke correction b 1 RS 0 Integer, the value of this
value*100 register divided by 100 is the
real value.
0x000D Device number 2 RS 0 Integer, occupying two
(MSN) registers.
0x000F equipment running 2 R 0 Integer in hours
time
0x0011 Software version 1 R 0 Decimal value
number (year)
0x0012 Software version 1 R 0 Decimal value
number (month)
0x0013 Software version 1 R 0 Decimal value
number (day)
0x0014 Software version 1 R 0 Decimal value
number (suffix)
0x0015 Correction factor a 2 R/s Floating-point, occupying two
registers

0x0017 Correction factor b 2 R/s Floating-point, occupying two


registers
0x0019 VPD 2 R/s Floating-point, occupying two
registers
0x001b Modify slave 1 R/S
address
0x001c Current Loop Offset 1 R/S
Coefficient
0x001d Operating status 1 R
0x001e filter time 1 R/S Integer in seconds

For example, reading smoke concentration value and register address (0x0001)
Host computer sends: 02 64 00 01 00 01 E0 31
02 : Lower computer address (please refer to the product manual for the actual address)
64 : function code
00 01 : register address
00 01 : the number of registers to read
E0 31 : ModBus_CRC16 check

Host computer receives: 02 64 02 43 48 D2 36


02 : Lower computer address (please refer to the product manual for the actual address)
64 : function code
02 : the number of registers returned
43 48 D2 36 : returned data

You might also like