Device Variables For The Cj-Series Unit For Setup - Omron CJ1W-EIP21 Operation Manuals

For nj-series cpu unit. cj-series ethernet/ip units
Hide thumbs Also See for CJ1W-EIP21:
Table of Contents

Advertisement

3 Assigning Device Variables for CJ-series Units
3-2-4

Device Variables for the CJ-series Unit for Setup

IP Address Display/Setting Area (*_IPAdrCfg)
Use the following variable to check or set the IP address of the EtherNet/IP Unit.
Device variable name for CJ-
series Unit
*_IPAdrCfg
*_IPAdr1Cfg
*_IPAdr2Cfg
*_IPAdr3Cfg
*_IPAdr4Cfg
The IP address is stored as shown below.
Byte
15
First byte
First byte + 1
IP Address: (1).(2).(3).(4) (hex)
If the IP address is set to a value other than 0.0.0.0 in the TCP/IP Configuration, this area will act as
an IP Address Display Area and the IP address set in the TCP/IP Configuration will be read and
stored here when the power is turned ON or the Unit is restarted.
If the 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 is restarted and is used as the IP address.
If the 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 4 Determining IP Addresses.
Precautions for Correct Use
Precautions for Correct Use
• If the IP address is set to a value other than 0.0.0.0 in the TCP/IP Settings, that address is
written to this variable even if you set the variable to a different IP address.
• It is not possible to set the following IP addresses.
• IP addresses where all network number bits are 0 or 1.
• IP addresses where all host number bits are 0 or 1.
• IP addresses where all subnet number bits are 1.
• IP addresses that start with 127 (7F hexadecimal, e.g., 127.35.21.16).
3-16
Data
type
DWORD
RW
USINT
RW
USINT
RW
USINT
RW
USINT
RW
14
13
12
11
10
9
8
7
(1)
(3)
CJ-series EtherNet/IP Units Operation Manual for NJ-series CPU Unit (W495)
R/W
Meaning
IP Address Dis-
play/Setting Area
IP Address 1
IP Address 2
IP Address 3
IP Address 4
6
5
4
3
2
1
0
(2)
(4)
Description
Default: 00000000
Part (1) of the IP Address of the Eth-
erNet/IP Unit
Part (2) of the IP Address of the Eth-
erNet/IP Unit
Part (3) of the IP Address of the Eth-
erNet/IP Unit
Part (4) of the IP Address of the Eth-
erNet/IP Unit

Advertisement

Table of Contents
loading

Table of Contents