Measurement serial commands, List of commands, Measured value format – KEYENCE LS-7600 User Manual
Page 169: Format)

8-7
Chapter 8 RS-232C
8
Measurement Serial Commands
The following section provides information on serial commands used for measurement
control.
List of Commands
Command
Measured value output
(Page 8-8)
Measured value output
under timing control
(Page 8-9)
Timing ON
(Page 8-11)
Timing OFF
(Page 8-11)
Reset
(Page 8-11)
Auto zero ON
(Page 8-11)
Auto zero OFF
(Page 8-11)
Statistics ON
(Page 8-12)
Statistics OFF
(Page 8-12)
Program number
selection (Page 8-12)
Program number check
(Page 8-12)
Key lock ON/OFF
(Page 8-12)
Function output
(Page 8-13)
Response
Re-output
M q
,
M R cr
L
q
,
r
cr
H q
cr
U q
cr
Q q
cr
V q
cr
W q
cr
O q
cr
R q
cr
P W
,
v
cr
P R cr
P L
,
w cr
I
S
,
a
cr
H q
cr
U q
cr
Q q
cr
V q
cr
W q
cr
O q
cr
R q
cr
P W cr
P R
,
v
cr
P L
I
S
,
x
,
y
cr
r
cr
M q
[
,
s
s
s
s
s
s
s
s
s
t
t
[
]
,
s
s
s
s
s
s
s
s
s
L
q
,
s
s
s
s
s
s
s
s
s
[
,
s
s
s
s
s
s
s
s
s
t
,
,
t
cr
[
] ]
t
t
[
]
t
,
,
t
cr
[
] ]
Code
a: Area number
q: Output number
tt: Comparison result
r: Output contents
sssssssss: Measured value
v: Program number
w: ON/OFF Confirmation
x: FOCUS
y: Area check
,
w cr
❈
The above formats are examples with the Cr key used for delimiters.
If the KV-10/80 series is used (i.e., PLC is set as a D-MODE environment setting),
use the STX+ETX characters instead of Cr. (Page 8-6)
■
Measured Value Format (
s
s
s
s
s
s
s
s
s
Format)
.
Mark
Integer block
Decimal block
Fixed at + or -.
Fixed at a total of eight characters. The
position of the decimal point varies with
the unit and minimum display unit used.
The following table shows format examples.
Display value
Output format
1.23450
–123.450
–123.4
+ 0
1 .
2
3
4
0
5
–
–
0
0
1
1
2
2
3
3
.
.
4
4
0
0
5
0