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

Page 45

Advertising
background image

3-2 I/O Communication

3-19

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

Rewriting a setting value of a sensor amplifier

Available setting values: HI setting value (Bank0), Low setting value (Bank0)

Device assignments:

"Rewrite setting value" (page 3-13)

The setting value to be rewritten is the values listed above. In case of
rewriting the setting value of a BANK number other than the values

listed above, see

"Reading/Writing Settings or Status of a Sensor

Amplifier" (page 3-23).

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-23).

This example changes the HI setting value 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 SK-1000 series" (page 3-

28).

(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.

Point

Reference

PLC

(1)

Setting-value rewrite data

1234h

OUT area [m+4]

(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