PCE Instruments PCE-CPC 50 Users guide

Page 1
User Manual
Cleanroom Particle Counter
PCE-CPC 50
Page 2
1
/ 23
Cleanroom Particle Counter PCE-CPC 50
Power battery manufacturing
Chip manufacturing
Medical and pharmaceutical
Precision machining
Description
The PCE-CPC 50 online particle counter adopts the principle of optical scattering, which can accurately detect and
calculate the number of suspended particles of different particle sizes in the air per unit volume. It can output the
particle count of 6 channels of 0.3μm, 0.5μm, 1.0μm, 2.5μm, 5.0μm and 10μm at the same time (the default unit is
pcs/m³, can be switched to pcs/L; pcs/28.3L).
Features
4 in 1 integrated particle counter of particulate matter sensor, filter, flow sensor and pump
Output particle number (PCS/m³, PCS/L or PCS/28.3L) in 6 channels including 0.3μm, 0.5μm, 1.0μm, 2.5μm,
5.0μm, 10μm
Built-in high power industrial grade linear laser, accurate identification
Built-in pump and flow sensor for constant stable sampling
Wide working temperature -30~70, stable for different clean room application
With voltage regulator design and EMC compliant, strong anti-static ability
Modbus RS485,MQTT, 4-20mA output for online remote monitoring

Working Principle

When sampled particles pass through light beam (laser), there will be light scattering phenomenon. Scattered light
will be converted into electrical signal (pulse) via photoelectric transformer. The bigger particles will obtain stronger
pulse signal (peak value). Through peak value and pulse value quantity concentration of particles in each size can
be calculate. Thus, real-time measurement data is obtained through measuring quantity and strength of scattered
light.
Page 3
2
/ 23
Specification
Cleanroom Particle Counter PCE-CPC 50 Specification
Operating principle
Light Scattering
Detect particle diameter range
>0.3μm, >0.5μm, >1.0μm, >2.5μm, > 5.0μm, >10μm
Measurement error
<100pcs/l: ±30pcs/L >100pcs/L: ±30% of reading Condition: 0C ~ 40C,50+10%RH
(0°C ~ 40°C, 50 ±10%RH. Reference instrument TSI 9306. TSI 9306 count efficiency 50% @ 0.3 µm and 100% for particles >0.45 µm)
Timeto
first reliable reading
≤8s
Sampling interval
1s
Working condition
0℃~45; 095%RH (non-condensing)
Storage condition
-20~60, 0~95%RH (non-condensing)
Working current
≤1A
Communication
RS485 (standard)
RJ45 (standard)
4~20mA (standard)
Lifetime
≥3 years
Sampling flow rate
2.83L/min
Standard
Comply with JJF 1190-2008
Page 4
3
/ 23

Product Appearance and Pin Definition Function

Interface 1
No.
PIN
Description
Connector: KF2EDGRM-3.81-6P­14-curved needle
Insertion:
KF2EDGKM-3.81-6P­14
1
VCC
Power terminal (+12VDC)
2
GND
Power terminal (GND)
3TBCommunication interface (RS485_TB)
4TACommunication interface (RS485_TA)
Interface 2
RJ45
Connector: HR911105A (Fusida)
1
I1 +
I1 Positive pole
>0.5um channel
2
I1 -
I1 Negative pole
3
I2 +
I2 Positive pole
>1.0um channel
Interface3
Interface2
Interface1
Reset Button
1. Product dimensions (unit: mm, tolerance: ±2 mm)
2. Pin Definition Diagram
Page 5
4
/ 23
Interface 3
Connector: KF2EDGRM-3.81-6P­14-curved needle
Insertion: KF2EDGKM-3.81-6P­14
4
I2 -
I2 Negative pole
5
I3 +
I3 Positive pole
>2.5um channel
6
I3 -
I3 Negative pole
7
I4 +
I4 Positive pole
>5.0um channel
8
I4 -
I4 Negative pole
Page 6
5
/ 23
Installation Instruction
When this product is installed and used in the system, the air flow of the air inlet and air outlet should be guaranteed to
Air Inlet
be smooth; in order to avoid the dust deposition on the surface of the sensitive device during use, which will affect the
test accuracy of the sensor, it is recommended to install the sensor in the following way.
Recommended installation method:
Page 7
6
/ 23
Precautions for Use
The instrument is forbidden to be used in environments with high dust concentration, environments containing
moisture, oil and corrosive substances, and environments with high temperatures exceeding the allowable use.
Do not block the air inlet and outlet to avoid damage to the air pump.
The product is an integral part, users should not disassemble it to prevent irreversible damage.
Do not cause great vibration to the product, so as not to affect the internal air tightness.
The device cannot run continuously, which will shorten the service life of the product.
This product contains Class IIIB laser products, which contain laser radiation, avoid direct exposure to the eyes. Do
not remove the case or cover. The warning signs are as following:
Page 8
7
/ 23

1 Protocol overview

Communication Protocol
1.1 Serial RS485 communication protocol
1) The data of this protocol are all hexadecimal data. For example, "46" is [70] in decimal.
2) [xx] is single-byte data (unsigned, 0-255); double-byte data high byte is in front and low byte is behind.
3) Baud rate: 9600b/s; data bits: 8 bits; stop bits: 1 bit; parity bit: none.

2 UART serial communication protocol format

The device adopts the Modbus RTU communication protocol, and the requirements are as follows:
1) The device acts as a slave;
2) The Modbus 03 function code (Read Holding Registers) can be used to read the device status and data;
the Modbus 06 function code (Preset Single Register) can be used to set the device status.
3) If the function code in the sent message does not meet the requirements, the device will reply the error
code 01 (ILLEGAL FUNCTION) through the 81 function code message; if the request address in the sent
message does not meet the requirements, the device will report the 81 function code. The text reply error
code 02 (ILLEGAL DATA ADDRESS) notification.

3 Device factory default settings

1) The factory address is 01 by default.
2) The factory default is intermittent working mode. (Work 1 min/ Sleep 4 min)
3) The factory defaults all user coefficients are 1.0000.
4) The factory default setting control flow rate is 2.83 L/min (cannot be changed at will).

4 Check code

CRC-16 (Modbus), high byte first, low byte after.

5 Register address table

Restriction Description
1) Read-only registers and readable and writable registers are not allowed to overlap.
2) Only function of writing a single register is implemented, and writing multiple registers is not available.
3) The total number of registers is limited, currently 32 input registers and 32 holding registers are supported.
4) The current version does not support file transfer with a large amount of data.
5) See Table 1 and Table 2 for register details, all registers are 16-bit word, and the register address is
register number-1.
Page 9
8
/ 23
Table 1: Input Registers
Data No.
Address
Definition
Explanation
IR1
00H
Version No. (Enlarge 100)
IR2
01H
Reserve
IR3
02H
Reserve
IR4
03H
The number of particles >0.3μm
≥0.3μm particle quantity high byte
IR5
04H
The number of particles >0.3μm
≥0.3μm particle quantity low byte
IR6
05H
The number of particles >0.5μm
≥0.5μm particle quantity high byte
IR7
06H
The number of particles >0.5μm
≥0.5μm particle quantity low byte
IR8
07H
The number of particles >1.0μm
≥1.0μm particle quantity high byte
IR9
08H
The number of particles >1.0μm
≥1.0μm particle quantity low byte
IR10
09H
The number of particles >2.5μm
≥2.5μm particle quantity low byte
IR11
0AH
The number of particles >2.5μm
≥2.5μm particle quantity low byte
IR12
0BH
The number of particles >5.0μm
≥5.0μm particle quantity high byte
IR13
0CH
The number of particles >5.0μm
≥5.0μm particle quantity low byte
IR14
0DH
The number of particles >10μm
≥10μm particle quantity high byte
IR15
0EH
The number of particles >10μm
≥10μm particle quantity low byte
IR16
0FH
Reserve
IR17
10H
Reserve
IR18
11H
Reserve
IR19
12H
Reserve
IR20
13H
Reserve
IR21
14H
Reserve
IR22
15H
Reserve
IR23
16H
Reserve
IR24
17H
Gas flow value
Actual gas flow value multiplied by 100
IR25
18H
Reserve
IR26
19H
Reserve
IR27
1AH
Reserve
IR28
1BH
Reserve
IR29
1CH
Reserve
IR30
1DH
Reserve
IR31
1EH
Reserve
IR32
1FH
Reserve
Page 10
9
/ 23
Table 2: Holding Registers
Data No.
Address
Definition
Explanation
IR1
00H
Reserve
IR2
01H
Reserve
IR3
02H
Address setting register
Slave address (1-247)
IR4
03H
Reserve
IR5
04H
Reserve
IR6
05H
Reserve
IR7
06H
>0.3μm particles user coefficient
Reserve
IR8
07H
>0.5μm particles user coefficient
Reserve
IR9
08H
>1.0μm particles user coefficient
Reserve
IR10
09H
>2.5μm particles user coefficient
Reserve
IR11
0AH
>5.0μm particles user coefficient
Reserve
IR12
0BH
>10μm particles user coefficient
Reserve
IR13
0CH
Reserve
IR14
0DH
Device intermittent stop time
Set the device intermittent
stop time (min)
IR15
0EH
Device control traffic size
Actual set gas flow value
multiplied by 100
IR16
0FH
Reserve
IR17
10H
Reserve
IR18
11H
Reserve
IR19
12H
Reserve
IR20
13H
Output unit
3 output units: pcs/m³,
pcs/L, pcs/28.3L
IR21
14H
Working mode
2 working modes:
continues measurement,
single accumulated count
mode
IR22
15H
Reserve
IR23
16H
Reserve
IR24
17H
Reserve
IR25
18H
Reserve
IR26
19H
Reserve
IR27
1AH
Reserve
IR28
1BH
Reserve
IR29
1CH
Reserve
IR30
1DH
Reserve
IR31
1EH
Reserve
IR32
1FH
Reserve
Page 11
10
/ 23

6 Host communication protocol format

Function
code description
The PCE-CPC 50 supports the following function codes:
0x03: read holding register
0x04: read input register
0x06: write a single register
7 Command example
Application conditions
1) Assuming a single sensor.
2) All data are hexadecimal data, and DFX nee to be converted to decimal when calculating data.
3) Symbol description:
1
IP is the device address.
2
CRC16 is MODBUSCRC16 two-byte check, the high byte is in the front and the low byte is in the back.
3
CS is 0-ADD8 and check, the lowest byte of the previous data and +CS result is 0x00.
4
DF1 DF2 DF3 DF4 represent uncertain data.
7.1 Read >0.3um, >0.5um, >1.0um, >2.5um >5.0um, >10um of particles in each channel
7.7.1 Read >0.3μm particle count:
Send
: IP 04 00 03 00 02 CRC16
Answer: IP 04 04 DF1 DF2 DF3 DF4 CRC16
Description: >0.3μm particle count = DF1*256^3+DF2*256^2+DF3*256+DF4 (pcs/ m³)
7.1.2 Read >0.5μm particle count:
Send
: IP 04 00 05 00 02 CRC16
Answer: IP 04 04 DF1 DF2 DF3 DF4 CRC16
Description: >0.5 μm particle count = DF1*256^3+DF2*256^2+DF3*256+DF4 ( pcs/ m³)
7.1.3 Read >1.0μm particle count:
Send
: IP 04 00 07 00 02 CRC16
Answer: IP 04 04 DF1 DF2 DF3 DF4 CRC16
Description: >1.0 μm particle count = DF1*256^3+DF2*256^2+DF3*256+DF4 ( pcs/ m³)
7.1.4 Read >2.5μm particle count:
Send: IP 04 00 09 00 02 CRC16
Answer: IP 04 04 DF1 DF2 DF3 DF4 CRC16
Description: >2.5μm particle count = DF1*256^3+DF2*256^2+DF3*256+DF4 (pcs/m³)
7.1.5 Read >5.0μm particle count:
Send
: IP 04 00 0B 00 02 CRC16
Answer: IP 04 04 DF1 DF2 DF3 DF4 CRC16
Description: >5.0μm particle count = DF1*256^3+DF2*256^2+DF3*256+DF4 ( pcs/ m³)
7.1.6 Read >10μm particle count:
Page 12
11
/ 23
Send
: IP 04 00 0D 00 02 CRC16
Answer: IP 04 04 DF1 DF2 DF3 DF4 CRC16
Description: >10μm particle count = DF1*256^3+DF2*256^2+DF3*256+DF4 ( pcs/ m³)
7.2 Read real-time gas flow value
Send
: IP 04 00 17 00 01 CRC16
Answer: IP 04 02 DF1 DF2 CRC16
Description: Real-time gas flow value = (DF1*256+DF2)/100L/min
7.3 Continuously read input register data
Send: IP 04 00 03 00 15 CRC16
Answer: IP 04 2A DF1~DF46 CRC16
Description:
>0.3μm particle count = DF1*256^3+DF2*256^2+DF3*256+DF4 ( pcs/m³)
>0.5μm particle count = DF5*256^3+DF6*256^2+DF7*256+DF8 ( pcs/ m³)
>1.0μm particle count = DF9*256^3+DF10*256^2+DF11*256+DF12 ( pcs/ m³)
>2.5μm particle count = DF13*256^3+DF14*256^2+DF15*256+DF16 ( pcs/ m³)
>5.0μm particle count = DF17*256^3+DF18*256^2+DF19*256+DF20 ( pcs/ m³)
>10μm particle count = DF21*256^3+DF22*256^2+DF23*256+DF24 ( pcs/ m³)
Real-time gas flow value = (DF41*256+DF42)/100 (L/min)
7.4 Read >0.3um, >0.5um, >1.0um, >2.5um >5.0um, >10um of particles user coefficient in each channel
7.4.1 Read >0.3μm particle count
Send: IP 03 00 06 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: >0.3μm particles user coefficient= (DF1*256+DF2)/10000
7.4.2 Read >0.5μm particle count
Send: IP 03 00 07 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: >0.5μm particles user coefficient= (DF1*256+DF2)/10000
7.4.3 Read >1.0μm particle count
Send: IP 03 00 08 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: >1.0 μm particles user coefficient= (DF1*256+DF2)/10000
7.4.4 Read >2.5μm particle count
Send: IP 03 00 09 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: >2.5 μmparticles user coefficient= (DF1*256+DF2)/10000
7.4.5 Read >5.0μm particle count
Page 13
12
/ 23
Send: IP 03 00 0A 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: >5.0 μmparticles user coefficient= (DF1*256+DF2)/10000
7.4.6 Read >10μm particle count
Send: IP 03 00 0B 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: >1.0 μm particles user coefficient= (DF1*256+DF2)/10000
7.5 Read output unit
Send: IP 03 00 13 00 01 CRC16
Answer: IP 03 02 00 DF1 DF2 CRC16
Description: output particles number unit, when DF=0, output unit is pcs/L; when DF=1, output unit is pcs/m³; when DF=2, output unit is pcs/28.3L.
7.6 Read working mode
Send: IP 03 00 14 00 01 CRC16
Answer: IP 03 02 00 DF1 CRC16
Description: DF1=0 is continuous measurement mode, and real-time measurement values will be continuously
output. DF1 = 1 is the single cumulative counting mode. When the output unit is pcs/L, the detection value will
be output after 21 seconds of reading; when the output unit is pcs/m³, the output detection value of 5 minutes
can be read; when the output unit is pcs/28.3L, the output detection value of 60 seconds will be read. When
working mode is set, the parameter is not saved after power off. After the device is powered on again, the
default working mode is restored: Continuous measurement mode. In the single cumulative counting mode,
the device carries out a fixed time measurement, and the output value of the device does not change after the
single reading. If you need to measure again, you need to send the set working mode command again, or
switch to continuous measurement mode
7.7 Confirm device address
Send: IP 03 00 02 00 01 CRC16
Answer: IP 03 02 00 DF1 CRC16
Description: Device address is DF1
7.8 Read the intermittent operation stop time of the device
Send:
IP 03 00 0D 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: Equipment intermittent stop time = DF1*256+DF2 (min)
7.9 Read device setting flow size
Send: IP 03 00 0E 00 01 CRC16
Answer: IP 03 02 DF1 DF2 CRC16
Description: Device setting flow size=(DF1*256+DF2)/100 (L/min)
7.10 Continuously read input register data
Send: IP 03 00 02 00 0D CRC16
Answer: IP 03 1A DF1~DF26 CRC16
Description: Device address:DF2
Page 14
13
/ 23
>0.3μm particle count user coefficient = (DF9*256+ DF10)/1 0 0 00
>0.5μm particle count user coefficient = (DF11*256+DF12) /100 0 0
>1.0μm particle count user coefficient = (DF13*256+DF14) /10 0 0 0
>2.5μm particle count user coefficient = (DF15*256+DF16) /10 0 0 0
>5.0μm particle count user coefficient = (DF17*256+DF18) /10 0 0 0
>10μm particle count user coefficient = (DF19*256+DF20) /10 0 0 0
Device stop operation time= DF23*256+DF24 (min)
Control device setting flow rate=(DF25*256+DF26)/100 (L/min)
7.11 Modify >0.3μm, >0.5μm, >1.0μm, >2.5μm, >5.0μmm, >10μm of particles user coefficient in each channel
7.11.1 Modify >0.3μm of particles user coefficient in each channel
Send: IP 06 00 06 DF1 DF2 CRC16
Answer: IP 06 00 06 DF1 DF2 CRC16
Description: >0.3μm particle quantity user coefficient =(DF1*256+DF2)/10000
7.11.2 Modify >0.5μm of particles user coefficient in each channel
Send: IP 06 00 07 DF1 DF2 CRC16
Answer: IP 06 00 07 DF1 DF2 CRC16
Description: >0.5μm particle quantity user coefficient =(DF1*256+DF2)/10000
7.11.3 Modify >1.0μm of particles user coefficient in each channel
Send: IP 06 00 08 DF1 DF2 CRC16
Answer: IP 06 00 08 DF1 DF2 CRC16
Description: >1.0μm particle quantity user coefficient =(DF1*256+DF2)/10000
7.11.4 Modify >2.5μm of particles user coefficient in each channel
Send: IP 06 00 09 DF1 DF2 CRC16
Answer: IP 06 00 09 DF1 DF2 CRC16
Description: >2.5μm particle quantity user coefficient =(DF1*256+DF2)/10000
7.11.5 Modify >5.0μm of particles user coefficient in each channel
Send: IP 06 00 0A DF1 DF2 CRC16
Answer: IP 06 00 0A DF1 DF2 CRC16
Description: >5.0μm particle quantity user coefficient =(DF1*256+DF2)/10000
7.11.6 Modify >10μm of particles user coefficient in each channel
Send: IP 06 00 0B DF1 DF2 CRC16
Answer: IP 06 00 0B DF1 DF2 CRC16
Description: >10μm particle quantity user coefficient =(DF1*256+DF2)/10000
7.12 Modify the device address (the address range that can be set is 1-254)
Send: IP 06 00 02 00 DF1 CRC16 (IP address indicates the device address before the change)
Answer: IP 06 00 02 00 DF1 CRC16 (IP address indicates the new device address)
Description: DF1 indicates the device address to be changed
7.13 Modify the operating stop time of the equipment (the time range that can be set is 1-10000)
Send: IP 06 00 0D DF1 DF2 CRC16
Answer: IP 06 00 0D DF1 DF2 CRC16
Page 15
14
/ 23
Description: Device stop time = DF1*256+DF2 (min)
7.14 Modify the flow rate set by the control device (the flow rate can be set in the range of 2.0L/min
3.5L/min)
Send: IP 06 00 0E DF1 DF2 CRC16
Answer: IP 06 00 0E DF1 DF2 CRC16
Description: The modified flow rate=(DF1*256+DF2)/100 (L/min)
7.15 Set output unit
Send: IP 06 00 13 DF1 DF2 CRC16
Answer: IP 06 00 13 DF1 DF2 CRC16
Description: The modified output unit=(DF1*256+DF2)/100 (L/min),support 0 (pcs/L), 1 (default pcs/m³)
2(pcs/28.3L); set output unit is restored after power off.
7.16 Set working mode
Send: IP 06 00 14 DF1 DF2 CRC16
Answer: IP 06 00 14 DF1 DF2 CRC16
Description: The modified working mode=(DF1*256+DF2), support 0 (continues measurement), 1 (single
cumulative counting mode); set output unit is not saved after power off. When working mode is set, the
parameter is not saved after power off. After the device is powered on again, the default working mode is
restored: Continuous measurement mode. In the single cumulative counting mode, the device carries out a
fixed time measurement, and the output value of the device does not change after the single reading. If you
need to measure again, you need to send the set working mode command again, or switch to continuous
measurement mode
7.17 Query device address
Send: 11 02 55 FF CS
Answer: 16 02 55 DF1 CS
Description: In the running mode, the query device address is DF1
7.18 Query the software version number
Send: 11 01 1E CS
Answer: 16 0E 1E DF1 DF2 DF3 DF4 DF5 DF6 DF7 DF8 DF9 DF10 DF11 DF12 DF13 CS
Description: The version number is DF1-DF13, the ASCII string is the software version number
7.19 Set 4 channel range of 4-20mA
Send: 11 06 F0 DF1 DF2 DF3 DF4 DF5 CS
Answer: 16 06 F0 DF1 DF2 DF3 DF4 DF5 CS
Description:
When DF1=0, current modified channel is PM0.5, corresponding measurement range of
4~20mA=DF2*256*256*256+DF3*256*256+DF4*256+DF5
When DF1=1, current modified channel is PM1.0, corresponding measurement range of
4~20mA=DF2*256*256*256+DF3*256*256+DF4*256+DF5
When DF1=2, current modified channel is PM2.5, corresponding measurement range of
Page 16
www.gassensor.com.cn
15
/ 23
4~20mA=DF2*256*256*256+DF3*256*256+DF4*256+DF5
When DF1=3, current modified channel is PM5.0, corresponding measurement range of
4~20mA=DF2*256*256*256+DF3*256*256+DF4*256+DF5
The range will automatically update the corresponding range according to the set unit. Therefore, it is
recommended to confirm (query) the current output unit before setting the measurement range. After the
range setting will be saved.
The default output unit is pcs/L, 4~ 20mA corresponding default output unit measurement ranges are:
PM0.5->35000000pcs/L, PM1.0->8000000pcs/L, PM2.5->3000000pcs/L, PM5.0->300000pcs/L
7.20 Query MQTT server IP and port number
Send: 11 01 67 CS
Answer: 16 07 67 DF1 DF2 DF3 DF4 DF5 DF6 CS
Description: MQTT server IP and port number format: [IP1]:[IP2]:[IP3]:[IP4]:[PORT]
IP1=DF1, IP2=DF2, IP3=DF3, IP4=DF4, PORT=DF5*256+DF6
7.21 Modify MQTT server IP and port number
Send: 11 07 66 DF1 DF2 DF3 DF4 DF5 DF6 CS
Answer: 16 01 66 83
Description: MQTT server IP and port number format: [IP1]:[IP2]:[IP3]:[IP4]:[PORT]
IP1=DF1, IP2=DF2, IP3=DF3, IP4=DF4, PORT=DF5*256+DF6
Page 17
16
/ 23
MQTT Communication Protocol

1 Protocol overview

Directions

Topic

Description

Server->MCU

/productID/deviceID/function/invoke

Server sen the instant command (CMD-
1~CMD-10)

MCU->Server

/productID/deviceID/function/invoke/reply

Reply to the server ‘s sending command
(ACK) : notifies the server of the received
number

According to (CMD-999)

MCU->Server

/productID/deviceID/properties/report

Device periodically reports data, cycle

is intermittent operation cycle (configurable)

(CMD-168)

Repones to data sent by the server

(CMD-101 ~ CMD-110)

Key value
Types
Description
cmd
String
Command number
This device support DHCP protocol, can obtain the IP address automatically.
Support the MQTT protocol version: MQTT V3.1.1.
Using JSON data format.
Support device calibration instructions.
Default IP address and port number connected to the MQTT server: 39.108.78.19:1883 (which can be
modified using RS485)

2 Topic List

3 Authentication Definition

Product ID: PCE-CPC 50
deviceID: Device factory sn
secureId: sifangguangdian
secureKey: 123456
var clientId = deviceID(device SN)
var username = secureId+"|"+deviceID; // Concatenate user password
var password = md5(username+"|"+secureKey); // Use md5 to generate the abstract
4 Rule of Message
4.1 Messages are delivered in a uniform format where the inputs object is the content of the message.
All send instruction contents will be in inputs.
Page 18
17
/ 23
inputs
Object
Downlink message content
desired
Object
Uplink message content
messageId
Otring
Message Id
Note: All descending instructions must contain the "messageId" and "inputs" fields; and the "inputs" field must
Command
Description
CMD-1
Read particle count
CMD-2
Read the real-time gas flow value
CMD-3
/
CMD-4
Read the particle quantity coefficient
CMD-5
/
CMD-6
Read the intermittent operation & stop time of the device
CMD-7
Query the SN code and firmware version
CMD-8
Modify device parameters
Command
Description
CMD-101
Upload the particle count
CMD-102
Upload Real-time gas flow value
CMD-103
/
CMD-104
Upload the particle quantity coefficient
CMD-105
/
CMD-106
Upload the intermittent operation stop time of the device
CMD-107
Upload SN code and firmware version
CMD-108
Modify the device parameter response
CMD-168
Periodically report the data automatically
CMD-999
Uplink ACK(Acknowledgement message of receiving the instruction, which informs the server that the instruction was received
Parameter
Type
Description
-
-
-
begin with cmd field. messageId of the uplink ACK = messageId of the downlink ACK
4.2 Command List
MCU->Server (Downlink)
MCU->Server (Uplink)
5 Instruction specification
5.1 Read particle count CMD-1
Description: Read >0.3um, >0.5um, >1.0um, >2.5um, >5.0um, >10um of particles count in each channel
Downlink command
Example
topic : /prodcutID/deviceID/function/invoke
{ "messageId":"1574326733176995841", "deviceId" :"173072083110001", "timestamp":1664183717422, "functionId":"CMD1", "messageType":"INVOKE_FUNCTION", "inputs":[{"cmd":"CMD-1"}] }
Uplink ACK (Acknowledgement message of receiving the instruction, which informs the server that the instruction was received)
Page 19
18
/ 23
TOPIC/prodcutID/deviceID/function/invoke/reply
Parameter
Type
Description
particles_0.3um
Number
>0.3μm particle count
particles_0.5um
Number
>0.5μm particle count
particles_1.0um
Number
>1.0μm particle count
particles_2.5um
Number
>2.5μm particle count
particles_5.0um
Number
>5.0μm particle count
particles_10um
Number
>10μm particle count
Unit
String
Unit (pcs/m³by default)
Parameter
Type
Description
-
-
-
Parameter
Type
Description
gas_flow
Number(Floating-point value)
real-time gas flow value
unit
String
real-time gas flow (Unit: L/min)
{ "messageId":"1574326733176995841", "cmd": "CMD-999", "output":"success" }
Uplink data
topic : /prodcutID/deviceID/properties/report
{ "cmd": "CMD-101", "desired":{ "particles_0.3um" : 123, "particles_0.5um" : 123, "particles_1.0um" : 123, "particles_2.5um" : 123, "particles_5.0um" : 123, "particles_10um" : 123,
"unit":"pcs/m³ "
}
}
5.2 Read the real-time gas flow value CMD-2
Description: Read the real-time gas flow value,Unit is (L/min) Downlink command
topic : /prodcutID/deviceID/function/invoke { "messageId":"1574326733176995841", "deviceId":"173072083110001", "timestamp":1664183717422, "functionId":"CMD2", "messageType":"INVOKE_FUNCTION", "inputs":[{"cmd":"CMD-2"}] }
Uplink ACK (Acknowledgement message of receiving the instruction, which informs the server that the instruction was received)
TOPIC/prodcutID/deviceID/function/invoke/reply { "messageId":"1574326733176995841", "cmd": "CMD-999", "output":"success" }
Uplink data
topic :/prodcutID/deviceID/properties/report {
Page 20
19
/ 23
"cmd":"CMD-102",
Parameter
Type
Description
-
-
-
Parameter
Type
Description
particles_coef_0.3um
Number-integer number
>0.3μm particle count user coefficient,10000 times larger
particles_coef_0.5um
Number- integer number
>0.5μm particle count user coefficient,10000 times larger
particles_coef_1.0um
Number- integer number
>1.0μm particle count user coefficient,10000 times larger
particles_coef_2.5um
Number- integer number
>2.5μm particle count user coefficient,10000 times larger
particles_coef_5.0um
Number- integer number
>5.0μm particle count user coefficient,10000 times larger
particles_coef_10um
Number- integer number
>10μm particle count user coefficient,10000 times larger
Parameter
Type
Description
-
-
-
"desired":{ "gas_flow" : 2.83 "unit" : "L/min"
} }
5.3 Read the particle quantity coefficient CMD-4
Description: Read the particle quantity coefficient Downlink command
topic : /prodcutID/deviceID/function/invoke { "messageId":"1574326733176995841", "deviceId":"173072083110001", "timestamp":1664183717422, "functionId":"CMD4", "messageType":"INVOKE_FUNCTION", "inputs":[{"cmd":"CMD-4"}] }
Uplink ACK (Acknowledgement message of receiving the instruction, which informs the server that the instruction was received)
TOPIC/prodcutID/deviceID/function/invoke/reply { "messageId":"1574326733176995841", "cmd": "CMD-999", "output":"success"
}
Uplink data
topic : /prodcutID/deviceID/properties/report {
" cmd": "CMD-104", "desired":{
"particles_coef_0.3um" : 123, "particles_coef_0.5um" : 123, "particles_coef_1.0um" : 123, "particles_coef_2.5um" : 123, "particles_coef_5.0um" : 123, "particles_coef_10um" : 123
}
}
5.4 Read the intermittent operation stop time of the device CMD-6
Description: Read the intermittent operation stop time of the device Downlink command
topic : /prodcutID/deviceID/function/invoke {
Page 21
20
/ 23
"messageId":"1574326733176995841",
Parameter
Type
Description
work_stop_time
Number-Shaping number
Available to set, unit is minute.
Cannot set it to be 0, otherwise the setting value is invalid.
Work_run_time
Number- Shaping number
The value is set to 1min.
Actively upload MQTT data once the run time is over
Parameter
Type
Description
-
-
-
Parameter
Type
Description
sn
String
Device sn
sw_version
String
sw version
"deviceId":"173072083110001", "timestamp":1664183717422, "functionId":"CMD6", "messageType":"INVOKE_FUNCTION", "inputs":[{"cmd":"CMD-6"}] }
Uplink ACK (Acknowledgement message of receiving the instruction, which informs the server that the instruction was received)
TOPIC/prodcutID/deviceID/function/invoke/reply { "messageId":"1574326733176995841", "cmd": "CMD-999", "output":"success"
} Uplink data
topic : /prodcutID/deviceID/properties/report {
"cmd": "CMD-106", "desired":{
"work_stop_time" : 10,
"work_run_time" : 1
}
}
5.5 Query the SN code and firmware version CMD-7
Description: Query the SN code and firmware version Downlink command:
topic : /prodcutID/deviceID/function/invoke { "messageId":"1574326733176995841", "deviceId":"173072083110001", "timestamp":1664183717422, "functionId":"CMD7", "messageType":"INVOKE_FUNCTION", "inputs":[{"cmd":"CMD-7"}] }
Uplink ACK (Acknowledgement message of receiving the instruction, which informs the server that the instruction was received)
TOPIC/prodcutID/deviceID/function/invoke/reply { "messageId":"1574326733176995841", "cmd": "CMD-999", "output":"success" }
Uplink data
topic : /prodcutID/deviceID/properties/report {
Page 22
21
/ 23
"cmd": "CMD-107",
Parameter
Type
Description
particles_coef_0.3um
Number
>0.3μm particle count user coefficient, range 1000~65000,10000 times
larger, actual coefficient is 0.1~6.5
particles_coef_0.5um
Number
>0.5μm particle count user coefficient, range 1000~65000,10000 times
larger, actual coefficient is 0.1~6.5
particles_coef_1.0um
Number
>1.0μm particle count user coefficient, range 1000~65000,10000 times
larger, actual coefficient is 0.1~6.5
particles_coef_2.5um
Number
>2.5μm particle count user coefficient, range 1000~65000,10000 times
larger, actual coefficient is 0.1~6.5
particles_coef_5.0um
Number
>5.0μm particle count user coefficient, range 1000~65000,10000 times
larger, actual coefficient is 0.1~6.5
particles_coef_10um
Number
>10μm particle count user coefficient, range 1000~65000,10000 times
larger, actual coefficient is 0.1~6.5
work_stop_time
Number
Device stop time ,unit is min.
Parameter
Type
Description
result
String
success or failed
"desired":{ "sn" : "123456789", "sw_version" : "xxx" } }
5.6 Modify device parameters CMD-8
Description: Modify device parameters Downlink command
topic : /prodcutID/deviceID/function/invoke { "messageId":"1574326733176995841", "deviceId":"173072083110001", "timestamp":1664183717422, "functionId":"CMD8", "messageType":"INVOKE_FUNCTION", "inputs":[ {"cmd":"CMD-8"}, {"particles_coef_1.0um":12345}, {"work_stop_time": 2} ]
}
Uplink ACK (Acknowledgement message of receiving the instruction, which informs the server that the instruction was received)
TOPIC/prodcutID/deviceID/function/invoke/reply { "messageId":"1574326733176995841", "cmd": "CMD-999", "output":"success" }
Uplink data
topic : /prodcutID/deviceID/properties/report { "sn" : "123456789", "cmd": "CMD-108", "desired":{ "result" : "success" } }
Page 23
22
/ 23
5.7 Automatically report the data periodically CMD-168
Parameter
Type
Description
particles_0.3um
Number
>0.3μm particle count
particles_0.5um
Number
>0.5μm particle count
particles_1.0um
Number
>1.0μm particle count
particles_2.5um
Number
>2.5μm particle count
particles_5.0um
Number
>5.0μm particle count
particles_10um
Number
>10μm particle count
Unit
String
Unit (pcs/m³, default)
The device will automatically report data periodically without the server sending request data packets The automatic report period is the intermittent operation period (set by CMD-8). After one working period is complete, the automatic report is uploaded once Uplink data list:
topic : /prodcutID/deviceID/properties/report { "cmd": "CMD-168",
"desired":{
"particles_0.3um" : 123, "particles_0.5um" : 123, "particles_1.0um" : 123, "particles_2.5um" : 123, "particles_5.0um" : 123, "particles_10um" : 123, "unit": "pcs/m3",
} }
Page 24
Contact
If you have any questions, suggestions or technical problems, please do not hesitate to contact us. You will find the relevant contact information at the end of this user manual.
Disposal
For the disposal of batteries in the EU, the 2006/66/EC directive of the European Parliament applies. Due to the contained
pollutants, batteries must not be disposed of as household waste. They must be given to collection points designed for that purpose.
In order to comply with the EU directive 2012/19/EU we take our devices back. We either re-use them or give them to a recycling company which disposes of the devices in line with law.
For countries outside the EU, batteries and devices should be disposed of in accordance with your local waste regulations.
If you have any questions, please contact PCE Instruments.
PCE Instruments contact information
Germany
PCE Deutschland GmbH Im Langel 26 D-59872 Meschede Deutschland Tel.: +49 (0) 2903 976 99 0 Fax: +49 (0) 2903 976 99 29 info@pce-instruments.com www.pce-instruments.com/deutsch
United Kingdom
PCE Instruments UK Ltd Trafford House Chester Rd, Old Trafford Manchester M32 0RS United Kingdom Tel: +44 (0) 161 464902 0 Fax: +44 (0) 161 464902 9 info@pce-instruments.co.uk www.pce-instruments.com/english
The Netherlands
PCE Brookhuis B.V. Institutenweg 15 7521 PH Enschede Nederland Telefoon: +31 (0)53 737 01 92 info@pcebenelux.nl www.pce-instruments.com/dutch
France
PCE Instruments France EURL 23, rue de Strasbourg 67250 Soultz-Sous-Forets France Téléphone: +33 (0) 972 3537 17 Numéro de fax: +33 (0) 972 3537 18 info@pce-france.fr www.pce-instruments.com/french
Italy
PCE Italia s.r.l. Via Pesciatina 878 / B-Interno 6 55010 Loc. Gragnano Capannori (Lucca) Italia Telefono: +39 0583 975 114 Fax: +39 0583 974 824 info@pce-italia.it www.pce-instruments.com/italiano
United States of America
PCE Americas Inc. 1201 Jupiter Park Drive, Suite 8 Jupiter / Palm Beach 33458 FL USA Tel: +1 (561) 320-9162 Fax: +1 (561) 320-9176 info@pce-americas.com www.pce-instruments.com/us
Spain
PCE Ibérica S.L. Calle Mula, 8 02500 Tobarra (Albacete) España Tel. : +34 967 543 548 Fax: +34 967 543 542 info@pce-iberica.es www.pce-instruments.com/espanol
Turkey
PCE Teknik Cihazları Ltd.Şti. Halkalı Merkez Mah.
Pehlivan Sok. No.6/C 34303 Küçükçekmece - İstanbul Türkiye Tel: 0212 471 11 47 Faks: 0212 705 53 93 info@pce-cihazlari.com.tr www.pce-instruments.com/turkish
Denmark
PCE Instruments Denmark ApS Birk Centerpark 40 7400 Herning Denmark Tel.: +45 70 30 53 08 kontakt@pce-instruments.com www.pce-instruments.com/dansk
Loading...