(5) Program example
When M3000 is turned on, data (1234, 5678, and 8901) are sent to the target device using the socket
communication function.
• Devices used
Device number
SD1282
D3000
D300
M300
• Program
CHAPTER 7 SOCKET COMMUNICATION FUNCTION
Open completion signal
SP.SOCSND instruction control data
Send data length and send data storage location
SP.SOCSND instruction completion device
Application
Setting send data length
Setting send data
Sending data to
Connection No.1
Normal completion
Error completion
7
105