Publication 1766-RM001A-EN-P - October 2008
Socket Interface Using CIP Generic Messaging 497
• Reserved : Specify 0.
• DestAddr Data : Specify an array of characters (maximum of 64) to
define the destination of the connection. Specify either of these:
• Hostname?port=xxx
• IPAddr?port=xxx
For example, to specify an IP address, enter
"10.88.81.10?port=2813". To specify a host name, enter
"REMOTE_MOD?port=2823".
N file for receiving contains : 0 bytes
- NONE
AcceptConnection
The AcceptConnection service accepts a TCP connection request from a
remote destination. Before calling AcceptConnection, call CreateSocket
and specify the local port number that will accept the connection. When
AcceptConnection completes, it returns a socket instance that you use for
sending and receiving data on the newly-created connection.
The AcceptConnection service is not valid for UDP sockets.
Parameter Value
Service Type AcceptConnection
Service Code 50 (hexadecimal)
Class 342 (hexadecimal)
Instance 0. Use a relay ladder instruction to move the returned
instance number from a CreateSocket service into the
MGx:y.TFN element of a MSG instruction
Attribute 0
efesotomasyon.com - Allen Bradley,Rockwell,plc,servo,drive