3 dm area allocations, 3-1 overview of the allocated dm area words, 3-2 details of the allocated dm area words – Omron SYSMAC CJ1W-EIP21 User Manual

Page 109: Dm area allocations, Overview of the allocated dm area words, Details of the allocated dm area words, Ip address display/setting area (m+98 and m+99)

Advertising
background image

83

DM Area Allocations

Section 4-3

4-3

DM Area Allocations

4-3-1

Overview of the Allocated DM Area Words

The various kinds of data are stored in the offset positions shown in the fol-
lowing diagram, from the beginning word in the area for each Unit.

The beginning word m is calculated by the following equation:

Beginning word m = D30000 + (100 x unit number)

4-3-2

Details of the Allocated DM Area Words

IP Address Display/Setting Area (m+98 and m+99)

IP address: (1)(2).(3)(4).(5)(6).(7)(8) (Hex)

If the local IP address is set to a value other than 0.0.0.0 in the TCP/IP Config-
uration, this area (words m+98 and m+99) will act as an IP Address Display
Area and the local IP address set in the TCP/IP Configuration will be read and
stored here when the power is turned ON or the Unit restarted.

If the local IP address in the TCP/IP Configuration is set to 0.0.0.0, this value
is read by the EtherNet/IP Unit when the power is turned ON or the Unit
restarted and is used as the local IP address.

If the local IP address in these words and the TCP/IP Configuration are both
set to 0.0.0.0, the default IP address (192.168.250.Node_address) will be
used. For details on the IP address settings, refer to SECTION 5 Determining
IP Addresses
.

Note

(1) If an IP address other than 00.00.00.00 is set as the local IP address in

the TCP/IP Configuration, the IP Address Display/Setting Area words
(m+98 and m+99) will be overwritten with the TCP/IP Configuration’s IP

Offset

Bit

Data direction

m

m+97

m+98

m+99

15

08 07

00

(Not used)

IP Address Display/Setting Area

Ethernet Unit to CPU Unit or
CPU Unit to Ethernet Unit

15

14

13

12

11

10

9

8

7

6

5

4

3

2

1

0

m+98

(1)

(2)

(3)

(4)

m+99

(5)

(6)

(7)

(8)

(1)(2).(3)(4).(5)(6).(7)(8) (Hex)

Application

Setting device

Setting area

Remarks

Simple operation (i.e., The TCP/IP
Configuration is left at its default
settings. Only the IP address is
set.)

Programming Con-
sole (CX-Program-
mer can also be
used.)

Allocated words in
the DM Area

• The setting in the allocated DM Area

words is enabled only when the IP
address is set to 0.0.0.0 in the TCP/IP
Configuration.

• If the IP address is set to a value other

than 00.00.00.00 in the TCP/IP Con-
figuration, this value is stored in the
allocated words in the DM Area.

Operation with the desired IP
address set in the TCP/IP Configu-
ration.

CX-Programmer
(Unit Setup)

Setup TCP/IP Con-
figuration Dialog Box

The IP address set in the Setup TCP/IP
Configuration Dialog Box is stored in
the allocated DM Area words.

Advertising
This manual is related to the following products: