Campbell Scientific CR10X CR10X Measurement and Control System - Page 23

Programming The Cr10x

Page 23 highlights

CR10X OVERVIEW TABLE OV3.1-2 Key Description/Editing Functions Key Action 0 - 9 ∗ A B C D # # A # B # D # 0 Key numeric entries into display Enter Mode (followed by Mode Number) Enter/Advance Back up Change the sign of a number or index an input location to loop counter Enter the decimal point Clear the rightmost digit keyed into the display Advance to next instruction in program table (∗1, ∗2, ∗3) or to next Output Array in Final Storage (∗7) Back up to previous instruction in program table or to previous Output Array in Final Storage Delete entire instruction (then A or CR) Back up to the start of the current array. When using a computer/terminal to communicate with the CR10X (Telecommunications remote keyboard state) there are some keys available in addition to those found on the CR10KD. Table OV3.1-3 lists these keys. TABLE OV3.1-3. Additional Keys Allowed in Telecommunications Key CR : S or ^S C or ^C Action Change Sign, Index (same as C) Enter/advance (same as A) Colon (used in setting time) Stops transmission of data (10 second time-out; any character restarts) Aborts transmission of Data OV3.2 USING COMPUTER WITH DATALOGGER SUPPORT SOFTWARE Direct datalogger communication programs in the datalogger support software (PC208E, TCOM datalogger session) provide menu selection of tools to perform the datalogger functions (e.g., set clock, send program, monitor measurements, and collect data). The user also has the option of directly entering keyboard commands via a built-in terminal emulator (Section OV3.3). When using the support software, the computer's baud rate, port, and modem types are specified and stored in a file for future use. The simplest and most common interface is the SC32A Optically Isolated RS232 Interface. The SC32A converts and optically isolates the voltages passing between the CR10X and the external terminal device. The SC12 Two Peripheral cable which comes with the SC32A is used to connect the serial I/O port of the CR10X to the 9 pin port of the SC32A labeled "Datalogger". Connect the "Terminal/Printer" port of the SC32A to the serial port of the computer with a straight 25 pin cable or, if the computer has a 9 pin serial port, a standard 9 to 25 pin adapter cable. OV3.3 ASCII TERMINAL OR COMPUTER WITH TERMINAL EMULATOR Devices which can be used to communicate with the CR10X include standard ASCII terminals and computers programmed to function as a terminal emulator. See Section 6.7 for details. To communicate with any device other than the CR10KD, the CR10X enters its Telecommunications Mode and responds only to valid telecommunications commands. Within the Telecommunications Mode, there are 2 "states"; the Telecommunications Command state and the Remote Keyboard state. Communication is established in the Telecommunications command state. One of the commands is to enter the Remote Keyboard state (Section 5). The Remote Keyboard state allows the keyboard of the computer/terminal to act like the CR10KD keyboard. Various datalogger modes may be entered, including the mode in which programs may be keyed in to the CR10X from the computer/terminal. OV4. PROGRAMMING THE CR10X A datalogger program is created on a computer using EDLOG or one of the programming aids such as Short Cut. A program can also be entered directly into the datalogger. Section OV4.3 describes options for loading the program into the CR10X. OV-11

  • 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
  • 239
  • 240
  • 241
  • 242
  • 243
  • 244
  • 245
  • 246
  • 247
  • 248
  • 249
  • 250
  • 251
  • 252
  • 253
  • 254
  • 255
  • 256
  • 257
  • 258
  • 259
  • 260
  • 261
  • 262
  • 263
  • 264
  • 265
  • 266
  • 267
  • 268
  • 269
  • 270
  • 271
  • 272
  • 273
  • 274
  • 275
  • 276
  • 277
  • 278
  • 279
  • 280
  • 281
  • 282
  • 283
  • 284
  • 285
  • 286
  • 287
  • 288
  • 289
  • 290
  • 291
  • 292
  • 293
  • 294
  • 295
  • 296
  • 297
  • 298
  • 299
  • 300
  • 301
  • 302
  • 303
  • 304
  • 305
  • 306
  • 307
  • 308
  • 309
  • 310
  • 311
  • 312
  • 313
  • 314
  • 315
  • 316
  • 317
  • 318
  • 319
  • 320
  • 321
  • 322
  • 323
  • 324
  • 325
  • 326
  • 327
  • 328
  • 329
  • 330
  • 331
  • 332
  • 333
  • 334
  • 335
  • 336
  • 337
  • 338
  • 339
  • 340
  • 341
  • 342
  • 343
  • 344
  • 345
  • 346
  • 347
  • 348
  • 349
  • 350
  • 351
  • 352
  • 353
  • 354
  • 355
  • 356
  • 357
  • 358
  • 359
  • 360
  • 361
  • 362

CR10X OVERVIEW
OV-11
TABLE OV3.1-2
Key Description/Editing
Functions
Key
Action
0
-
9
Key numeric entries into display
Enter Mode (followed by Mode
Number)
A
Enter/Advance
B
Back up
C
Change the sign of a number or index
an input location to loop counter
D
Enter the decimal point
#
Clear the rightmost digit keyed into
the display
#
A
Advance to next instruction in
program table (
1,
2,
3) or to next
Output Array in Final Storage (
7)
#
B
Back up to previous instruction in
program table or to previous Output
Array in Final Storage
#
D
Delete entire instruction
#
0
(then A or CR) Back up to the start of
the current array.
When using a computer/terminal to communicate
with the CR10X (Telecommunications remote
keyboard state) there are some keys available in
addition to those found on the CR10KD.
Table
OV3.1-3 lists these keys.
TABLE OV3.1-3.
Additional Keys Allowed in
Telecommunications
Key
Action
-
Change Sign, Index (same as C)
CR
Enter/advance (same as A)
:
Colon (used in setting time)
S or ^S
Stops transmission of data (10
second time-out; any character
restarts)
C or ^C
Aborts transmission of Data
OV3.2
USING COMPUTER WITH DATALOGGER
SUPPORT SOFTWARE
Direct datalogger communication programs in
the datalogger support software (PC208E,
TCOM datalogger session) provide menu
selection of tools to perform the datalogger
functions (e.g., set clock, send program,
monitor measurements, and collect data).
The
user also has the option of directly entering
keyboard commands via a built-in terminal
emulator (Section OV3.3).
When using the support software, the
computer’s baud rate, port, and modem types
are specified and stored in a file for future use.
The simplest and most common interface is the
SC32A Optically Isolated RS232 Interface.
The
SC32A converts and optically isolates the
voltages passing between the CR10X and the
external terminal device.
The SC12 Two Peripheral cable which comes
with the SC32A is used to connect the serial I/O
port of the CR10X to the 9 pin port of the
SC32A labeled "Datalogger".
Connect the
"Terminal/Printer" port of the SC32A to the
serial port of the computer with a straight 25 pin
cable or, if the computer has a 9 pin serial port,
a standard 9 to 25 pin adapter cable.
OV3.3
ASCII TERMINAL OR COMPUTER WITH
TERMINAL EMULATOR
Devices which can be used to communicate
with the CR10X include standard ASCII
terminals and computers programmed to
function as a terminal emulator.
See Section
6.7 for details.
To communicate with any device other than the
CR10KD, the CR10X enters its Telecom-
munications Mode and responds only to valid
telecommunications commands.
Within the
Telecommunications Mode, there are 2 "states";
the Telecommunications Command state and the
Remote Keyboard state.
Communication is
established in the Telecommunications command
state.
One of the commands is to enter the
Remote Keyboard state (Section 5).
The Remote Keyboard state allows the
keyboard of the computer/terminal to act like
the CR10KD keyboard.
Various datalogger
modes may be entered, including the mode in
which programs may be keyed in to the CR10X
from the computer/terminal.
OV4.
PROGRAMMING THE CR10X
A datalogger program is created on a computer
using EDLOG or one of the programming aids
such as Short Cut.
A program can also be
entered directly into the datalogger.
Section
OV4.3 describes options for loading the
program into the CR10X.