Reading the cb object table, Reading the cb object table -39 – KEYENCE CB-EP100 User Manual

Page 63

Advertising
background image

3-4 Message Communication

3-39

3

Communi

cat

in

g wit

h the

L

J

-V700

0 Ser

ies

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

Reading the attribute ID

Example) Excerpt from CB Object attribute ID

Data Type

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

Reading the CB Object Table

(1)

(2)

(3)

(4)

(5)

(6)

Service code

(hexadecimal)

Attribute ID

(hexadecimal)

Name

Description

Attribute

Data

Type

0EH

32DH

Measurement

value

OUT1

OUT1 measurement value (integer)

R

DINT

Item

Description

(1) Service code

Represents the Service code in hexadecimal notation.

(2) Attribute ID

Represents the attribute ID in hexadecimal notation.

(3) Name

Represents the attribute name.

(4) Description

Describes the attribute and represents the data to be read and the range of
parameters that can be set.

(5) Attribute

Represents the direction of services for the attribute ID.
R (Read): The parameter read service (Get_Attribute_Single,

Get_Attributes_All) can be used to read the attribute value.

W (Write): The parameter write service (Set_Attribute_Single) can be used

to write the attribute value.

(6) Data type

Represents the attribute data type.

Data Type

Description

Range

Minimum

Maximum

USINT

Unsigned 8-bit integer

0

255

INT

Signed 16-bit integer

-32768

32767

UINT

Unsigned 16-bit integer

0

65535

DINT

Signed 32-bit integer

-2147483648

2147483647

UDINT

Unsigned 32-bit integer

0

4294967295

WORD

Bit string: 16 bits

-

-

DWORD

Bit string: 32 bits

-

-

STRING

Character string

(2-byte length information +

1-byte array per character)

-

-

Advertising