Seiko TM-L60 Specifications Page 73

  • Download
  • Add to my manuals
  • Print
  • Page
    / 98
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 72
1-66 Command Descriptions Rev. A
GS C ; sa; sb; sn; sr; sc;
[Name] Select count mode (B)
[Format] ASCII GS C ; sa ; sb ; sn ; sr ; sc ;
Hex 1D 43 3B sa 3B sb 3B sn 3B sr 3B sc 3B
Decimal 29 67 59 sa 59 sb 59 sn 59 sr 59 sc 59
[Range] "0" sa "65535"
"0" sb "65535"
"0" sn "255"
"0" sr "255"
"0" sc "65535"
GS C ; sa ; sb ; sn ; sr ; sc ; selects a count mode for the serial number counter, and specifies the value
of the counter.
sa, sb, sn and sr are all displayed in ASCII characters using the codes for "0" to "9". sa and sb specify
the counter range. sn indicates the stepping amount for counting up or down. sr indicates the
repetition number with the counter value fixed. sc indicates the counter value. The default settings
are as follows: sa="1", sb="65535", sn="1", sr="1", and sc="1".
Count-up mode is specified when sa < sb and sn is not equal to 0 and sr is not equal to 0. When count-
up mode is specified, sa is the minimum counter value and sb is the maximum counter value. If
counting up reaches a value exceeding the maximum, it is resumed with the minimum value. If the
counter value set by sc is outside the counter operation range, the counter value is forced to convert to
the minimum value by executing the GS c command.
Count-down mode is specified when sa > sb and sn is not equal to 0 and sr is not equal to 0. When
count-down mode is specified, sa is the maximum counter value and sb is the minimum counter
value. If counting down reaches a value less than the minimum, it is resumed with the minimum
value. If the counter value set by sc is outside the counter operation range, the counter value is forced
to convert to the maximum value by executing the GS c command.
Counting stops when sa = sb or sn = 0 or sr =0.
Program Example Print Sample
PRINT #1, CHR$(&H1D);"C;300;1;1;2;100;"; 0100
PRINT #1, CHR$(&H1D);"C0";CHR$(4);CHR$(1); 0100
PRINT #1, CHR$(&H1D);"c";CHR$(&HA); 0099
PRINT #1, CHR$(&H1D);"c";CHR$(&HA); 0099
PRINT #1, CHR$(&H1D);"c";CHR$(&HA); 0098
PRINT #1, CHR$(&H1D);"c";CHR$(&HA);
PRINT #1, CHR$(&H1D);"c";CHR$(&HA);
Page view 72
1 2 ... 68 69 70 71 72 73 74 75 76 77 78 ... 97 98

Comments to this Manuals

No comments