Changes for page 07 Communication

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

From version 11.1
edited by Mora Zhou
on 2023/12/22 11:05
Change comment: There is no comment for this version
To version 19.1
edited by Devin Chen
on 2024/08/19 14:28
Change comment: There is no comment for this version

Summary

Details

Page properties
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.Mora
1 +XWiki.DevinChen
Content
... ... @@ -6,6 +6,7 @@
6 6  |=WECON PLC Protocol|Using WECON PLC Protocol|01H
7 7  |=MODBUS RTU Master|PLC is slave device|02H
8 8  |=MODBUS ASCII Master|PLC is slave device|03H
9 +|=User-defined Protocol|Using User-defined Protocol|10H
9 9  |=MODBUS RTU Slave|PLC is master device|20H
10 10  |=MODBUS ASCII Slave|PLC is master device|30H
11 11  
... ... @@ -148,7 +148,7 @@
148 148  
149 149  **Read bit address from device**
150 150  
151 -(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.)
152 +(When reading the bit address, a return value of 256 indicates that the coil is in the ON state, while a return value of 0 indicates that the coil is in the OFF state.)
152 152  
153 153  (% style="text-align:center" %)
154 154  [[image:1641781999957-637.png||height="390" width="750" class="img-thumbnail"]]
... ... @@ -195,7 +195,7 @@
195 195  
196 196  == **LX3VP COM2 N:N Connection** ==
197 197  
198 -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).
199 +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).
199 199  
200 200  (% style="text-align:center" %)
201 201  [[image:9.Communication example_html_8c43baa1ae891689.jpg||height="142" width="500" class="img-thumbnail"]]
... ... @@ -262,7 +262,7 @@
262 262  )))
263 263  |M8191|Processing sending data
264 264  
265 -== **Communications format:** ==
266 +== **Communications format** ==
266 266  
267 267  (% border="1" %)
268 268  |=**Item**|=(% style="width: 115px;" %)**Parameters**|=(% style="width: 239px;" %)**b15(RS2)**|=**b14-b8**|=**b7**|=**b6**|=**b5**|=**b4**|=**b3**|=**b2**|=**b1**|=**b0**
... ... @@ -282,6 +282,20 @@
282 282  |(% rowspan="2" %)**Data bit**|(% style="width:115px" %)7 bit|(% style="width:239px" %)-|-|-|-|-|-|-|-|0
283 283  |(% style="width:115px" %)8 bit|(% style="width:239px" %)-|-|-|-|-|-|-|-|1
284 284  
286 +== **Communication error code (D8211~~D8218)** ==
287 +
288 +|=(% style="width: 195px;" %)**Error code**|=(% style="width: 881px;" %)**Description**
289 +|(% 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.
290 +|(% style="width:195px" %)2|(% style="width:881px" %)The other slave stations have responded to requests sent by the master station.
291 +|(% style="width:195px" %)3|(% style="width:881px" %)The count values in the parameter data do not match those responded by the slave stations.
292 +|(% style="width:195px" %)4|(% style="width:881px" %)The response messages from the slave stations are incorrect.
293 +|(% 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.
294 +|(% style="width:195px" %)20|(% style="width:881px" %)The messages from the master station are incorrect.
295 +|(% style="width:195px" %)33|(% style="width:881px" %)The slave station is unresponsive.
296 +|(% style="width:195px" %)34|(% style="width:881px" %)The other slave stations have responded to requests sent by the master station.
297 +|(% style="width:195px" %)35|(% style="width:881px" %)The count values in the parameter data do not match those responded by the slave stations.
298 +|(% style="width:195px" %)49|(% style="width:881px" %)The slave station received requests from the master station before receiving the parameters.
299 +
285 285  == **Program example** ==
286 286  
287 287  LX3VP COM2 port communication parameters: 9600, 1, 8, NONE. Register block mode: 3