Instructions
UM-0085-B09  DT80 Range User Manual  Page 92 
RG 
Alarm Records 
Real Time Alarm Return 
If an alarm is triggered while free format mode (/h) is selected, the configured alarm action text (if any) will be returned. 
If an alarm is triggered while fixed format mode (/H) is selected, a fixed format alarm record will be returned. This has a 
similar format to a fixed format data record (see Format of Returned Data (P30)) 
For example, the job: 
BEGIN"B1" RB1S ALARM8(1V(S1)>1.5)"OverPressure ?vMPa^M^J" END 
would, when triggered, return text similar to the following if normal (/h) mode was selected: 
  OverPressure 1.563MPa 
In fixed format (/H) mode, however, it would return an alarm record: 
A,080035,"B1",2006/04/16,14:32:01,0.254870,0;B,8,1,"OverPressure 1.563MPa^M^J";0078;3D95 
An alarm record consists of: 
•  the usual fixed format header and trailer (serial number, job name, timestamp, error check fields) 
•  a 0 to indicate real time (as opposed to logged) data 
•  the schedule (B) 
•  the alarm number (8) 
•  the transition type (1 – false to true) 
•  the alarm text string (if any). Note that control characters (ASCII code < 32) are not output; they are left in the 
string in 
^x notation. 
The real time return of alarm action text or alarm records can be disabled using the /z switch. 
Logging Alarms 
Alarm records may also be logged to the DT80's internal file system. This will occur if an alarm number is provided (e.g. 
ALARM7), and logging is enabled for the enclosing schedule. As with data, when logged alarm records are unloaded, 
they will be returned as fixed format records, as illustrated above. 
By default, an alarm record is only logged when an alarm is triggered, i.e. its state changes from false to true. However, 
by setting parameter 
P9=3, the DT80 will also log a record when the alarm goes inactive (true to false). 
Also note that numbered IF and DO commands (which are seldom used) will log an alarm record every time their 
schedule executes, while their condition is true. 
The following table summarises what is logged, and what is returned for the various types of alarm command. 
Alarm Command  State/Transition 
Parameter 9 
(default P9=1) 
Logged 
Transition Type, Alarm Text 
Returned 
AlarmText 
ALARM(test)"actionText" 
False to true ↑ 
x 
— 
actionText 
Continuing true 
x 
— 
— 
True to false ↓ 
x 
— 
— 
ALARMn(test)"actionText" 
False to true ↑ 
P9=1 or 3 
1,"actionText" 
actionText 
P9=0 or 2 
— 
actionText 
Continuing true 
x 
— 
— 
True to false ↓ 
P9=0 or 1 
— 
— 
P9=2 or 3 
3,"ALARMn FALSE" 
— 
IF(test)"actionText" 
 (or ALARMR) 
False to true ↑ 
x 
— 
actionText 
Continuing true  x 
— 
actionText 
True to false ↓ 
x 
— 
— 
IFn(test)"actionText" 
 (or ALARMR) 
False to true ↑ 
P9=1 or 3 
1,"actionText" 
actionText 
P9=0 or 2 
— 
actionText 
Continuing true  x 
2,"actionText" 
actionText 
True to false ↓ 
P9=0 or 1 
— 
— 
P9=2 or 3 
3,"ALARMn FALSE" 
— 
DO"actionText" 
x 
x 
— 
actionText 
DOn"actionText" 
x 
x 
2,"actionText" 
actionText 










