Campbell Scientific CR10 CR10 Measurement and Control - Page 164

flag., NUMBER

Page 164 highlights

SECTION 12. PROGRAM CONTROL INSTRUCTIONS which the alarm call is initiated. The randomized retry time is divided by the execution interual to determine how many times Instruction 97 must be executed before it calls again. The Instruction must be executed each time the table is. Parameter 2 specifies which user flag (1-8) is to be used as the interrupt disable flag. lf this flag is set, lnstruction 97 will not initiate an alarm call. lf the CR10 is in the process of trying to get through with an alarm call, setting the interrupt disable flag will abort further attempts. Instruction 97 sets this flag when an alarm call has received the correct response. Instruction 97 does not clear this flag; the flag will remain set until cleared by the program or external command. When the flag is cleared, Instruction 97 is reinitialized. The RF path and/or telephone number is entered by following Instruction 97 with one or more entries of lnstruction 63. The RF station lDs and phone numbers are entered 1 digit at a time. Decimal equivalents of certain ASCII characters (Appendix E) are used to identify breaks. Separate RF stations with a space (32). Indicate the switch from RF stations to a telephone number (DC112) with a space (32) followed by a "T" (84). Caniage Return (13) is used to end the series of numbers. lf the call is to go through a RF link to a phone, then the RF Modem is specified in Parameter 1. See the PC208 and RF manualfor additional interfacing notes. When the DC112 Modem (Hayes compatible commands) is specified, the following commands are sent to the modem before the phone number: ATVO, ATST=180, and ATDT. The first command causes the Modem to respond with digits rather than words. The second command causes the modem to wait for the carrier 180 seconds after calling or answering. The third command causes the Modem to dial the number that follows the command in "Touch Tones". Additional commands can be entered as part of the telephone number (e.9., "," for delay or "P" for pulse dialing). The CR10 will not accept the line feed found in some Hayes "compatible" modems. PARAM. DATA NUMBER TYPE 01: 2 DESCRIPTION Modem option and ba code. Left digit modem being used right, the baud rate. Modem Baud Rate O-RF 0- 1- 1 - Short-haul 1 2 - DC112 2 lnterrupt disable flag 03: 4 Time limit on call. 1 04: 4 Delay between fast sec. units 05: 2 No. of retries at fast 06: 4 Delay between slow min. units o7: 08: Input location to store tries 4 lD to send *** 98 SEND CHARACTER *** lnstruction 98 is used with lnstruction 63 to a character or string of characters (up to 15) to the printer. The printer may be either a addressed or pin-enabled (Section 6.2). lnstruction 63 must immediately follow 98. The character or characters to send are entered in Instruction 63 as the decimal equivalents (99 is the maximum number allowed) of the 7 bit ASCllcharacter (sent as 8 bits, no parity). For example, to send the ASCII character control R, 18 would be entered. Enter a null (0) to terminate the string. Appendix E contains a listing of the ASCII characters. lf the 9 pin connector is already active when lnstruction 98 is executed, the output request is put in a queue (see Instruction 96). This instruction can be used to send a control character to activate some listing device. The specified character(s) is sent at the time Instruction 98 and 63 are executed. PARAM. NUMBER TDAYTAPE DESCRIPTION o1: 1x Addressed Print 4x Pin-enabled Print x is baud rate code 12-8

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231
  • 232
  • 233
  • 234
  • 235
  • 236
  • 237
  • 238

SECTION 12.
PROGRAM CONTROL
INSTRUCTIONS
which
the
alarm call is
initiated. The
randomized
retry
time
is
divided
by
the execution interual
to
determine how many
times
Instruction 97 must
be
executed before
it
calls
again.
The
Instruction
must
be
executed each time the
table
is.
Parameter
2
specifies
which
user
flag
(1-8)
is
to
be used as
the
interrupt disable
flag.
lf
this flag
is
set,
lnstruction
97
will
not initiate an alarm
call.
lf
the CR10 is
in
the
process
of
trying to
get through with an alarm call, setting the
interrupt disable flag will abort further attempts.
Instruction 97 sets this flag when an alarm call
has received the
correct
response. Instruction
97
does
not
clear this flag; the flag
will
remain
set until cleared
by
the
program or external
command.
When the
flag
is
cleared,
Instruction
97 is reinitialized.
The
RF path and/or
telephone
number
is
entered
by
following
Instruction
97
with one
or
more entries
of
lnstruction 63.
The
RF station
lDs and phone numbers are
entered
1
digit at
a
time.
Decimal equivalents of certain ASCII
characters (Appendix
E)
are used
to
identify
breaks.
Separate RF stations with
a
space
(32).
Indicate
the
switch
from
RF stations
to
a
telephone number (DC112)
with
a space
(32)
followed
by
a
"T"
(84).
Caniage
Return (13)
is
used
to
end
the
series of numbers.
lf
the call
is
to
go through
a
RF
link
to a phone,
then
the
RF Modem
is
specified
in
Parameter
1.
See
the
PC208
and
RF
manualfor
additional
interfacing notes.
When
the
DC112 Modem (Hayes compatible
commands) is specified, the following
commands are sent to
the
modem before
the
phone
number:
ATVO,
ATST=180, and ATDT.
The first command causes
the
Modem
to
respond with
digits
rather than
words.
The
second command causes
the
modem to wait
for
the
carrier
180
seconds after calling or
answering.
The third command causes
the
Modem
to
dial
the
number that follows
the
command in "Touch
Tones".
Additional
commands
can
be entered as part
of
the
telephone
number (e.9.,
","
for delay or
"P"
for
pulse
dialing).
The
CR10
will
not accept
the
line
feed
found
in some Hayes "compatible"
modems.
Input location to store
tries
08:
4
lD to send
***
98
SEND
CHARACTER
***
lnstruction 98 is used
with
lnstruction 63 to
a
character or string
of
characters
(up
to
15)
to
the
printer.
The
printer may be either a
addressed or pin-enabled (Section 6.2).
lnstruction
63
must immediately follow
98.
The
character or characters
to
send are
entered
in
Instruction 63 as
the
decimal equivalents (99
is
the
maximum number allowed)
of
the
7
bit
ASCllcharacter
(sent as
8
bits, no
parity).
For
example,
to
send the ASCII character
control
R,
18
would
be
entered.
Enter
a
null
(0)
to
terminate the
string.
Appendix
E
contains a
listing
of
the ASCII characters.
lf the
9
pin connector is already active when
lnstruction
98
is
executed,
the
output request
is
put in
a
queue (see Instruction
96).
This
instruction
can
be used to send a control
character to activate
some
listing
device.
The
specified character(s)
is sent
at
the time
Instruction 98 and 63 are executed.
PARAM.
DATA
NUMBER
TYPE
DESCRIPTION
1x
Addressed
Print
4x
Pin-enabled Print
x
is baud rate code
PARAM.
DATA
NUMBER
TYPE
01:
2
DESCRIPTION
Modem option and
ba
code.
Left
digit
modem being used
right,
the
baud
rate.
Modem
O-RF
1
-
Short-haul
2
- DC112
lnterrupt disable flag
Time
limit on
call.
1
Delay between fast
sec. units
No.
of
retries
at
fast
Delay between slow
min. units
03:
04:
05:
06:
o7:
2
4
4
2
4
12-8
o1:
Baud Rate
0-
1-
1