Reading each object table, Reading each object table -9 – KEYENCE CB-EP100 User Manual

Page 125

Advertising
background image

5-5 Objects for use with the CB-EP100

5-9

5

Ap
pe
ndi

x

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

Reading class attributes and instance attributes
Example) Excerpt from Identity 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

Revision

Object Revision

R

UINT

0001H

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 a value into the
attribute.

(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

DINT

Signed 32-bit integer

-2

31

2

31

-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)

-

-

Advertising