Programming
24
TTPM3 Printer/Encoder–Technical Manual
0705
4.4 How the commands are described
!B 1
21 42 20 31
Hex
Dec
Encode Binary Data on Track 1
Mnemonic
Hex representation of command
Decimal representation of command
Purpose of command
4.4.1 Mnemonic
Mnemonic is the popular command name that should be easy to remember.
4.4.2 Hex
Give the command in hex representation
4.4.3 Decimal
Give the command in decimal representation
4.4.4 Values
n1, n2, etc. represents values that you set with the commands. What you should enter
here depends on what you want the command to do.
4.4.5 Examples
Command examples are formatted in
Courier
and typed in the same way as used in the
Swecoin TTP editor:
!P<CR><LF>
Where
<CR>
means the carriage return character 13 decimal (hex D). Numbers between
less-than and greater-than characters, for example
<001><019>
, means 1 and
19 decimal. When the numbers indicate a hex value, h is appended to the number
(
<01h><13h>
).
EXAMPLE:
<065>
,
<65d>
,
<41h>
and
A
are four different ways of expressing the character A.