SATO SG112 ex Programming Reference Manual page 383

Hide thumbs Also See for SG112 ex:
Table of Contents

Advertisement

[ESC+IC] Internal Buffer Data Comparison
Hexadecimal code
Initial value
Valid range and term of
command
[Function]
Compare the stored data in the internal buffer.
The data after this command will be analyzed when the comparison result is the same as the
parameter a (Match/Mismatch).
The data after this command until the Stop Code <Z> will be invalid when the comparison result is
not the same as the parameter a (Match/Mismatch).
[Format]
<IC>a,bb,cc
-
Parameter
a [Comparison result]
       0 : Match
       1 : Mismatch
b [Internal buffer number (original)]
       Valid range : 1 to 16
c [Internal buffer number (to be compared)]
       Valid range : 1 to 16
[Coding Example]
<A>
<IC>0,01,02
<V>100<H>400<L>0404<X22>,OK
<Q>1
<Z>
 
Comparison
Result: The below label will be printed when the data are the same.
ESC
<1B>
16
None
When the power is OFF
Valid range within items
Valid range between items
Internal buffer
No.
Item name
Number
of digits
01
DATA1
5
02
DATA2
5
03
DATA3
8
04
0
.
.
.
.
.
.
.
.
.
16
0
IC
<49>
<43>
16
16
The set parameter is not maintained.
The set parameter becomes invalid.
The set parameter becomes invalid.
Data contents
12345
12345
12345678
.
.
.
382
Parameter
a,bb,cc

Advertisement

Table of Contents
loading

Table of Contents