[Default] | n1 + n2 x 256 = 1 |
[Reference] | GS CO, GS Cl, GS c, GS C; |
GSC; N1; N2; N3; N4; N5;
[Name]
[Format]
[Range]
[Description]
[Notes]
Select count mode (B)
<1D>H<43>H<3B>H<N1><3B>H<N2><3B>H<N3><3B>H
<N4><3B>H<N5><3B>H 0 £ N1 £ 65535
0 £ N2 £ 65535
0 £ N3 £ 255
0 £ N4 £ 255
0 £ N5 £ 65535
Select count mode of the serial number counter and specifies the starting value of the counter.
W i t h c o u n t i n g u p
•Counts up if N1<N2, N3 ¹ 0, and N4 ¹ 0.
•N1 means the minimum value of the counter, and N2 the maximum value.
W i t h c o u n t i n g d o w n
•Counts down if N1>N2, N3 # 0, and N4 ¹ 0.
•N1 means the maximum value of the counter, and N2 the minimum value.
To stop counting
•Stops counting when N1 = N2, N3 = 0, or N4 = 0.
•N3 indicates stepping amount while counting up or down.
•N4 indicates repetition number with the counter value fixed.
•N5 indicates the counter value.
•When this command is issued, the inner counter that counts the repetition number with counter value fixed will be cleared.
•N7 to N5 can be omitted. If omitted, those parameter values will be kept unchanged.
•N7 to N5 cannot contain characters except
•If incorrect syntax is used, the corresponding parameter setting will have no effect and the data after that will be processed as normal data.
W i t h c o u n t i n g u p
•If the counting up reaches a value exceeding the maximum, it will be resumed with the minimum.
4 9