Wiki source code of 14 Ethernet communication

Version 11.1 by Stone Wu on 2022/09/26 10:51

Hide last authors
Leo Wei 1.1 1 = **Ethernet overview** =
2
3 == **{{id name="_Toc3979"/}}{{id name="_Toc14022"/}}{{id name="_Toc10482"/}}{{id name="_Toc7863"/}}IP address** ==
4
5 IP address consists of network address and host address, and distinguished by subnet mask. If programming device (such as PC) use network card to connect to LAN, the programming device and PLC must be in the same subnet. You can specify the subnet of a device by combining an IP address with a subnet mask.
6
7 The network address could be calculated by performing logic and operation between IP address and subnet mask. If the addresses are in the same network, it means that communication is possible.
8
9 (% class="table-bordered" %)
10 |(% rowspan="2" %)**Number**|(% colspan="3" %)**Network device 1**|(% colspan="3" %)**Network device 2**|(% rowspan="2" %)**Network connection**
11 |**IP**|**Subnet mask**|**Network address**|**IP**|**Subnet mask**|**Network address**
12 |1|192.168.0.1|255.255.255.0|192.168.0.0|192.168.0.10|255.255.255.0|192.168.0.0|Yes
13 |2|192.168.0.1|255.255.255.0|192.168.0.0|192.168.1.10|255.255.255.0|192.168.1.0|No
14 |3|192.168.0.1|255.255.255.1|192.168.0.1|192.168.0.10|255.255.255.1|192.168.0.0|No
15
16 == **{{id name="_Toc16835"/}}{{id name="_Toc518"/}}{{id name="_Toc4567"/}}{{id name="_Toc24276"/}}Set PC network address** ==
17
18 (1) Click “Control panel”→”Network and Internet”→”Network and sharing center”.
19
20 (% style="text-align:center" %)
21 [[image:14_html_c2a8809528586e62.png||class="img-thumbnail"]]
22
23 (2) Click “Ethernet”→”Properties”→”Internet protocol version 4”.
24
25 (3) Set the IP address and subnet mask on the same network address as the PLC. The IP address that has been used in LAN could not be set. If the IP of PLC is 192.168.8.8, and the subnet mask is 255.255.255.0. The IP address as shown below could be set to connect PC to PLC.
26
27 (% style="text-align:center" %)
28 [[image:14_html_a9fe3141424b96c7.png||class="img-thumbnail"]]
29
30 == **{{id name="_Toc27521"/}}{{id name="_Toc29278"/}}{{id name="_Toc9496"/}}{{id name="_Toc10920"/}}Test the network connection status** ==
31
32 Test the connection status between PC and PLC by ping command.
33
34 (1) Press “WIN” and “R” keys, and input “cmd”.
35
36 (% style="text-align:center" %)
37 [[image:14_html_dabf04cdadd8a3d8.png||class="img-thumbnail"]]
38
39 (2) If the IP address of PLC is 192.168.8.8.
40
41 1) Input “ping 192.168.8.8 ”, and enter. If it display ”100% loss”, it means that PLC could be connected.
42
43 (% style="text-align:center" %)
44 [[image:14_html_7aa7f1c9b25ffe38.png||class="img-thumbnail"]]
45
46 2) Input “ping 192.168.8.8 ”, and enter. If it display ”0% loss”, it means that it could be connected to PLC.
47
48 (% style="text-align:center" %)
49 [[image:14_html_62b05ca96148a3f1.png||class="img-thumbnail"]]
50
51 3) The command “ping network device IP” could only be use four times. To ping network devices continuously, run “ping network device ip-t” command, it is shown as below.
52
53 (% style="text-align:center" %)
54 [[image:14_html_d69739e24edf0b2d.png||class="img-thumbnail"]]
55
56 == **PLC Editor2 connect to PLC with Ethernet** ==
57
58 (1) Transfer settings →Ethernet configuration → Input IP address.(**✎Note:** The address of NIC must be on the same network segment as that of the PLC.)
59
60 (% style="text-align:center" %)
61 [[image:14_html_144b2bfcd0791114.png||class="img-thumbnail"]]
62
63 (2) Click “Communication test” to comfirm the communication.
64
65 (% style="text-align:center" %)
66 [[image:14_html_d0e31208a663b835.png||class="img-thumbnail"]]
67
68 (3) After successful connection, PLC is able to operate.
69
70 == **PLC Editor2 Ethernet search funtion** ==
71
72 (1) Transfer settings → NIC comfiguration → Device search. (**✎Note:** The address of NIC must be on the same network segment as that of the PLC.)
73
74 (% style="text-align:center" %)
75 [[image:14_html_4d043668ca526831.png||class="img-thumbnail"]]
76
77 (2) The search interface is as below. Click search to display the PLC devices in the LAN, and select the corresponding device and click OK to communicate.
78
79 (% style="text-align:center" %)
80 [[image:14_html_15c7655b852e111.png||class="img-thumbnail"]]
81
82 (3) The IP address of one is filled in automatically.
83
84 (% style="text-align:center" %)
85 [[image:14_html_2d7b6e1b3d27381a.png||class="img-thumbnail"]]
86
87 = {{id name="_Toc15427"/}}{{id name="_Toc12664"/}}{{id name="_Toc24930"/}}{{id name="_Toc1600"/}}**Ethernet configuration** =
88
89 == **Hardware interface** ==
90
91 LX5V is RJ45 specification
92
93 (% class="table-bordered" %)
94 |**Contents**|**Ethernet interfece**
95 |Transmission speed|(((
96 10Mbps: 10BASE-T
97
98 100Mbps: 100BASE-TX
99
100 10Mbps/100Mbps self-adaptive
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
107
108 == **{{id name="_Toc31870"/}}{{id name="_Toc15967"/}}{{id name="_Toc3350"/}}{{id name="_Toc2558"/}}Total numbers of links supported** ==
109
110 When LX5V-N series PLC is powered on, ModbusTCP server monitor is automatically enabled by default. 2 to 8 ModbusTCP clients are supported, and the port number is 502. (PLC host computer upload and download, monitor and HMI communication protocol are supported by the ModbusTCP server.)
111
112 The number of configurable links is 6. The free configurations of TCP server free protocol, TCP client free protocol, ModbusTCP server and ModbusTCP client are supported.
113
114 (% class="table-bordered" %)
115 |**Communicaition protocol**|**Maximum links supported**
116 |ModbusTCP server|8
117 |ModbusTCP client|6
118 |Free TCP server|6
119 |Free TCP client|6
120
Stone Wu 11.1 121 == **IP address settings** ==
Leo Wei 1.1 122
Stone Wu 11.1 123 **Set by programming software**
Leo Wei 1.1 124
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
Stone Wu 11.1 127 (% class="box infomessage" %)
128 (((
129 **✎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.
130 )))
Leo Wei 1.1 131
132 (% style="text-align:center" %)
133 [[image:14_html_5d3039a657266507.png||class="img-thumbnail"]]
134
Stone Wu 11.1 135 **Set by special device**
Leo Wei 1.1 136
137 Write IP address, subnet mask, and default gateway in SD2680 to SD2691.
138
139 SM2680 is set to ON, static IP function is enable. (**✎Note:** DHCP function is not supported by LX5V currently.)
140
141 SM2683 is set to ON, IP identification could be modified.
142
143 New IP address takes effect when STOP->RUN or after power-on again.
144
145 (% class="table-bordered" %)
Stone Wu 11.1 146 |=(% 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**
147 |=(% style="width: 108px;" %)SM2680|(% style="width:277px" %)Static set IP switch|(% style="width:394px" %)(((
Leo Wei 1.1 148 ON: Static set
149
150 OFF: Automatically configurate IP address by router DHCP, and could not be modify IP. When STOP->RUN takes effect.
Stone Wu 11.1 151 )))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2680|(% style="width:161px" %)The 1st byte of IP address
152 |=(% style="width: 108px;" %)SM2681|(% style="width:277px" %)Display current network information|(% style="width:394px" %)(((
Leo Wei 1.1 153 Refresh current IP gateway subnet mask after ON.
154
155 Turn OFF after the fresh is complete.
Stone Wu 11.1 156 )))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2681|(% style="width:161px" %)The 2nd byte of IP address
157 |=(% style="width: 108px;" %)SM2682|(% style="width:277px" %)Display current MAC information|(% style="width:394px" %)(((
Leo Wei 1.1 158 Refresh current MAC after ON.
159
160 Turn OFF after the fresh is complete.
Stone Wu 11.1 161 )))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2682|(% style="width:161px" %)The 3rd byte of IP address
162 |=(% style="width: 108px;" %)SM2683|(% style="width:277px" %)The modification flag of IP, subnet mask and gateway|(% style="width:394px" %)(((
Leo Wei 1.1 163 ON: Modifiable
164
165 OFF: Unmodifiable
166
167 (After setting to ON, modify when stop->run, and automatically turn OFF after the modification)
Stone Wu 11.1 168 )))|(% style="width:53px" %)R/W|(% style="width:82px" %)SD2683|(% style="width:161px" %)The 4th byte of IP address
169 |=(% 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
170 |=(% 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
171 |=(% 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
172 |=(% 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
173 |=(% 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
174 |=(% 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
175 |=(% 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
176 |=(% 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
Leo Wei 1.1 177
178 == **{{id name="_Toc4089"/}}{{id name="_Toc24639"/}}{{id name="_Toc2733"/}}{{id name="_Toc9277"/}}TCP protocol** ==
179
180 TCP protocol, short for Transport Control Protocol, is Is a connection-oriented and reliable transport layer protocol. Connection-oriented means that a normal TCP transmission need to be completed by establishing a specific virtual circuit connection between TCP client and TCP server. To transfer data over TCP, a connection must be established between hosts at both ends.
181
182 == **{{id name="_Toc8484"/}}{{id name="_Toc24972"/}}{{id name="_Toc28751"/}}{{id name="_Toc29133"/}}UDP protocol** ==
183
184 UDP protocol, short for User Datagram Protocol, is a connectionless transport layer protocol. There is no guarantee of data order, a risk of data loss. It provides a simple and unreliable information transfer service for transactions and is Mainly used in data broadcasting.
185
186 == **{{id name="_Toc21446"/}}{{id name="_Toc4791"/}}{{id name="_Toc10286"/}}Socket** ==
187
188 When the application layer communicates data over the transport layer, TCP encounters the problem of providing concurrent services to multiple application processes at the same time. Multiple TCP connections or multiple application processes may require data to be transmitted over the same TCP protocol port. To distinguish between different application processes and connections, many computer operating systems provide interfaces called sockets for applications to interact with the TCP/IP protocol.
189
190 To generate a socket, there are three main parameters: the IP address of the destination of the communication, the transport layer protocol used (TCP or UDP) used, and the port number used. By combining these three parameters and binding to a socket, the application layer and the transport layer can distinguish communication from different application processes or network connections through the socket interface, realizing concurrent services for data transmission.
191
192 == **{{id name="_Toc1095"/}}{{id name="_Toc17322"/}}{{id name="_Toc3808"/}}{{id name="_Toc23814"/}}Establish an Ethernet link by socket** ==
193
194 At least one pair of sockets is required to establish a socket link.
195
196 For TCP, the two sockets, one running on the TCP client and the other running on the TCP server. The connection process between sockets is divided into three steps: server monitor, client request, connection confirmation, also known as the three-way handshake.
197
198 **Server monitor: **After the server socket is enabled, it does not locate the specific client socket, but is in a state of waiting for the connection, monitoring the network status in real time, and waiting for the client's connection request.
199
200 **Client request: **Refers to a connection request made by a client-side socket, and the target of the connection is the server-side socket. To do this, the client-side socket must first describe the socket of the server to which it is connecting, indicate the address and port number of the server-side socket, and then make a connection request to the server-side socket
201
202 **Connection confirmation: **Refers to when the server-side socket listens to or receives a connection request from the client socket, it responds to the client socket request, establishes a new thread, sends the description of the server-side socket to the client. Once the client confirms this description, the connection is established. The server-side socket continues to listen and continues to receive connection requests from other client-side sockets.
203
204 (% style="text-align:center" %)
205 [[image:14_html_c4fd785c7111eade.gif||class="img-thumbnail"]]
206
207 In order to simplify the complexity of ladder programming, sockets have been partially simplified:
208
209 For TCP clients, merge socket() and connect() into SOCOOPEN instructions. After this function is enabled, automatically connect to the TCP server.
210
211 For TCP server, merge socket(), bind(), listen(), and accept() into SOCOOPEN instructions. After this function is enabled, automatically listen to server connection. If the server is successfully connected, the corresponding position is marked and the IP address and port information of the server are displayed.
212
213 For UDP, there is no concept of client and server. Creating a UDP socket only requires local address information and remote address information, without connection operations. Communication could be made when the address information of the local socket and the remote socket could be matched, that is, the remote address of the local socket is the same as the local address of the remote socket, and the local address of the local socket is the same as the remote address of the remote socket. For UDP connections, the connection could be established immediately by calling the SOCOPEN instruction.
214
215 == **{{id name="_Toc3008"/}}{{id name="_Toc10015"/}}{{id name="_Toc32444"/}}{{id name="_Toc444"/}}LX5V-N socket configuration instructions** ==
216
217 LX5V socket could be configured in Project manager→Extended function→Ethernet, right click to create socket configuration, as shown below.
218
219 (% style="text-align:center" %)
220 [[image:14_html_e73123ae26a00972.png||class="img-thumbnail"]]
221
222 **Socket ID:** The number of the socket ranges from K0 to K5, and a total of six are supported. The socket is used to specify links, and each ID could be used for one link and could not be defined repeatedly.
223
224 **Communication protocol: **TCP protocol and UDP protocol are supported.
225
226 **Operating mode: **For TCP, client and server could be selected. For UDP, this is meaningless.
227
228 **Local port:**
229
230 For TCP client mode, the local port would be automatically allocated by PLC without setting.
231
232 For TCP server mode, the local port ranges from 1 to 65535. Port 502 is used for internal ModbusTCP and can not be set to port 502.
233
234 For UDP mode, the local port ranges from 1 to 65535. Port 1092 is used for scanning protocol of Wecon and can not be set to port 1092.
235
236 **Destination IP: **It is valid in TCP client mode or UDP mode, and specify the IP of opposite end device to be linked.
237
238 **Destination port: **It is valid in TCP client mode or UDP mode, and specify the port number of opposite end device to be linked.
239
240 **Receive timeout period(10ms): **After the PLC sends the data, If the response of the opposite end device exceeds the timeout period, it is considered that the network has an abnormality and sets the wrong flag.
241
242 **TCP keep-alive mechanism: **When using the TCP protocol for communication, if the communication line is idle in most cases, there is only a small amount of data to be sent and received, but it is necessary to keep the link open continuously, or disconnect in time in the case of a drop, crash or forced end of the process at the other end of the communication, the keep-alive mechanism can be used to communicate.
243
244 When the keep-alive function is turned on, after the two parties stop communicating for 5 seconds, the TCP connection that opens the keep-alive function will send a survival confirmation message to the other party. If the other party responds, it means that the other party is alive and online. The connection is normal, and the survival confirmation message is sent again after 5 seconds to continue to confirm. If the other party does not confirm the survival, it means that the other party has a problem, the end that opens the keep-alive will continue to send it a survival confirmation message after 5 seconds. When the opposite end does not respond for 9 consecutive times, it means that the opposite end communication is abnormal, and the end that opens the keep-alive will actively disconnect.
245
246 = **{{id name="_Toc15732"/}}{{id name="_Toc1158"/}}{{id name="_Toc32054"/}}{{id name="_Toc21761"/}}Ethernet instruction** =
247
248 == **{{id name="_Toc23288"/}}{{id name="_Toc6733"/}}{{id name="_Toc31937"/}}{{id name="_Toc3966"/}}SOCOPEN/Create a socket link** ==
249
250 Create socket link specified by (s), and update the data information of this socket link to (d1) and the status information to (d2).
251
252 -[SOCOPEN (s) (d1) (d2)]
253
254 **Content, range and data type**
255
256 (% class="table-bordered" %)
257 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
258 |(s)|Socket ID|0 to 5|Signed BIN 16 bit|ANY16
259 |(d1)|The start device that stores the data information of socket links|-|Signed BIN 16 bit|ANY_ELEMENTARY
260 |(d2)|The start device that stores the status information of socket links|-|Bit|ANY_BOOL
261
262 **Device used**
263
264 (% class="table-bordered" %)
265 |(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="12" %)**Devices**|**Offset modification**|(((
266 **Pulse**
267
268 **extension**
269 )))
270 |**Y**|**M**|**S**|**SM**|**D.b**|**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
271 |(% rowspan="3" %)SOCOPEN|Parameter 1| | | | | | | | | | |●|●| |
272 |Parameter 2| | | | | |●|●|●|●|●| | | |
273 |Parameter 3|●|●|●|●|●| | | | | | | | |
274
275 **Features**
276
277 ✎Create the socket link specified in (s) and update the link information in (d1) and (d2).
278
279 ✎When the instruction is turned on, the devices specified in (d1) and (d2) will be used in other Ethernet instructions using the same socket ID. (SOCSEND, SOCRECV, SOCCLOSE, SOCMTCP)
280
281 ✎(d1) Specifies the following information (a total of 14 word devices):
282
283 (% class="table-bordered" %)
284 |**Device**|**Function**
285 |(d1)|Local port number
286 |(d1+1)|The 1st segment of the destination IP
287 |(d1+2)|The 2nd segment of the destination IP
288 |(d1+3)|The 3rd segment of the destination IP
289 |(d1+4)|The 4th segment of the destination IP
290 |(d1+5)|Destination port number
291 |(d1+6)|Receive timeout period(10ms)
292 |(d1+7)|Actual receiving length (byte)
293 |(d1+8)|Current link error code
294 |(d1+9)|Numbers of communication errors high bit
295 |(d1+10)|Numbers of communication errors low bit
296 |(d1+11)|Reserved
297 |(d1+12)|Reserved
298 |(d1+13)|Reserved
299
300 ✎(d2) Specifies the following information (a total of 14 bit devices):
301
302 (% class="table-bordered" %)
303 |**Device**|**ON status**|**OFF status**
304 |(d2)|Connecting|The connection is not turned on
305 |(d2+1)|Connection completed|Connecting or not connected
306 |(d2+2)|Sending data(used by SOCSEND instruction)|Data is not sent or data sending is complete
307 |(d2+3)|Data sending completed(used by SOCSEND instruction)|The instruction is not started or being sent.
308 |(d2+4)|Receiving data(used by SOCRECV instruction)|No data or receiving is completed
309 |(d2+5)|Data receiving completed(used by SOCRECV instruction)|The instruction is not started or received
310 |(d2+6)|Connection is closing|The instruction is not started or is receiving
311 |(d2+7)|Connection close completed|The instruction is not started or close is complete
312 |(d2+8)|Communication completed(used by SOCMTCP instruction)|In communication
313 |(d2+9)|Connection error|No error in connection
314 |(d2+10)|Reserved|Reserved
315 |(d2+11)|Reserved|Reserved
316 |(d2+12)|Reserved|Reserved
317 |(d2+13)|Reserved|Reserved
318
319 **Features**
320
321 **Local port number:**
322
323 Establish a TCP client: PLC automatically allocates the local communication port, ranging from 49152 to 65535. The port number is automatically incremented by 1 each time it is turned on.
324
325 Establish a TCP server: specified by Ethernet socket configuration of the host computer.
326
327 Establish a UDP connection: specified by Ethernet socket configuration of the host computer.
328
329 **Destination IP:**
330
331 Establish a TCP client: The destination address is specified by Ethernet socket configuration of the host computer.
332
333 Establish a TCP server: After the remote client connection is successful, display the IP address of the remote connection.
334
335 Establish a UDP connection: The destination address is specified by Ethernet socket configuration of the host computer.
336
337 **Destination port number:**
338
339 Establish a TCP client: The destination port number is specified by Ethernet socket configuration of the host computer.
340
341 Establish a TCP server: After the remote client connection is successful, display the port number of the remote connection.
342
343 Establish a UDP connection: The destination port number is specified by Ethernet socket configuration of the host computer.
344
345 **Receive timeout period(10ms): **specified by Ethernet socket configuration of the host computer.
346
347 **Actual receiving length: **This parameter is valid only when the SOCRECV instruction is used. It indicates the number of bytes received after the instruction is enabled.
348
349 **Current link error code:** Display the current error information. For details, Refer to Ethernet error code List.
350
351 **Numbers of communication errors:** total number of communication errors after successful connection (double word).
352
353 **Error codes**
354
355 (% class="table-bordered" %)
356 |**Error code**|**Content**
357 |4085H|The device specified in application instruction (d1) and (d2) exceeds the corresponding device range.
358 |5080H|The specified socket is already connected and cannot be opened again.
359 |5082H|The socket used by parameter 1 exceeds the range of 0 to 5.
360 |5083H|Failed to establish TCP server.
361 |5084H|Failed to create links.
362 |5086H|The specified (d) is not configured socket or the socket is not enabled.
363 |5089H|502 port could not be used on the TCP server because the 502 port is enabled by default.
364
365 == **{{id name="_Toc17901"/}}{{id name="_Toc26204"/}}{{id name="_Toc1326"/}}{{id name="_Toc2455"/}}SOCCLOSE/Close socket link** ==
366
367 Close socket link specified by (s).
368
369 -[SOCCLOSE (s)]
370
371 **Content, range and data type**
372
373 (% class="table-bordered" %)
374 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
375 |(s)|Socket ID|0 to 5|Signed BIN 16 bit|ANY16
376
377 **Device used**
378
379 (% class="table-bordered" %)
380 |(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="2" %)**Devices**|**Offset modification**|(((
381 **Pulse extension**
382 )))
383 |**K**|**H**|**[D]**|**XXP**
384 |SOCCLOSE|Parameter 1|●|●| |
385
386 **Features**
387
388 ✎Close the socket link specified in (s).
389
390 ✎When the TCP server is closed, the reset request will be sent to the remote client. At the moment, in bit device specified by SOCOPEN, the status of connection closure will be set. The socket is not actually released until the connection closure state is set and the next connection is opened
391
392 ✎If the socket specified by (s) is not connected to the remote end, it cannot be closed and the instruction error occurs.
393
394 **Error codes**
395
396 (% class="table-bordered" %)
397 |**Error code**|**Content**
398 |5081H|The socket specified by is not connected, and could not be closed
399 |5082H|The data specified in (s) exceeds the range of 0 to 5
400
401 == **SOCSEND/Ethernet free-form communication sending** ==
402
403 Send the data in (s2) to the socket link specified by (s1) at the length specified by (S3).
404
405 -[SOCSEND (s1) (s2) (s3)]
406
407 **Content, range and data type**
408
409 (% class="table-bordered" %)
410 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
411 |(s1)|Socket ID|0 to 5|Signed BIN 16 bit|ANY16
412 |(s2)|The start device that send the data|-|Signed BIN 16 bit|ANY_ELEMENTARY
413 |(s3)|Sent length|1 to 256|Bit|ANY16
414
415 **Device used**
416
417 (% class="table-bordered" %)
418 |(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="7" %)**Devices**|**Offset modification**|(((
419 **Pulse extension**
420 )))
421 |**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
422 |(% rowspan="3" %)SOCSEND|Parameter 1| | | | | |●|●| |
423 |Parameter 2|●|●|●|●|●| | | |
424 |Parameter 3|●|●|●|●|●|●|●| |
425
426 **Features**
427
428 ✎Send the data specified in (s2) from the socket connected to (s1), and the length is (s3).
429
430 ✎According to the devices specified by SOCOPEN, the information such as the sending status and the total sending length could be queried. For details, refer to the SOCOPEN instruction.
431
432 ✎It must be used with the SOCOPEN instruction, and data can only be sent after a full link has been established.
433
434 **Error codes**
435
436 (% class="table-bordered" %)
437 |**Error code**|**Content**
438 |4084H|The data in (s3) exceeds the specified range.
439 |5081H|The socket specified by is not connected, and could not be sent.
440 |5082H|The data specified in (s) exceeds the range of 0 to 5.
441
442 == **SOCRECV/Ethernet free-form communication reveiving** ==
443
444 Receive the data from the socket link in (s1) and store in the start device of (s2) at the length of (S3).
445
446 -[SOCRECV (s1) (S2) (S3)]
447
448 **Content, range and data type**
449
450 (% class="table-bordered" %)
451 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
452 |(s1)|Socket ID|0 to 5|Signed BIN 16 bit|ANY16
453 |(s2)|The start device that receive the data|-|Signed BIN 16 bit|ANY_ELEMENTARY
454 |(s3)|Receive length|1 to 256|Bit|ANY16
455
456 **Device used**
457
458 (% class="table-bordered" %)
459 |(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="7" %)**Devices**|(((
460 **Offset modification**
461 )))|(((
462 **Pulse extension**
463 )))
464 |**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
465 |(% rowspan="3" %)SOCRECV|Parameter 1| | | | | |●|●| |
466 |Parameter 2|●|●|●|●|●| | | |
467 |Parameter 3|●|●|●|●|●|●|●| |
468
469 **Features**
470
471 ✎Receive the data from the socket link in (s1) and store in the start device of (s2) at the length of (S3).
472
473 ✎According to the devices specified by SOCOPEN, the information such as the sending status and the total sending length could be queried. For details, refer to the SOCOPEN instruction.
474
475 ✎It must be used with the SOCOPEN instrcution, and data can only be sent after a full link has been established.
476
477 ✎**When used with SOCSEND, it could not be opened at the same time.**
478
479 **Error codes**
480
481 (% class="table-bordered" %)
482 |**Error code**|**Content**
483 |4084H|The data in (s3) exceeds the specified range.
484 |5081H|The socket specified by is not connected, and could not be sent.
485 |5082H|The data specified in (s) exceeds the range of 0 to 5.
486 |5087H|Receiving data timeout
487
488 == **{{id name="_Toc7826"/}}{{id name="_Toc20952"/}}{{id name="_Toc14034"/}}{{id name="_Toc18874"/}}SOCMTCP/Ethernet ModbusTCP communication** ==
489
490 Ethernet ModbusTCP client communication instruction
491
492 -[SOCMTCP (s1) (s2) (s3) (s4) (s5)]
493
494 **Content, range and data type**
495
496 (% class="table-bordered" %)
497 |**Parameter**|**Content**|**Range**|**Data type**|**Data type (label)**
498 |(s1)|Socket ID|0 to 5|Signed BIN 16 bit|ANY16
499 |(s2)|High byte is station number, low byte is function code|-|Signed BIN 16 bit|ANY_ELEMENTARY
500 |(s3)|The Modbus address that need communication|1 to 256|Unsigned BIN 16 bit|ANY16
501 |(s4)|Sent length or received length| |Signed BIN 16 bit|ANY16
502 |(s5)|Sent or received start device| |Signed BIN 16 bit|ANY_ELEMENTARY
503
504 **Device used**
505
506 (% class="table-bordered" %)
507 |(% rowspan="2" %)**Instruction**|(% rowspan="2" %)**Parameter**|(% colspan="7" %)**Devices**|**Offset modification**|(((
508 **Pulse extension**
509 )))
510 |**T**|**C**|**D**|**R**|**SD**|**K**|**H**|**[D]**|**XXP**
511 |(% rowspan="5" %)SOCMTCP|Parameter 1| | | | | |●|●| |
512 |Parameter 2|●|●|●|●|●|●|●| |
513 |Parameter 3|●|●|●|●|●|●|●| |
514 |Parameter 4|●|●|●|●|●|●|●| |
515 |Parameter 5|●|●|●|●|●| | | |
516
517 **Features**
518
519 ✎(s1) specify the socket link. The other parameters are compatible with RS instruction Modbus master protocol.
520
521 ✎(s2) high byte is station number. For ModbusTCP, the station number could be set at will.
522
741945989388 4.1 523 ✎(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]]
Leo Wei 1.1 524
525 ✎(s3) Modbus communication address, ModbusTCP server address that needs to be read or written.
526
527 ✎(s4): the length read or written by Modbus.
528
529 ✎(s5): the start device that Modbus receive read data or or store written data.
530
531 ✎It must be used with the SOCOPEN instruction, and data can only be sent after a full link has been established.
532
533 ✎This instruction can only be used when a TCP client socket link is established.
534
535 ✎The communication completion information and the number of received and transmitted could be viewed in the soft devices specified in the SOCOPEN instruction.
536
537 **Error codes**
538
539 (% class="table-bordered" %)
540 |**Error code**|**Content**
541 |5081H|The socket specified by is not connected, and could not communicate.
542 |5082H|The data specified in (s1) exceeds the range of 0 to 5.
543 |5086H|The socket specified by (s1) is not configured in the host computer or enabled.
544 |5088H|The SOCMTCP instruction only supports TCP client mode.
545
546 = **{{id name="_Toc8546"/}}{{id name="_Toc3486"/}}{{id name="_Toc14446"/}}{{id name="_Toc26257"/}}Ethernet applications** =
547
548 == **{{id name="_Toc2539"/}}{{id name="_Toc1989"/}}{{id name="_Toc30706"/}}Data exchange between two PLCs through ModbusTCP** ==
549
550 (% class="table-bordered" %)
551 |**Parameters**|PLC No.1|PLC No.2
552 |**Port number**|Free internal distribution|502
553 |**IP address**|192.168.8.10|192.168.8.8
554 |**Protocol type**|ModbusTCP client|ModbusTCP server
555
556 The socket configuration of PLC No.1
557
558 (% style="text-align:center" %)
559 [[image:14_html_202f1d4e5f1733c8.png||class="img-thumbnail"]]
560
561 Ladder diagram logic: Automatically connect socket 0 after power on 1s. Read the 0 address length 20 of PLC No.2 to D100 to D119 after the link is successful, and set the value of D100 to D119 to address 100 of PLC No.2 after the communication is successful. Close the link when communicate successfully again, and wait 1s to re-connect after closing successfully. Repeat the actions above.
562
563 The ladder diagram of PLC No.1
564
565 (% style="text-align:center" %)
566 [[image:14_html_4206400d31f134fa.png||class="img-thumbnail"]]
567
568 As a ModbusTCP server, PLC No. 2 does not need to write instructions. (Open two links by default, and could be modified in [PLC parameters]→[Ethernet settings]. A maximum of eight links are supported.)
569
570 == **{{id name="_Toc462"/}}{{id name="_Toc22212"/}}{{id name="_Toc11578"/}}{{id name="_Toc30403"/}}Data exchange between two PLCs through Free TCP** ==
571
572 (% class="table-bordered" %)
573 |**Parameters**|PLC No.1|PLC No.2
574 |**Port number**|Free internal distribution|520
575 |**IP address**|192.168.8.10|192.168.8.8
576 |**Protocol type**|Free TCP client|Free TCP server
577
578 The IP setting of PLC No.1
579
580 [Project manager]→[Parameter]→[PLC parameter]→[Ethernet settings]
581
582 (% style="text-align:center" %)
583 [[image:14_html_c4654ab7a5c4ee36.png||class="img-thumbnail"]]
584
585 The socket comfiguration of PLC No.1
586
587 [Project manager]→[Extended function]→[Ethernet],and right click to create.
588
589 (% style="text-align:center" %)
590 [[image:14_html_ec9300bfd59ac79f.png||class="img-thumbnail"]]
591
592 The ladder diagram of PLC No.1
593
594 Ladder diagram logic: Automatically connect socket one after power on. Send character string ”hello word” initiatively to PLC No.2 after connecting successfully.
595
596 After receiving "hello word" and verifying it correctly, PLC No.2 would reply “abcdefghijklmnopqrstuvwxyz”. If PLC No.1 receives the reply of PLC No.2, the link closed.
597
598 (% style="text-align:center" %)
599 [[image:14_html_3e51e79948c709b.png||class="img-thumbnail"]]
600
601 The socket configuration of PLC No.2
602
603 [Project manager]→[Parameter]→[PLC parameter]→[Ethernet settings]
604
605 (% style="text-align:center" %)
606 [[image:14_html_4d60262e7d7e6978.png||class="img-thumbnail"]]
607
608 The socket comfiguration of PLC No.2
609
610 [Project manager]→[Extended function]→[Ethernet],and right click to create.
611
612 (% style="text-align:center" %)
613 [[image:14_html_1e0fa43741d0ea96.png||class="img-thumbnail"]]
614
615 The ladder diagram of PLC No.2
616
617 (% style="text-align:center" %)
618 [[image:14_html_309dfbea85ed7f7c.png||class="img-thumbnail"]]
619
620 Ladder diagram logic: Automatically open the monitor server link of socket one after power on. The data sent by the client is continuously read after connecting successfully. After receiving "hello word", PLC No.2 would reply “abcdefghijklmnopqrstuvwxyz”.
621
622 == **{{id name="_Toc7658"/}}{{id name="_Toc3572"/}}{{id name="_Toc27678"/}}{{id name="_Toc13195"/}}Data exchange between two PLCs through Free UDP** ==
623
624 (% class="table-bordered" %)
625 |**Parameters**|PLC No.1|PLC No.2
626 |**Port number**|666|666
627 |**IP address**|192.168.8.10|192.168.8.8
741945989388 1.2 628 |**Protocol type**|Free UDP|Free UDP
Leo Wei 1.1 629
630 The IP setting of PLC No.1
631
632 (% style="text-align:center" %)
633 [[image:14_html_4d60262e7d7e6978.png||class="img-thumbnail"]]
634
635 The socket configuration of PLC No.1
636
637 (% style="text-align:center" %)
638 [[image:14_html_d26f36ecd7d82039.png||class="img-thumbnail"]]
639
640 The ladder diagram of PLC No.1
641
642 Ladder diagram logic: After setting the NIC state bit, establish UDP socket. After the link is established successful, send a data of 20 bytes that start from D100 to 192.168.8.10: 666. After the data is sent successfully, wait for the reply data of the other party. After the reply succeeds, continues the process, and so on
643
644 (% style="text-align:center" %)
645 [[image:14_html_dbd3907c288c9523.png||class="img-thumbnail"]]
646
647 The IP address configuration of PLC No.2
648
649 (% style="text-align:center" %)
650 [[image:14_html_4d60262e7d7e6978.png||class="img-thumbnail"]]
651
652 The socket configuration of PLC No.2
653
654 (% style="text-align:center" %)
655 [[image:14_html_5db18357d06716af.png||class="img-thumbnail"]]
656
657 The ladder diagram of PLC No.2
658
659 Ladder diagram logic: After setting the NIC state bit, establish UDP socket. After the link is established successful, send a data of 20 bytes that start from D300 to 192.168.8.10: 666. After the data is sent successfully, wait for the reply data of the other party, and so on.
660
661 (% style="text-align:center" %)
662 [[image:14_html_4a93f07f5fdbe522.png||class="img-thumbnail"]]
663
Joey 6.1 664 = **{{id name="_Toc4903"/}}{{id name="_Toc31730"/}}{{id name="_Toc608"/}}{{id name="_Toc9880"/}}List of special device related to Ethernet** =
Leo Wei 1.1 665
666 (% class="table-bordered" %)
667 |(% style="width:124px" %)**SM number**|(% style="width:396px" %)**Name**|**Content**|**R/W**|**Power down retentive**
668 |(% style="width:124px" %)SM2681|(% style="width:396px" %)Display current network information|(((
669 Refresh current IP gateway subnet mask after ON.
670
671 Turn OFF after the fresh is complete.
672 )))|R/W|×
673 |(% style="width:124px" %)SM2682|(% style="width:396px" %)Display current MAC information|(((
674 Refresh current MAC after ON.
675
676 Turn OFF after the fresh is complete.
677 )))|R/W|×
678 |(% style="width:124px" %)SM2683|(% style="width:396px" %)The modification flag of IP, subnet mask and gateway|(((
679 ON: Modifiable
680
681 OFF: Unmodifiable
682
683 (After setting to ON, modify when stop->run, and turn OFF automatically after the modification)
684 )))|R/W|√
685 |(% style="width:124px" %)SM2684|(% style="width:396px" %)The connecting status of NIC|(((
686 ON: The network is connected
687
688 OFF: The network is not connected. Please check whether the network cable is connected.
689 )))|R|√
690 |(% style="width:124px" %)SM2692|(% style="width:396px" %)MAC address modification flag|(((
691 ON: Modifiable
692
693 OFF: Unmodifiable
694
695 (After setting to ON, modify when stop->run, and automatically turn OFF after the modification)
696 )))|R/W|√
697 |(% style="width:124px" %)SM2700|(% style="width:396px" %)ModbusTCP keep-alive mechanism|(((
698 ON: open
699
700 OFF: close (default)
701 )))|R/W|√
702 |(% style="width:124px" %)SM2701|(% style="width:396px" %)ModbusTCP server force close|(((
703 ON: open
704
705 OFF: close (default)
706
707 (After enabling, automatically changes to OFF After it is successfully turned OFF)
708 )))|R/W|×
709 |(% style="width:124px" %)SM2710|(% style="width:396px" %)Ethernet error flag|(((
710 ON: Ethernet error. Please check SD2710 and SD2711
711
712 OFF: No Ethernet error.
713 )))|R|×
714 |(% style="width:124px" %)SM2740|(% style="width:396px" %)ModbusTCP server connection status 1|(((
715 ON: The client is connected
716
717 OFF: The client is not connected
718 )))|R|×
719 |(% style="width:124px" %)SM2760|(% style="width:396px" %)ModbusTCP server connection status 2|(((
720 ON: The client is connected
721
722 OFF: The client is not connected
723 )))|R|×
724 |(% style="width:124px" %)SM2780|(% style="width:396px" %)ModbusTCP server connection status 3|(((
725 ON: The client is connected
726
727 OFF: The client is not connected
728 )))|R|×
729 |(% style="width:124px" %)SM2800|(% style="width:396px" %)ModbusTCP server connection status 4|(((
730 ON: The client is connected
731
732 OFF: The client is not connected
733 )))|R|×
734 |(% style="width:124px" %)SM2820|(% style="width:396px" %)ModbusTCP server connection status 5|(((
735 ON: The client is connected
736
737 OFF: The client is not connected
738 )))|R|×
739 |(% style="width:124px" %)SM2840|(% style="width:396px" %)ModbusTCP server connection status 6|(((
740 ON: The client is connected
741
742 OFF: The client is not connected
743 )))|R|×
744 |(% style="width:124px" %)SM2860|(% style="width:396px" %)ModbusTCP server connection status 7|(((
745 ON: The client is connected
746
747 OFF: The client is not connected
748 )))|R|×
749 |(% style="width:124px" %)SM2880|(% style="width:396px" %)ModbusTCP server connection status 8|(((
750 ON: The client is connected
751
752 OFF: The client is not connected
753 )))|R|×
754
755 (% class="table-bordered" %)
756 |(% style="width:122px" %)**SD number**|(% style="width:388px" %)**Name**|**Content**|**R/W**|**Power down retentive**
757 |(% style="width:122px" %)SD2680|(% style="width:388px" %)The 1st byte of IP address|(% rowspan="4" %)Local IP address|R/W|√
758 |(% style="width:122px" %)SD2681|(% style="width:388px" %)The 2nd byte of IP address|R/W|√
759 |(% style="width:122px" %)SD2682|(% style="width:388px" %)The 3rd byte of IP address|R/W|√
760 |(% style="width:122px" %)SD2683|(% style="width:388px" %)The 4th byte of IP address|R/W|√
761 |(% style="width:122px" %)SD2684|(% style="width:388px" %)The 1st byte of subnet mask|(% rowspan="4" %)Local subnet mask|R/W|√
762 |(% style="width:122px" %)SD2685|(% style="width:388px" %)The 2nd byte of subnet mask|R/W|√
763 |(% style="width:122px" %)SD2686|(% style="width:388px" %)The 3rd byte of subnet mask|R/W|√
764 |(% style="width:122px" %)SD2687|(% style="width:388px" %)The 4th byte of subnet mask|R/W|√
765 |(% style="width:122px" %)SD2688|(% style="width:388px" %)The 1st byte of default gateway|(% rowspan="4" %)Local default gateway|R/W|√
766 |(% style="width:122px" %)SD2689|(% style="width:388px" %)The 2nd byte of default gateway|R/W|√
767 |(% style="width:122px" %)SD2690|(% style="width:388px" %)The 3rd byte of default gateway|R/W|√
768 |(% style="width:122px" %)SD2691|(% style="width:388px" %)The 4th byte of default gateway|R/W|√
769 |(% style="width:122px" %)SD2692|(% style="width:388px" %)The 1st byte of MAC|(% rowspan="6" %)Local MAC address|R/W|√
770 |(% style="width:122px" %)SD2693|(% style="width:388px" %)The 2nd byte of MAC|R/W|√
771 |(% style="width:122px" %)SD2694|(% style="width:388px" %)The 3rd byte of MAC|R/W|√
772 |(% style="width:122px" %)SD2695|(% style="width:388px" %)The 4th byte of MAC|R/W|√
773 |(% style="width:122px" %)SD2696|(% style="width:388px" %)The 5th byte of MAC|R/W|√
774 |(% style="width:122px" %)SD2697|(% style="width:388px" %)The 6th byte of MAC|R/W|√
775 |(% style="width:122px" %)SD2700|(% style="width:388px" %)Communication speed display|(((
776 0: 100Mbps/Half-duplex
777
778 1: 100Mbps/Full-duplex
779
780 2: 10Mbps/Half-duplex
781
782 3: 10Mbps/Full-duplex
783 )))|R|×
784 |(% style="width:122px" %)SD2702|(% style="width:388px" %)Maximum link number supported by ModbusTCP server|Maximum link number of simultaneous client links supported by local ModbusTCP server|R/W|×
785 |(% style="width:122px" %)SD2703|(% style="width:388px" %)The number of links of ModbusTCP|The number of links of local ModbusTCP|R|×
786 |(% style="width:122px" %)SD2710|(% style="width:388px" %)Error code|Ehternet error code|R|×
787 |(% style="width:122px" %)SD2711|(% style="width:388px" %)The socket ID of current error|(((
788 -1: default ModbusTCP server
789
790 0 to 5: Custom socket error
791 )))|R|×
792 |(% style="width:122px" %)SD2720|(% style="width:388px" %)Input low bit of number of ping request|(% rowspan="2" %)The number of external input ping command|R|×
793 |(% style="width:122px" %)SD2721|(% style="width:388px" %)Input high bit of number of ping request|R|×
794 |(% style="width:122px" %)SD2722|(% style="width:388px" %)Input low bit of number of ping response|(% rowspan="2" %)The number of replies after receiving external ping command|R|×
795 |(% style="width:122px" %)SD2723|(% style="width:388px" %)Input high bit of number of ping response|R|×
796 |(% style="width:122px" %)SD2724|(% style="width:388px" %)Input low bit of number of ping request|(% rowspan="2" %)The number of sending ping command|R|×
797 |(% style="width:122px" %)SD2725|(% style="width:388px" %)Input high bit of number of ping request|R|×
798 |(% style="width:122px" %)SD2726|(% style="width:388px" %)Input low bit of number of ping response|(% rowspan="2" %)The number of replies after receiving external ping command sent|R|×
799 |(% style="width:122px" %)SD2727|(% style="width:388px" %)Input high bit of number of ping response|R|×
800 |(% style="width:122px" %)SD2728|(% style="width:388px" %)The number of arp pack sent|Count of the number of arp packets sent|R|×
801 |(% style="width:122px" %)SD2729|(% style="width:388px" %)The number of arp pack received|The number of arp pack received|R|×
802 |(% style="width:122px" %)SD2730|(% style="width:388px" %)The number of IP pack sent|The number of IP pack sent|R|×
803 |(% style="width:122px" %)SD2731|(% style="width:388px" %)The number of IP pack received|The number of IP pack received|R|×
804 |(% style="width:122px" %)SD2732|(% style="width:388px" %)The number of TCP pack sent|The number of TCP pack sent|R|×
805 |(% style="width:122px" %)SD2733|(% style="width:388px" %)The number of TCP pack received|The number of TCP pack received|R|×
806 |(% style="width:122px" %)SD2734|(% style="width:388px" %)The number of UDP pack sent|The number of UDP pack sent|R|×
807 |(% style="width:122px" %)SD2735|(% style="width:388px" %)The number of UDP pack received|The number of UDP pack received|R|×
808 |(% style="width:122px" %)SD2740|(% style="width:388px" %)Connection one Local port number|(% rowspan="11" %)The first ModbusTCP client to connect the connection information and error information of this PLC.|R|×
809 |(% style="width:122px" %)SD2741|(% style="width:388px" %)Connection one The 1st byte of IP address|R|×
810 |(% style="width:122px" %)SD2742|(% style="width:388px" %)Connection one The 2nd byte of IP address|R|×
811 |(% style="width:122px" %)SD2743|(% style="width:388px" %)Connection one The 3rd byte of IP address|R|×
812 |(% style="width:122px" %)SD2744|(% style="width:388px" %)Connection one The 4th byte of IP address|R|×
813 |(% style="width:122px" %)SD2745|(% style="width:388px" %)Connection one Opposite end port number|R|×
814 |(% style="width:122px" %)SD2746|(% style="width:388px" %)Reserved|R|×
815 |(% style="width:122px" %)SD2747|(% style="width:388px" %)Reserved| |
816 |(% style="width:122px" %)SD2748|(% style="width:388px" %)Connection one Error code|R|×
817 |(% style="width:122px" %)SD2749|(% style="width:388px" %)Connection one Error communication times low word|R|×
818 |(% style="width:122px" %)SD2750|(% style="width:388px" %)Connection one Error communication times high word|R|×
819 |(% style="width:122px" %)SD2760|(% style="width:388px" %)Connection two Local port number|(% rowspan="11" %)The second ModbusTCP client to connect the connection information and error information of this PLC.|R|×
820 |(% style="width:122px" %)SD2761|(% style="width:388px" %)Connection two The 1st byte of IP address|R|×
821 |(% style="width:122px" %)SD2762|(% style="width:388px" %)Connection two The 2nd byte of IP address|R|×
822 |(% style="width:122px" %)SD2763|(% style="width:388px" %)Connection two The 3rd byte of IP address|R|×
823 |(% style="width:122px" %)SD2764|(% style="width:388px" %)Connection two The 4th byte of IP address|R|×
824 |(% style="width:122px" %)SD2765|(% style="width:388px" %)Connection two Opposite end port number|R|×
825 |(% style="width:122px" %)SD2766|(% style="width:388px" %)Reserved|R|×
826 |(% style="width:122px" %)SD2767|(% style="width:388px" %)Reserved| |
827 |(% style="width:122px" %)SD2768|(% style="width:388px" %)Connection two Error code|R|×
828 |(% style="width:122px" %)SD2769|(% style="width:388px" %)Connection two Error communication times low word|R|×
829 |(% style="width:122px" %)SD2770|(% style="width:388px" %)Connection two Error communication times high word|R|×
830 |(% style="width:122px" %)SD2780|(% style="width:388px" %)Connection three Local port number|(% rowspan="11" %)The third ModbusTCP client to connect the connection information and error information of this PLC.|R|×
831 |(% style="width:122px" %)SD2781|(% style="width:388px" %)Connection three The 1st byte of IP address|R|×
832 |(% style="width:122px" %)SD2782|(% style="width:388px" %)Connection three The 2nd byte of IP address|R|×
833 |(% style="width:122px" %)SD2783|(% style="width:388px" %)Connection three The 3rd byte of IP address|R|×
834 |(% style="width:122px" %)SD2784|(% style="width:388px" %)Connection three The 4th byte of IP address|R|×
835 |(% style="width:122px" %)SD2785|(% style="width:388px" %)Connection three Opposite end port number|R|×
836 |(% style="width:122px" %)SD2786|(% style="width:388px" %)Reserved|R|×
837 |(% style="width:122px" %)SD2787|(% style="width:388px" %)Reserved| |
838 |(% style="width:122px" %)SD2788|(% style="width:388px" %)Connection three Error code|R|×
839 |(% style="width:122px" %)SD2789|(% style="width:388px" %)Connection three Error communication times low word|R|×
840 |(% style="width:122px" %)SD2780|(% style="width:388px" %)Connection three Error communication times high word|R|×
841 |(% style="width:122px" %)SD2800|(% style="width:388px" %)Connection four Local port number|(% rowspan="11" %)The forth ModbusTCP client to connect the connection information and error information of this PLC.|R|×
842 |(% style="width:122px" %)SD2801|(% style="width:388px" %)Connection four The 1st byte of IP address|R|×
843 |(% style="width:122px" %)SD2802|(% style="width:388px" %)Connection four The 2nd byte of IP address|R|×
844 |(% style="width:122px" %)SD2803|(% style="width:388px" %)Connection four The 3rd byte of IP address|R|×
845 |(% style="width:122px" %)SD2804|(% style="width:388px" %)Connection four The 4th byte of IP address|R|×
846 |(% style="width:122px" %)SD2805|(% style="width:388px" %)Connection four Opposite end port number|R|×
847 |(% style="width:122px" %)SD2806|(% style="width:388px" %)Reserved|R|×
848 |(% style="width:122px" %)SD2807|(% style="width:388px" %)Reserved| |
849 |(% style="width:122px" %)SD2808|(% style="width:388px" %)Connection four Error code|R|×
850 |(% style="width:122px" %)SD2809|(% style="width:388px" %)Connection four Error communication times low word|R|×
851 |(% style="width:122px" %)SD2810|(% style="width:388px" %)Connection four Error communication times high word|R|×
852 |(% style="width:122px" %)SD2820|(% style="width:388px" %)Connection five Local port number|(% rowspan="11" %)The fifth ModbusTCP client to connect the connection information and error information of this PLC.|R|×
853 |(% style="width:122px" %)SD2821|(% style="width:388px" %)Connection five The 1st byte of IP address|R|×
854 |(% style="width:122px" %)SD2822|(% style="width:388px" %)Connection five The 2nd byte of IP address|R|×
855 |(% style="width:122px" %)SD2823|(% style="width:388px" %)Connection five The 3rd byte of IP address|R|×
856 |(% style="width:122px" %)SD2824|(% style="width:388px" %)Connection five The 4th byte of IP address|R|×
857 |(% style="width:122px" %)SD2825|(% style="width:388px" %)Connection five Opposite end port number|R|×
858 |(% style="width:122px" %)SD2826|(% style="width:388px" %)Reserved|R|×
859 |(% style="width:122px" %)SD2827|(% style="width:388px" %)Reserved| |
860 |(% style="width:122px" %)SD2828|(% style="width:388px" %)Connection five Error code|R|×
861 |(% style="width:122px" %)SD2829|(% style="width:388px" %)Connection five Error communication times low word|R|×
862 |(% style="width:122px" %)SD2830|(% style="width:388px" %)Connection five Error communication times high word|R|×
863 |(% style="width:122px" %)SD2840|(% style="width:388px" %)Connection six Local port number|(% rowspan="11" %)The sixth ModbusTCP client to connect the connection information and error information of this PLC.|R|×
864 |(% style="width:122px" %)SD2841|(% style="width:388px" %)Connection six The 1st byte of IP address|R|×
865 |(% style="width:122px" %)SD2842|(% style="width:388px" %)Connection six The 2nd byte of IP address|R|×
866 |(% style="width:122px" %)SD2843|(% style="width:388px" %)Connection six The 3rd byte of IP address|R|×
867 |(% style="width:122px" %)SD2844|(% style="width:388px" %)Connection six The 4th byte of IP address|R|×
868 |(% style="width:122px" %)SD2845|(% style="width:388px" %)Connection six Opposite end port number|R|×
869 |(% style="width:122px" %)SD2846|(% style="width:388px" %)Reserved|R|×
870 |(% style="width:122px" %)SD2847|(% style="width:388px" %)Reserved| |
871 |(% style="width:122px" %)SD2848|(% style="width:388px" %)Connection six Error code|R|×
872 |(% style="width:122px" %)SD2849|(% style="width:388px" %)Connection six Error communication times low word|R|×
873 |(% style="width:122px" %)SD2850|(% style="width:388px" %)Connection six Error communication times high word|R|×
874 |(% style="width:122px" %)SD2860|(% style="width:388px" %)Connection seven Local port number|(% rowspan="11" %)The seventh ModbusTCP client to connect the connection information and error information of this PLC.|R|×
875 |(% style="width:122px" %)SD2861|(% style="width:388px" %)Connection seven The 1st byte of IP address|R|×
876 |(% style="width:122px" %)SD2862|(% style="width:388px" %)Connection seven The 2nd byte of IP address|R|×
877 |(% style="width:122px" %)SD2863|(% style="width:388px" %)Connection seven The 3rd byte of IP address|R|×
878 |(% style="width:122px" %)SD2864|(% style="width:388px" %)Connection seven The 4th byte of IP address|R|×
879 |(% style="width:122px" %)SD2865|(% style="width:388px" %)Connection seven Opposite end port number|R|×
880 |(% style="width:122px" %)SD2866|(% style="width:388px" %)Reserved|R|×
881 |(% style="width:122px" %)SD2867|(% style="width:388px" %)Reserved| |
882 |(% style="width:122px" %)SD2868|(% style="width:388px" %)Connection seven Error code|R|×
883 |(% style="width:122px" %)SD2869|(% style="width:388px" %)Connection seven Error communication times low word|R|×
884 |(% style="width:122px" %)SD2870|(% style="width:388px" %)Connection seven Error communication times high word|R|×
885 |(% style="width:122px" %)SD2880|(% style="width:388px" %)Connection eight Local port number|(% rowspan="11" %)The eighth ModbusTCP client to connect the connection information and error information of this PLC.|R|×
886 |(% style="width:122px" %)SD2881|(% style="width:388px" %)Connection eight The 1st byte of IP address|R|×
887 |(% style="width:122px" %)SD2882|(% style="width:388px" %)Connection eight The 2nd byte of IP address|R|×
888 |(% style="width:122px" %)SD2883|(% style="width:388px" %)Connection eight The 3rd byte of IP address|R|×
889 |(% style="width:122px" %)SD2884|(% style="width:388px" %)Connection eight The 4th byte of IP address|R|×
890 |(% style="width:122px" %)SD2885|(% style="width:388px" %)Connection eight Opposite end port number|R|×
891 |(% style="width:122px" %)SD2866|(% style="width:388px" %)Reserved| |
892 |(% style="width:122px" %)SD2867|(% style="width:388px" %)Reserved|R|×
893 |(% style="width:122px" %)SD2888|(% style="width:388px" %)Connection eight Error code|R|×
894 |(% style="width:122px" %)SD2889|(% style="width:388px" %)Connection eight Error communication times low word|R|×
895 |(% style="width:122px" %)SD2890|(% style="width:388px" %)Connection eight Error communication times high word|R|×
896
897 = **{{id name="_Toc25788"/}}{{id name="_Toc14289"/}}{{id name="_Toc2936"/}}{{id name="_Toc31902"/}}Ethernet error codes table** =
898
899 == **{{id name="_Toc15175"/}}{{id name="_Toc13420"/}}{{id name="_Toc19210"/}}{{id name="_Toc13265"/}}Operational error** ==
900
901 (% class="table-bordered" %)
902 |(% style="width:101px" %)**Error code**|(% style="width:462px" %)**Description**|(% style="width:186px" %)**Action**|(% style="width:516px" %)**Processing scheme**|(% style="width:183px" %)**Test time**
903 |(% style="width:101px" %)3680|(% style="width:462px" %)Ethernet data reception error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check the environment for interference.|(% style="width:183px" %)When the instruction is executed
904 |(% style="width:101px" %)3681|(% style="width:462px" %)Ethernet data reception timeout|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
905 Check whether the network cable is loose.
906
907 Check whether the network opposite end is faulty and cannot send data.
908
909 Check whether the network opposite end is not responding in time and the data is too late.
910
911 For this reason, try increasing the receive timeout in the socket configuration.
912 )))|(% style="width:183px" %)When the instruction is executed
913 |(% style="width:101px" %)3684|(% style="width:462px" %)ModbusTCP station number configuration error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
914 Check the setting of slave station number.
915
916 Check whether there is a problem with the receiving and sending mechanism of the slave station.
917 )))|(% style="width:183px" %)When the instruction is executed
918 |(% style="width:101px" %)3685|(% style="width:462px" %)ModbusTCP send buffer overflow|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error|(% style="width:183px" %)When the instruction is executed
919 |(% style="width:101px" %)3686|(% style="width:462px" %)ModbusTCP function code error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the function code set is supported by the PLC.|(% style="width:183px" %)When the instruction is executed
920 |(% style="width:101px" %)3687|(% style="width:462px" %)ModbusTCP address error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
921 Check whether the slave station has the address.
922
923 (Please refer to Modbus abnormality 02)
924 )))|(% style="width:183px" %)When the instruction is executed
925 |(% style="width:101px" %)3688|(% style="width:462px" %)ModbusTCP length error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the communication length exceeds the range of Modbus.|(% style="width:183px" %)When the instruction is executed
926 |(% style="width:101px" %)3689|(% style="width:462px" %)ModbusTCP data error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
927 Check whether the parameter of instruction is incorrect.
928
929 Check whether the value set is supported by slave. (Please refer to Modbus abnormality 03)
930 )))|(% style="width:183px" %)When the instruction is executed
931 |(% style="width:101px" %)368A|(% style="width:462px" %)ModbusTCP slave station is busy|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
932 Slave returns message: Slave is busy.
933
934 (Please refer to Modbus abnormality 06)
935 )))|(% style="width:183px" %)When the instruction is executed
936 |(% style="width:101px" %)368B|(% style="width:462px" %)ModbusTCP slave station does not support function code|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the function code is supported by slave. (Please refer to Modbus abnormality 01)|(% style="width:183px" %)When the instruction is executed
937 |(% style="width:101px" %)368C|(% style="width:462px" %)ModbusTCP slave station fault|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
938 Slave returns message: Slave is faulty.
939
940 (Please refer to Modbus abnormality 04)
941 )))|(% style="width:183px" %)When the instruction is executed
942 |(% style="width:101px" %)368D|(% style="width:462px" %)ModbusTCP slave station confirmation|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
943 Slave returns message: Slave confirmation.
944
945 (Please refer to Modbus abnormality 05)
946 )))|(% style="width:183px" %)When the instruction is executed
947 |(% style="width:101px" %)368E|(% style="width:462px" %)ModbusTCP protocol currently does not support this instruction|(% style="width:186px" %)Continue to run|(% style="width:516px" %)RS instruction could not be used when set to slave protocol. Please change protocol or close the contact before the RS instruction.|(% style="width:183px" %)When the instruction is executed
948 |(% style="width:101px" %)368F|(% style="width:462px" %)Network port sending timeout|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
949 |(% style="width:101px" %)3690|(% style="width:462px" %)Receiving cache overflow|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the other device has been sending data.|(% style="width:183px" %)When the instruction is executed
950 |(% style="width:101px" %)36A0|(% style="width:462px" %)ModbusTCP unavailable gateway|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
951 Slave returns message: Unavailable gateway.
952
953 (Please refer to Modbus abnormality 0A)
954 )))|(% style="width:183px" %)When the instruction is executed
955 |(% style="width:101px" %)36A1|(% style="width:462px" %)ModbusTCP No response was received from the target device. Generally it means that the device is not on the network.|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
956 Slave returns message: The device is not on the network.
957
958 (Please refer to Modbus abnormality 0B)
959 )))|(% style="width:183px" %)When the instruction is executed
960 |(% style="width:101px" %)36C0|(% style="width:462px" %)ModbusTCP transaction identifier error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the network is congested and data cannot be received.|(% style="width:183px" %)When the instruction is executed
961 |(% style="width:101px" %)36C1|(% style="width:462px" %)ModbusTCP The server is full of available links|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether SD2702 and SD2703 have too many clients to link.|(% style="width:183px" %)When the instruction is executed
962 |(% style="width:101px" %)36C8|(% style="width:462px" %)The Ethernet protocol stack is running out of space|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
963 |(% style="width:101px" %)36C9|(% style="width:462px" %)The number of links exceeded the limit|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the total number of links exceeds the limit.|(% style="width:183px" %)When the instruction is executed
964 |(% style="width:101px" %)36CA|(% style="width:462px" %)The last sending is not complete|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Use the send completion flag to judge the current send is complete before sending the next one.|(% style="width:183px" %)When the instruction is executed
965 |(% style="width:101px" %)36CB|(% style="width:462px" %)TCP abnormal write|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Use flag bit device to judge whether the connection is normal. If not, not data is sent. For example, after the closing flag is set,no data is sent.|(% style="width:183px" %)When the instruction is executed
966 |(% style="width:101px" %)36CC|(% style="width:462px" %)TCP abnormal output|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
967 |(% style="width:101px" %)36CD|(% style="width:462px" %)The IP address has been used|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether a connection using the same address information exists.|(% style="width:183px" %)When the instruction is executed
968 |(% style="width:101px" %)36CE|(% style="width:462px" %)The server receiving link error|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
969 |(% style="width:101px" %)36CF|(% style="width:462px" %)TCP receiving buffer overflow|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
970 |(% style="width:101px" %)36D0|(% style="width:462px" %)TCP connection failed|(% style="width:186px" %)Continue to run|(% style="width:516px" %)The TCP client may be enabled when the network cable is not connected.|(% style="width:183px" %)When the instruction is executed
971 |(% style="width:101px" %)36D1|(% style="width:462px" %)Abnormal when closing the link initiative|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
972 |(% style="width:101px" %)36D2|(% style="width:462px" %)An abnormal shutdown occurred inside the protocol stack|(% style="width:186px" %)Continue to run|(% style="width:516px" %)It may be closed because of no response for a long time. Check whether the opposite end is online, and whether it could be pinged.|(% style="width:183px" %)When the instruction is executed
973 |(% style="width:101px" %)36D3|(% style="width:462px" %)Initiate an RST link on the opposite end|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
974 1. Check whether the opposite end initiates an abnormal shutdown.
975 1. As a client, the number of links on the opposite end is full or the port on the opposite end is notopened.
976 )))|(% style="width:183px" %)When the instruction is executed
977 |(% style="width:101px" %)36D4|(% style="width:462px" %)A single-ended shutdown of the protocol stack occurs|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
978 |(% style="width:101px" %)36D5|(% style="width:462px" %)There is an IP address conflict|(% style="width:186px" %)Continue to run|(% style="width:516px" %)There are the same IP devices in the LAN, please change the IP address.|(% style="width:183px" %)When the instruction is executed
979 |(% style="width:101px" %)36D6|(% style="width:462px" %)There is an MAC address conflict|(% style="width:186px" %)Continue to run|(% style="width:516px" %)There are the same MAC devices in the LAN, please change the MAC address.|(% style="width:183px" %)When the instruction is executed
980 |(% style="width:101px" %)36D7|(% style="width:462px" %)TCP sending buffer overflow|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
981 |(% style="width:101px" %)36D8|(% style="width:462px" %)UDP abnormal connection|(% style="width:186px" %)Continue to run|(% style="width:516px" %)IP address and port number may have been used.|(% style="width:183px" %)When the instruction is executed
982 |(% style="width:101px" %)36D9|(% style="width:462px" %)UDP sending buffer overflow|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
983 |(% style="width:101px" %)36DA|(% style="width:462px" %)UDP insufficient memory space when sending|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
984 |(% style="width:101px" %)36DB|(% style="width:462px" %)UDP failed to send|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
985 |(% style="width:101px" %)36DC|(% style="width:462px" %)UDP memory release failure|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Contact the technician for the error.|(% style="width:183px" %)When the instruction is executed
986 |(% style="width:101px" %)36DD|(% style="width:462px" %)UDP receiving buffer overflow|(% style="width:186px" %)Continue to run|(% style="width:516px" %)The data length that UDP received exceeds the limit value 512.|(% style="width:183px" %)When the instruction is executed
987 |(% style="width:101px" %)4084|(% style="width:462px" %)The data input in the application instruction exceeds the specified range.|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Modify application instruction parameter.|(% style="width:183px" %)When the application instruction is executed
988 |(% style="width:101px" %)4085|(% style="width:462px" %)The output result in the read application instruction exceeds the device range.|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Modify application instruction parameter.|(% style="width:183px" %)When the application instruction is executed
989 |(% style="width:101px" %)4086|(% style="width:462px" %)The output result in the read application instruction exceeds the device range.|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Modify application instruction parameter.|(% style="width:183px" %)When the application instruction is executed
990 |(% style="width:101px" %)5080|(% style="width:462px" %)The Ethernet socket is already linked and could not be opened again|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the SOCOPEN instruction is executed repeatedly.|(% style="width:183px" %)When the application instruction is executed
991 |(% style="width:101px" %)5081|(% style="width:462px" %)The Ethernet socket is not opened and could not be operated|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the connected bit of SOCOPEN instruction (d2) parameter is set.|(% style="width:183px" %)When the application instruction is executed
992 |(% style="width:101px" %)5082|(% style="width:462px" %)The socket ID that Ethernet instruction inputs exceeds the range|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Modify application instruction parameter.|(% style="width:183px" %)When the application instruction is executed
993 |(% style="width:101px" %)5083|(% style="width:462px" %)Failed to create TCP server|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the link is full.|(% style="width:183px" %)When the application instruction is executed
994 |(% style="width:101px" %)5084|(% style="width:462px" %)Failed to create links|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the link is full.|(% style="width:183px" %)When the application instruction is executed
995 |(% style="width:101px" %)5086|(% style="width:462px" %)The socket ID used by Ethernet instruction is not configured in the host computer or is not enabled after configuration|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check the Ethernet configuration of the host computer.|(% style="width:183px" %)When the application instruction is executed
996 |(% style="width:101px" %)5087|(% style="width:462px" %)SOCRECV instruction reception timeout|(% style="width:186px" %)Continue to run|(% style="width:516px" %)(((
997 1. Check whether the network connection is normal.
998 1. Check whether the network opposite end has data sent.
999 )))|(% style="width:183px" %)When the application instruction is executed
1000 |(% style="width:101px" %)5088|(% style="width:462px" %)The socket specified by SOCMTCP instruction uses the configuration mode of non-TCP client|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check the Ethernet configuration of the host computer.|(% style="width:183px" %)When the application instruction is executed
1001 |(% style="width:101px" %)5089|(% style="width:462px" %)When Ethernet socket configures a TCP server, specify the local port as 502|(% style="width:186px" %)Continue to run|(% style="width:516px" %)The port 502 is occupied by the system. Please modify the local port number.|(% style="width:183px" %)When the application instruction is executed
1002 |(% style="width:101px" %)508A|(% style="width:462px" %)The UDP port is set to 1092|(% style="width:186px" %)Continue to run|(% style="width:516px" %)The UDP port 1092 is occupied by the system and could not be used. Please modify the local port number.|(% style="width:183px" %)When the application instruction is executed
1003 |(% style="width:101px" %)5090|(% style="width:462px" %)Abnormal network cable connection|(% style="width:186px" %)Continue to run|(% style="width:516px" %)Check whether the network cable is connected|(% style="width:183px" %)When the application instruction is executed