Setup serial commands, List of commands, Chapter 7 rs-232c – KEYENCE LS-7000 User Manual
Page 154
7-12
Chapter 7 RS-232C
7
Setup Serial Commands
The following section provides information on command formats that are used to make
setting changes.
List of Commands
Command
Head
(Page 7-13)
Area
(Page 7-13)
SEG edge number
(Page 7-13)
Area check
(Page 7-14)
Level
(Page 7-14)
Calculation
(Page 7-14)
Average
(Page 7-14)
RUN mode
(Page 7-15)
Self-timing
(Page 7-15)
Offset
(Page 7-15)
Analog Reference value
(Page 7-15)
Threshold
(Page 7-16)
Reference
value (Page 7-16)
Logic calibration
(Page 7-18)
STANDARD
LOWER
Threshold HH
(Page 7-17)
HI
LO
LL
Hold ON/OFF
(Page 7-18)
HOLD-H
HOLD-L
S D
,
C A
,
h
,
i
i
cr
j
cr
cr
S D
,
A V
,
h
,
j
cr
S D
,
M E
,
h
k
,
S D
,
T M
,
h
l
l
l
l
,
S D
,
O F
,
h
m
n
m m m m m m m cr
,
S D
,
U P
,
h
m m m m m m m m cr
,
S D
,
S D
,
h
m m m m m m m m cr
,
S D
,
L
W
,
h
m m m m m m m m cr
,
S D
,
H H
,
h
m m m m m m m m cr
,
S D
,
H I
,
h
m m m m m m m m cr
,
S D
,
L
O
,
h
m m m m m m m m cr
,
S D
,
L
L
,
h
m m m m m m m m cr
,
S D
,
E H
,
h
m m m m m m m m cr
,
S D
,
E L
,
h
m m m m m m m m cr
,
S D
,
C L
,
a
m m m m m m m m
m m m m m m m m
,
,
m m m m m m m m
m m m m m m m m cr
,
,
S D
,
J
O
,
h
w w cr
,
S D
,
A U
,
h
,
S D
,
A O
,
h
m m m m m m m m
,
m m m m m m m m cr
,
S D
,
H E
,
a
,
b
cr
S D
,
A R
,
a
,
c
cr
S D
,
S E
,
a
,
d
d
d
d
e
,
d
d
d
d
e
cr
S D
,
A T
,
a
,
f
f
f
cr
S D
,
L
E
,
a
,
g
g
cr
Response
S D
,
H E
,
a
cr
S D
,
A R
,
a
cr
S D
,
S E
,
a
cr
S D
,
A T
,
a
cr
S D
,
L
E
,
a
cr
S D
,
C A
,
h
cr
S D
,
A V
,
h
cr
S D
,
M E
,
h
cr
S D
,
T M
,
h
cr
S D
,
O F
,
h
cr
S D
,
A U
,
h
cr
S D
,
A O
,
h
cr
S D
,
U P
,
h
cr
S D
,
S D
,
h
cr
S D
,
L
W
,
h
cr
S D
,
H H
,
h
cr
S D
,
H I
,
h
cr
S D
,
L
O
,
h
cr
S D
,
L
L
,
h
cr
S D
,
J
O
,
h
cr
S D
,
E H
,
h
cr
S D
,
E L
,
h
cr
S D
,
C L
,
a
cr
Code
k
n
cr
a : Area setting number
b : Head number
c : Area
dddd : Edge number
e : Edge mode
fff : Number of edges
gg : Threshold
h : Output setting number
ii : Calculation
jj : Averaging number
kk : Measuring mode
llll : Self-timing period
mmmmmmmm : Numeric value
nn : Analog scale
w : ON/OFF
Area setting
Output setting
T
oler
ance setting
Calibr
ation setting
UPPER
❈ 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. (See page 7-6)