5 objects for use with the cb-ep100, Ap pe ndi x – KEYENCE CB-EP100 User Manual

Page 135

Advertising
background image

5-5 Objects for use with the CB-EP100

5-19

TCP/IP Interface Object

5

Ap
pe
ndi

x

- EtherNet/IP Network Unit CB-EP100 User’s Manual (LJ-V7000 Edition) -

*1 If an invalid value is written, the general status 09H (Invalid Attribute Value) is

returned.

*2 When automatic allocation is selected, the start multicast address is calculated

from the expression "239.192.1.0+ ((IP address host section -1) & 03FFH) x 32).
(Example)

When the IP address is 192.168.0.10, the multicast address is as follows:
Start address

= 239.192.1.0 + (((192.168.0.10 - 1) & 03FFH) << 5)
= 239.192.1.0 + ((192.168.0.9 & 03FFH) << 5)
= 239.192.1.0 + (0.0.0.9 << 5)
= 239.192.1.0 + 0.0.1.32
= 239.192.2.32

05H

Interface
Configuration

TCP/IP network interface
setting

R/W

Structure

-

IP Address

Device IP address
(IP address)

UDINT

Setting value

*1

Network Mask

Device network mask
(Subnet mask)

UDINT

Setting value

*1

Gateway
Address

Default gateway address
(Gateway address)

UDINT

Setting value

*1

Name Server

Primary name server
(DNS server)

UDINT

Setting value

*1

Name Server 2

Secondary name server
(reserved)

UDINT

Setting value

*1

Domain Name

Default domain name
(reserved)

STRING

" "(character
string can be
set)

06H

Host Name

Host name

R/W

STRING

" "(character
string can be
set)

08H

TTL Value

Multicast TTL

R/W

USINT

1 (1 to 255)
setting value

*1

09H

Mcast Config

Multicast address setting

R/W

Structure

-

Alloc Control

Multicast address setting
function (multicast
allocation method)

USINT

0: Automatic
allocation
1:User-
designated
allocation

Reserved

Reserved

USINT

00H

Num Mcast

Number of multicast
addresses
(Number of multicast
addresses)

UINT

For automatic
allocation:
0020H
For user-
designated
allocation: 1 to
256

*1

Mcast Start
Addr

Start multicast address
(Allocation start multicast
address)

UDINT

For automatic
allocation:

*2

For user-
designated
allocation:
Setting value

*1

Attribute ID

Name

Description

Attribute

Data

Type

Parameter

Range

Advertising