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

Page 42: 2 i/o communication

Advertising
background image

3-2 I/O Communication

3-14

- DeviceNet Compatible Network Unit DL-DN1 User’s Manual (FD-S) -

3

Co
mm

u

ni

c

a

ting
w

ith t
he FD

-S

s

er

ie

s

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-14)

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

"Reading current values (instantaneous flow rate) from sensor amplifiers" (page

3-15)

"Rewriting a Setting Value of a Sensor Amplifier" (page 3-16)

For the communication methods using explicit messaging, see

"Explicit

Messaging" (page 3-17).

Reading an output from a sensor amplifier

Available outputs: Output 1, Output 2, and Output 3

Device assignments:

"Output" (page 3-9)

This example reads output 1 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

communication.

Device

(DEC)

Name

Bit 7

Bit 6

···

Bit 1

Bit 0

Bit 15

Bit 14

···

Bit 9

Bit 8

n+11

Setting-value rewrite error

ID08

ID07

···

ID02

ID01

Reserved

ID15

···

ID10

ID09

n+12

Instantaneous fl ow rate setting

1 (P1) rewrite complete

ID08

ID07

···

ID02

ID01

Reserved

ID15

···

ID10

ID09

n+13

Instantaneous fl ow rate setting

2 (P2) rewrite complete

ID08

ID07

···

ID02

ID01

Reserved

ID15

···

ID10

ID09

n+14

Temperature upper limit setting

rewrite complete

ID08

ID07

···

ID02

ID01

Reserved

ID15

···

ID10

ID09

n+15

Temperature lower limit setting

rewrite complete

ID08

ID07

···

ID02

ID01

Reserved

ID15

···

ID10

ID09

n+16

Integrated fl ow quantity setting

1 rewrite complete

ID08

ID07

···

ID02

ID01

Reserved

ID15

···

ID10

ID09

Communication Methods

PLC

Output of sensor amplifier

IN area [n+1] BIT 0

Sensor amplifier

(1)

Output

Output of output 1 from ID 01

1

0

ON

OFF

Advertising