Kv -300 – KEYENCE Visual KV Series User Manual
Page 300
7.6 Display Interface Mode Programming
KV-300 Series Only
KV
-300
KV-10/80
Chapter 7 KV-L2 Serial Interface Module
1-276
7
■ Setting command data
Set the command data with ASCII characters.
1. Station no.
Use two ASCII code characters to set the station no. For reference, station no.
"01" is converted to "30 31" in ASCII code values as follows.
Station no. (ASCII characters)
ASCII code conversion for FCS calculation
2. Header code
Use two ASCII characters (four characters for QQMR and QQIR) to set the
header code. For reference, the read relay command "RR" is converted to "52
52" in ASCII code values as follows.
Header code (ASCII characters)
ASCII code conversion for FCS calculation
KS
Set
KS
Device
KS
End code
No. to change
Bit to change
KR
Reset
KR
Device
KR
End code
No. to change
Bit to change
FK
Set/reset multiple channels
FK
Device
FK
End code
Nos. to change
Data to force-set/reset
CR
Read values of
CR
CR
End code
DM0008 to DM0015
Data of DM0008 to
DM0015
MM
Read model code
MM
MM
End code 13
TS
Test
TS
Any characters
TS
Any characters
(122 characters max.)
(122 characters
max.)
QQMR
Register combined commands
QQMR
Ch. no. of device
QQMR
End command
and monitor I/Os
Operand
QQIR
Read combined commands
QQIR
QQIR
End code
and monitor I/Os
Data read from
registered table
XZ
Abort
XZ
No response
**
Initial
**
(No station no. or FCS)
No response
IC
Command undefined error
No command
IC
Command execution
Header
End code
disabled
code
FCS
@
❋
C
R
Station no.
Header
code
Command/response
data
"40H" in ASCII code .
"ODH" in ASCII code value .
"2AH" in ASCII code value .
0 1
30H
31H
R R
52H
52H
KVHKA Chap 07_5to10.p65
08.3.11, 11:18 AM
276