1 ascii table – Campbell Scientific VSP3 Vosponder Voice Radio Interface User Manual

Page 17

Advertising
background image

Section 2. Programming the Datalogger

2-5

14: Extended Parameters 4 Digit (P68)

1:

65

Option

;Send “A”

2:

84

Option

;Send “T”

3:

84

Option

;Send “T”

4:

69

Option

;Send “E”

5:

82

Option

;Send “R”

6:

32

Option

;Send a Space Charter

7:

69

Option

;Send “E”

8:

0000

Option

;End of command marker

6: End (P95)

7: End (P95)

The program in Example 2-4 will issue the SDI-12 command “1XT” which
causes the Vosponder to say “Site 31 Low Battery” every five minutes, when
the battery voltage measurement is less than 10.5 volts. This message will
continue to be sent through the Vosponder every time the instruction executes
as long as the condition remains true.

The speak text command can be useful for creating custom alarm conditions
and specific text beyond the standard data strings. The speak text instructions
should typically be put after a conditional “IF” statement (i.e., P89 IF X=F) or
be based on the condition of a flag or port. This allows the user to maintain
control of how often the message is broadcast. Putting the voice text section of
the code inside a P92 (IF Time) instruction or a counter loop, can also be used
to limit the number of times a message is broadcast. This keeps the system
from continuously broadcasting and tying up the radio link and draining the
power supply.

2.2.1 ASCII Table

This table is used to determine the ASCII value for the characters that will be
spoken. The corresponding numbers are entered into the P68 instruction as
shown in Examples 2-1 and 2-3. USE ONLY UPPER CASE CHARACTERS;
lower case characters WILL NOT BE RECOGNIZED BY THE
VOSPONDER.

ASCII value

& character

ASCII value

& character

ASCII value

& character

ASCII value

& character

ASCII value

& character

ASCII value

& character

ASCII value

& character

ASCII value

& character

32 (space)
33 !
34 "
35 #
36 $
37 %
38 &
39 '
40 (
41 )
42 *
43 +

44 ,
45 -
46 .
47 /
48 0
49 1
50 2
51 3
52 4
53 5
54 6
55 7

56 8
57 9
58 :
59 ;
60 <
61 =
62 >
63 ?
64 @
65 A
66 B
67 C

68 D
69 E
70 F
71 G
72 H
73 I
74 J
75 K
76 L
77 M
78 N
79 O

79 O
80 P
81 Q
82 R
83 S
84 T
85 U
86 V
87 W
88 X
90 Y
91 Z

92 [
93 \
94 ]
95 ^
96 _
97 `
98 a
99 b
100 c
101 d
102 e
103 f

104 g
105 h
106 i
107 j
108 k
109 l
110 m
111 n
112 o
113 p
114 q
115 r

116 s
117 t
118 u
119 v
120 w
121 x
122 y
123 z
124 {
125 |
126 }
127 ~

Advertising