beautypg.com

Commands in detail, Measured value output – KEYENCE LS-7600 User Manual

Page 170

background image

8-8

Chapter 8 RS-232C

8

Commands in Detail

The following section provides information on commands and responses that the LS-7600
Series returns when commands are correctly processed. For error responses, refer to
Outline of Command Formats on page 8-6.
Refer to Timing Chart on page 8-24 for response delays.

Measured Value Output

The LS-7600 Series can output a measured value.
The following types of measured value output are possible.
• Measured value output:

The measured value is output.

• Statistical processing result output: The response is output when the statistical

processing function is turned OFF. Statistically
processed data will be output with R/O com-
mands.

• Measured value re-output:

The previous measured value is output again.

Measured Value Output

LS

Output set number

0: OUT1+OUT2
1: Only OUT1
2: Only OUT2

Output type

0 : Measured value
1 : Measured value + Comparator result
2 : Statistically processed data

Output number

Comparator result: HH, HI, GO, LO, or LL
Added if the output value is 1. Omitted if the
output value is 0.

Command

Response (in case of measured value output)

M q

,

r

cr

M q

[

,

s

s

s

s

s

s

s

s

s

t

t

[

]

,

s

s

s

s

s

s

s

s

s

t

,
,

t

cr

[

] ]

Measured value
format
(See page 8-7)

Example: The following data will be output if the output set number is 0 and the output

value is 1.

M 0 ,

+ 0 1 .

3

4

5

0 ,

H I

,

+ 2 4 .

6

2

3

4

0 ,

L O

2

cr

OUT1 measured
value

OUT1 comparator
result

OUT2 measured value

OUT2 comparator result

The same format is used for group processing output.
The result of group processing is always output as OUT2.