Command/Response Reference

Section 7-3

7-3-2 CONTROLLER DATA READ

Reads the following data from the Ethernet model, version, IP address, sub- net mask, FINS UDP port number, mode settings, Ethernet address.

Command Block

0501

Command code

Response Block

05 01

Command Response

code code

20byte

Model

20 byte

4 byte

4 byte

 

 

6 byte

Version

IP address

Subnet

FINS UDP

Mode

Ethernet address

 

 

mask

port number

setting

 

Parameters

Model, Version (Response)

IP Address, Subnet Mask (Response)

FINS UDP Port Number (Response)

Mode Setting (Response)

The Ethernet Unit mode and version are returned as ASCII characters occu- pying 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-ETN21, CJ1W-ETN21

Version:

V1.20

The Ethernet Unit’s IP address and subnet mask are returned as 4 bytes each.

The Ethernet Unit’s UDP port number for FINS is returned as 2 bytes.

The mode setting in the system setup is returned.

15

14

13

12

 

11

10

9

8

7

6

5

4

 

3

2

1

0

Bit

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

0

0

 

 

 

 

 

 

 

 

 

 

 

0

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

System setup format

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Broadcast address setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP address conversion method

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

UDP port No. setting for FINS

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TCP port No. setting for FINS/TCP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Transmission speed setting

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SNTP server specification method

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SMTP server specification method

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

POP server specification method

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Broadcast Address Setting

0:Broadcast with host number set to all ones (4.3BSD specifications)

1:Broadcast with host number set to all zeroes (4.2BSD specifications)

IP Address Conversion Method Setting

00, 01: Automatic generation method

10:IP address table reference method

11:Combined method (IP address table reference + automatic generation)

FINS/UDP Port Number Setting

0:Default (9600)

1:Unit Setup value

160

Page 185
Image 185
Omron CS1W-ETN21 Controller Data Read, Parameters, Broadcast Address Setting, IP Address Conversion Method Setting