Citizen Systems CBM-253 User Manual
Page 101
CBM-253 User’s Manual
89
CITIZEN
GS C I n1 n2 n3 n4 n5 n6
[Name]
Setting of the numbering counting mode (A)
[Code]
<1D>H <43>H <31>H
[Defined ranges]
0
≤
n1
≤
255
0
≤
n2
≤
255
0
≤
n3
≤
255
0
≤
n4
≤
255
0
≤
n5
≤
255
0
≤
n6
≤
255
[Function]
Sets the numbering mode (consecutive numbering counter).
Initial value of the counter = n1 + n2 x 256 (n1 is the remainder and n2 is the quotient)
Final value of the counter = n3 + n4 x 256 (n3 is the remainder and n4 is the quotient)
When counting up:
•
When n1 + n2
×
256 < n3 + n4
×
256 and n5
≠
0 and n6
≠
0, counting up will be carried
out.
•
n1 + n2
×
256 will be the minimum value of the counter, and n3 + n4
×
256 will be the
maximum value of the counter.
When counting down:
•
When n1 + n2 x 256 > n3 + n4
×
256 and n5
≠
0 and n6
≠
0. counting down will be carried
out.
•
n1 + n2
×
256 will be the maximum value of the counter. and n3 + n4
×
256 will be the
minimum value of the counter.
To stop the counter:
•
When n1 + n2
×
256 = n3 + n4
×
256 or n5 = 0 or n6 = 0, the counting will stop.
•
n5 indicates the step amount during the counting up or counting down.
•
n6 indicates the number of repetitions while the counter remains fixed.