Kv -300 – KEYENCE Visual KV Series User Manual
Page 305
7.6 Display Interface Mode Programming
KV-300 Series Only
KV
-300
KV-10/80
Chapter 7 KV-L2 Serial Interface Module
1-281
1
7
■ Response format (When the command is executed normally, the response
includes the end code "00".)
Note 1: Data cannot be written to TM30 and TM31, which are read-only memory
addresses. Attempting to do so, causes a replacement data error and the end code
"15" is returned.
Note 2: The station no. is indicated in decimal; the end code, in hexadecimal.
Update current value of counter/timer/high-speed counter (WC)
This command updates the current values of the counters/timers/high-speed
counters starting from the specified counter/time no. within the specified range.
■ Command format
■ Response format (When the command is executed normally, the response
includes the end code "00".)
Note 1: The values of the counter/timer and high-speed counter CTH cannot be
updated with a same single command at once. Write the counter/timer and CTH
values individually.
Note 2: The station no. is indicated in decimal; the end code, in hexadecimal.
Forced update of status of counter/timer/high-speed counter comparator (WG)
This command forces updating of the ON/OFF status of the counters/timers/high-
speed counter comparators, starting with the specified counter/timer no. within the
specified range.
■ Command format
@
WH
FCS
❋
C
R
Station no.
nn
End code
nn
Header code
Terminator
@
WC
FCS
❋
C
R
Station no.
nn
Write start
counter/timer
no. nnnn
Data to write
nnnn
Data to write
nnnn
Header
code
00 to 15
(in decimal)
Terminator
Data written to
write start counter/
timer no. +1 (in
hexadecimal)
Data written to
write start
counter/timer
no. (in
hexadecimal)
0000 to
0249/0254
and 0255
(in decimal)
Station no.
nn
@
WC
FCS
❋
C
R
End code
nn
Header code
Terminator
Write start No.
Data to write
0001 to 0249
Counter/timer
0254
High-speed counter CTH0
0255
High-speed counter CTH1
Station no.
nn
@
WG
FCS
❋
C
R
Write start
counter/timer
no. nnnn
Data to write
nnnn
Data to write
nnnn
Header
code
00 to 15
(in decimal)
Terminator
Data written to
write start counter/
timer no. +1 (in
hexadecimal)
Data written to
write start
counter/timer no.
(in hexadecimal)
0000 to
0249/0250
and 0253
(in decimal)
KVHKA Chap 07_5to10.p65
08.3.11, 11:18 AM
281