Mitsubishi MELSEC L Series User Manual page 53

Cpu module, built-in ethernet function
Hide thumbs Also See for MELSEC L Series:
Table of Contents

Advertisement

(c) Sample program
<<Target changing>>
<<Data sending>>
<<Data receiving>>
*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.)
CHAPTER 6 SOCKET COMMUNICATION FUNCTION
1
*
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
2
*
Obtaining information of
target device
Receiving data
Normal completion
Error completion
Page 78, Section 6.4.7)
6
51

Advertisement

Table of Contents
loading

Table of Contents