W i t h c o u n t - d o w n
•Counts down n1 + n2 x 256 > n3 + n4 x 256, n5 ¹ 0, and n6 ¹
0.
•n1 + n2 x 256 means the maximum counter value and n3 + n4 x 256 the minimum counter value.
T o s t o p c o u n t i n g
| • | Stops counting if n1 + n2 x 256 = n3 + n4 x 256, n5 = 0, or n6 = |
|
| 0 . |
| • | n5 indicates the stepping amount when counting up or down. |
| • n6 indicates repetition number with the counter value being | |
|
| fixed. |
[Notes] | • When this command is issued, the inner counter that indicates | |
|
| the repetition number specified by n6 will be cleared. |
| W i t h c o u n t - u p | |
| • If counting up reaches a value exceeding the maximum, it is | |
|
| resumed with the minimum value. |
| With | |
| • If counting down reaches a value less than the minimum, it is | |
|
| resumed with the maximum. |
[Default] | n1 + n2 x 256 = 1, n3 + n4 x 256 = 65535, n5 = 1, n6 = 1 | |
[Reference] | GS CO, GS C2, GS c, GS C; |
GS C2 n1 n2
[Name]
[Format]
[Range]
[Description]
[Notes]
Set counter <1D>H<43>H<32>H<n1><n2>
0 | ≤ | n1 ≤ 2 5 5 |
0 | ≤ | n2 ≤ 2 5 5 |
Sets the value of the serial number counter.
•n1 + n2 x 256 is the counter value.
•When this command is issued, the inner counter that counts repetition number with the counter value fixed will be cleared.
W i t h c o u n t i n g u p
•If the counter value set by this command goes out of the counter operation range set by GS Cl or GS C;, it will be forced to convert to the minimum value by GS c.
W i t h c o u n t i n g d o w n
•If the counter value set by this command goes out of the counter operation range set by GS Cl or GS C;, it will be forced to convert to the maximum value by GS c.
48