KEYENCE DL-RS1A/IG User Manual

Page 17

Advertising
background image

15

Parameters of Commands and Responses

*4

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

*5

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

*6

If the sensor amplifier is in the key locked state, writing is not possible. Writing results in a
communication error (error number: 22).

*7

When reading data from the main unit on which the 2 heads mode is set for the calculation
function, the reading range is changed to -999.99 to +999.99. When the calculation function is
changed from modes other than the 2 heads mode to the 2 heads mode, these setting values
change ten-fold.

*8

-100 means the "Bottom" setting. +100 means the "Top" setting.

*9

When reading data from the main unit on which the 2 heads mode is set for the calculation
function, the reading range is changed to 000.00 to 099.99.

*10 Specify the system parameter set when data number 06 (Initial reset 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.

• 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".

*11 When the calculation function is changed from 3 (2 heads mode) to modes other than 3, or

changed from modes other than 3 to 3 (2 heads 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. When
the calculation function is changed, T6 becomes max. 100 ms. For T4 and T6, refer to
"Communication Response Time" (page 17).

*12 When the measurement mode is set to the "Pin interval judgment mode" or "Pin diameter

judgment mode", the data 0 and 10 to 13 cannot be written. If 0 is written, data 1 is written. If 10
to 13 is written, data 9 is written.
Do not perform writing to the expansion unit 1 when the calculation function is used. If the
average number of times of the main unit is changed using the calculation function, the average
number of times of the expansion unit 1 is automatically changed.

*13 To reflect the setting written for the data number 144 to 147 to the sensor amplifier, write 1 (user

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

*14 Writing is possible only for the main unit with the IG Series expansion unit additionally installed

next to the main unit. Writing onto other sensor amplifiers results in a communication error (error
number: 22).

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 013 (data requesting the sensor amplifier operation)

and the data number 051 to 056 (data presenting the result of request/execution)

When writing the data number 001 to 013 (data requesting the sensor amplifier operation), read the
data number 051 to 056 (data presenting the result of request/execution) and check that the request
is correctly reflected (1: Normal termination is read.). 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 051 to 056. Thus, the request may not be reflected to the sensor amplifier.

When 0 o 1 is written for the data number 001 to 013, the previous state of the data number 051 to
056 is cleared and the condition is updated. The data number 051 to 056 keeps the result until 0 o 1
is written for the data number 001 to 013 next.

(Example) Relation between the data number 003 (Standard waveform registration request) and the

data number 052 (Standard waveform registration request result)

When the target object is present within the measurement range and the optical axis
alignment indicator is off, if the standard waveform registration is performed, the results
are as follows.
(1) When the power is turned on, the default condition for the data number 003 becomes

1: Normal termination.

(2) If 0 is written for the data number 003, the data number 052 keeps 1: Normal

termination.

(3) If 1 is written for the data number 003, the data number 052 is changed to 0: Executing

request.

(4) Although the standard waveform registration was performed, the standard waveform

registration error 1 occurs due to the insufficient light-receiving amount. Then, the data
number 052 is changed to 2: Standard waveform registration error 1.

(5) The data number 052 keeps 2: Standard waveform registration error 1 until the

standard waveform registration is requested again or the power is turned on again.

• The data number 051 (Zero shift/zero shift reset execution result) keeps the result of

writing which either the data number 001 (Zero shift execution request) or data number

002 (Zero shift reset execution request) performed last.

• The data number 055 (Tolerance tuning/Two-point tuning execution result) keeps the result

of writing which any of the data number 007 (Tolerance calibration request), data number

009 (Two-point calibration, HIGH side 2nd point confirmation) or data number 011 (Two-

point calibration, LOW side 2nd point confirmation) performed last.

• The data number 054 (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.

(Example) 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, 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.

Point

Advertising