|
RS485 Protocol
- Communication Standards
Baudrate
|
9,600
|
Data Bits
|
8
|
Stop Bits
|
1
|
Parity
|
None
|
- Data Format (ASCII)
= STX + X deg + SP + Y deg + ETB + Check Sum + $
- [SP+Y deg] is skipped for uniaxial.
- Check Sum : Substitute ASCII of each bytes for HEX and calculate by XOR.
- Commands (not case sensitive)
Carriage Return and Line Feed must be attached to end of commands.
e.g. #DATA+CR+LF
#DATA
|
Measure data once. |
#READ
|
Measure data continuously. |
#STOP
|
Stop measuring. |
#INFO
|
Get sensor information. |
#DAS1178 |
Enter ID set mode. |
#ID {NO}
|
Set ID to {NO}. |
- ID can be set within 0...80. (in HEX, plus B0 to ID : B0...FF)
- To complete ID set, set ID on ID set mode, power off and on again.
- Multiple sensors on parallel connection, can measure individual sensor data ; set individual sensor ID and send below command in HEX.
CR+LF is unnecessary in this case.
Command : Sensor ID [B0~FF] + 05
e.g. (HEX) B1 05
|
|