Changes for page 07 Communication

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

From version 17.1
edited by Theodore Xu
on 2024/08/08 10:10
Change comment: There is no comment for this version
To version 5.1
edited by Stone Wu
on 2022/07/12 15:08
Change comment: There is no comment for this version

Summary

Details

Page properties
Parent
... ... @@ -1,1 +1,1 @@
1 -PLC Editor.WebHome
1 +PLC Editor.1 User Manual.WebHome
Author
... ... @@ -1,1 +1,1 @@
1 -XWiki.AiXia
1 +XWiki.Stone
Content
... ... @@ -6,7 +6,6 @@
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
10 10  |=MODBUS RTU Slave|PLC is master device|20H
11 11  |=MODBUS ASCII Slave|PLC is master device|30H
12 12  
... ... @@ -57,9 +57,9 @@
57 57  |S0 ~~ S999|0xE000 ~~ 0xE3E7|57344 ~~ 58343
58 58  |T0 ~~ T256|0xF000 ~~ 0xF100|61440 ~~ 61696
59 59  |C0 ~~ C255|0xF400 ~~ 0xF4FF|62464 ~~ 62719
60 -|X0 ~~ X377|0xF800 ~~ 0xF8FF|63488 ~~ 63743
61 -|Y0 ~~ Y377|0xFC00 ~~ 0xFCFF|64512 ~~ 64767
62 -|(% colspan="3" %)** PLC Word Address**
59 +|X0 ~~ X255|0xF800 ~~ 0xF9FE|63488 ~~ 63998
60 +|Y0 ~~ Y255|0xFC00 ~~ 0xFDFE|64512 ~~ 65022
61 +|(% colspan="3" %)** PLC Word Address**
63 63  |(% rowspan="2" %)PLC Address|(% colspan="2" %)MODBUS Address
64 64  |Hex|Decimal
65 65  |D0 ~~ D8255|0 ~~ 0x203F|0 ~~ 8255
... ... @@ -67,7 +67,7 @@
67 67  |C0 ~~ C199|0xF400 ~~ 0xF4C7|62464 ~~ 62663
68 68  |C200 ~~ C255|0xF700 ~~ 0xF7FF|63232 ~~ 63487
69 69  
70 -== **MODBUS function code introduction** ==
69 +== **MODBUS function fode introduction** ==
71 71  
72 72  **Function code 0x01(01): read coil (bit address)**
73 73  
... ... @@ -149,6 +149,8 @@
149 149  
150 150  **Read bit address from device**
151 151  
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 +
152 152  (% style="text-align:center" %)
153 153  [[image:1641781999957-637.png||height="390" width="750" class="img-thumbnail"]]
154 154  
... ... @@ -184,7 +184,7 @@
184 184  [[image:1641782203514-616.png||height="230" width="746"]]
185 185  
186 186  
187 -**WECON PLC Protocol (COM2)**
188 +**(8) WECON PLC Protocol (COM2)**
188 188  
189 189  [[image:1641782240401-942.png||height="161" width="754"]]
190 190  
... ... @@ -194,12 +194,12 @@
194 194  
195 195  == **LX3VP COM2 N:N Connection** ==
196 196  
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).
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).
198 198  
199 199  (% style="text-align:center" %)
200 200  [[image:9.Communication example_html_8c43baa1ae891689.jpg||height="142" width="500" class="img-thumbnail"]]
201 201  
202 -== **COM2 N:N Instructions  ** ==
203 +=== **COM2 N:N Instructions  ** ===
203 203  
204 204  User should put data to specified register unit. Exchanging the data among PLCs, This function only requires putting data in preset register block, all the data in this register block would share with other PLCs. There are five modes for choice, according to data volume and communication speed. See the preset register block from table below.
205 205  
... ... @@ -232,7 +232,7 @@
232 232  (% style="text-align:center" %)
233 233  [[image:9.Communication example_html_b805bca9e1166337.jpg||height="93" width="600" class="img-thumbnail"]]
234 234  
235 -== **Special devices in N: N network** ==
236 +=== **The special devices in N: N network** ===
236 236  
237 237  (% border="1" %)
238 238  |=**Register**|=**Description**
... ... @@ -261,7 +261,7 @@
261 261  )))
262 262  |M8191|Processing sending data
263 263  
264 -== **Communications format** ==
265 +=== **Communications format:** ===
265 265  
266 266  (% border="1" %)
267 267  |=**Item**|=(% style="width: 115px;" %)**Parameters**|=(% style="width: 239px;" %)**b15(RS2)**|=**b14-b8**|=**b7**|=**b6**|=**b5**|=**b4**|=**b3**|=**b2**|=**b1**|=**b0**
... ... @@ -281,22 +281,8 @@
281 281  |(% rowspan="2" %)**Data bit**|(% style="width:115px" %)7 bit|(% style="width:239px" %)-|-|-|-|-|-|-|-|0
282 282  |(% style="width:115px" %)8 bit|(% style="width:239px" %)-|-|-|-|-|-|-|-|1
283 283  
284 -== **Communication error code (D8211~~D8218)** ==
285 +=== **Program example** ===
285 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 -
298 -== **Program example** ==
299 -
300 300  LX3VP COM2 port communication parameters: 9600, 1, 8, NONE. Register block mode: 3
301 301  
302 302  **PLC as master**
... ... @@ -317,7 +317,7 @@
317 317  * In LX3VP series PLC, only one kind of N:N configuration available. Second mode would be disabled when LX3VP built-in N:N protocol configured.
318 318  )))
319 319  
320 -= (% style="color:inherit; font-family:inherit" %)**RS485-BD and ETH-BD communiaction**(%%) =
307 +== (% style="color:inherit; font-family:inherit" %)**3 RS485-BD and ETH-BD communiaction**(%%) ==
321 321  
322 322  Please kindly check the link as below.
323 323