Instructions

UM-0085-B09 DT80 Range User Manual Page 62
RG
Loading an Existing Job
The DT80 can also read job text from a file stored in its internal file system and automatically enter it. This job will then
become the current active job, replacing whatever was previously the current active job.
A new job may be loaded when:
the RUNJOB"jobname" command is issued. This will read the job from the file
B:\JOBS\jobname\PROGRAM.DXC.
the DT80 is reset. By default, the previously active job will be loaded (See Startup Job (P64))
A USB memory device is inserted. If a file A:\ONINSERT.DXC or A:\serialnum\ONINSERT.DXC is
present then any commands therein will be executed. These may include a job definition, in which case the job
will become the current active job. (See ONINSERT Job (P64))
Job Structure
A typical DT80 job is shown below (the line numbers are for reference only and are not part of the job):
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
BEGIN"Boiler01"
' No. 1 Boiler monitoring job for DT80 03
-Dec-2005
/n/u/S/e
P22=44
Y10=4.5,0.312"kPa"
S1=0,50,0,100"L/m"
1DSO=0
' Enable sensor power relay
RS5S
RB1M
2..3TT("Temp")
RC(DATA:NOV:365D)15M 1V(Y10,AV) 4#L(S1,AV)
RK10S
ALARM1(1V(Y10)>2.25)3DSO
ALARM1(4TT>110.0)3DSO,1CV"Over Temp ?"{RB5S}"
LOGON
END
Note the following salient points:
Line 1 the
BEGIN command tells the DT80 to clear the current job and prepare to receive a new one.
Line 2 anything following a single quote character (up to the end of the line) is considered a comment and is
ignored. Blank lines are also ignored.
Line 3-7 the first part of a job normally consists of commands to set switches and parameters, define
polynomials and spans, and evaluate any immediate channels.
Line 8 this line sets the scan rate for the statistical sub-schedule. All channels which include a statistical
channel option, i.e.
1V(AV) and 3#L(AV), will therefore be scanned every 5 seconds. The measured values
will not be logged or returned; they will only be used for accumulating the average values.
Line 10 defines the B schedule (measure two thermocouples once per minute).
Line 12 defines the C schedule (report pressure and flow rate values, averaged over a 15 minute period. Note
the use of a polynomial (
Y10) to convert the measured voltage in mV to pressure in kPa. Similarly, a span is
used to convert a current loop % value to a flow rate in l/m.)
Line 14-16 define the K schedule (every 10s check pressure and temperature against limits. If pressure
exceeds 2.25kPa then set digital output 3 to LOW (active); if temperature exceeds 110°C then set digital output
3 to LOW, set 1CV=1, output and log an "Over Temp" alarm string, and change the scan rate of schedule B to
5s.)
Line 18 enables logging for all schedules (by default logging is disabled)
Line 19 marks the end of the job; all schedules will now be activated.