Changes for page 14 Ethernet communication
Last modified by Jim on 2023/09/22 15:36
Summary
-
Page properties (2 modified, 0 added, 0 removed)
Details
- Page properties
-
- Author
-
... ... @@ -1,1 +1,1 @@ 1 -XWiki. Stone1 +XWiki.Jim - Content
-
... ... @@ -88,11 +88,13 @@ 88 88 89 89 == **Hardware interface** == 90 90 91 -LX5V is RJ45 sp ecification91 +The LX5V is equipped with standard Ethernet ports (1 channel RJ45 port) and supports Modbus TCP communication protocol. 92 92 93 +//RJ45 specification// 94 + 93 93 (% class="table-bordered" %) 94 -|**Contents**|**Ethernet interfece** 95 -|Transmission speed|((( 96 +|=(% scope="row" style="width: 277px;" %)**Contents**|=(% style="width: 797px;" %)**Ethernet interfece** 97 +|=(% style="width: 277px;" %)Transmission speed|(% style="width:797px" %)((( 96 96 10Mbps: 10BASE-T 97 97 98 98 100Mbps: 100BASE-TX ... ... @@ -99,11 +99,11 @@ 99 99 100 100 10Mbps/100Mbps self-adaptive 101 101 ))) 102 -|Modulation|Basband 103 -|Topology|Starlike 104 -|Transmission medium|Class 5 or above twisted pairs or shielded twisted pairs with aluminum foil and woven mesh 105 -|Transmission distance|The distance between nodes: 100m or less 106 -|Linking number|8 104 +|=(% style="width: 277px;" %)Modulation|(% style="width:797px" %)Basband 105 +|=(% style="width: 277px;" %)Topology|(% style="width:797px" %)Starlike 106 +|=(% style="width: 277px;" %)Transmission medium|(% style="width:797px" %)Class 5 or above twisted pairs or shielded twisted pairs with aluminum foil and woven mesh 107 +|=(% style="width: 277px;" %)Transmission distance|(% style="width:797px" %)The distance between nodes: 100m or less 108 +|=(% style="width: 277px;" %)Linking number|(% style="width:797px" %)8 107 107 108 108 == **{{id name="_Toc31870"/}}{{id name="_Toc15967"/}}{{id name="_Toc3350"/}}{{id name="_Toc2558"/}}Total numbers of links supported** == 109 109 ... ... @@ -118,18 +118,21 @@ 118 118 |Free TCP server|6 119 119 |Free TCP client|6 120 120 121 -== ** {{id name="_Toc9117"/}}{{id name="_Toc18527"/}}{{id name="_Toc22330"/}}{{id name="_Toc12448"/}}IP address settings** ==123 +== **IP address settings** == 122 122 123 - (1)Set by programming software.125 +**Set by programming software** 124 124 125 125 Project manager →Parameter→PLC parameters→Ethernet configuration. Download selected parameters through PLC after modification. The download takes effect after STOP->RUN is complete. 126 126 127 -**✎Note: **The maximum link supported of ModbusTCP servers is used to set the maximum number of external ModbusTCP servers that could connect to PLC simultaneously. The range is from 2 to 8. 129 +(% class="box infomessage" %) 130 +((( 131 +**✎Note: **The maximum link supported of ModbusTCP servers is used to set the maximum number of external ModbusTCP clients that could connect to PLC simultaneously. The range is from 2 to 8. 132 +))) 128 128 129 129 (% style="text-align:center" %) 130 130 [[image:14_html_5d3039a657266507.png||class="img-thumbnail"]] 131 131 132 - (2)Set by special device.137 +**Set by special device** 133 133 134 134 Write IP address, subnet mask, and default gateway in SD2680 to SD2691. 135 135 ... ... @@ -140,37 +140,37 @@ 140 140 New IP address takes effect when STOP->RUN or after power-on again. 141 141 142 142 (% class="table-bordered" %) 143 -|(% style="width:1 30px" %)**SM number**|(% style="width:293px" %)**Name**|**Contents**|**R/W**|**SD number**|**Name**144 -|(% style="width:1 30px" %)SM2680|(% style="width:293px" %)Static set IP switch|(((148 +|=(% scope="row" style="width: 108px;" %)**SM number**|=(% style="width: 277px;" %)**Name**|=(% style="width: 394px;" %)**Contents**|=(% style="width: 53px;" %)**R/W**|=(% style="width: 82px;" %)**SD number**|=(% style="width: 161px;" %)**Name** 149 +|=(% style="width: 108px;" %)SM2680|(% style="width:277px" %)Static set IP switch|(% style="width:394px" %)((( 145 145 ON: Static set 146 146 147 147 OFF: Automatically configurate IP address by router DHCP, and could not be modify IP. When STOP->RUN takes effect. 148 -)))|R/W|SD2680|The 1st byte of IP address 149 -|(% style="width:1 30px" %)SM2681|(% style="width:293px" %)Display current network information|(((153 +)))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2680|(% style="width:161px" %)The 1st byte of IP address 154 +|=(% style="width: 108px;" %)SM2681|(% style="width:277px" %)Display current network information|(% style="width:394px" %)((( 150 150 Refresh current IP gateway subnet mask after ON. 151 151 152 152 Turn OFF after the fresh is complete. 153 -)))|R/W|SD2681|The 2nd byte of IP address 154 -|(% style="width:1 30px" %)SM2682|(% style="width:293px" %)Display current MAC information|(((158 +)))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2681|(% style="width:161px" %)The 2nd byte of IP address 159 +|=(% style="width: 108px;" %)SM2682|(% style="width:277px" %)Display current MAC information|(% style="width:394px" %)((( 155 155 Refresh current MAC after ON. 156 156 157 157 Turn OFF after the fresh is complete. 158 -)))|R/W|SD2682|The 3rd byte of IP address 159 -|(% style="width:1 30px" %)SM2683|(% style="width:293px" %)The modification flag of IP, subnet mask and gateway|(((163 +)))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2682|(% style="width:161px" %)The 3rd byte of IP address 164 +|=(% style="width: 108px;" %)SM2683|(% style="width:277px" %)The modification flag of IP, subnet mask and gateway|(% style="width:394px" %)((( 160 160 ON: Modifiable 161 161 162 162 OFF: Unmodifiable 163 163 164 164 (After setting to ON, modify when stop->run, and automatically turn OFF after the modification) 165 -)))|R/W|SD2683|The 4th byte of IP address 166 -|(% style="width:1 30px" %)SM2684|(% style="width:293px" %) | | |SD2684|The 1st byte of subnet mask167 -|(% style="width:1 30px" %)SM2685|(% style="width:293px" %) | | |SD2685|The 2nd byte of subnet mask168 -|(% style="width:1 30px" %)SM2686|(% style="width:293px" %) | | |SD2686|The 3rd byte of subnet mask169 -|(% style="width:1 30px" %)SM2687|(% style="width:293px" %) | | |SD2687|The 4th byte of subnet mask170 -|(% style="width:1 30px" %)SM2688|(% style="width:293px" %) | | |SD2688|The 1st byte of default gateway171 -|(% style="width:1 30px" %)SM2689|(% style="width:293px" %) | | |SD2689|The 2nd byte of default gateway172 -|(% style="width:1 30px" %)SM2690|(% style="width:293px" %) | | |SD2690|The 3rd byte of default gateway173 -|(% style="width:1 30px" %)SM2691|(% style="width:293px" %) | | |SD2691|The 4th byte of default gateway170 +)))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2683|(% style="width:161px" %)The 4th byte of IP address 171 +|=(% style="width: 108px;" %)SM2684|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2684|(% style="width:161px" %)The 1st byte of subnet mask 172 +|=(% style="width: 108px;" %)SM2685|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2685|(% style="width:161px" %)The 2nd byte of subnet mask 173 +|=(% style="width: 108px;" %)SM2686|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2686|(% style="width:161px" %)The 3rd byte of subnet mask 174 +|=(% style="width: 108px;" %)SM2687|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2687|(% style="width:161px" %)The 4th byte of subnet mask 175 +|=(% style="width: 108px;" %)SM2688|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2688|(% style="width:161px" %)The 1st byte of default gateway 176 +|=(% style="width: 108px;" %)SM2689|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2689|(% style="width:161px" %)The 2nd byte of default gateway 177 +|=(% style="width: 108px;" %)SM2690|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2690|(% style="width:161px" %)The 3rd byte of default gateway 178 +|=(% style="width: 108px;" %)SM2691|(% style="width:277px" %) |(% style="width:394px" %) |(% style="width:53px" %) |(% style="width:82px" %)SD2691|(% style="width:161px" %)The 4th byte of default gateway 174 174 175 175 == **{{id name="_Toc4089"/}}{{id name="_Toc24639"/}}{{id name="_Toc2733"/}}{{id name="_Toc9277"/}}TCP protocol** == 176 176 ... ... @@ -494,7 +494,7 @@ 494 494 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)** 495 495 |(s1)|Socket ID|0 to 5|Signed BIN 16 bit|ANY16 496 496 |(s2)|High byte is station number, low byte is function code|-|Signed BIN 16 bit|ANY_ELEMENTARY 497 -|(s3)|The Modbus address that need communication|1 to 256|Unsigned BIN 16 bit|ANY16502 +|(s3)|The Modbus address that need communication|1 to 65536|Unsigned BIN 16 bit|ANY16 498 498 |(s4)|Sent length or received length| |Signed BIN 16 bit|ANY16 499 499 |(s5)|Sent or received start device| |Signed BIN 16 bit|ANY_ELEMENTARY 500 500 ... ... @@ -515,7 +515,7 @@ 515 515 516 516 ✎(s1) specify the socket link. The other parameters are compatible with RS instruction Modbus master protocol. 517 517 518 -✎(s2) high byte is station number. For ModbusTCP, the station number c ouldbe setat will.523 +✎(s2) high byte is station number. For ModbusTCP, the station number can be set freely. 519 519 520 520 ✎(s2) low byte is function code.For details, refer to [[Modbus protocol description.>>http://54.254.131.57:8080/xwiki/bin/view/PLC%20Editor2/1%20User%20manual/2.1%20LX5V%20user%20manual/10/#HModbusprotocoldescription]] 521 521