Anybus Module Objects
Command Details: Delete
Category
Extended
Details
Command Code
Valid for:
Description
This command deletes a previously created socket and closes the connection (if connected).
•
If the socket is of TCP-type and a connection is established, the connection is terminated with the RST-
flag.
•
To gracefully terminate a TCP-connection, it is recommended to use the 'Shutdown'-command (see be-
low) before deleting the socket, causing the connection to be closed with the FIN-flag instead.
•
Command Details
Field
Contents
CmdExt[0]
Instance number to delete (low)
CmdExt[1]
Instance number to delete (high)
•
Response Details
(no data)
Command Details: Bind
Category
Extended
Details
Command Code
Valid for:
Description
This command binds a socket to a local port.
•
Command Details
Field
Contents
CmdExt[0]
Requested port number (low)
CmdExt[1]
Requested port number (high)
•
Response Details
Field
Contents
CmdExt[0]
Bound port number (low)
CmdExt[1]
Bound port number (high)
®
Anybus
CompactCom
™
40 PROFINET IRT Network Guide
04h
Object Instance
10h
Instance
Comments
Instance number of socket that shall be deleted.
Comments
Set to 0 (zero) to request binding to any free port.
Comments
Actual port that the socket was bound to.
111 (258)
SCM-1202-023 EN 1.8
Need help?
Do you have a question about the CompactCom 40 and is the answer not in the manual?
Questions and answers