Communication methods, Communication methods -15, Reading an output from a sensor amplifier – KEYENCE DL-DN1 User Manual

Page 43: 2 i/o communication

Advertising
background image

3-2 I/O Communication

3-15

- DeviceNet Compatible Network Unit DL-DN1 User's Manual -

3

Comm

un
ica
ti

ng wit

h th

e

IB

Ser

ies

IN area

n: The first device number assigned to the DL-DN1
The device assignments are the same for all 5-output modes including extended
modes.

The following describes how the DeviceNet master unit communicates with the DL-
DN1 (slave unit) using I/O communication (polling).

"Reading an output from a sensor amplifier" (page 3-15)

"Entering an external input into a sensor amplifier" (page 3-16)

"Reading comparator values (P.V. values) from sensor amplifiers" (page 3-17)

"Changing the BANK number of sensor amplifiers" (page 3-18)

"Rewriting a setting value of a sensor amplifier" (page 3-19)

For the communication methods using explicit messaging, see

"Explicit

Messaging" (page 3-20).

Reading an output from a sensor amplifier

Available outputs: HIGH, LOW, GO, and check output

Device assignments:

"Output" (page 3-9)

This example reads the HIGH output from the sensor amplifier of ID01.
It assumes that the operating mode assigned to the device is 3-output mode.
(1) The output from the sensor amplifier is brought into the IN area by I/O communica-

tion.

Device

(DEC)

Name

Bit 7

Bit 6

...

Bit 1

Bit0

Bit 15

Bit 14

...

Bit 9

Bit 8

n㪂㪈㪈

Setting-value rewrite error

ID08

ID07

...

ID02

ID01

Reserved

ID15

...

ID10

ID09

n㪂㪈㪉

HIGH setting value (BANK 0)

rewrite complete

ID08

ID07

...

ID02

ID01

Reserved

ID15

...

ID10

ID09

n㪂㪈㪊

LOW setting value (BANK 0)

rewrite complete

ID08

ID07

...

ID02

ID01

Reserved

ID15

...

ID10

ID09

n㪂㪈㪋

Shift target value (BANK 0)

rewrite complete

ID08

ID07

...

ID02

ID01

Reserved

ID15

...

ID10

ID09

n㪂㪈㪌

HIGH setting value (BANK 1)

rewrite complete

ID08

ID07

...

ID02

ID01

Reserved

ID15

...

ID10

ID09

n㪂㪈㪍

LOW setting value (BANK 1)

rewrite complete

ID08

ID07

...

ID02

ID01

Reserved

ID15

...

ID10

ID09

Communication Methods

PLC

Output of sensor amplifier

IN area [n+1]Bit0

Sensor amplifier

(1)

Output

HIGH output of ID 01

1

0

ON

OFF

Advertising