Mitsubishi Electric Q03UDVCPU User Manual page 101

Qnucpu series (communication via built-in ethernet port)
Hide thumbs Also See for Q03UDVCPU:
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 needed.)
CHAPTER 7 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 127, Section 7.4.7)
7
99

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents