Step 1: After supplying the Co-ordinator, the Node ID must be registered within the first 5 minutes, up to 40 WS
Step 2: Take off the wireless sensor battery, then wait for 5s, then insert the battery again
Step 3: Bring the wireless sensor closer to the Co-ordinator's antenna, if:
Buzzer plays 1 peep sound, that means, registering Node ID on Co-ordinator successfully
Buzzer plays 2 peep sounds that this Node ID is already registered
2. Register the Node ID via Modbus
Step 1: Use the RS485 configuration cable to communicate with the Co-ordinator, then write the Node ID of the
wireless sensor to the Co-ordinator
Step 2: Use the UART Tool to communicate with the wireless sensor and record the ID of the Co-ordinator on the
wireless sensor, specifically as follows: Co-ordinator_ID parameter in the memap of WS = Co-ordinator's ID
Receive data packet from node:
When WS433-CL receives data packet from node, then WS433_CL will send back 1 ACK packet
Standard data packet received includes 46 bytes:
Name
Size
(bytes)
Format
%Battery
2
uint16
Main parameter
4
err_status
1
uint8
sen_status
1
uint8
Second parameter
4
Logic status 1
1
uint8
Logic status 2
1
uint8
Up-Timer 1
4
uint32
Down-Timer 1
4
uint32
Rising-Edge Counter 1
4
uint32
Falling-Edge Counter
1
4
uint32
Up-Timer 2
4
uint32
Down-Timer 2
4
uint32
Rising-Edge Counter 2
4
uint32
Falling-Edge Counter
2
4
uint32
The data package from 40 nodes is saved to the modbus table, using the 04 modbus RTU command to read:
Modbus Register
Hex adr
# of Registers
Description
0
0
32
data node 1
32
20
32
data node 2
64
40
32
data node 3
96
60
32
data node 4
128
80
32
data node 5
160
A0
32
data node 6
192
C0
32
data node 7
224
E0
32
data node 8