Controller data read, 3-2 controller data read, Command block response block parameters – Omron CS1W-ETN21 User Manual
Page 185

160
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
Response Block
Parameters
Model, Version
(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
IP Address, Subnet Mask
(Response)
The Ethernet Unit’s IP address and subnet mask are returned as 4 bytes
each.
FINS UDP Port Number
(Response)
The Ethernet Unit’s UDP port number for FINS is returned as 2 bytes.
Mode Setting (Response)
The mode setting in the system setup is returned.
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
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
Version
IP address
15
14
13
12
11
10
9
8
7
6
5
4
3
2
1
0 Bit
Broadcast address setting
IP address conversion method
UDP port No. setting for FINS
0
System setup format
0
0
TCP port No. setting for FINS/TCP
Transmission speed setting
SNTP server specification method
SMTP server specification method
POP server specification method