Commands in detail, Measured value output, Measured value output under timing control – KEYENCE LS-7000 User Manual
Page 150

7-8
Chapter 7 RS-232C
7
Commands in Detail
The following section provides information on commands and responses that the LS-7000
Series returns when commands are correctly processed. For error responses, refer to
Outline of Command Formats on page 7-6. Refer to Timing Chart on page 7-21 for re-
sponse delays.
■ Measured Value Output
The LS-7000 Series can output a measured value.
The following types of measured value output are possible.
• Measured value output:
The measured value is output.
• 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
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 7-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
● Measured Value Re-output
LS
Command
Response
M R cr
Previous output transmitted again
■ Measured Value Output under Timing Control
Measured value
(See page 7-7)
LS
Output number
0: OUT1+OUT2
1: Only OUT1
2: Only OUT2
Output type
0 : Measured value
1 : Measured value + Comparator result
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
L
q
,
r
cr
L
q
,
s
s
s
s
s
s
s
s
s
[
,
s
s
s
s
s
s
s
s
s
t
t
[
]
t
,
,
t
cr
[
] ]