A-3
} VAR_REF;
and VAR_VALUE is:
typedef
union
/* Variable Value Union */
{
float
f;
long
l;
unsigned
long
ul;
int
i;
uint16 ui;
char
c;
byte uc;
} VAR_VALUE;
The structure of each entry when read:
typedef
struct
/* Download */
{
char
type;
/* Alarm Type Logic */
uint16 user_code;
/* User's Alarm Code */
char
enable_flags;
/* Alarm Enable Flags */
VAR_REF in;
/* Alarm Input */
VAR_REF threshold;
/* Alarm Threshold */
VAR_REF out1;
/* Alarm Output Value */
char
trigger_type;
/* Alarm Trigger Type */
VAR_REF trigger;
/* Alarm Trigger */
char
reset;
/* Reset Logic */
char
filter;
/* Filter Type */
float
filter_threshold;
/* Filter Threshold */
char
filt_units;
/* Filter Units */
char
logvar;
/* Log Type */
} ALARMPAGE;
where enable_flags are:
/* bits in enable_flags */
#define ALARM_ENABLE 1
#define EXCEPTION_ENABLE 2
#define FILE_ENABLE 4
#define OUTPUT1_ENABLE 8
where trigger_type is defined as:
/* Alarm Triggers */
Summary of Contents for XRC6490
Page 1: ...2100802 001 AB TOTALFLOW XSeries Remote Controller User s Manual ...
Page 6: ...iv B B Bl lla a an n nk k k P P Pa a ag g ge e e ...
Page 10: ...viii B B Bl lla a an n nk k k P P Pa a ag g ge e e ...
Page 19: ...1 5 Standard Enclosure Cont RC 6790 X Figure 1 2 Model XRC6790 Continued on Next Page ...
Page 41: ...1 27 Totalflow Input Output Modules Cont Figure 1 16 XRC6990 Inside View ...
Page 42: ...1 28 B B Bl lla a an n nk k k P P Pa a ag g ge e e ...
Page 64: ...2 22 B B Bl lla a an n nk k k P P Pa a ag g ge e e ...
Page 86: ...4 12 Replacing XRC 195 Board Cont Figure 4 5 XRC Board Connections ...
Page 88: ...4 14 B B Bl lla a an n nk k k P P Pa a ag g ge e e ...
Page 112: ...5 24 12V Communication Supply Voltage Test Cont Figure 5 9 XRC 195 Communication Wiring ...
Page 292: ...A 176 B B Bl lla a an n nk k k P P Pa a ag g ge e e ...
Page 340: ...B 48 B B Bl lla a an n nk k k P P Pa a ag g ge e e ...
Page 342: ...C 2 B B Bl lla a an n nk k k P P Pa a ag g ge e e ...