2 i/o communication, Comm u nic a ti ng w it h th e sk-1 000 se ri es – KEYENCE DL-DN1 User Manual

Page 43

Advertising
background image

3-2 I/O Communication

3-17

3

Comm

u

nic
a

ti

ng

w

it

h th

e

SK-1

000 Se

ri

es

- DeviceNet Compatible Network Unit DL-DN1 User’s Manual (SK-1000) -

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

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

Advertising