Omron CJ1W-ETN11 Network Card User Manual


 
249
Command/Response Reference Section 11-3
11-3-27 IP ADDRESS READ
Reads the local IP address and subnet mask in the CPU Bus Unit System
Setup and the FINS node number. The values read with this command, how-
ever, are not necessarily the settings actually used for operation. The settings
that are actually used for operation can be confirmed using CONTROLLER
DATA READ (page 218) and ADDRESS INFORMATION READ (page 248).
This command is supported for CJ-series Ethernet Units only.
Command Block
Response Block
Parameters
Number of Addresses (Response)
The number of sets of FINS node numbers, IP addresses, and subnet masks
being returned. The Ethernet Unit is always 0001 (1 decimal).
FINS Node Number (Response)
Node number set on the Ethernet Unit (hexadecimal).
IP Address
The local IP address set in the CPU Bus Unit System Setup for the Ethernet
Unit is returned in order starting from the leftmost bytes in hexadecimal. If the
local IP address set in the allocated words in the DM Area is enabled, 0.0.0.0
is returned.
Subnet Mask (Response)
The subnet mask set in the CPU Bus Unit System Setup for the Ethernet Unit
is returned in order starting from the leftmost bytes in hexadecimal.
Response Codes
6727
Command
code
6727
Command
code
Response
code
Number of
addresses
FINS
node
number
IP address
Subnet mask
00
Response code Description
0000 Normal
1001 Command too large