KEYENCE DL-RS1A/IB User Manual

Page 17

Advertising
background image

15

Parameters of Commands and Responses

*7

If the the setting is changed between the 1st execution request and the 2nd execution request,
correction cannot be made.
When making correction, do not change other settings midway.
Also, the auto adjust function does not work between the 1st point execution request and the
2nd point execution request. Make sure to perform the 2nd point execution request next after
the 1st point execution request.

*8

When reading data from the amplifier unit whose "1. Measurement mode" is set to "Dimension
mode", the reading range is changed to ±**.*** (-99.999 to +99.999).

*9

This operates when "11. Bank switching method" is set to "Button".

*10 This operates as OFF only when data 0 is written and the external input for wiring is OFF.
*11 Specify the system parameter set when data number "006 (System parameter set request)" is

written. Convert the 2-digit number (ASCII characters) to a binary number and check the ON/
OFF state of each bit to specify the system parameter.

• When the specified data is "06":

"6" converted to binary number is "0110".

Therefore, the setting of the amplifier to which the data is written is "NPN output" and
"Analog output 1 to 5 V".

*12 When reading data from the amplifier unit whose "1. Measurement mode" is set to "Dimension

mode", the reading range is changed to **.***(00.000 to 99.999).

*13 When changing the measurement mode, the communication response time T4 becomes max. 1

second for 1 second after the setting is changed. Also, the same result is yielded when the
setting is changed using the button operation of the sensor amplifier.

*14 Writing onto expansion units results in a communication error (error number: 22).
*15 To reflect the setting written for the data number 146 to 149 to the sensor amplifier, write 1 (user

setting) for the data number 145 or set the external input setting to "User setting" with the button
operation on the sensor amplifier.

Bit

Default settings

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

Reference

Bit 3, 2, 1: 1 to 5 V

Bit 0: NPN output

Parameters of Commands and Responses

„ Relation between the data number 001 to 027 (data requesting the sensor

amplifier operation) and the data number 053 to 061 (data presenting the result

of request/execution)

When writing the data number 001 to 027 (data requesting the sensor amplifier operation), read the
data number 053 to 061 (data presenting the result of request/execution) and check that the request
is correctly reflected (1: Normal termination is read.) or the system parameter state presents the
setting value.
If the request is not correctly reflected and abnormal termination occurs, data other than 1: Normal
termination may be read by reading the data number 053 to 061. Thus, the request may not be
reflected to the sensor amplifier.
When 0

o 1 is written for the data number 001 to 027, the previous state of the data number 053 to

061 is cleared and the condition is updated.
The data number 053 to 061 keeps the result until 0

o 1 is written for the data number 001 to 027

next.

Data number
• The data number 054 (Zero shift execution result) keeps the result of writing which either

the data number 001 (Zero shift request) or data number 002 (Zero shift reset request)
performed last.

• The data number 059 (Adjust result) keeps the result of writing which either the data

number 011 (Adjust request) or data number 012 (Adjust reset request) performed last.

• The data number 060 (Tuning result) keeps the result of writing which any of the data

number 016 (2-point tuning HIGH side 2nd request), data number 018 (2-point tuning
LOW side 2nd request) or data number 014 (Tolerance tuning request) performed last.

The data number 053 (EEPROM writing result) keeps "0: Writing" approx. for 2 seconds after the
contents written onto the nonvolatile memory (EEPROM) using the writing commands (SW, AW) are
sent last.
If writing starts after 2 seconds and finishes normally, 1: Normal termination results.

If the writing commands (SW, AW) are continuously sent every second, 0: Writing results
always. After the last writing commands (SW, AW) are sent, 0: Writing is kept for 2 seconds,
writing is performed after 2 seconds and 1: Normal termination results.

However, when the initial reset is performed for the data number 005 (Initial reset request), writing
starts immediately. If the all parameters can be saved on the nonvolatile memory (EEPROM) after
approx. 3 seconds, 1: Normal termination results.
• When the Save zero-shift state function is ON, the data number 001 (Zero shift request) and 002

(Zero shift reset request) immediately start writing.

• When the Save adjust state function is ON, the data number 011 (Adjust request) and 012 (Adjust

reset request) immediately start writing.

• Regardless of the setting, 010 (Reference light registration request), 020 (Measured correction 2nd

request) and 027 (Logical correction 2nd request) immediately start writing.

Example

Example

Advertising