Using dl object, Using dl object -46, 1) reading parameters from a sensor amplifier – KEYENCE DL-EP1 User Manual

Page 74

Advertising
background image

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

3-4 Message Communication

3-46

3

Commu

nic
ati

ng

wi

th t
he SK-1000

S

eries

The following describes how to perform message communication with a DL Object.

(1) Reading parameters from a sensor amplifier

(2) Writing parameters to a sensor amplifier

(3) Issuing operation commands to a sensor amplifier

(4) Locking sensor amplifier operations

(5) Reading the number of decimal places from a sensor amplifier

(1) Reading parameters from a sensor amplifier

Message communication reads each parameter from the DL-EP1 and the sensor

amplifier connected to the DL-EP1.

Service code 0EH is used.

The following settings are required to use this object.

• Service Code
• Class ID
• Instance ID
• Attribute ID

• Commands

• Responses (when successful)

• Responses (when unsuccessful)

For details on the attribute ID, settings, general status, and additional status of each

parameter, refer to

"DL Object (Class ID:67H)" (Page 3-32) and

"Attributes"

(Page 3-34).

Using DL Object

Item

Description

Data Example

Service Code

Designates "Parameter read (0EH)" (fixed value).

0EH

Class ID

Designates DL Object(67H) (fixed value).

67H

Instance ID

Designates the ID number.

0AH

Attribute ID

Designates the attribute ID to be read from "Attribute".

0324H(804)

Service Data

There is no service data.

-

Item

Description

Data Example

General status

A status (00H) is returned that indicates normal

completion of message communication.

00H

Service response data

The settings of the read parameter are returned.

0000H

Item

Description

Data Example

General status

A general status for the service is returned

16H

Additional status

An additional status is returned.

-

Service response data

There is no service response data.

-

Advertising