KEYENCE DL-RS1A/IG User Manual

Page 14

Advertising
background image

12

Parameters of Commands and Responses

*3

You can read data number "033" to check the error status of the sensor amplifiers.
Convert the five digit number (ASCII characters) read from the sensor amplifiers to a binary
number and check the ON/OFF state of each bit to check the error.

For information on each error, refer to "IG Series User's Manual".

• When the data read from a sensor amplifier is "00033":

"33" converted to binary number is "0000 0000 0010 0001".

Therefore, this data indicates that a "receiver error" and an "overcurrent error" have
occurred at the sensor amplifier from which it was read.

• If no error has occurred at the sensor amplifier, the data "00000" is returned.

*4

You can read data number "036" to check the judgment output status.
Convert the two digit number (ASCII characters) read from the sensor amplifiers to a binary
number and check the ON/OFF state of each bit to check the judgment output status.

• When the data read from a sensor amplifier is "12":

"12" converted to binary number is "1100".

Bit

Sensor amplifier errors

0

Overcurrent error

1

EEPROM error

2

Head error

3

Transmitter/Receiver reverse connection error

4

Receiver EEPROM error

5

Receiver error

6

Transmitter error

7

Transmitter laser error

8

Model mismatch error

9

Head error (Register the standard waveform)

10

Standard waveform registration error 1, 2, 3, 4

11

Communication error

12

Additional setting error

13

Calculation error

Bit

Judgment output

0

0: HIGH judgment output OFF, 1: HIGH judgment output ON

1

0: LOW judgment output OFF, 1: LOW judgment output ON

2

0: GO judgment output OFF, 1: GO judgment output ON

3

0: Edge check output OFF, 1: Edge check output ON

Reference

Bit 5: receiver error

Bit 0: Overcurrent error

Reference

Bit 3: Edge check output ON

Bit 0: HIGH judgment output OFF

Bit 2: GO judgment output ON

Bit 1: LOW judgment output OFF

Parameters of Commands and Responses

*5

When the data read from the sensor amplifiers is one of the following values, it is not a
comparator value but has a specific meaning.

*6

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

*7

When the sensor amplifier is in the error state, the analog voltage output is +5.500 and analog
current output is +03.00.

*8

If the number of edges is 100 or more, 99 is read.

*9

When writing is performed to set the prohibited combination of functions, the value becomes 1.
For details of each function, refer to the User's Manual.
(Example) When the measurement mode is set to "Pin interval judgment mode" or "Pin diameter

judgment mode", and the setting is changed to use the calculation function,

*10 The execution result for the item last requested, either the zero shift execution request or zero

shift reset execution request, is read.

*11 This item includes the results for the initial reset execution or system parameter set request.
*12 When the measurement mode is set to the "Pin interval judgment mode" or "Pin diameter

judgment mode", if the calibration is performed, the value becomes 4 (Abnormal termination of
Span value/Offset value).

*13 You can read data number "121" to check the system parameter of the sensor amplifier. The

system parameter means the polarity of judgment output and edge check output, and the
setting for analog output. Convert the two digit number (ASCII characters) read from the sensor
amplifiers to a binary number and check the ON/OFF state of each bit to check the system
parameter.

• When the data read from a sensor amplifier is "006":

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

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

*14 When the measurement mode is set to "Pin interval judgment mode", the pin interval is read.

When it is set to "Pin diameter judgment mode", the pin diameter is read.
The pin diameter (interval) 1 means the first pin diameter (interval) counting from the top side.
When the measurement mode is set to modes other than "Pin interval judgment mode" or "Pin
diameter judgment mode", if this data is read, a communication error (error number: 22) occurs.

Read data

Description

+EE.EEE

The sensor amplifiers is in the error status.

+99.999

The value exceeds the upper limit of the display range.

-99.999

The value is -99.998 or below the lower limit of the display range.

-99.998

The value is "-----".

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

Advertising