Changes for page 07 Communication

Last modified by Devin Chen on 2024/08/19 14:28

From version 12.1
edited by Devin Chen
on 2024/02/19 10:53
Change comment: There is no comment for this version
To version 17.1
edited by Theodore Xu
on 2024/08/08 10:10
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.DevinChen
1 +XWiki.AiXia
Content
... ... @@ -149,8 +149,6 @@
149 149  
150 150  **Read bit address from device**
151 151  
152 -(When reading the bit address, the return value of 256 means that the coil is turned ON, and the return value of 0 means that the coil is turned OFF.)
153 -
154 154  (% style="text-align:center" %)
155 155  [[image:1641781999957-637.png||height="390" width="750" class="img-thumbnail"]]
156 156  
... ... @@ -196,7 +196,7 @@
196 196  
197 197  == **LX3VP COM2 N:N Connection** ==
198 198  
199 -PLC built-in N:N connection protocol provides a effective way to exchange data among multiple PLC (Max. 8 devices). Technically, it only requires the twisted pair RS485 cable to connect with each PLC COM2 (in parallel).
197 +PLC built-in N:N connection protocol provides an effective way to exchange data among multiple PLC (Max. 8 devices). Technically, it only requires the twisted pair RS485 cable to connect with each PLC COM2 (in parallel).
200 200  
201 201  (% style="text-align:center" %)
202 202  [[image:9.Communication example_html_8c43baa1ae891689.jpg||height="142" width="500" class="img-thumbnail"]]
... ... @@ -263,7 +263,7 @@
263 263  )))
264 264  |M8191|Processing sending data
265 265  
266 -== **Communications format:** ==
264 +== **Communications format** ==
267 267  
268 268  (% border="1" %)
269 269  |=**Item**|=(% style="width: 115px;" %)**Parameters**|=(% style="width: 239px;" %)**b15(RS2)**|=**b14-b8**|=**b7**|=**b6**|=**b5**|=**b4**|=**b3**|=**b2**|=**b1**|=**b0**
... ... @@ -283,6 +283,20 @@
283 283  |(% rowspan="2" %)**Data bit**|(% style="width:115px" %)7 bit|(% style="width:239px" %)-|-|-|-|-|-|-|-|0
284 284  |(% style="width:115px" %)8 bit|(% style="width:239px" %)-|-|-|-|-|-|-|-|1
285 285  
284 +== **Communication error code (D8211~~D8218)** ==
285 +
286 +|=(% style="width: 195px;" %)**Error code**|=(% style="width: 881px;" %)**Description**
287 +|(% style="width:195px" %)1|(% style="width:881px" %)The monitoring period has elapsed, and the slave station has not responded to requests from the master station yet.
288 +|(% style="width:195px" %)2|(% style="width:881px" %)The other slave stations have responded to requests sent by the master station.
289 +|(% style="width:195px" %)3|(% style="width:881px" %)The count values in the parameter data do not match those responded by the slave stations.
290 +|(% style="width:195px" %)4|(% style="width:881px" %)The response messages from the slave stations are incorrect.
291 +|(% style="width:195px" %)17|(% style="width:881px" %)The monitoring period has elapsed,the master station has not sent a request to the next slave station yet.
292 +|(% style="width:195px" %)20|(% style="width:881px" %)The messages from the master station are incorrect.
293 +|(% style="width:195px" %)33|(% style="width:881px" %)The slave station is unresponsive.
294 +|(% style="width:195px" %)34|(% style="width:881px" %)The other slave stations have responded to requests sent by the master station.
295 +|(% style="width:195px" %)35|(% style="width:881px" %)The count values in the parameter data do not match those responded by the slave stations.
296 +|(% style="width:195px" %)49|(% style="width:881px" %)The slave station received requests from the master station before receiving the parameters.
297 +
286 286  == **Program example** ==
287 287  
288 288  LX3VP COM2 port communication parameters: 9600, 1, 8, NONE. Register block mode: 3