- 146 -
GS C ; sa ; sb ; sn ; sr ; sc ;
[Function]
Setting count mode (B)
[Code]
<
1D
>
H
<
43
>
H
<
3B
>
H
<
sa
><
3B
>
H
<
sb
><
3B
>
H
<
sn
><
3B
>
H
<
sr
><
3B
>
H
<
sc
><
3B
>
H
[Range]
0
≦sa≦
655535
、
0
≦sb≦
65535
0
≦sn≦
255
、
0
≦sr≦
255
0
≦sc≦
65535
[Outline]
Sets the count mode and counter value of serial counter in character row.
• “sa”, “sb” specifies the counting range of serial counter.
• “sr” specifies the number of repetition with count value fixed.
• “sn” specifies the number of steps when serial counter is reset.
• “sc” specifies the counting value of serial counter.
Count Mode
Condition
Max.
Min.
Count up
sa
<
sb and sn
≠
0 and sr
≠
0
sa sb
Count down
sa
>
sb and sn
≠
0 and sr
≠
0
sb sa
Count stop
sa
=
sb or sn
=
0 or sr
=
0
-
-
[Default]
sa=
1
、sb=
65535
、sn=
1
、sr=
1
、sc=
1
GS c
[Function]
Print the counter
[Code]
<
1D
>
H
<
63
>
H
[Outline]
Stores the count value of serial counter to the print buffer as print data.
• Executes resetting of counter value after storage.