Reading the dl object table, Reading the dl object table -31 – KEYENCE DL-EP1 User Manual

Page 59

Advertising
background image

3-4 Message Communication

3-31

3

Commu

nic
ati

ng

wi

th t
he SK-1000

S

eries

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

Reading the attribute ID

Example) Excerpt from DL Object attribute ID

Data Type

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

Reading the DL Object Table

(1)

(2)

(3)

(4)

(5)

(6)

Instance

ID

Attribute

ID

Name

Description

Attribute

Data

Type

00H

74H

(116)

Output 1

Stores the HI output (output 1) status of

each sensor amplifier. When HI is output,

the bit corresponding to the ID number of

the sensor amplifier is set to ON.

Bit 0 to bit 3: ID number 1 to ID number 4

Bit 4 to bit 15: Reserved for system

R

WORD

Item

Description

(1) Instance ID

Represents the instance ID in hexadecimal notation.

(2) Attribute ID

Represents the attribute ID in hexadecimal (decimal) 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

INT

Signed 16-bit integer

-32768

32767

UINT

Unsigned 16-bit integer

0

65535

DINT

Signed 32-bit integer

-2147483648

2147483647

WORD

Bit string: 16 bits

-

-

DWORD

Bit string: 32 bits

-

-

STRING

Character string

(2-byte length information +

1-byte array per character)

-

-

Advertising