Ceiling mounted smoke detector MODBUS-RTU protocol

freeFree Technical Resource

This content is free to read, suitable for basic learning and search traffic.

Ceiling mounted smoke detector MODBUS-RTU protocol

JT-S1603B adopts the industrial universal standard RS485 bus MODBUS-RTU protocol interface, which facilitates the integration of various instruments or systems such as PLC and DCS for monitoring smoke status variables. Internally, high-precision sensing cores and related components are used to ensure high reliability and excellent long-term stability of the product. Multiple output modes such as RS232, CAN, Lora, WIFI, GPRS, NB-IOT can be customized.

Read the baud rate encoding of the current device. Baud rate encoding: 1 is 2400; 2 is 4800; 3 is 9600; 4 is 19200; 5 is 38400; 6 is 115200.

1, Add anti reverse protection for sensor power supply, Industrial site surge protection.

2, The product is equipped with a high decibel buzzer alarm and LED LED light prompt

3, RS485 Communication interface, Asynchronous half duplex mode, Support secondary development.

4,  Communication baud rate 2400, 4800, 9600, 19200, 38400, 115200bp s Can be set,

The factory default value is 9600 bp s.

5, Has a wide measurement range, High precision, Good linearity, Good universality.

6, RS485(MODBUT-RTU Multi sensor networking communication protocol, 1200 Meter long distance transmission.  7, The ceiling mounted circular shell is easy to use, Easy to install.

8, The shell adopts ABS Flame retardant material, High temperature resistance, Not easily corroded, Not easily deformed.

Technical parameters

Smoke measurement range0~2000PPM
Maximum allowable error for smoke±7%
Error in smoke repeatability testing±5%
Smoke sensitive bodyThermally responsive semiconductor
Communication interfaceRS485 (MODBUT-RTU)
Default baud rate9600(Default)8,n,1
Power supplyDC12~24V
Display resolution1PPM
power waste≤0.1W
Operating environment-30~80℃,0~100RH%(No anti condensation measures)
External dimensions 

Product selection

The product has been designed RS485, 4~20MA, DC0~5V Multiple output modes, According to the output method

Same, The products are divided into the following models:.

Product modelParameter combinationOutput method
JT-S1603BRS485 SmokeRS485 (MODBUT-RTU) Bus
JT-S1603MCurrent type smoke4~20MA
JT-S1603V-5Voltage type smokeDC0~5V
JT-S1603V-10RS485 Smoke, Temperature, HumidityRS485 (MODBUT-RTU) Bus

Product wiring

Sensor lead colordefinitionremarks
Red linePositive pole of power supply DC5~24VDC power supply
Green lineNegative pole of power supply 
Yellow lineRS485 A+ 
Blue lineRS485 B- 

RS485 Type: Communication protocol

Product usage RS485 MODBUS-RTU Standard protocol format, all operation or reply commands are 16 Binary data. The default device address when the device leaves the factory is 1, The default baud rate is 9600,8,n,1.

1. Read data ( Function code 0x03)

Inquiry frame (hexadecimal) , Send examples: Query 1#Equipment 1 Data is collected and commands are sent by the upper computer:  01 03 00 00 00 01 84 0A .

AddressFunction codeStarting addressData lengthVerification code
010300 0000 0184 0A

For the correct query frame, The device will respond to data: 01 03 02 01 F4 B8 53 , Response format:

Equipment addressFunction codeData lengthdata Smoke 1 (Verification code) Data Description: The data in the command is in hexadecimal format
01030601 F4B8 53

Using data, Smoke 1 Convert to decimal number, 01 F4 The value is The data magnification is 500,The true value is 1, The smoke concentration value is 500/1=500, Data address table 500PPM.

2. Configuration address

Register addressRegister descriptionData typeValue rangeSmoke register
4000100 00Read onlySmoke alarm status output0~65535
4000400 03Read onlyModel code0~1
4010100 64Read/writeTotal number of measuring points0~65535
4010200 65Read/writeEquipment address1~20
4010300 66Read/writeBaud rate1~249
4010400 67Baud rateRead/write1~6
4010500 68Communication modeRead/write1~4
4010600 69Protocol typeRead/write1~10
4010700 6AUpload time settingRead/write1~3600
4010800 6BSmoke correction valueRead/write-1000~1000
4011200 6FAlarm action thresholdRead/write1~5000
4012200 79When the buzzer stops alarming and resets BetweenRead/write1~65535
4012300 7ABuzzer alarm stopsRead/write1

3 .The alarm buzzer is turned off

(1) Send the command to turn off the buzzer alarm sound

The upper computer sends data format commands 01 06 00 7A 00 01 69 D3

Equipment addressFunction codeStarting addressData lengthVerification code
010600 7A00 0169 D3

(2)   Buzzer stop alarm reset time command

Customers can send a command to turn off the alarm buzzer when setting an alarm, The duration of the alarm not sounding Can be set 1~65535 Seconds, After the time has passed, if the smoke concentration exceeds the alarm threshold, the buzzer will continue to sound call the police, The smoke concentration is below the alarm threshold, and the buzzer does not sound an alarm. Set the time as listed 100 Send command in seconds 01 06 00 79 00 64 59 F8

Equipment addressFunction codeStarting addressData lengthVerification code
010600 7900 6459 F8

4 Read and modify device addresses

(1) Read or query device address

If the current device address is unknown, When there is only one device on the bus, It can be done through commands FA 03 00 64 00 02 90 5F Query device address.

Equipment addressFunction codeStarting addressData lengthVerification code
FA0300 6400 0290 5F

FA That is 250 For a universal address, Can be used when the address is unknown 250 This address is used to obtain authenticity Equipment address,00 64 Register for device model.

For the correct query command, The device will respond, For example, the response data is:: 01 03 04 1E 8C 00 02 BC 31, The format analysis is shown in the table below:

Equipment addressFunction codeData lengthModel codeVerification code
01030400 01 00 01BC 31

Response to data, The first byte 01 The real address of the current device is represented as, 55 3C transformation For 10 The base number is 1 It means that the current device's main model is 1,The last two bytes 00 01 Indicate the device  Model prefix YSAT.

(2) Change the device address

For example, the current device address is 1, We would like to change it to: 02, The command is:: 01 06 00 66 00 02 E8 14 .

Equipment addressFunction codeRegister addressTarget addressVerification code
010600 6600 02E8 14

After successful modification, The device will return information: 02 06 00 66 00 02 E8 27, The format analysis is shown in the following table As shown:

Equipment addressFunction codeRegister addressTarget addressVerification code
020600 6600 02E8 27

In response data, After successful modification, The 1 One byte is the new device address, General device address After modification, Effective immediately, At this point, users need to make corresponding changes to their software's query commands simultaneously.

5 Read and modify baud rate

(1) Read baud rate

The default factory baud rate of the device is 9600, If changes are needed, According to the table below and the corresponding communication protocol Perform change operations. For example, reading the baud rate of the current device ID, The command is:: 01 03 00 67 00 01 35 D5 , The format is parsed as follows:.

Equipment addressFunction codeStarting addressData lengthVerification code
010300 6700 0135 D5

Read the baud rate encoding of the current device. Baud rate encoding: 1 For 2400; 2 For 4800;3 for 9600;4 For 19200;5 For 38400;6 For 115200.

For the correct query command, The device will respond, For example, the response data is:: 01 03 02 00 03 F8 45,The format analysis is shown in the table below:

Equipment addressFunction codeData lengthBaud rate encodingVerification code
01030200 03F8 45

Encoding based on baud rate, 03 For 9600, The baud rate of the current device is 9600.

(2) Change the baud rate

For example, changing the baud rate from 9600 Change to 2400, The code is about to be released from 3 Change to 1, The command is::  01 03 00 67 00 01 35 D5.

Equipment addressFunction codeRegister addressTarget baud rateVerification code
010600 6600 0135 D5

Adjust the baud rate from 9600 Change to 2400, The code is about to be released from 3 Change to 1. The new baud rate will Effective immediately, At this point, the device will lose response, The baud rate of the query device needs to be modified accordingly.

6 Read the correction value

(1) Read the correction value

When there is an error between the data and the reference standard, We can make adjustments“Correction value”To reduce display errors.  The correction difference can be modified within the range of positive and negative 1000, The value range is 0-1000 Or 64535-65535.  For example, when the displayed value is too small 100 When we increase 100 To calibrate, the command is:: 01 03 00 6B 00 01

F5 D6 . In the command 100 I.e. hexadecimal 0x64;If it is necessary to reduce, Then negative values can be set, Compared to Like-100, The corresponding value for the sixteen system is FF 9C, The calculation method is: 100-65535=65435, Convert again Hexadecimal is 0x FF 9C. The equipment calibration value is from 00 6B Start, We will 1 The parameters are Provide examples to illustrate, The method for reading and modifying correction values when multiple parameters are present is the same.

Equipment addressFunction codeStarting addressData lengthVerification code
010300 6B00 01F5 D6

For the correct query command, The device will respond, For example, the response data is:: 01 03 02 00 00 B8

44 , The format analysis is shown in the table below:

Equipment addressFunction codeData lengthCorrection valueVerification code
01030200 00B8 44

In response data, The first byte 01 Indicate the real address of the current device, 00 6B For the first one State quantity correction value register. If the device has multiple parameters, The operation method for other parameters is the same, generally temperature, Humidity has this parameter.

(2) Change the correction value

For example, the current state quantity is relatively small, We hope to add its true value 100, Current value plus 100 Correction operation As a command: 01 06 00 6B 00 64 F9 FD.

Equipment addressFunction codeRegister addressTarget addressVerification code
010600 6B00 64F9 FD

For example, the current state quantity is too large, We hope to reduce its true value 100, The current value decreases 100 Correction operation As a command: 01 06 00 6B FF 9C B9 8F .

Equipment addressFunction codeRegister addressTarget addressVerification code
010600 6BFF 9CF9 FD

Current type 4~20mA Output, Voltage type 0~5V Output

(1) Wiring diagram

(2) 4~20mA Current type: Smoke and current calculation

Smoke range 0~2000PPM, The analog output is 4~20mA When there is a current signal, Smoke and electricity The formula for calculating the flow relationship: X= (2000-0) *(A-4)÷ (20-4) +0,

Among them 5000 For the upper limit of smoke range, 0 For the lower limit of the measuring range, 20 The upper limit of the current output range, 4 For Lower range limit, A For the current output value, X To calculate the smoke value.

List of commonly used numerical values:

electric current A(mA)Smoke value (PPM) Calculation process
40.0 (2000-0) *(4-4)÷ (20-4) +0
Ceiling mounted smoke detector MODBUS-RTU protocolFigure
5125 (2000-0) *(5-4)÷ (20-4) +0
6250 (2000-0) *(6-4)÷ (20-4) +0
7375 (2000-0) *(7-4)÷ (20-4) +0
8500 (2000-0) *(8-4)÷ (20-4) +0
9625 (2000-0) *(9-4)÷ (20-4) +0
10750 (2000-0) *(10-4)÷ (20-4) +0
11875 (2000-0) *(11-4)÷ (20-4) +0
121000 (2000-0) *(12-4)÷ (20-4) +0
131125 (2000-0) *(13-4)÷ (20-4) +0
141250 (2000-0) *(14-4)÷ (20-4) +0
151375 (2000-0) *(15-4)÷ (20-4) +0
161500 (2000-0) *(16-4)÷ (20-4) +0
171625 (2000-0) *(17-4)÷ (20-4) +0
181750 (2000-0) *(18-4)÷ (20-4) +0
191875 (2000-0) *(19-4)÷ (20-4) +0
202000 (2000-0) *(20-4)÷ (20-4) +0

As shown in the table, When measuring the current output value 8mA Time, The current smoke concentration value is 500PPM.

(3) 0~5V Voltage type: Smoke and voltage calculation

Smoke range 0~2000PPM, The analog output is 0~5V When there is a voltage signal, Smoke and voltage The formula for calculating the relationship: X=2000*V÷5

Among them 2000 For the upper limit of smoke range, 5 The upper limit of the voltage output range, V Output the current voltage value,  X To calculate the smoke value

Voltage V(V)Smoke value (PPM) Calculation process
00.02000*0÷5
0.52002000*0.5÷5
14002000*1÷5
1.56002000*1.5÷5
28002000*2÷5
2.510002000*2.5÷5
312002000*3÷5
3.514002000*3.5÷5
416002000*4÷5
4.518002000*4.5÷5
520002000*5÷5

As shown in the table, When measuring the voltage output value 1.5V Time, The current smoke concentration value is 600PPM.

Put this resource to use in a real project?

Go to the Tool Center for message parsing, CRC verification and device debugging, or submit your requirements for selection and integration advice.

Engineer Membership

Turn this article into actionable debugging resources

After activation, you can use advanced message parsing, resource pack downloads, code examples, engineering cases and priority technical support, suitable for real project delivery.

Unlimited Advanced Tools
Resource & Code Packs
Complete Engineering Case Library
Priority Technical Support

Leave a Reply

Your email address will not be published. Required fields are marked *.