Chapter 7 – Register Operations
"meter type" – Enumerated meter type values.
enum{ //
Enumerated Value
METER_TYPE_VOLUME_PULSE_INPUT
METER_TYPE_MASS_PULSE_INPUT
METER_TYPE_VOLUME_ANALOG_INPUT
METER_TYPE_KROHNE_INPUT
METER_TYPE_MICROMOTION_INPUT
};
"totalizer" – Totalizer selection parameter.
This type is a bit-wise concatenation of five totalizer selection parameters that is expressed as a single register
value.
struct totalizer_selection_type
{
unsigned int preset_selected:1;
unsigned int meter_selected:1;
unsigned int component_selected:1;
unsigned int additive_selected:1;
unsigned int sampler_selected:4;
unsigned int unused1:8;
unsigned int unused2:8;
unsigned int unused3:8;
};
Note: Register value is still an integer value not a binary structure.
For example, to specify preset_selected and component_selected, (00101) the numeric value of the bit-wise
concatenation of these five different totalizer selection parameters would be 0x0005 = 5.
"scs prompt" – SCS prompt selection parameter.
This type is a bit-wise concatenation of four prompt selection parameters that is expressed as a single register
value.
struct totalizer_selection_type
{
unsigned int bsw_selected:1;
unsigned int density_selected:1;
unsigned int gross_selected:1;
unsigned int temp_selected:1;
unsigned int unused:28;
};
Note: Register value is still an integer value not a binary structure.
For example, to specify bsw_selected and gross_selected, (0101) the numeric value of the bit-wise
concatenation of these four different prompt selection parameters would be 0x0005 = 5.
"card-reader" Card-Reader selection parameter
enum{ //
Enumerated Value
DISABLED
BUCKET_CAPTIVE
Register Value
= 0,
= 1,
= 2,
= 3,
= 4
Register Value
= 0, // NO CARD-READER
= 1, // CAPTIVE CARD-READER
85
Need help?
Do you have a question about the MultiLoad II and is the answer not in the manual?
Questions and answers