Appendix C: Register Map

 

Register(s)

Description

file 0

 

0

firmware version x 100

1

RS232 host port Baud (terms 1,2,& 3)

2

RS232 host port; Modbus slave = 1

3

RS485 Slave port Baud (0 to 13 for 1200 to 921600)

4

RS485 Slave port;  0 = MMI master, 1 = Modbus master

5

Not used reserved

6

Not used reserved

7

RS485 port Baud (0 to 13 for 1200 to 921600)

8

RS485 port; Modbus master  = 1, host port = 9

9

PIC COMS baud

10

PIC coms mode (not used)

11

RS232 port baud (terms 4,5,& 6)

12

RS232 port mode: Modbus slave = 1, Modbus master = 9

13

forced to 1 for MGA

14

 

15

0 = degree F; 1 = degree C

16

zone number

17

zone sequence

18

max number of zones (8 or less)

19

 

20

Dwell Timer

21-25

 

26

Instrument calculation enable and time per step. (ms) 10 MS min

27

start smart board detect routine

28 -32

 

33

Baud set flag port F

34

if 1 enable pressure compensation

35

pressure trim value

36-42

 

43

Startup pressure reading kPa * 100

44

elevation change from startup in feet * 10

45

Elevation from sea level in feet

46

pressure trim value

47

Local pressure entered for calibration

48

o2 calibration factor (10000 nom)

49

o2 zero offset

50

pressure reading in kPa * 100

51

pressure difference due to elevation in kPa * 100

52

sea level (barometric) pressure

53

pressure in atmospheres * 1000

54

pressure in inHG * 100

55

upstream pressure reading in kPa * 100

56

upstream sea level (barometric) pressure

57

upstream pressure in atmospheres * 1000

58

upstream pressure in inHG * 100

59

pressure sensor and calculation select;

60

pressure diff upstream to downstream  in kPa * 100

61

sample flow

62-63

 

64

flow zero offset

65

flow span value

66

 

67

Dualpro process factor register

68

LED D2 ON time in milliseconds

69

LED D2 OFF time in milliseconds

70

 

71

must be 123 to accept cal request for cell

72-73

 

74

Web change enable; 0 = disable, 1 = enable

75

 

76

Sample/Pump ON delay same value  all zones

77

Sample/Pump OFF delay same value  all zones

78-79

 

80

H2 zero gas % times 100 (xx.xx)

81

H2 span gas % times 100 (xx.xx)

82

hydrogen cell calibration request; 1 = zero, 2 = span

83

Low Dew point cell source;0 = not used, 1 thru 40 = Smart AIB input number

 

 

84

Present reading from low dew point cell; xxx.x in deg C or def F

85 - 92

Zone low dew point data (reg 85 - 92)

93

 

94

O2 data source: 0 = O2_blk, 1 thru 40 = Smart AIB input number

 

 

95

Est temperature of the lambda probe based on degree

96

pump run time

97

 

98

 

99

 

100

local cooler ON set point

101

local cooler OFF set point

102

local temperature x 10 in deg F or C based on degree

103

Auto cal interval in minutes 0 = OFF

104

Auto Zero interval in minutes 0 = OFF

105

Auto data display time at end of seq

106

purge time before cal or zero

107

if auto cal is avail this is 1

108

Zone alarm relays output desired states

109

relays output desired states:0 = pump, 1 = Alarm 2, 2 = Alarm 1, 3 = Aux cal gas, 4 = Sample, 5 = ACZ gas, 6 = ACZ span gas, 7 = AC/cooler on

110

bits 0 - 3 = sample relays zones 1 - 4; bits 4 - 7 = Zone ON zones 1 - 4

111

bits 0 - 3 = sample relays zones 5 - 8; bits 4 - 7 = Zone ON zones 5 - 8

112

 

113

O2 data mantissa

114

O2 data exponent

115

HI range CO2 data xx.xx%

116

CO data xx.xx%

117

CO2 data x.xxxx% max 3.0000%

118

O2 data xx.x%

119

CH4 data xx.xx%

120

Ratio CO2/CO

128

IR Dew point if calculated

136

IR %C

144

IR suggested COF

152

IR suggested PF

160

IR equivalent millivolts

168

sample flow at calc time

176

Calculated new factor for COF/PF adjust

184

HI range CO2 data xx.xx%

192

CO data xx.xx%

200

CO2 data x.xxxx% max 3.0000%

208

O2 data xx.x%

216

CH4 data xx.xx%

224

sample temperature

232

sample pressure upstream

240

sample pressure downstream

248-249

 

 

 

File 3

 

600-609

 

610

IR cell seq flag

611

IR calibration requests

612

calibration mode

613

calibration timer for purge, etc

614

calibration counter

615

calibration enable CO

616

calibration enable CO2

617

calibration enable CH4

618

calibration enable CO2H

619

 

620

calibration alarm bit map

621-639

 

640

calibration span gas 1

641

calibration span gas 2

642

calibration span gas 3 x.xxxx

643

calibration span gas 4

644

calibration span gas 5

645

auto calibration span gas 2

646

auto calibration span gas 3 x.xxxx

647

auto calibration span gas 4

648

auto calibration span gas 5

649

aux calibration span gas 2

650

aux calibration span gas 3 x.xxxx

651

aux calibration span gas 4

652

aux calibration span gas 5

653

sample calibration span gas 2

654

sample calibration span gas 3 x.xxxx

655

sample calibration span gas 4

656

sample calibration span gas 5

657

calibration gas source; Forced to 0 for RZA

658-665

 

666

 

667

 

668

ambient temperature trim; deg C * 100

669

gas (cell) temperature trim; deg C * 100

670

AIB board 1 input 1 type

671

AIB board 1 input 2 type

672

AIB board 1 input 3 type

673

AIB board 2 input 1 type

674

AIB board 2 input 2 type

675

AIB board 2 input 3 type

676

AIB board 3 input 1 type

677

AIB board 3 input 2 type

678

AIB board 3 input 3 type

679

AIB board 4 input 1 type

680

AIB board 4 input 2 type

681

AIB board 4 input 3 type

682

AIB board 5 input 1 type

683

AIB board 5 input 2 type

684

AIB board 5 input 3 type

685

AIB board 6 input 1 type

686

AIB board 6 input 2 type

687

AIB board 6 input 3 type

688

AIB board 7 input 1 type

689

AIB board 7 input 2 type

690

AIB board 7 input 3 type

691

AIB board 8 input 1 type

692

AIB board 8 input 2 type

693

AIB board 8 input 3 type

694

Board number to calibrate 1 to 8

695

enables a calibration

696

CJ cal or zero/span voltage cal

697

Calibration Range register. Sets the voltage gain for a calibration.

698

bitmap of channels to be calibrated

699

Calibration value for all inputs

 

 

file 2

 

700

alloy factor for calculation 10000 = 1.0000

708

default Hydrogen to use if no H2 cell 40% = 40.00

716

0 = original sin, 1 = CarbCalc_Caf1, 2 = CarbCalc Caf, 3 = COCO2 Caf1, 4 = COCO2 Caf

724

IR shim factor

732

Pressure compensation factor; 0 = off, 10 = 1.0, max 2.0

740

CH4 factor

748

IR CO compensation factor

756

pump mode; 0 = off, 1 & 2 = auto

764

mode: 0 = monitor, 1 = COF/PF adjust base on %C

772

max adjust amount

780

maximum COF/PF

788

minimum COF/PF

796

Probe ATM instrument; -1 = internal (Input 1 for MV Input 2 for TC),

 

-2 = internal (Input 1 for MV Input 3 for TC), 0 to Probe ATM max for external,

 

use -3 for manual

 

-4 for data in external table

 

Probe ATM inst number is type for inst setup [0][0];

804

Probe temperature instrument; -1 = internal (Input 3 for furn TC),

 

-2 = internal (Input 2 for furn TC), 0 to Probe TC max for external,

 

use -3 for manual

 

-4 for data in external table

 

Probe TC inst number + 256 is type for inst setup[1][0]

812

Dwell Times in seconds min 30 max 300

820

zone active; 0 = no, 1 = yes

828

Adjust/control update interval

836

Select CO2 for calculation: 0 = normal IR gas[2] , 1 = high range IR gas[4]

844

Enable IR Dew point calculation

852

IR dew point factor

860

Adjust minimum temperature

868

Adjust minimum millivolts

876

Minimum MV action; 0 = only inhibits adjust and control

884

sample control; 0 = off, 1 = on

892

 

893

Ambient temperature Low alarm limit

894

Ambient temperature High alarm limit

895

Ambient temperature Low alarm limit

896

Ambient temperature High alarm limit

897

O2 cal span value  209 = 20.9%

898

O2 calibration req;  1 = zero, 2 = span

899

return code of UDPDL init()

 

 

file 4 [2][]

 

 

Dac assignx => gas number * 8 + zone number

 

   bit 12 sets output; 0 = 4 - 20MA, 1 = 0 - 20MA

9000

Brd 1 Dac 1 assignment

9001

Brd 1 Dac 2 assignment

9002

Brd 1 Dac 3 assignment

9003

Brd 1 Dac 4 assignment

9004

Brd 1 Dac 1 zero

9005

Brd 1 Dac 1 span

9006

Brd 1 Dac 2 zero

9007

Brd 1 Dac 2 span

9008

Brd 1 Dac 3 zero

9009

Brd 1 Dac 3 span

9010

Brd 1 Dac 4 zero

9011

Brd 1 Dac 4 span

9012

Brd 2 Dac 1 assignment

9013

Brd 2 Dac 2 assignment

9014

Brd 2 Dac 3 assignment

9015

Brd 2 Dac 4 assignment

9016

Brd 2 Dac 1 zero

9017

Brd 2 Dac 1 span

9018

Brd 2 Dac 2 zero

9019

Brd 2 Dac 2 span

9020

Brd 2 Dac 3 zero

9021

Brd 2 Dac 3 span

9022

Brd 2 Dac 4 zero

9023

Brd 2 Dac 4 span

9024

Brd 3 Dac 1 assignment

9025

Brd 3 Dac 2 assignment

9026

Brd 3 Dac 3 assignment

9027

Brd 3 Dac 4 assignment

9028

Brd 3 Dac 1 zero

9029

Brd 3 Dac 1 span

9030

Brd 3 Dac 2 zero

9031

Brd 3 Dac 2 span

9032

Brd 3 Dac 3 zero

9033

Brd 3 Dac 3 span

9034

Brd 3 Dac 4 zero

9035

Brd 3 Dac 4 span

9036

Brd 4 Dac 1 assignment

9037

Brd 4 Dac 2 assignment

9038

Brd 4 Dac 3 assignment

9039

Brd 4 Dac 4 assignment

9040

Brd 4 Dac 1 zero

9041

Brd 4 Dac 1 span

9042

Brd 4 Dac 2 zero

9043

Brd 4 Dac 2 span

9044

Brd 4 Dac 3 zero

9045

Brd 4 Dac 3 span

9046

Brd 4 Dac 4 zero

9047

Brd 4 Dac 4 span

9048 -9095

 

 

 

file 4 [0][]

 

9100 - 9107

Bit map of states of each zone.

 

Bits 0 to 8 why not sampling; 0 = OK, 1 = blocking sample.

 

bit 0 = Zone activeX == 0, this clears all other bits.

 

bit 1 = pump modeX == 0

 

bit 2 = Digital input blocking sample

 

bit 3 = base statusX = 0 (may be ON delay)

 

bit 4 = Min TC (note if set Min MV is not tested)

 

bit 5 = Min MV

 

bit 6 = calibration

 

bit 7 = Auto cal

 

bit 8 = sample controlX == 0 (probably caused by one of the previous)

 

Bits 9 to 11

 

Bits 12 to 14 blocking COF/PF adjust

 

bit 12 = IR modeX not 1 or 2

 

bit 13 = base status not 4

 

bit 14 = digital input blocking adjust.

 

Bit 15 NU

9100 - 9147

 

9148

Surface carbon activity

9149

Carbon with alloy factor = 1

9150

Carbon with specified alloy factor

9151

carbon calculated from only CO and CO2 with alloy factor = 1

9152

carbon calculated from only CO and CO2 with supplied alloy factor

9153

IR %C based on original 3 gas calculation

9154

Digital inputs from Dig I/O boards

 

bits 0 to 3 from brd 1, 4 to 7 from brd 2, 8 to 11 from brd 3, and 12 to 15 from brd 4

  

bits 0 to 7 are PF/COF inhibit for zones 0 thru 7

  

bits 8 to 15 are stop sample for zones 0 thru 7

9155

Custom sequence pointer

9156 - 9187

first of 32 points for custom sequence

9188-9190

 

9191

Que_[0][][] status

9192

Que_[1][][] status

9193

Que_[2][][] status

9194

Que_[3][][] status

9195

Que_[4][][] status

9196

Que_[5][][] status

9197

generic que inst number

9198

generic que register

9199

generic que data

 

 

file 4 [1][]

 

8900

ambient temperature; deg F x 100

8901

gas (cell) temperature, deg F x 100

8902

cell abs pressure

8903

cell differential pressure

8904

gas 1 peak to peak

8909

gas 1 level at zero (N2)

8914

gas 1 gain constant from span

8919

gas 1 reading with compensation

8924

gas 1 value

8929

gas 1 positive

8934

gas 1 negative

8939

gas 1 value with TC adjust

8944

gas 1 value with press adjust

8949

gas 1 value with both

8954

temperature ratio Tcal/T

8959

pressure ratio P/Pcal

8964

filter time in MS

8969

Integer of calibration average

8974

Integer of gas read at ave

8989

Ambient temperature pre-trim

8990

Gas temperature pre-trim

8991

Normalized Absorbance (CH4)

8992

Normalized Absorbance (CO2)

8993

Normalized Absorbance (CO)

8994

Normalized Absorbance (CO2)

8995

gas 1 p2p raw.

 

 

file 5

 

8500

probe MV

8508

probe COF

8516

probe temperature

8524

probe process factor

8532

probe %C

8540

probe carbon setpoint

8548

IR temperature

8556

H2 cell in % times 100 (xx.xx)

8564-8567

 

8568

test mode CO data xx.xx

8576

test mode CO2 data x.xxxx

8584

test mode CO data xx.xx

8592

test mode CO2 data xx.xx

8600

PC_compare mode 0 = probe %C setpoint, 1 = probe %C actual

8608

Compare IR %C to probe %C or Setpoint if 0 disable.

8616

alarm bit map

   

bit 0 = low flow; bit 1 = slave communications

   

bit 2 = max factor; bit 3 = min factor;

   

bit 4 = PC_comp alarm

   

bit 5 = auto cal alarm

   

bit 6 = NU

   

bit 7 thru 15 = gas alarms (see Note below)

8624

bit 0 = FC TC;  Bit 1 = PB TC

   

bit 2 = PB MV;  bit 3 = PB COF/PF

   

bit 4 = PB %C; bit 5 = ambient temperature

   

bit 6 = gas temperature

   

bit 7 thru 15 not assigned.

8632

alarm 1 assignment bit mask 0 = not assigned; 1 = assigned

8640

alarm 2 assignment bit mask 0 = not assigned; 1 = assigned

   

bits 0 to 6 are alarm_bit_map1 bits (0 to 6)

   

bits 7 to 15 are alarm_bit_map bits (7 to 15)

   

alarm_bit_map bits 0 to 6 are always alarm 1

8648

Calculation flag 0 = COF, 1 = MMI PF

8656

Status of base (0 = OFF, 1 = pump delay ON, 2 = sample delay, 3 = measure delay, 4 = delay OFF, 5 = ON.)

8664

interval timer for COF/PF adjust

8672

sample ON delay timer

8680

sample OFF delay timer

8688

CO2 high alarm limit

8696

CO2 low alarm limit

8704

CO high alarm limit

8712

CO low alarm limit

8720

CH4 high alarm limit

8728

CH4 low alarm limit

8736

CO2H high alarm limit

8744

CO2H low alarm limit

8752

IR %C high alarm limit

8760

IR %C low alarm limit

8768

H2 high alarm limit

8776

H2 low alarm limit

8784

O2 high alarm limit

8792

O2 low alarm limit

8800

furnace TC High alarm limit

8808

furnace TC Low alarm limit

8816

probe TC High alarm limit

8824

probe TC Low alarm limit

8832

probe MV High alarm limit

8840

probe MV Low alarm limit

8848

probe COF/PF High alarm limit

8856

probe COF/PF Low alarm limit

8864

probe %C High alarm limit

8872

probe %C Low alarm limit

8880

O2 data mantissa

8888

O2 data exponent

8896-8899

 

 

 

file 9

 

900

product ID code

901

reset logging

902

Dynamic C compiler version in hex

903

long date/time stamp in secs from

904

  midnight Jan 1, 1980.

905

Hack attempts counter

906

Web access code, level 1

907

Web access code, level 2

908

SSI error handler return counts

909

Set factory defaults control, 23205 (0x5aa5) to set

910

Force user block write and read

911

Rabbit ID from ID block

912

Web CGI action

 

 

914

4 locations for IP address (14 - 17)

918

4 locations for netmask (18 - 21)

922

4 locations for gateway (22 - 25)

 

 

930

10 locations for port states

940

auto calibration interval timer

941

auto zero interval timer

942

auto cal/zero request; bit 0 = zero, bit 1 = span

943

auto cal/zero sequence

944

sequence timer

945

auto cal/zero status

946

Flag to initiate log of Auto cal

947

Number of entries in Auto cal log file

 

 

980

4 locations for Time server IP address (120 - 123)

984

UTC time zone as a quarter hour offset from UTC must be +/- 100

  

For EST with a -5 hour difference enter -20.

985

UTC update interval in days (0 to 399) 0 disables

986

UTC update flag

987

UTC result

988 - 989

 

990

DAC board number. 1 thru 8

991

 

992

 

993

 

994

 

995

 

996

 

997

 

998 - 999

 

 

 

2600 - 2699

Four Quad DAC boards

2700 - 2799

Four Quad DAC boards

0 - 14

 

0

DAC status = copy of COM_stat_X

1

DAC mode, 0 = counts, 1 = current

2

DAC 0 Value Current 0 to 20000

3

DAC 1 Value

4

DAC 2 Value

5

DAC 3 Value

6

DAC calibration channel

7

DAC calibration Enable

8

DAC calibration request

9

DAC calibration target value CH 1

10

DAC calibration target value CH 2

11

DAC calibration target value CH 3

12

DAC calibration target value CH 4

13

 

14

 

15 to 19

 

20

computed values to send to DAC

21

 

22

 

23

 

24

 

 

 

2800 - 2899

 

0

Com status for message one of the PIC to rabbit comms.

1 - 3

 

4

Com status for message two of the PIC to rabbit comms.

5 - 15

 

16

A/D 1 status register (negative)

17

A/D 1 reading, ir led on

19

A/D 1 status register (positive)

20

A/D 1 reading, ir led off

22

A/D 2 status register (negative)

23

A/D 2 reading, ir led on

25

A/D 2 status register (positive)

26

A/D 2 reading, ir led off

28

A/D 3 status register (negative)

29

A/D 3 reading, ir led on

31

A/D 3 status register (positive)

32

A/D 3 reading, ir led off

34

A/D 4 status register (negative)

35

A/D 4 reading, ir led on

37

A/D 4 status register (positive)

38

A/D 4 reading, ir led off

40

IR LED trigger time

41

time from IRLED on/off to trigger AD7739 conv.

42

internal A/D channel selector

43

ambient temperature raw counts (10 bits resolution)

44

ambient temperature trim

45

gas temperature raw counts (10 bits resolution)

46

gas temperature trim

47

absolute pressure raw counts (10 bits resolution)

48

absolute pressure trim

49

differential pressure raw counts (10 bits resolution)

50

differential pressure trim

51

digital status word

52

Baud Rate selection variable

53 - 99

 

 

 

2900 - 2999

 

2900-2903

 

2904

Digital Output setpoint

2905

Digital Output actual

2906

Digital Input

2907-2913

 

2914

Digital Output setpoint

2915

Digital Output actual

2916

Digital Input

2917-2923

 

2924

Digital Output setpoint

2925

Digital Output actual

2926

// Digital Input

2927-2933

 

2934

Digital Output setpoint

2935

Digital Output actual

2936

Digital Input

2937-2949

 

2950

x curve point in MV

2951

y curve point in 10x MV (10000 = 1000.0)

2952-2999

more curve points.

2998

top curve point is forced to 3200 for x

2999

top curve point is forced to 32000 for y

 

 

3000 - 3099

 

3100 - 3199

 

3200 - 3299

 

3300 - 3399

 

1

version number of the firmware

2

0 = °F, 1 = °C, 2 = °R, 3 = K

3

Cold Junction Temperature

8

Input type

13

Process Variable

18

enables a calibration

19

CJ cal or zero/span voltage cal

20

Calibration Range register. Sets the voltage gain for a calibration

21

 

22

First of 5 Calibration value

27

First of 5 calibration timers

32

0 = no calibration, 1 = calibration in progress

33

First of 5 calibration error calculations

37

End of calibration registers

38

First of 5 Scaled VDC

 

 

 

 

3400 - 3499

 

0 - 10

 

11

 

12 - 77

 

78

 

78 - 99

 

 

 

3700 - 3799

 

0 - 9

 

10 -17

8 registers for zone probe MV

18 - 25

8 registers for zone probe TC

26 - 33

8 registers for zone furnace TC

34 - 99

 

 

 

Note: 

Gas Numbers

Gas alarm bits (for register 8616):

0 = CO

7 = CO2

1 = CO2

8 = CO

2 = CH4

9 = CH4

3 = High CO2

10 = High CO2

4 = IR %C

11 = IR %C

5 = H2

12 = H2

6 = O2

13 = O2

7 = Probe %C