51
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
6
6.
2
C
o
mm
uni
cat
ion Using UDP
(c) Sample program
*1
For changing the target device, run the program enclosed by a dotted line.
(It can be omitted when the communication target is not changed.)
For details, refer to the section of the SP.SOCCSET instruction. (
*2
For acquiring information of the target device connected on UDP, run the program enclosed by a dotted line.
(It can be omitted when the information acquisition is not meeded.)
<<Target changing>>
*
1
*
2
Setting target IP address
Setting target port No.
Changing setting of
Connection No.1
Setting send data length
Setting send data
Sending data to Connection No.1
Normal completion
Error completion
Normal completion
Error completion
Receiving data
Obtaining information of
target device
<<Data sending>>
<<Data receiving>>
Summary of Contents for MELSEC L Series
Page 1: ......
Page 2: ......
Page 19: ...17 CHAPTER 1 OVERVIEW 1 Memo ...
Page 116: ...114 Memo ...
Page 123: ......