Rewriting a setting value of a sensor amplifier – KEYENCE DL-DN1 User Manual

Page 44

Advertising
background image

3-2 I/O Communication

3-16

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

3

Co
mm

u

ni

c

a

ting
w

ith t
he FD

-M

H

s

er

ie

s

(1) When the current value of a sensor amplifier is updated, the new value is entered

into the IN area via I/O communication.
If the current value is over range, under range, or invalid, the previous value is
retained without updating the current value. Use the value with the judgment value
property.

(2) The property of the current value is entered. If the current value of a sensor

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

Rewriting a Setting Value of a Sensor Amplifier

Available setting values: Instantaneous flow rate setting 1 (P1), instantaneous flow
rate setting 2 (P2), temperature upper limit setting, temperature lower limit setting,
and integrated flow quantity setting 1

Device assignments:

"Rewrite setting value" (page 3-12)

When rewriting any setting or parameter other than listed above, use the

procedure described in

"Reading/Writing Settings or Status of a Sensor

Amplifier" (page 3-20).

This example changes the setting value (instantaneous flow rate setting 1) of ID01.
It assumes that the operating mode assigned to the device is 3-output mode.
(1) Write the new setting value in the "setting-value rewrite data. "For details of

writable ranges, see

"Command Parameter List for FD-MH Series" (page 3-

24).

(2) Execute the "request to rewrite setting value" command (0 -> 1).
(3) After the setting value is rewritten, the "setting value rewrite complete" signal flips

from 0 to 1.

(4) If an error occurs during "setting value rewriting " on the sensor amplifier, the

"setting value rewrite error" signal flips from 0 to 1. (The output is an OR sum of
settings.) Check the value entered in the "setting-value rewrite data."

(5) When the "request to rewrite setting value" command is set to 0, the "setting value

rewrite complete" and "setting value rewrite error" parameters flip to 0.

Reference

PLC

(1)

Setting-value rewrite data

1234h

Out area [m+4 to 5]

(2) (5)

Request to rewrite setting value

Out area [m+3] BIT 0

(3)

Setting-value rewrite complete

IN area [n+8] BIT 0

(4)

Setting- value rewrite error

IN area [n+7] BIT 0

Sensor amplifier

Setting-value 1234h

1

0

1

0

1

0

Advertising