beautypg.com

2 i/o communication, Comm un ica ti ng wit h th e ib ser ies – KEYENCE DL-DN1 User Manual

Page 45

background image

3-2 I/O Communication

3-17

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

3

Comm

un
ica
ti

ng wit

h th

e

IB

Ser

ies

Reading comparator values (P.V. values) from sensor amplifiers

Comparator values (P.V. values) are read by reading the IN areas which are assigned
the ID numbers of sensor amplifiers.

Device assignments:

"Comparator value (P.V. value)" (page 3-10)

This example illustrates how to read the comparator values from the sensor amplifiers
of ID 01, 02, and 03.
It assumes that the operating mode assigned to the devices are "3-output mode +
current value, no extended."
(1) When the comparator value of a sensor amplifier is updated, the new comparator

value is entered into the IN area via I/O communication.

(2) The property of the comparator value is entered. If the comparator value of a sen-

sor amplifier is "over," "under," or "invalid," the bit corresponding to the ID number
of that sensor amplifier flips to 1.

PLC

(2)

Comparator value property

Each bit of IN [n+4]

Comparator value of ID 01

1234

4567

6789

IN area [n+5 to 6]

Comparator value of ID 02

2345

5678

7890

IN area [n+7 to 8]

Comparator value of ID 03

3456

8901

IN area [n+9 to 10]

Sensor amplifier

Comparator value of ID 01

1234

4567

6789

Comparator value of ID 02

2345

5678

7890

Comparator value of ID 03

3456

8901

(1)