7 Bit GSM default alphabet coding
The TwinCAT SMS server encodes and transmits the SMS messages in accordance with the 7-bit standard alphabet. The special, non-printing ASCII characters (0x00..0x31) are not, however, automatically converted into the corresponding 7-bit code. In order to transmit these characters, the SMS string must first be appropriately formatted in accordance with the table below.
Example:
An SMS with the following text is to be sent from the PLC:
'Total: 100.89€, SmsSrv@Beckhoff.com'
The PLC string must have the following format:
'Total: 100.89$1B$65, SmsSrv$80Beckhoff.com'
7 bit default GSM alphabet as specified by GSM 03.38. |
8 bit ANSI alphabet | |||
---|---|---|---|---|
Character |
Character name |
Hex |
Dec |
TwinCAT PLC string constant |
@ |
COMMERCIAL AT |
0x00 |
0 |
$80 or every other number >= 0x80H |
£ |
POUND SIGN |
0x01 |
1 |
$01 |
$ |
DOLLAR SIGN |
0x02 |
2 |
$02 |
¥ |
YEN SIGN |
0x03 |
3 |
$03 |
è |
LATIN SMALL LETTER E WITH GRAVE |
0x04 |
4 |
$04 |
é |
LATIN SMALL LETTER E WITH ACUTE |
0x05 |
5 |
$05 |
ù |
LATIN SMALL LETTER U WITH GRAVE |
0x06 |
6 |
$06 |
ì |
LATIN SMALL LETTER I WITH GRAVE |
0x07 |
7 |
$07 |
ò |
LATIN SMALL LETTER O WITH GRAVE |
0x08 |
8 |
$08 |
Ç |
LATIN CAPITAL LETTER C WITH CEDILLA |
0x09 |
9 |
$09 |
LINE FEED |
0x0A |
10 |
$0A or $N | |
Ø |
LATIN CAPITAL LETTER O WITH STROKE |
0x0B |
11 |
$0B |
ø |
LATIN SMALL LETTER O WITH STROKE |
0x0C |
12 |
$0C |
CARRIAGE RETURN |
0x0D |
13 |
$0D or $R | |
Å |
LATIN CAPITAL LETTER A WITH RING ABOVE |
0x0E |
14 |
$0E |
å |
LATIN SMALL LETTER A WITH RING ABOVE |
0x0F |
15 |
$0F |
? |
GREEK CAPITAL LETTER DELTA |
0x10 |
16 |
$10 |
_ |
LOW LINE |
0x11 |
17 |
$11 |
F |
GREEK CAPITAL LETTER PHI |
0x12 |
18 |
$12 |
G |
GREEK CAPITAL LETTER GAMMA |
0x13 |
19 |
$13 |
? |
GREEK CAPITAL LETTER LAMBDA |
0x14 |
20 |
$14 |
O |
GREEK CAPITAL LETTER OMEGA |
0x15 |
21 |
$15 |
? |
GREEK CAPITAL LETTER PI |
0x16 |
22 |
$16 |
? |
GREEK CAPITAL LETTER PSI |
0x17 |
23 |
$17 |
S |
GREEK CAPITAL LETTER SIGMA |
0x18 |
24 |
$18 |
T |
GREEK CAPITAL LETTER THETA |
0x19 |
25 |
$19 |
? |
GREEK CAPITAL LETTER XI |
0x1A |
26 |
$1A |
ESCAPE TO EXTENSION TABLE |
0x1B |
27 |
$1B | |
FORM FEED |
0x1B 0x0A |
27 10 |
$1B$0A | |
^ |
CIRCUMFLEX ACCENT |
0x1B 0x14 |
27 20 |
$1B$14 |
{ |
LEFT CURLY BRACKET |
0x1B 0x28 |
27 40 |
$1B$28 |
} |
RIGHT CURLY BRACKET |
0x1B 0x29 |
27 41 |
$1B$29 |
\ |
REVERSE SOLIDUS (BACKSLASH) |
0x1B 0x2F |
27 47 |
$1B$2F |
[ |
LEFT SQUARE BRACKET |
0x1B 0x3C |
27 60 |
$1B$3C |
~ |
TILDE |
0x1B 0x3D |
27 61 |
$1B$3D |
] |
RIGHT SQUARE BRACKET |
0x1B 0x3E |
27 62 |
$1B$3E |
| |
VERTICAL BAR |
0x1B 0x40 |
27 64 |
$1B$40 |
€ |
EURO SIGN |
0x1B 0x65 |
27 101 |
$1B$65 |
Æ |
LATIN CAPITAL LETTER AE |
0x1C |
28 |
$1C |
æ |
LATIN SMALL LETTER AE |
0x1D |
29 |
$1D |
ß |
LATIN SMALL LETTER SHARP S (German) |
0x1E |
30 |
$1E |
É |
LATIN CAPITAL LETTER E WITH ACUTE |
0x1F |
31 |
$1F |
SPACE |
0x20 |
32 |
$20 or ' ' | |
! |
EXCLAMATION MARK |
0x21 |
33 |
! |
" |
QUOTATION MARK |
0x22 |
34 |
" |
# |
NUMBER SIGN |
0x23 |
35 |
# |
¤ |
CURRENCY SIGN |
0x24 |
36 |
$24 or $$ |
% |
PERCENT SIGN |
0x25 |
37 |
% |
& |
AMPERSAND |
0x26 |
38 |
& |
' |
APOSTROPHE |
0x27 |
39 |
$27 or $' |
( |
LEFT PARENTHESIS |
0x28 |
40 |
( |
) |
RIGHT PARENTHESIS |
0x29 |
41 |
) |
* |
ASTERISK |
0x2A |
42 |
* |
+ |
PLUS SIGN |
0x2B |
43 |
+ |
, |
COMMA |
0x2C |
44 |
, |
- |
HYPHEN-MINUS |
0x2D |
45 |
- |
. |
FULL STOP |
0x2E |
46 |
. |
/ |
SOLIDUS (SLASH) |
0x2F |
47 |
/ |
0 |
DIGIT ZERO |
0x30 |
48 |
0 |
1 |
DIGIT ONE |
0x31 |
49 |
1 |
2 |
DIGIT TWO |
0x32 |
50 |
2 |
3 |
DIGIT THREE |
0x33 |
51 |
3 |
4 |
DIGIT FOUR |
0x34 |
52 |
4 |
5 |
DIGIT FIVE |
0x35 |
53 |
5 |
6 |
DIGIT SIX |
0x36 |
54 |
6 |
7 |
DIGIT SEVEN |
0x37 |
55 |
7 |
8 |
DIGIT EIGHT |
0x38 |
56 |
8 |
9 |
DIGIT NINE |
0x39 |
57 |
9 |
: |
COLON |
0x3A |
58 |
: |
; |
SEMICOLON |
0x3B |
59 |
; |
< |
LESS-THAN SIGN |
0x3C |
60 |
< |
= |
EQUALS SIGN |
0x3D |
61 |
= |
> |
GREATER-THAN SIGN |
0x3E |
62 |
> |
? |
QUESTION MARK |
0x3F |
63 |
? |
¡ |
INVERTED EXCLAMATION MARK |
0x40 |
64 |
$40 |
A |
LATIN CAPITAL LETTER A |
0x41 |
65 |
A |
B |
LATIN CAPITAL LETTER B |
0x42 |
66 |
B |
C |
LATIN CAPITAL LETTER C |
0x43 |
67 |
C |
D |
LATIN CAPITAL LETTER D |
0x44 |
68 |
D |
E |
LATIN CAPITAL LETTER E |
0x45 |
69 |
E |
F |
LATIN CAPITAL LETTER F |
0x46 |
70 |
F |
G |
LATIN CAPITAL LETTER G |
0x47 |
71 |
G |
H |
LATIN CAPITAL LETTER H |
0x48 |
72 |
H |
I |
LATIN CAPITAL LETTER I |
0x49 |
73 |
I |
J |
LATIN CAPITAL LETTER J |
0x4A |
74 |
J |
K |
LATIN CAPITAL LETTER K |
0x4B |
75 |
K |
L |
LATIN CAPITAL LETTER L |
0x4C |
76 |
L |
M |
LATIN CAPITAL LETTER M |
0x4D |
77 |
M |
N |
LATIN CAPITAL LETTER N |
0x4E |
78 |
N |
O |
LATIN CAPITAL LETTER O |
0x4F |
79 |
O |
P |
LATIN CAPITAL LETTER P |
0x50 |
80 |
P |
Q |
LATIN CAPITAL LETTER Q |
0x51 |
81 |
Q |
R |
LATIN CAPITAL LETTER R |
0x52 |
82 |
R |
S |
LATIN CAPITAL LETTER S |
0x53 |
83 |
S |
T |
LATIN CAPITAL LETTER T |
0x54 |
84 |
T |
U |
LATIN CAPITAL LETTER U |
0x55 |
85 |
U |
V |
LATIN CAPITAL LETTER V |
0x56 |
86 |
V |
W |
LATIN CAPITAL LETTER W |
0x57 |
87 |
W |
X |
LATIN CAPITAL LETTER X |
0x58 |
88 |
X |
Y |
LATIN CAPITAL LETTER Y |
0x59 |
89 |
Y |
Z |
LATIN CAPITAL LETTER Z |
0x5A |
90 |
Z |
Ä |
LATIN CAPITAL LETTER A WITH DIAERESIS |
0x5B |
91 |
$5B |
Ö |
LATIN CAPITAL LETTER O WITH DIAERESIS |
0x5C |
92 |
$5C |
Ñ |
LATIN CAPITAL LETTER N WITH TILDE |
0x5D |
93 |
$5D |
Ü |
LATIN CAPITAL LETTER U WITH DIAERESIS |
0x5E |
94 |
$5E |
§ |
SECTION SIGN |
0x5F |
95 |
$5F |
¿ |
INVERTED QUESTION MARK |
0x60 |
96 |
$60 |
a |
LATIN SMALL LETTER A |
0x61 |
97 |
a |
b |
LATIN SMALL LETTER B |
0x62 |
98 |
b |
c |
LATIN SMALL LETTER C |
0x63 |
99 |
c |
d |
LATIN SMALL LETTER D |
0x64 |
100 |
d |
e |
LATIN SMALL LETTER E |
0x65 |
101 |
e |
f |
LATIN SMALL LETTER F |
0x66 |
102 |
f |
g |
LATIN SMALL LETTER G |
0x67 |
103 |
g |
h |
LATIN SMALL LETTER H |
0x68 |
104 |
h |
i |
LATIN SMALL LETTER I |
0x69 |
105 |
i |
j |
LATIN SMALL LETTER J |
0x6A |
106 |
j |
k |
LATIN SMALL LETTER K |
0x6B |
107 |
k |
l |
LATIN SMALL LETTER L |
0x6C |
108 |
l |
m |
LATIN SMALL LETTER M |
0x6D |
109 |
m |
n |
LATIN SMALL LETTER N |
0x6E |
110 |
n |
o |
LATIN SMALL LETTER O |
0x6F |
111 |
o |
p |
LATIN SMALL LETTER P |
0x70 |
112 |
p |
q |
LATIN SMALL LETTER Q |
0x71 |
113 |
q |
r |
LATIN SMALL LETTER R |
0x72 |
114 |
r |
s |
LATIN SMALL LETTER S |
0x73 |
115 |
s |
t |
LATIN SMALL LETTER T |
0x74 |
116 |
t |
u |
LATIN SMALL LETTER U |
0x75 |
117 |
u |
v |
LATIN SMALL LETTER V |
0x76 |
118 |
v |
w |
LATIN SMALL LETTER W |
0x77 |
119 |
w |
x |
LATIN SMALL LETTER X |
0x78 |
120 |
x |
y |
LATIN SMALL LETTER Y |
0x79 |
121 |
y |
z |
LATIN SMALL LETTER Z |
0x7A |
122 |
z |
ä |
LATIN SMALL LETTER A WITH DIAERESIS |
0x7B |
123 |
$7B |
ö |
LATIN SMALL LETTER O WITH DIAERESIS |
0x7C |
124 |
$7C |
ñ |
LATIN SMALL LETTER N WITH TILDE |
0x7D |
125 |
$7D |
ü |
LATIN SMALL LETTER U WITH DIAERESIS |
0x7E |
126 |
$7E |
à |
LATIN SMALL LETTER A WITH GRAVE |
0x7F |
127 |
$7F |