EasyManua.ls Logo

Campbell CR800 Series - Writing and Editing Programs; Crbasic Editor; Short Cut Programming Wizard

Campbell CR800 Series
598 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Section 7. Installation
122
'Begin Program
BeginProg
'Set scan interval
Scan(1,Sec,3,0)
'Measurements
PanelTemp(RefTemp,250)
TCDiff(TC()...Offset)
Measure
'Processing (None in this
'example)
Scan loop
'Call data table
CallTable Temp
Call data table
'Controls (None in this
'example)
'Loop to next scan
NextScan
'End Program
EndProg
7.6.2 Writing and Editing Programs
7.6.2.1 Short Cut Programming Wizard
Short Cut is easy-to-use, menu-driven software that presents lists of predefined
measurement, processing, and control algorithms from which to choose. You
make choices, and Short Cut writes the CRBasic code required to perform the
tasks. Short Cut creates a wiring diagram to simplify connection of sensors and
external devices. Quickstart
(p. 35) works through a measurement example using
Short Cut.
For many complex applications, Short Cut is still a good place to start. When as
much information as possible is entered, Short Cut will create a program template
from which to work, already formatted with most of the proper structure,
measurement routines, and variables. The program can then be edited further
using CRBasic Program Editor.
7.6.2.2 CRBasic Editor
CR800 application programs are written in a variation of BASIC (Beginner's All-
purpose Symbolic Instruction Code) computer language, CRBasic (Campbell
Recorder BASIC). CRBasic Editor is a text editor that facilitates creation and

Table of Contents

Related product manuals