<
From version < 22.4 >
edited by Xiaoling
on 2022/05/23 09:15
To version < 22.8 >
edited by Xiaoling
on 2022/05/23 09:21
>
Change comment: There is no comment for this version

Summary

Details

Page properties
Content
... ... @@ -206,18 +206,8 @@
206 206  
207 207  === 3.3.1 onfigure UART settings for RS485 or TTL communication ===
208 208  
209 -RS485-BL can connect to either RS485 sensors or TTL sensor. User need to specify what type of sensor need to connect.
209 +To use RS485-LN to read data from RS485 sensors, connect the RS485-LN A/B traces to the sensors. And user need to make sure RS485-LN use the match UART setting to access the sensors. The related commands for UART settings are:
210 210  
211 -**~1. RS485-MODBUS mode:**
212 -
213 -AT+MOD=1 ~/~/ Support RS485-MODBUS type sensors. User can connect multiply RS485 , Modbus sensors to the A / B pins.
214 -
215 -**2. TTL mode:**
216 -
217 -AT+MOD=2 ~/~/ Support TTL Level sensors, User can connect one TTL Sensor to the TXD/RXD/GND pins.
218 -
219 -RS485-BL default UART settings is **9600, no parity, stop bit 1**. If the sensor has a different settings, user can change the RS485-BL setting to match.
220 -
221 221  (% border="1" style="background-color:#ffffcc; color:green; width:795px" %)
222 222  |(((
223 223  **AT Commands**
... ... @@ -242,13 +242,7 @@
242 242  |(((
243 243  AT+PARITY
244 244  )))|(% style="width:285px" %)(((
245 -(((
246 246  Set UART parity (for RS485 connection)
247 -)))
248 -
249 -(((
250 -Default Value is: no parity.
251 -)))
252 252  )))|(% style="width:347px" %)(((
253 253  (((
254 254  AT+PARITY=0
... ... @@ -266,7 +266,7 @@
266 266  )))
267 267  
268 268  (((
269 -Default Value is: 1bit.
253 +
270 270  )))
271 271  )))|(% style="width:347px" %)(((
272 272  (((
... ... @@ -285,12 +285,10 @@
285 285  === 3.3.2 Configure sensors ===
286 286  
287 287  (((
288 -Some sensors might need to configure before normal operation. User can configure such sensor via PC or through RS485-BL AT Commands (% style="color:#4f81bd" %)**AT+CFGDEV**.
289 -)))
290 -
291 291  (((
292 -When user issue an (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) command, Each (% style="color:#4f81bd" %)**AT+CFGDEV**(%%) equals to send a command to the RS485 or TTL sensors. This command will only run when user input it and won’t run during each sampling.
273 +Some sensors might need to configure before normal operation. User can configure such sensor via PC and RS485 adapter or through RS485-LN AT Commands (% style="color:#4f81bd" %)**AT+CFGDEV**(%%). Each (% style="color:#4f81bd" %)**AT+CFGDEV **(%%)equals to send a RS485 command to sensors. This command will only run when user input it and won’t run during each sampling.
293 293  )))
275 +)))
294 294  
295 295  (% border="1" style="background-color:#ffffcc; color:green; width:806px" %)
296 296  |**AT Commands**|(% style="width:418px" %)**Description**|(% style="width:256px" %)**Example**
... ... @@ -302,8 +302,6 @@
302 302  mm: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command
303 303  )))|(% style="width:256px" %)AT+CFGDEV=xx xx xx xx xx xx xx xx xx xx xx xx,m
304 304  
305 -Detail of AT+CFGDEV command see [[AT+CFGDEV detail>>path:#AT_CFGDEV]].
306 -
307 307  === 3.3.3 Configure read commands for each sampling ===
308 308  
309 309  (((
Copyright ©2010-2024 Dragino Technology Co., LTD. All rights reserved
Dragino Wiki v2.0