beautypg.com

Reading each object table, Reading each object table -18 – KEYENCE DL-EP1 User Manual

Page 110

background image

5-5 Objects Usable by DL-EP1

5-18

Identity Object

5

Ap
pe

ndi
x

- EtherNet/IP Compatible Network Unit DL-EP1 User’s Manual (IL) -

Reading class attributes and instance attributes

Example) Excerpt from DL Object class attributes

Data type

The data type is defined in the EtherNet/IP specifications as follows:

Reading Each Object Table

(1)

(2)

(3)

(4)

(5)

(6)

Attribute ID

Name

Description

Attribute

Data Type

Parameter Range

01H

Vendor ID

Indicates the vendor ID.

R

UINT

367

Item

Description

(1) Attribute ID

Indicates the attribute ID in hexadecimal notation.

(2) Name

Indicates the attribute name.

(3) Description

Describes the attribute.

(4) Attribute

Indicates the direction of services for the attribute ID.

R (read):

Get_Attribute_Single or Get_Attributes_All can be used to read

attribute values.

W (Write):

Set_Attribute_Single can be used to write an attribute value.

(5) Data type

Indicates the attribute data type.

(6) Parameter range

Indicates the data to be read from attributes or the range of parameters that

can be set.

Data Type

Description

Range

Minimum

Maximum

INT

Signed 16-bit integer

-32768

32767

UINT

Unsigned 16-bit integer

0

65535

USINT

Unsigned 8-bit integer

0

255

UDINT

Unsigned 32-bit integer

0

2

32

-1

WORD

Bit string: 16 bits

-

-

DWORD

Bit string: 32 bits

-

-

BYTE

Bit string: 8 bits

-

-

SHORT_STRING

Character string

(1-byte length information + 1-byte array per

character)

-

-

STRING

Character string

(2-byte length information + 1-byte array per

character)

-

-