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

Page 51

Advertising
background image

3-3 Communication Methods

3-23

3

Comm

u

nic
a

ti

ng

w

it

h th

e

SK-1

000 Se

ri

es

- CC-Link Compatible Network Unit DL-CL1 User’s Manual (SK-1000) -

Available setting values: HI setting value (BANK 0, BANK 1), LO setting value
(BANK 0, BANK 1), and zero shift setting value (BANK 0)

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 settings other than listed above, use the procedure

described in

"Reading/Writing Settings or Status of a Sensor Amplifier"

(page 3-23).

This example rewrites the HI setting value of ID01.

(1) Write the new setting value in the "setting-value rewrite data. For details of writable ranges, see

"Command Parameter List" (page 3-26).

(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) When the "request to rewrite setting value" command is set to 0, the "setting value rewrite complete"

parameter flips to 0.

(5) If an error occurs while rewriting the setting value on a sensor amplifier of any ID number, the

"setting-value rewrite error" signal flips from 0 to 1 (the output is the logical disjunction (OR) for IDs
01 to 15). Check the value entered in the "setting-value rewrite data."

(6) To clear the setting-value rewrite error, set the "clear setting-value rewrite error" parameter to 1.

Available settings and status: See

"Common Command Parameter List" (page

3-26) and

"Setting/status command parameters" (page 3-29).

To read/write the settings or status of a sensor amplifier, create a program that
controls commands by handshaking between a remote input/output and remote
register.

Rewriting a Setting Value of a Sensor Amplifier

Point

Reference

PLC

Sensor amplifier

(1)

Setting-value rewrite data

1234h

RWw06

(2)

Request to rewrite setting value

RY70

1

(3)

Setting-value rewrite complete

RX70

(5)

Setting-value rewrite error

RX7F

(6)

Clear setting-value rewrite error

RY7F

Setting-value1234h

1

1

1

0

0

0

0

(4)

Reading/Writing Settings or Status of a Sensor Amplifier

Advertising