Gs 'C' '0' N M Set Counter Print Mode; Gs 'C' '1' Al Ah Bl Bh N R; Set Count Mode - Seiko RP-F10 Series Technical Reference

Table of Contents

Advertisement

GS 'C' '0' n m
Code
1DH 43H 30H n m
Definition Range
Default
n = 0, m = 0
Function Sets the print mode of consecutive counter.
n: Number of digits to print
When n = 0, only the actual number of digits of the counter value is printed.
At this time, the value of m does not affect the operation.
When n ≠ 0, the number of digits to print is set.
m: Print position of the consecutive counter within the set number of digits
Notes
When the number of digits of the counter value is larger than the number of digits set in n, the
lower n digits of the counter value are printed.
When n or m is out of the definition range, this command is ignored, and the setting value
does not change.
Related Commands GS 'C' '1', GS 'C' '2', GS 'c'

GS 'C' '1' aL aH bL bH n r

Code
1DH 43H 31H aL aH bL bH n r
Definition Range
Default
aL = 1, aH = 0, bL = 255, bH = 255, n = 1, r = 1
Function Sets the count mode of the consecutive counter.
n: Step magnitude during count-up or count-down
r:
Number of repetitions with the counter value fixed
Notes
When [aH × 256 + aL < bH × 256 + bL and n ≠ 0 and r ≠ 0], the count-up mode is set.
When [aH × 256 + aL > bH × 256 + bL and n ≠ 0 and r ≠ 0], the count-down mode is set.
When [aH × 256 + aL = bH × 256 + bL or n = 0 or r = 0], count stop is set.
・ When the count-up mode is set:
[aH × 256 + aL] is the minimum counter value, and [bH × 256 + bL] is the maximum
counter value. When the counter exceeds the maximum value, count-up from the
minimum value starts again.
・ When the count-down mode is set:
[aH × 256 + aL] is the maximum counter value, and [bH × 256 + bL] is the minimum
counter value. When the counter is smaller than the minimum value, count-down from
the maximum value starts again.
0 ≤ n ≤ 5
0 ≤ m ≤ 2, 48 ≤ m ≤ 50
m
Print
Position
0, 48
Aligned right Add space(s) to left side
1, 49
Aligned right Add '0' to left side
2, 50
Aligned left Add space(s) to right side
0 ≤ aL ≤ 255, 0 ≤ aH ≤ 255
0 ≤ bL ≤ 255, 0 ≤ bH ≤ 255
0 ≤ n ≤ 255
0 ≤ r ≤ 255
Processing for Counter Value
Lower Than Set Digits
6-83
Set Counter Print Mode

Set Count Mode

Advertisement

Table of Contents
loading

Table of Contents