beautypg.com

2) writing parameters to a sensor amplifier – KEYENCE DL-EP1 User Manual

Page 77

background image

3-4 Message Communication

3-47

3

C

om
m

uni

ca

tin

g

w

ith

the

G

T2

S

er

ies

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

• 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-31) and

"Attributes"

(Page 3-33).

(2) Writing parameters to a sensor amplifier

Message communication writes parameters to the DL-EP1 and the sensor amplifier

connected to the DL-EP1.

Service code 10H is used.

The following settings are required to use this object.

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

• Commands

• Responses (when successful)

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.

-

Item

Description

Data Example

Service Code

Designates "Parameter write (10H)" (fixed value).

10H

Class ID

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

67H

Instance ID

Designates the ID number.

05H

Attribute ID

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

0347H(839)

Service Data

Writes the setting.

0064H

Item

Description

Data Example

General status

A status (00H) is returned that indicates normal

completion of message communication. (The written

parameters are reflected in the sensor amplifier at the

status (00H) return timing.)

00H

Service response data

There is no service response data.

-