Changes for page 07 Communication
Last modified by Devin Chen on 2024/08/19 14:28
From version 7.4
edited by Stone Wu
on 2022/07/28 11:28
on 2022/07/28 11:28
Change comment:
Update document after refactoring.
To version 14.1
edited by Devin Chen
on 2024/03/22 09:52
on 2024/03/22 09:52
Change comment:
There is no comment for this version
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Stone1 +XWiki.DevinChen - Content
-
... ... @@ -1,4 +1,4 @@ 1 -= ** 1PLC COM2 Modbus RTU** =1 += **PLC COM2 Modbus RTU** = 2 2 3 3 == **Protocol Setting (D8126)** == 4 4 ... ... @@ -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 ... ... @@ -56,8 +56,8 @@ 56 56 |S0 ~~ S999|0xE000 ~~ 0xE3E7|57344 ~~ 58343 57 57 |T0 ~~ T256|0xF000 ~~ 0xF100|61440 ~~ 61696 58 58 |C0 ~~ C255|0xF400 ~~ 0xF4FF|62464 ~~ 62719 59 -|X0 ~~ X 255|0xF800 ~~ 0xF9FE|63488 ~~ 6399860 -|Y0 ~~ Y 255|0xFC00 ~~ 0xFDFE|64512 ~~ 6502260 +|X0 ~~ X377|0xF800 ~~ 0xF8FF|63488 ~~ 63743 61 +|Y0 ~~ Y377|0xFC00 ~~ 0xFCFF|64512 ~~ 64767 61 61 |(% colspan="3" %)** PLC Word Address** 62 62 |(% rowspan="2" %)PLC Address|(% colspan="2" %)MODBUS Address 63 63 |Hex|Decimal ... ... @@ -66,7 +66,7 @@ 66 66 |C0 ~~ C199|0xF400 ~~ 0xF4C7|62464 ~~ 62663 67 67 |C200 ~~ C255|0xF700 ~~ 0xF7FF|63232 ~~ 63487 68 68 69 -== **MODBUS function fode introduction** ==70 +== **MODBUS function code introduction** == 70 70 71 71 **Function code 0x01(01): read coil (bit address)** 72 72 ... ... @@ -189,13 +189,13 @@ 189 189 190 190 [[image:1641782240401-942.png||height="161" width="754"]] 191 191 192 -= (% style="color:inherit; font-family:inherit" %)** 2N:N network**(%%) =193 += (% style="color:inherit; font-family:inherit" %)**N:N network**(%%) = 193 193 194 194 **LX3VP COM2 N:N Application** 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"]] ... ... @@ -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 respond 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 ... ... @@ -304,7 +304,7 @@ 304 304 * 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. 305 305 ))) 306 306 307 -= (% style="color:inherit; font-family:inherit" %)** 3RS485-BD and ETH-BD communiaction**(%%) =322 += (% style="color:inherit; font-family:inherit" %)**RS485-BD and ETH-BD communiaction**(%%) = 308 308 309 309 Please kindly check the link as below. 310 310