78
2 CPU MODULE INSTRUCTION
2.4 Built-in Ethernet Function Instruction
2.4 Built-in Ethernet Function Instruction
Socket communication function instruction
â– Opening a connection
â– Closing a connection
â– Reading receive data during the END processing
â– Sending data
â– Reading connection information
â– Reading socket communication receive data
Instruction symbol Description Reference
SP.SOCOPEN This instruction opens the connection specified by (s1). Page 619
Instruction symbol Description Reference
SP.SOCCLOSE This instruction closes the connection specified by (s1). (Closing a connection) Page 622
Instruction symbol Description Reference
SP.SOCRCV This instruction reads the received data of the connection specified by (s1) from the socket
communication receive data area, during the END processing.
Page 624
Instruction symbol Description Reference
SP.SOCSND This instruction sends the data set in (s3) to the target device of the connection specified by (s1). Page 627
Instruction symbol Description Reference
SP.SOCCINF This instruction reads the connection information of the connection specified by (s1). Page 629
Instruction symbol Description Reference
S.SOCRDATA This instruction reads the data of the number of words specified in (n) from the socket
communication receive data area of the connection specified by (s1), and stores it to the device
specified by (d) onwards.
Page 631
SP.SOCRDATA