Omron CJ1W-EIP21 User Manual

Page of 464
392
FINS Commands Addressed to EtherNet/IP Units or Built-in EtherNet/IP Ports
Appendix E
Precautions
• No response will be returned if the command ends normally. A response will be returned only if an error
occurs.
• In some cases, send requests (SEND(192)/RECV(193) instructions) made from the PLC to the EtherNet/
IP Unit or built-in EtherNet/IP port just before execution of the RESET command may not be executed. 
• Applications that use TCP/IP, such as FINS/TCP communications services, are closed immediately before
resetting.
Response Codes
CONTROLLER DATA READ
Reads the following data from the EtherNet/IP Unit or built-in EtherNet/IP port: Model number, version, IP
address, subnet mask, FINS UDP port number, mode settings, Ethernet address.
Command Block
Response Block
Parameters
Model number, Version (Response)
The model number and version of the EtherNet/IP Unit or built-in EtherNet/IP port are returned as ASCII char-
acters occupying 20 bytes each (i.e., 20 characters each). If all bytes are not used, the remaining bytes will be
all spaces (ASCII 20 Hex).
Example Model: CS1W-EIP21, CJ1W-EIP21, CJ2B-EIP21, or CJ2M-EIP21
Example Version: V2.00
By convention, the model number of the built-in EtherNet/IP port on a CJ2H-CPU
@@
-EIP CPU Unit is CJ2B-
EIP21.
By convention, the model number of the built-in EtherNet/IP port on a CJ2M-CPU3
@
 CPU Unit is CJ2M-EIP21.
IP Address, Subnet Mask (Response)
The IP address and subnet mask of the EtherNet/IP Unit or built-in EtherNet/IP port are returned as 4 bytes
each.
FINS UDP Port Number (Response)
The UDP port number of the EtherNet/IP Unit or built-in EtherNet/IP port for FINS is returned as 2 bytes.
Response code
Description
1001
Command too large
05   01
Command code
05   01
20 byte
20 byte
4 byte
Subnet 
mask
4 byte
FINS UDP 
port number
Mode 
setting
6 byte
Ethernet address
Response 
code
Command 
code
Model number
Version
IP address