5 Matsusada Precision Original Command
s
7
KAS/KAS-R series, -LRs/-LRs4 option
5-3
Command Response String
A response character string and the following delimiter are returned when a read command is transmitted.
RS-232C/RS-485
CR (0D
H
)
When a command requesting no response is transmitted, nothing is returned.
Reception example of "STS" command: "#1 CO LO"
5-4
Characters used for Commands
Do not use
characters (codes) in the grayed part in the ASCII code table.
Use LF (0A
H
) and CR (0D
H
) only as a delimiter.
It is case-insensitive in alphabets used in commands.
Use a space (20
H
) as a separator between "unit number", "command", and "parameter
” in a
command string.
Table: ASCII code
#
1
SP
C
O
SP
L
O
CR
23
H
31
H
20
H
43
H
4F
H
20
H
4C
H
4F
H
0D
H
0
H
1
H
2
H
3
H
4
H
5
H
6
H
7
H
0
H
NUL
DLE
SP
20
@
P
`
p
1
H
SOH
DC1
!
1
A
Q
a
q
2
H
STX
DC2
”
2
B
R
b
r
3
H
ETX
DC3
#
3
C
S
c
s
4
H
EOT
DC4
$
4
D
T
d
t
5
H
ENQ
NAK
%
5
E
U
e
u
6
H
ACK
SYN
&
6
F
V
f
v
7
H
BEL
ETB
‘
7
G
W
g
w
8
H
BS
CAN
(
8
H
X
h
x
9
H
HT
EM
)
9
I
Y
i
y
A
H
LF
SUB
*
:
J
Z
j
z
B
H
VT
ESC
+
;
K
[
k
{
C
H
FF
FS
,
<
L
¥
l
|
D
H
CR
GS
-
=
M
]
m
}
E
H
SO
RS
.
>
N
^
n
~
F
H
SI
US
/
?
O
_
o
Upper
Lower