beautypg.com

Ip address read, 3-29 ip address read, Response codes – Omron CS1W-ETN21 User Manual

Page 222: Command block response block parameters

background image

197

Command/Response Reference

Section 7-3

FINS Node Address

Node address set on the Ethernet Unit (hexadecimal).

IP Address

IP address set on the Ethernet Unit (hexadecimal).

Response Codes

7-3-29 IP ADDRESS READ

Reads the local IP address and subnet mask in the CPU Bus Unit System
Setup and the FINS node address. 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 160) and ADDRESS INFORMATION READ (page 196).

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 addresses, IP addresses, and subnet
masks being returned. The Ethernet Unit is always 0001 (1 decimal).

FINS Node Address (Response)

Node address set on the Ethernet Unit (hexadecimal).

IP Address (Response)

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.

FINS node

number

1

00

IP address

6 bytes

Response code

Description

0000

Normal

1001

Command too large

27 67

Command

code

Number of

addresses

Response

code

Command

code

FINS
node number

27 67

00

IP address

Subnet mask