Microcom 814M Programming Manual User Manual
Page 55

51
If setting count-up mode, the minimum value of the counter is [ aL + aH x 256],the maximum
number is [ bL + bH x 256].If counting up reaches a value exceeding the maximum, it is
resumed with the minimum value.
If setting count-down mode, the maximum value of the counter is [aL + aH x 256], the
minimum number is [ bL + bH x 256].If counting down reaches a value less than the minimum,
it is resumed with the maximum value.
When this command is executed, the internal counter that indicates the repetition number
specified by r is cleared.
[Default]
aL = 1, aH = 0, bL = 255, bH = 255, n =1, r = 1
[Reference]
GS C 0, GS C 2, GS C, GS c
GS C 2 nL nH
[Name] Select counter
[Format] ASCII GS
C 2 nL mH
Hex
1D
43 32 nL mH
Decimal 29
67 50 nL mH
[Range]
0 ≤ nL ≤ 255
0 ≤ nH ≤ 255
[ Description] Set the serial number counter value
nL and nH determine the value of the serial number set by [ nL + nH x 256].
[Notes] In count-up mode, if the counter value specified by this command goes out of the counter
operation range specified by GS C 1 or GS C;, it is forced to convert to the minimum value.
In count-down mode, if the counter value specified by this command goes out of the counter
operation range specified by GS C 1 or GS C;, it is forced to convert to the maximum value.
[Default]
nL = 1, nH = 0
[Reference] GS C 0, GS C 1, GS C ; GS c
GS C ; sa ; sb ; sn; sr; sc;
[Name]
Select count mode
[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 ≤ 255
These values are all character strings