Socket Status Read - Omron SYSMAC CJ1W-EIP21 Operation Manual

Sysmac cs and cj series ethernet/ip units 100base-tx 100base-tx/10base-t
Hide thumbs Also See for SYSMAC CJ1W-EIP21:
Table of Contents

Advertisement

FINS Commands Addressed to EtherNet/IP Units or Built-in EtherNet/IP Ports
Precautions
All the above values are set to 0 if Ethernet communications functions are stopped due to improper settings in
the system setup.
These values are cleared when the EtherNet/IP Unit or built-in EtherNet/IP port is started or reset. Values will
be counted only until the maximum values are reached.
Response Codes
Response code
0000
Normal end
1001
Command too large

SOCKET STATUS READ

Reads the network socket status of the EtherNet/IP Unit or built-in EtherNet/IP port.
Command Block
27 64
Command
code
Response Block
27 64
Command
Response
code
code
Parameters
Socket Status (Response)
Returns eight types of information in records of 32 bytes each. A maximum of 62 records can be returned. The
format of each record is shown below.
Protocol (4 bytes)
The protocol used for the socket is returned as a number.
00 00 00 06: TCP; 00 00 00 11: UDP
Receive Queue (4 bytes)
The number of bytes in the reception queue.
Send Queue (4 bytes)
The number of bytes in the send queue.
Local IP Address (4 bytes)
The local IP address allocated to the socket.
Local Port Number (4 bytes)
The local port number allocated to the socket.
Remote IP Address (4 bytes)
The remote IP address allocated to the socket.
Description
32 bytes
Socket status
Socket status
32 bytes
Appendix E
413

Advertisement

Table of Contents
loading

Table of Contents