Gs c2 n1 n2 – CITIZEN CBM-270 User Manual
Page 86

CBM-270 User’s Manual
CITIZEN
86
GS C2 n1 n2
[Function]
Setting the numbering counter
[Code]
<1D>H<43>H<3B>H
<1D>H<43>H<32>H
[Range]
0 £ n1 £ 255, 0 £ n2 £ 255
[Outline]
This command sets the numbering (serial number counter) value.
n1 + n2
´
256 (n1 = remainder, n2 = quotient) becomes a counter value.
[Caution]
If the counter is set with this command, a repeat count of the identical counter
will be cleared. If the counter value is beyond the Range specified with the "GS
C1" or "GS C;" command, the counter will be initialized.
[Default]
Not defined.
[See Also]
GS C0, GS C1, GS c, GS C ;
[Sample Program]
[Print Result]
See the sample program and print result for the GS C1 command on Page 82.
GS C; N1; N2; N3; N4; N5;
[Function]
Setting the numbering counter mode (B)
[Code]
<1D>H<43>H<3B>H
[Range]
0 £ N1, N2, N5 £ 65535 0 £ N3, N4 £ 255
[Outline]
This command sets the numbering (serial number counter) mode and a counter
value.
N1
: Counter default
N2
: Counter final value
N3
: Counter step value
N4
: Identical counter print count
N5
: Counter start value
N1 : Count-up system N1>N2 : Count-down system N1 = N2 or N3 = 0 : Counter stop or N4 = 0