beautypg.com

Communication methods, Communication methods -16 – KEYENCE DL-DN1 User Manual

Page 46

background image

3-2 I/O Communication

3-16

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

3

Co
mm

u

ni

c

a

ting
w

ith t
he G

T

2

s

er

ie

s

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

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

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

"Changing the Bank Number of Sensor Amplifiers" (page 3-19)

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

For the communication methods using explicit messaging, see

"Explicit

Messaging" (page 3-21).

The button operation of the sensor amplifier is locked for approximately 10
seconds after the end of each of the operations listed below. The screen
displays "COM-Lock" for 2 seconds while switching to the locked state or
when button operation is attempted during the locked state. The screen
displays "COM-Unlock" for 2 seconds while unlocking. However, the initial-
ization screen appears when an initialization reset is executed. The initial-
ization screen remains displayed if any of the following operations is
repeated.
• External input
• Changing a bank
• Rewriting a setting value(s)

Reading an output from a sensor amplifier

Available outputs: HIGH, LOW, GO, HH, and LL

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

communication.

When using HH output or LL output, set the "special output setting"
of the sensor amplifier to "5-output."

Communication Methods

Reference

PLC

Output of sensor amplifier

IN area [n+1]Bit0

Sensor amplifier

(1)

Output

HIGH output of ID 01

1

0

ON

OFF

Point