Changes for page Point to Point Communication for RS485-LN
Last modified by Bei Jinggeng on 2024/04/30 15:42
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -329,35 +329,70 @@ 329 329 330 330 ((( 331 331 (% style="color:#4f81bd" %)**Example 4: ** 332 -))) 333 333 334 -((( 335 -**AT+GROUPMOD=0** Set to point to point mode 336 -))) 337 337 338 -((( 339 -**AT+GROUPMOD=0,aa** Set the TX group that controls the number of aa (The maximum value of aa is 8) 340 -))) 334 +**AT+CFGDEV :** This command will be sent to Group RX. 341 341 342 -((( 343 -((( 344 -**AT+GROUPMOD=1,bb** Set to the RX group controlled by the TX group, numbered bb(The maximum value of aa is 8) 345 -))) 346 -))) 336 +The grammar is: 347 347 348 -((( 349 -**AT+GROUPMOD=0,2** Set to control the TX group of the two RX groups 350 -))) 338 +AT+CFGDEV =xx xx xx xx xx xx xx xx xx xx xx xx,m 351 351 352 -((( 353 -**AT+GROUPMOD=1,1** Set the RX group numbered 1 340 +xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent 341 + 342 +m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command. 354 354 ))) 355 355 356 356 ((( 357 -**AT+GROUPMOD=1,2** Set the RX group numbered 2 346 + 347 + 348 + 349 +(% style="color:#4f81bd" %)**Example 5:**(%%)** ** 358 358 ))) 359 359 352 +**AT+RS485:** This command will be sent to local RS485 device. 360 360 354 +The grammar is: 355 + 356 +AT+RS485 =xx xx xx xx xx xx xx xx xx xx xx xx,m 357 + 358 +xx xx xx xx xx xx xx xx xx xx xx xx: The RS485 command to be sent 359 + 360 +m: 0: no CRC, 1: add CRC-16/MODBUS in the end of this command. 361 + 362 + 363 + 364 +(% style="color:#4f81bd" %)**Example 6:** 365 + 366 +**AT+MOD=0** Commands are transparently transmitted through UART. 367 + 368 +**AT+MOD=1,500** Commands are transparently transmitted through RS485. 500 ms after the first character is received from RS485, all characters are commands. 369 + 370 + 371 + 372 +(% style="color:#4f81bd" %)**Example 7:** 373 + 374 +**AT+GROUPMOD=0** Set to point to point mode 375 + 376 +**AT+GROUPMOD=0,aa** Set the TX group that controls the number of aa (The maximum value of aa is 8) 377 + 378 +**AT+GROUPMOD=1,bb** Set to the RX group controlled by the TX group, numbered bb(The maximum value of bb is 8) 379 + 380 + 381 +**AT+GROUPMOD=0,2** Set to control the TX group of the two RX groups 382 + 383 +**AT+GROUPMOD=1,1** Set the RX group numbered 1 384 + 385 +**AT+GROUPMOD=1,2** Set the RX group numbered 2 386 + 387 + 388 + 389 +(% style="color:#4f81bd" %)**Example 8:** 390 + 391 + 392 +(% style="color:#4f81bd" %)**Example 9:** 393 + 394 + 395 + 361 361 == **2.4 Data Format** == 362 362 363 363 (((