beautypg.com

KEYENCE DL-RS1A User Manual

Page 14

background image

12

Parameters of Commands and Responses

z

Read/write data

The following table lists the types of data that can be read from and written to SK-1000 Series sensor
amplifiers.

• A communication error (error No. 22) occurs if improper data was written to an expansion unit.
• A parameter error (error No. 22) occurs if writing is attempted during an initial reset

operation. After the completion of an initial reset, verify that the EEPROM writing result
(data No. 053) is "1: Normal termination" before executing a writing operation.

Data

number

Data name

Data

type

*1

Number of
characters

Attribute

*2

Readout range

*14

Initial

value

*14

001

Zero shift execution request

*

1

R

0-1: Last written value

1

W

0

→1: Perform zero shift

*3

002

Zero shift reset execution request

*

1

R

0-1: Last written value

1

W

0

→1: Perform zero shift reset

*3

003 Reset

request

*

1

R

0-1: Last written value

1

W

0

→1: Perform reset

*3

005

Initial reset request

*

1

R

0-1: Last written value

1

W

0

→1: Perform initial reset

*3

006

System parameter set request

*4

*

1

R

0-1: Last written value

1

W

0

→1: Perform system parameter set

*3

065

HI setting value (BANK 0)

±**.***

7

R/W

-99.999 to +99.999

1000

066

LO setting value (BANK 0)

7

R/W

-1.000

070

HI setting value (BANK 1)

7

R/W

1000

071

LO setting value (BANK 1)

7

R/W

-1.000

075

HI setting value (BANK 2)

7

R/W

1000

076

LO setting value (BANK 2)

7

R/W

-1.000

080

HI setting value (BANK 3)

7

R/W

1000

081

LO setting value (BANK 3)

7

R/W

-1.000

097

Key lock function

*

1

R/W

0: Not key locked state
1: Key locked state

0

098

Bank function

*5

*

1

R/W

0 to 3

0

099

Timing input

*6

*

1

R/W

0: Timing input OFF
1: Timing input ON

0

104

Sub display's screen

*

1

R/W

0: Temperature and humidity
1: Temperature
2: Humidity
3: HI setting value
4: LO setting value
5: R.V. value

0

105

System parameter settings

*7

**

2

R/W

Main unit: 0 to 9, Expansion unit: 0 to 1

0

130

?????

*

1

R/W

0: near
1: far
2: Ib

0

133

Averaging

**

2

R/W

0: 1 time
1: 2 times
2: 4 times
3: 8 times
4: 16 times
5: 64 times
6: 256 times
7: 1024 times
8: 4096 times
9: 16384 times

5

134

Output mode

*

1

R/W

0: N.O. (Normally open)
1: N.C. (Normally closed)

0

136

Hold function setting

*

1

R/W

0: Sample hold
1: Peak hold
2: Bottom hold
3: Absolute value hold
4: Auto peak hold
5: Auto bottom hold
6: Auto absolute value hold

0

138

Timing input setting

*

1

R/W

0: Level
1: Edge

0

141

Hysteresis

**.***

6

R/W

0 to 99.999

0.100

Point

Parameters of Commands and Responses

*1

In the Data format column, "±" indicates that the value can be either "+" or "-" and "*" signifies a
number from "0 to 9".

*2

Indicates that the data can only be read from (R), can only be written to (W), or can be both read
from and written to (R/W) the sensor amplifiers.

*3

The request is executed only when the data is changed from 0 to 1. To re-execute the request,
first change the setting to 0, then change it to 1. Otherwise, the request is not executed. If the
sensor amplifier is turned off after a zero shift operation, the system returns to the status which
existed prior to the zero shift. In order to maintain the shift condition even after a power off, the
"zero shift status save" function must be set to ON.

*4

The system parameter means the polarity of judgment output and the setting for analog output.

*5

Enabled when "Bank switching method" is set to "Button".

*6

Only when data 0 is written and the external input is OFF for wiring, it operates as OFF.

*7

Specify the system parameter set when data number 06 (System parameter set request) is
written. Convert the two digit number (ASCII characters) to a binary number and check the ON/
OFF state of each bit to specify the system parameter.

142

Analog output scaling

*8

*

1

R/W

0: Initial state
1: Free range

0

143

Analog output upper limit

*8

±**.***

7

R/W

-99.999 to 99.999

10.000

144

Analog output lower limit

*8

7

R/W

-10.000

145

External input

*9

*

1

R/W

0: Initial state
1: User setting

0

146

External input 1

*9

*

1

R/W

0: Zero shift input
1: Bank A input
2: Bank B input
3: Not used

0

147

External input 2

*9

*

1

R/W

0: Reset input
1: Bank A input
2: Bank B input
3: Not used

0

148

External input 3

*9

*

1

R/W

0: Timing input
1: Bank A input
2: Bank B input
3: Not used

0

149

External input 4

*9

*

1

R/W

0: Bank A input
1: Bank B input
2: Not used

0

150

Bank switching method

*

1

R/W

0: Button
1: External input

0

152

Zero shift value memory function

*

1

R/W

0: OFF
1: ON

0

154

Display columns

*

1

R/W

0: Initial settings
1: 0.001
2: 0.01
3: 0.1
4: 1

0

161

Distance correction method

*

1

R/W

0: Initial state
1: User setting

0

162

Near-side distance correction amount

***

3

R/W

5 to 50

25

163

Far-side distance correction amount

***

3

R/W

60 to 120

100

164

Area scaling

*.**

4

R/W

0.10 to 1.50

1.00

Bit

Initial setting details

0

0: NPN output, 1: PNP output

3, 2, 1

000: Analog output OFF
001: 0 to 5 V
010: -5 to +5 V
011: 1 to 5 V
100: 4 to 20 mA

Data

number

Data name

Data

type

*1

Number of
characters

Attribute

*2

Readout range

*14

Initial

value

*14