#
#  MARS GLOBAL SURVEYOR TELEMETRY DISPLAY LANGUAGE (MGS TDL)
#
MISSION=MGS
AUTO_ALARM_HIGHLIGHT=DN,EU,STATE_NAME,RED_ALM_VAL,YELLOW_ALM_VAL,RED_ALM_COND,YELLOW_ALM_COND

###############################################################################
#                                                                             #
# TEMPLATE: ALARM                                                             #
# FILE NAME: mgs_alarm_01_default.tdl                                         #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Alarm Page Default Template                  #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=ALARM size=43,80 pos=4,1 rsize=1,80 # mgs_alarm_01_default.tdl

TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
undefined:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,10 val='UNDEFINED';
#------------------------------------------------------------------------------
digital:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='D';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=DN	  fmt="%#12.08x" REVERSE;
	pos=1,36 val=DN	  fmt="%12u"     REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' REVERSE;
        pos=1,51 val=RED_ALM_VAL  fmt="%#08x" REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=DN	  fmt="%#12.08x" BOLD;
	pos=1,36 val=DN	  fmt="%12u"   	 BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' BOLD;
        pos=1,51 val=YELLOW_ALM_VAL  fmt="%#08x" BOLD;
    else
	pos=1,23 val=DN	  fmt="%#12.08x";
	pos=1,36 val=DN	  fmt="%12u";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
uinteger:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='U';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12u"   	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10u" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_HI_ALM  fmt="%10u" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10u" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10u" REVERSE;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12u"   	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10u" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10u" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10u" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10u" BOLD;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12u";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
integer:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='I';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12d"   	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10d" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_HI_ALM  fmt="%10d" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10d" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10d" REVERSE;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12d"   	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10d" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10d" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10d" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10d" BOLD;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12d";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
status:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='S';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=STATE_NAME  fmt="%12.12s"  REVERSE;
	pos=1,36 val=DN	  fmt="%12.02u"         REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=STATE_NAME  fmt="%12.12s"  BOLD;
	pos=1,36 val=DN	  fmt="%12.02u"         BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' BOLD;
    else
	pos=1,23 val=STATE_NAME  fmt="%12.12s";
	pos=1,36 val=DN	  fmt="%12.02u";
        pos=1,49 val=' ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
ascii:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='A';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,36 val=DN  fmt="%12.12s"  REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  CHANGE='C' REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,36 val=DN  fmt="%12.12s"  BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  CHANGE='C' BOLD;
    else
	pos=1,36 val=DN	 fmt="%12.12s";
        pos=1,49 val=' ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
float:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='F';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12.5e" 	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val='          ';
        elseif RED_ALM_COND = HIGH
            pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val='          ';
        elseif RED_ALM_COND = INCL
            pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12.5e" 	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val='          ';
        elseif YELLOW_ALM_COND = HIGH
            pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val='          ';
        elseif YELLOW_ALM_COND = INCL
            pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12.5e";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: SUBALM                                                            #
# FILE NAME: mgs_subalm_01_default.tdl                                        #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Alarm Page Default Template                  #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=SUBALM size=15,80 pos=4,6 rsize=3,15 # mgs_subalm_01_default.tdl
TEXTREGION
rule=DYNAMIC
pos=2,1	val=SUBSYSTEM	fmt="%-4.4s";
if SUBALM_CNT != 0
	pos=2,6	val=SUBALM_CNT fmt="%6u" REVERSE;
else
	pos=2,6	val=SUBALM_CNT fmt="%6u";
endif
pos=3,1	val=SUBINFO fmt="%-12.12s";
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE                                                           #
# FILE NAME: mgs_message_01_default.tdl                                       #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Default Template                     #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE size=1,132   # mgs_message_01_default.tdl
TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
ascii:
    pos=1,2   val=CHAN_ID;
    pos=1,9   val='A';
    pos=1,11  val=FIRST_VAL	FALSE=' ' TRUE='F';
    pos=1,12  val=FIRST_ALARM	FALSE=' ' TRUE='F';
    if RED_ALM_COND != 0
        pos=1,13 val=RED_ALM_COND NO_ALM='  '  CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,13 val=YELLOW_ALM_COND NO_ALM='  '  CHANGE='YC';
    else
        pos=1,13 val='  ';
    endif
    pos=1,16  val=CHAN_TITLE	fmt="%-12.12s";
    pos=1,29  val=DN		fmt="%12.12s";
    pos=1,70  val=CHAN_SCLK   	fmt=R91;
    pos=1,82  val='S';
    pos=1,83  val=CHAN_SCET	fmt=YDHMS;
    pos=1,99  val='E';
    pos=1,100 val=CHAN_ERT	fmt=YDHMS;
    pos=1,116 val=CHAN_RCT	fmt=DMYHMS;
#------------------------------------------------------------------------------
digital:
    pos=1,2   val=CHAN_ID;
    pos=1,9   val='D';
    pos=1,11  val=FIRST_VAL	FALSE=' ' TRUE='F';
    pos=1,12  val=FIRST_ALARM	FALSE=' ' TRUE='F';
    if RED_ALM_COND != 0
        pos=1,13 val=RED_ALM_COND NO_ALM='  '  MASK='RM'  CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,13 val=YELLOW_ALM_COND NO_ALM='  '  MASK='YM'  CHANGE='YC';
    else
        pos=1,13 val='  ';
    endif
    pos=1,16  val=CHAN_TITLE	fmt="%-12.12s";
    pos=1,29  val=DN		fmt="%#12.08x";
    if FIRST_VAL = FALSE
        pos=1,55  val=DIFF          fmt="%#10.08x";
        pos=1,66  val='d';
    endif
    pos=1,70  val=CHAN_SCLK   	fmt=R91;
    pos=1,82  val='S';
    pos=1,83  val=CHAN_SCET	fmt=YDHMS;
    pos=1,99  val='E';
    pos=1,100 val=CHAN_ERT	fmt=YDHMS;
    pos=1,116 val=CHAN_RCT	fmt=DMYHMS;
#------------------------------------------------------------------------------
float:
    pos=1,2   val=CHAN_ID;
    pos=1,9   val='F';
    pos=1,11  val=FIRST_VAL	FALSE=' ' TRUE='F';
    pos=1,12  val=FIRST_ALARM	FALSE=' ' TRUE='F';
    if RED_ALM_COND != 0
        pos=1,13 val=RED_ALM_COND NO_ALM='  ' LOW='RL' HIGH='RH' INCL='RI' CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,13 val=YELLOW_ALM_COND NO_ALM='  ' LOW='YL' HIGH='YH' INCL='YI' CHANGE='YC';
    else
        pos=1,13 val='  ';
    endif
    pos=1,16  val=CHAN_TITLE	fmt="%-12.12s";
    pos=1,29  val=DN		fmt="%12.5e";
    pos=1,42  val=EU		fmt="%12.5e";
    if FIRST_VAL = FALSE
        if TEST_ON_EU = 1
            pos=1,55  val=DIFF          fmt="%10.3e";
            pos=1,66  val='e';
        else
            pos=1,55  val=DIFF          fmt="%10.3e";
            pos=1,66  val='d';
        endif
    endif
    pos=1,67  val=SUPPRESS_COND 0=' ' 1='I' 2='O';
    pos=1,68  val=RANGE_TYPE    NO=' ' LOW='L' HIGH='H' INCL='I' EXCL='E' CHANGE='C';
    pos=1,70  val=CHAN_SCLK   	fmt=R91;
    pos=1,82  val='S';
    pos=1,83  val=CHAN_SCET	fmt=YDHMS;
    pos=1,99  val='E';
    pos=1,100 val=CHAN_ERT	fmt=YDHMS;
    pos=1,116 val=CHAN_RCT	fmt=DMYHMS;
#------------------------------------------------------------------------------
integer:
    pos=1,2   val=CHAN_ID;
    pos=1,9   val='I';
    pos=1,11  val=FIRST_VAL	FALSE=' ' TRUE='F';
    pos=1,12  val=FIRST_ALARM	FALSE=' ' TRUE='F';
    if RED_ALM_COND != 0
        pos=1,13 val=RED_ALM_COND NO_ALM='  ' LOW='RL' HIGH='RH' INCL='RI' CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,13 val=YELLOW_ALM_COND NO_ALM='  ' LOW='YL' HIGH='YH' INCL='YI' CHANGE='YC';
    else
        pos=1,13 val='  ';
    endif
    pos=1,16  val=CHAN_TITLE	fmt="%-12.12s";
    pos=1,29  val=DN		fmt="%12d";
    pos=1,42  val=EU		fmt="%12.5e";
    if FIRST_VAL = FALSE
        if TEST_ON_EU = 1
            pos=1,55  val=DIFF          fmt="%10.3e";
            pos=1,66  val='e';
        else
            pos=1,55  val=DIFF          fmt="%10d";
            pos=1,66  val='d';
        endif
    endif
    pos=1,67  val=SUPPRESS_COND 0=' ' 1='I' 2='O';
    pos=1,68  val=RANGE_TYPE    NO=' ' LOW='L' HIGH='H' INCL='I' EXCL='E' CHANGE='C';
    pos=1,70  val=CHAN_SCLK   	fmt=R91;
    pos=1,82  val='S';
    pos=1,83  val=CHAN_SCET	fmt=YDHMS;
    pos=1,99  val='E';
    pos=1,100 val=CHAN_ERT	fmt=YDHMS;
    pos=1,116 val=CHAN_RCT	fmt=DMYHMS;
#------------------------------------------------------------------------------
status:
    pos=1,2   val=CHAN_ID;
    pos=1,9   val='S';
    pos=1,11  val=FIRST_VAL	FALSE=' ' TRUE='F';
    pos=1,12  val=FIRST_ALARM	FALSE=' ' TRUE='F';
    if RED_ALM_COND != 0
        pos=1,13 val=RED_ALM_COND NO_ALM='  '  MASK='RM'  CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,13 val=YELLOW_ALM_COND NO_ALM='  '  MASK='YM'  CHANGE='YC';
    else
        pos=1,13 val='  ';
    endif
    pos=1,16  val=CHAN_TITLE	fmt="%-12.12s";
    pos=1,29  val=DN		fmt="%12.02u";
    pos=1,42  val=STATE_NAME    fmt="%12.12s";
    pos=1,70  val=CHAN_SCLK   	fmt=R91;
    pos=1,82  val='S';
    pos=1,83  val=CHAN_SCET	fmt=YDHMS;
    pos=1,99  val='E';
    pos=1,100 val=CHAN_ERT	fmt=YDHMS;
    pos=1,116 val=CHAN_RCT	fmt=DMYHMS;
#------------------------------------------------------------------------------
uinteger:
    pos=1,2   val=CHAN_ID;
    pos=1,9   val='U';
    pos=1,11  val=FIRST_VAL	FALSE=' ' TRUE='F';
    pos=1,12  val=FIRST_ALARM	FALSE=' ' TRUE='F';
    if RED_ALM_COND != 0
        pos=1,13 val=RED_ALM_COND NO_ALM='  ' LOW='RL' HIGH='RH' INCL='RI' CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,13 val=YELLOW_ALM_COND NO_ALM='  ' LOW='YL' HIGH='YH' INCL='YI' CHANGE='YC';
    else
        pos=1,13 val='  ';
    endif
    pos=1,16  val=CHAN_TITLE	fmt="%-12.12s";
    pos=1,29  val=DN		fmt="%12u";
    pos=1,42  val=EU		fmt="%12.5e";
    if FIRST_VAL = FALSE
        if TEST_ON_EU = 1
            pos=1,55  val=DIFF          fmt="%10.3e";
            pos=1,66  val='e';
        else
            pos=1,55  val=DIFF          fmt="%10d";
            pos=1,66  val='d';
        endif
    endif
    pos=1,67  val=SUPPRESS_COND 0=' ' 1='I' 2='O';
    pos=1,68  val=RANGE_TYPE    NO=' ' LOW='L' HIGH='H' INCL='I' EXCL='E' CHANGE='C';
    pos=1,70  val=CHAN_SCLK   	fmt=R91;
    pos=1,82  val='S';
    pos=1,83  val=CHAN_SCET	fmt=YDHMS;
    pos=1,99  val='E';
    pos=1,100 val=CHAN_ERT	fmt=YDHMS;
    pos=1,116 val=CHAN_RCT	fmt=DMYHMS;
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE


###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE                                                           #
# FILE NAME: mgs_message_01_default.tdl                                       #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Default Template                     #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE size=1,132   # mgs_message_01_default.tdl
TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
ascii:
    pos=1,2   val=CHAN_ID;
    pos=1,10  val=CHAN_TITLE    fmt="%-12.12s";
    pos=1,25  val=CHAN_ERT      fmt=YDHMS;
    pos=1,40  val=DN		fmt="%12.12s";
    pos=1,70  val=CHAN_ID;
#------------------------------------------------------------------------------
digital:
    pos=1,2   val=CHAN_ID;
    pos=1,10  val=CHAN_TITLE    fmt="%-12.12s";
    pos=1,25  val=CHAN_ERT      fmt=YDHMS;
    pos=1,40  val=DN		fmt="%#12.08x";
    pos=1,70  val=CHAN_ID;
#------------------------------------------------------------------------------
float:
    pos=1,2   val=CHAN_ID;
    pos=1,10  val=CHAN_TITLE    fmt="%-12.12s";
    pos=1,25  val=CHAN_ERT      fmt=YDHMS;
    pos=1,40  val=DN		fmt="%12.1f";
    pos=1,55  val=EU		fmt="%12.1f";
    pos=1,70  val=CHAN_ID;
#------------------------------------------------------------------------------
integer:
    pos=1,2   val=CHAN_ID;
    pos=1,10  val=CHAN_TITLE    fmt="%-12.12s";
    pos=1,25  val=CHAN_ERT      fmt=YDHMS;
    pos=1,40  val=DN		fmt="%12d";
    pos=1,55  val=EU		fmt="%12.1f";
    pos=1,70  val=CHAN_ID;
#------------------------------------------------------------------------------
status:
    pos=1,2   val=CHAN_ID;
    pos=1,10  val=CHAN_TITLE    fmt="%-12.12s";
    pos=1,25  val=CHAN_ERT      fmt=YDHMS;
    pos=1,40  val=DN		fmt="%12u";
    pos=1,55  val=STATE_NAME    fmt="%12.12s";
    pos=1,70  val=CHAN_ID;
#------------------------------------------------------------------------------
uinteger:
    pos=1,2   val=CHAN_ID;
    pos=1,10  val=CHAN_TITLE    fmt="%-12.12s";
    pos=1,25  val=CHAN_ERT      fmt=YDHMS;
    pos=1,40  val=EU		fmt="%12.1f";
    pos=1,55  val=DN		fmt="%12u";
    pos=1,70  val=CHAN_ID;
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE


###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE_PAGE                                                      #
# FILE NAME: mgs_message_page_01_default.tdl                                  #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Page 24x132 Default Template         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE_PAGE size=21,132 pos=5,1 # mgs_message_page_01_default.tdl
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE_PAGE                                                      #
# FILE NAME: mgs_message_page_02_54x132.tdl                                   #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Page 54x132 Default Template         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE_PAGE size=50,132 pos=5,1 # mgs_message_page_02_54x132.tdl
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE_PAGE                                                      #
# FILE NAME: mgs_message_page_03_24x80.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Page 24x80 Template                  #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE_PAGE size=21,80  pos=5,1 # mgs_message_page_03_24x80.tdl
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE_PAGE                                                      #
# FILE NAME: mgs_message_page_04_54x80.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Page 54x80 Template                  #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE_PAGE size=50,80  pos=5,1 # mgs_message_page_04_54x80.tdl
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE_PAGE                                                      #
# FILE NAME: mgs_message_page_05_24x98.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Page 24x98 Template                  #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE_PAGE size=21,98  pos=5,1 # mgs_message_page_05_24x98.tdl
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: MESSAGE_PAGE                                                      #
# FILE NAME: mgs_message_page_06_54x98.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Message Page 54x98 Template                  #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MESSAGE_PAGE size=50,98  pos=5,1 # mgs_message_page_06_54x98.tdl
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: LIST                                                              #
# FILE NAME: mgs_list_01_default.tdl                                          #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor List Page Default Tempalte                   #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=LIST size=21,80 pos=4,1 rsize=1,80 # mgs_list_01_default.tdl
TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
undefined:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,10 val='UNDEFINED';
#------------------------------------------------------------------------------
digital:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='D';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=DN	  fmt="%#12.08x" REVERSE;
	pos=1,36 val=DN	  fmt="%12u"     REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' REVERSE;
        pos=1,51 val=RED_ALM_VAL  fmt="%#08x" REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=DN	  fmt="%#12.08x" BOLD;
	pos=1,36 val=DN	  fmt="%12u"   	 BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' BOLD;
        pos=1,51 val=YELLOW_ALM_VAL  fmt="%#08x" BOLD;
    else
	pos=1,23 val=DN	  fmt="%#12.08x";
	pos=1,36 val=DN	  fmt="%12u";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
uinteger:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='U';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12u"   	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10u" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_HI_ALM  fmt="%10u" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10u" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10u" REVERSE;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12u"   	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10u" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10u" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10u" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10u" BOLD;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12u";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
integer:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='I';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12d"   	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10d" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_HI_ALM  fmt="%10d" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10d" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10d" REVERSE;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12d"   	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10d" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10d" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10d" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10d" BOLD;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12d";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
status:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='S';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=STATE_NAME  fmt="%12.12s"  REVERSE;
	pos=1,36 val=DN	  fmt="%12.02u"         REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=STATE_NAME  fmt="%12.12s"  BOLD;
	pos=1,36 val=DN	  fmt="%12.02u"         BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' BOLD;
    else
	pos=1,23 val=STATE_NAME  fmt="%12.12s";
	pos=1,36 val=DN	  fmt="%12.02u";
        pos=1,49 val=' ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
ascii:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='A';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,36 val=DN  fmt="%12.12s"  REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  CHANGE='C' REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,36 val=DN  fmt="%12.12s"  BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  CHANGE='C' BOLD;
    else
	pos=1,36 val=DN	 fmt="%12.12s";
        pos=1,49 val=' ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
float:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='F';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12.5e" 	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val='          ';
        elseif RED_ALM_COND = HIGH
            pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val='          ';
        elseif RED_ALM_COND = INCL
            pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12.5e" 	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val='          ';
        elseif YELLOW_ALM_COND = HIGH
            pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val='          ';
        elseif YELLOW_ALM_COND = INCL
            pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12.5e";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: LIST                                                              #
# FILE NAME: mgs_list_02_long.tdl                                             #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor List Page Long Template                      #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=LIST size=48,80 pos=4,1 rsize=1,80 # mgs_list_02_long.tdl
TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
undefined:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,10 val='UNDEFINED';
#------------------------------------------------------------------------------
digital:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='D';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=DN	  fmt="%#12.08x" REVERSE;
	pos=1,36 val=DN	  fmt="%12u"     REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' REVERSE;
        pos=1,51 val=RED_ALM_VAL  fmt="%#08x" REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=DN	  fmt="%#12.08x" BOLD;
	pos=1,36 val=DN	  fmt="%12u"   	 BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' BOLD;
        pos=1,51 val=YELLOW_ALM_VAL  fmt="%#08x" BOLD;
    else
	pos=1,23 val=DN	  fmt="%#12.08x";
	pos=1,36 val=DN	  fmt="%12u";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
uinteger:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='U';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12u"   	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10u" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_HI_ALM  fmt="%10u" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10u" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10u" REVERSE;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12u"   	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10u" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10u" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10u" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10u" BOLD;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12u";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
integer:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='I';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12d"   	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10d" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val='          ';
            else
                pos=1,51 val=RED_HI_ALM  fmt="%10d" REVERSE;
                pos=1,62 val='          ';
            endif
        elseif RED_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            else
                pos=1,51 val=RED_LO_ALM  fmt="%10d" REVERSE;
                pos=1,62 val=RED_HI_ALM  fmt="%10d" REVERSE;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12d"   	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10d" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = HIGH
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val='          ';
            else
                pos=1,51 val=YELLOW_HI_ALM  fmt="%10d" BOLD;
                pos=1,62 val='          ';
            endif
        elseif YELLOW_ALM_COND = INCL
            if TEST_ON_EU != FALSE
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            else
                pos=1,51 val=YELLOW_LO_ALM  fmt="%10d" BOLD;
                pos=1,62 val=YELLOW_HI_ALM  fmt="%10d" BOLD;
            endif
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12d";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
status:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='S';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=STATE_NAME  fmt="%12.12s"  REVERSE;
	pos=1,36 val=DN	  fmt="%12.02u"         REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=STATE_NAME  fmt="%12.12s"  BOLD;
	pos=1,36 val=DN	  fmt="%12.02u"         BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  MASK='M'  CHANGE='C' BOLD;
    else
	pos=1,23 val=STATE_NAME  fmt="%12.12s";
	pos=1,36 val=DN	  fmt="%12.02u";
        pos=1,49 val=' ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
ascii:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='A';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,36 val=DN  fmt="%12.12s"  REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' '  CHANGE='C' REVERSE;
    elseif YELLOW_ALM_COND != 0
	pos=1,36 val=DN  fmt="%12.12s"  BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' '  CHANGE='C' BOLD;
    else
	pos=1,36 val=DN	 fmt="%12.12s";
        pos=1,49 val=' ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
float:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='F';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    if RED_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  REVERSE;
	pos=1,36 val=DN	  fmt="%12.5e" 	REVERSE;
        pos=1,49 val=RED_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' REVERSE;
        if RED_ALM_COND = LOW
            pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val='          ';
        elseif RED_ALM_COND = HIGH
            pos=1,51 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val='          ';
        elseif RED_ALM_COND = INCL
            pos=1,51 val=RED_LO_ALM  fmt="%10.3e" REVERSE;
            pos=1,62 val=RED_HI_ALM  fmt="%10.3e" REVERSE;
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    elseif YELLOW_ALM_COND != 0
	pos=1,23 val=EU	  fmt="%12.5e"  BOLD;
	pos=1,36 val=DN	  fmt="%12.5e" 	BOLD;
        pos=1,49 val=YELLOW_ALM_COND NO_ALM=' ' LOW='L' HIGH='H' INCL='I' CHANGE='C' BOLD;
        if YELLOW_ALM_COND = LOW
            pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val='          ';
        elseif YELLOW_ALM_COND = HIGH
            pos=1,51 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val='          ';
        elseif YELLOW_ALM_COND = INCL
            pos=1,51 val=YELLOW_LO_ALM  fmt="%10.3e" BOLD;
            pos=1,62 val=YELLOW_HI_ALM  fmt="%10.3e" BOLD;
        else
            pos=1,51 val='          ';
            pos=1,62 val='          ';
       endif
    else
	pos=1,23 val=EU	  fmt="%12.5e";
	pos=1,36 val=DN	  fmt="%12.5e";
        pos=1,49 val=' ';
        pos=1,51 val='          ';
        pos=1,62 val='          ';
    endif
    pos=1,73 val=CHAN_ERT   fmt=HMS;
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: MATRIX                                                            #
# FILE NAME: mgs_matrix_01_default.tdl                                        #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Default Matrix Page Template                 #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=MATRIX size=21,80 pos=4,3 rsize=5,13 # mgs_matrix_01_default.tdl
TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
undefined:
    rule=STATIC
    pos=2,1  val=CHAN_ID;
    pos=3,1  val='UNDEFINED';
#------------------------------------------------------------------------------
integer:
    rule=STATIC
    pos=2,1  val=CHAN_ID;
    pos=2,8  val='I';
    pos=3,1  val=CHAN_TITLE  fmt="%-12.12s";
    rule=DYNAMIC
    pos=4,1  val=DN  fmt="%-12d";
    pos=5,1  val=EU  fmt="%-12.5e";
#------------------------------------------------------------------------------
uinteger:
    rule=STATIC
    pos=2,1  val=CHAN_ID;
    pos=2,8  val='U';
    pos=3,1  val=CHAN_TITLE  fmt="%-12.12s";
    rule=DYNAMIC
    pos=4,1  val=DN  fmt="%-12u";
    pos=5,1  val=EU  fmt="%-12.5e";
#------------------------------------------------------------------------------
digital:
    rule=STATIC
    pos=2,1  val=CHAN_ID;
    pos=2,8  val='D';
    pos=3,1  val=CHAN_TITLE  fmt="%-12.12s";
    rule=DYNAMIC
    pos=4,1  val=DN  fmt="%-12u";
    pos=5,1  val=DN  fmt="%-#12.08x";
#------------------------------------------------------------------------------
float:
    rule=STATIC
    pos=2,1  val=CHAN_ID;
    pos=2,8  val='F';
    pos=3,1  val=CHAN_TITLE  fmt="%-12.12s";
    rule=DYNAMIC
    pos=4,1  val=DN  fmt="%-12.5e";
    pos=5,1  val=EU  fmt="%-12.5e";
#------------------------------------------------------------------------------
ascii:
    rule=STATIC
    pos=2,1  val=CHAN_ID;
    pos=2,8  val='A';
    pos=3,1  val=CHAN_TITLE  fmt="%-12.12s";
    rule=DYNAMIC
    pos=4,1  val=DN  fmt="%-12.12s";
#------------------------------------------------------------------------------
status:
    rule=STATIC
    pos=2,1  val=CHAN_ID;
    pos=2,8  val='S';
    pos=3,1  val=CHAN_TITLE  fmt="%-12.12s";
    rule=DYNAMIC
    pos=4,1  val=DN  fmt="%-12.02u";
    pos=5,1  val=STATE_NAME  fmt="%-12.12s";
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE


###############################################################################
#                                                                             #
# TEMPLATE: PLOT                                                              #
# FILE NAME: mgs_plot_01_default.tdl                                          #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Default Plot Template                        #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PLOT size=21,80 pos=4,1  # mgs_plot_01_default.tdl
PLOTREGION
psize=21,80 ppos=4,1
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PLOT MICRO                                                        #
# FILE NAME: mgs_plot_02_micro.tdl                                            #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Micro Plot                                   #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PLOT size=14,46  pos=3,1  # mgs_plot_02_micro.tdl
PLOTREGION
psize=14,46  ppos=3,1
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PLOT MINI                                                         #
# FILE NAME: mgs_plot_03_mini.tdl                                             #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Mini Plot                                    #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PLOT size=17,62  pos=3,1  # mgs_plot_03_mini.tdl
PLOTREGION
psize=17,62  ppos=3,1
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PLOT 94 WIDE                                                      #
# FILE NAME: mgs_plot_04_94wide.tdl                                           #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor 94 Wide Plot                                 #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PLOT size=21,94 pos=4,1  # mgs_plot_04_94wide.tdl
PLOTREGION
psize=21,94 ppos=4,1
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PLOT 120 WIDE                                                     #
# FILE NAME: mgs_plot_05_120wide.tdl                                          #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor 120 Wide Plot                                #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PLOT size=21,120 pos=4,1  # mgs_plot_05_120wide.tdl
PLOTREGION
psize=21,120 ppos=4,1
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PLOT STRIP CHART                                                  #
# FILE NAME: mgs_plot_06_strip_chart.tdl                                      #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Mars Global Surveyor Strip Chart Plot                             #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PLOT size=14,190 pos=2,1 # mgs_plot_06_strip_chart.tdl
PLOTREGION
psize=14,190 ppos=2,1
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME:  mgs_video_header_01_3x80.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Video header 3 lines by 80 characters                         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=3,80 pos=1,1 # mgs_video_header_01_3x80.tdl

TEXTREGION

rule=STATIC
pos=1,1 val='MGS          ';
pos=2,1 val='             ';
rule=DYNAMIC
pos=1,1 val=TITLE fmt="%-16.16s";
pos=2,1 val=SUBTITLE fmt="%-16.16s";
pos=3,1 val=WALL fmt=DMYHMS;

rule=STATIC
#pos=2,20 val='DSS=';
pos=1,20 val='S/C=';
pos=3,20 val='ALARM=';
rule=DYNAMIC
pos=1,24 val=DN	 chan=H-0001 fmt="%-3u";
#pos=2,24 val=DN  chan=H-0003 2='70'   3='71'  19='81'  45='49'  83='21'  85='05'
#                            87='10'  91='06'  95='07'  96='08' 103='67' 129='12'
#                  130='14' 131='15' 132='16' 144='40' 146='42' 147='43' 148='45'
#                  149='46' 215='60' 229='62' 243='61' 244='63' 246='66' 253='65';
pos=2,20 val=DN  chan=H-3 2='MIL 71 '  3='SPOCC I'  4='SPC 04 '   5='DSS 05 '   6='DSS 06 '   7='DSS 07 '
                          8='DSS 08 ' 10='SPC 10 ' 12='DSS 12 '  13='HAW    '  14='DSS 14 '  15='DSS 15 '
                         16='DSS 16 ' 17='DSS 17 ' 31='GWM    '  32='HAW    '  33='ACN    '  40='SPC 40 '
                         42='DSS 42 ' 43='DSS 43 ' 45='DSS 45 '  46='DSS 46 '  60='SPC 60 '  61='DSS 61 '
                         62='DSS 62 ' 63='DSS 63 ' 65='DSS 65 '  66='DSS 66 '  70='SPC 70 '  72='DSS 72 '
                         75='JSC    ' 76='JSC    ' 81='SPOCC B' 112='JSC    ' 116='DENVER ' 164='CSTC   ';

if NUM_IN_ALM != 0
   pos=3,26 val=NUM_IN_ALM fmt="%03u" BOLD;
else
   pos=3,26 val=NUM_IN_ALM fmt="%03u";
endif


rule=STATIC
pos=3,31 val='D  A  S';

rule=DYNAMIC
pos=1,31 val=VERSION fmt="%-8.8s";
pos=2,31 val=DATA_SOURCE fmt="%-8.8s";
pos=3,32 val=DN chan=H-0030 fmt="%02u";
pos=3,35 val=DN chan=H-0031 fmt="%02u";
pos=3,38 val=DN chan=H-0032 fmt="%02u";

pos=1,42 val=DN	 chan=H-0025  0='EMERGNCY' 1='MISSION ' 2='ENGINEER' 3='DWELL   ';
pos=2,42 val=DN	 chan=H-0038  0='NOTINUSE' 1='INVALID ' 2='IN_LOCK ' 3='OUT_LOCK';
pos=3,42 val=DN  chan=H-0005 fmt="%-7.0f";
pos=3,49 val=STATE_NAME  chan=H-0004 fmt="%1.1s";

pos=1,52 val=DN	 chan=H-0033  0='AQ_DUMP' 1='SCP_MRO' 2='SCP_CV ' 3='SCP_TLM';
pos=2,52 val=DN	 chan=H-0027  0='NONE   ' 1='SCP-1  ' 2='SCP-2  ' 3='EDFDUMP';
pos=3,52 val=DN	 chan=H-0028  0='NON_CNT' 1='CONTROL';

rule=STATIC
pos=1,61 val='ERT= ';
pos=2,61 val='SCET=';
rule=DYNAMIC
pos=1,66 val=ERT  fmt=YDHMS;
pos=2,66 val=SCET fmt=YDHMS;
pos=3,61 val=DN	 chan=H-0017 fmt="%-11.11u";

pos=3,73 val=DN	 chan=H-0026 fmt="%2d";

if DN of chan=V-1415=2
    pos=3,76 val=DN  chan=F-1414 fmt="%2d" REVERSE;
else
    pos=3,76 val=DN  chan=F-1414 fmt="%2d";
endif

if DN of chan=U-1415=2
    pos=3,79 val=DN  chan=N-1414 fmt="%2d" REVERSE;
else
    pos=3,79 val=DN  chan=N-1414 fmt="%2d";
endif


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME:  mgs_video_header_02_2x80.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Video header 2 lines by 80 characters                         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=2,80 pos=1,1 # mgs_video_header_02_2x80.tdl

TEXTREGION

rule=STATIC
pos=1,1 val='MGS          ';
pos=2,1 val='SOURCE=';
rule=DYNAMIC
pos=1,1 val=TITLE fmt="%-16.16s";
#pos=2,1 val=SUBTITLE fmt="%-16.16s";

rule=DYNAMIC
pos=1,19 val=DN  chan=H-0001 fmt="%-3u";
#pos=2,19 val=DN  chan=H-0003 2='70'   3='71'  19='81'  45='49'  83='21'  85='05'
#                            87='10'  91='06'  95='07'  96='08' 103='67' 129='12'
#                  130='14' 131='15' 132='16' 144='40' 146='42' 147='43' 148='45'
#                  149='46' 215='60' 229='62' 243='61' 244='63' 246='66' 253='65';
pos=2,08 val=DN  chan=H-3 2='MIL 71 '  3='SPOCC I'  4='SPC 04 '   5='DSS 05 '   6='DSS 06 '   7='DSS 07 '
                          8='DSS 08 ' 10='SPC 10 ' 12='DSS 12 '  13='HAW    '  14='DSS 14 '  15='DSS 15 '
                         16='DSS 16 ' 17='DSS 17 ' 31='GWM    '  32='HAW    '  33='ACN    '  40='SPC 40 '
                         42='DSS 42 ' 43='DSS 43 ' 45='DSS 45 '  46='DSS 46 '  60='SPC 60 '  61='DSS 61 '
                         62='DSS 62 ' 63='DSS 63 ' 65='DSS 65 '  66='DSS 66 '  70='SPC 70 '  72='DSS 72 '
                         75='JSC    ' 76='JSC    ' 81='SPOCC B' 112='JSC    ' 116='DENVER ' 164='CSTC   ';

pos=1,22 val=DN	 chan=H-0038  0='OUT_USE' 1='INVCODE' 2='IN_LOCK' 3='OUTLOCK';
pos=2,22 val=DN  chan=H-0005 fmt="%-6.0f";
pos=2,28 val=STATE_NAME  chan=H-0004 fmt="%1.1s";


pos=1,31 val=DN	 chan=H-0025  0='EMERGCY' 1='MISSION' 2='ENGNEER' 3='DWELL  ';
pos=2,31 val=DN	 chan=H-0033  0='AQ_DUMP' 1='SCP_MRO' 2='SCP_CV ' 3='SCP_TLM';


rule=STATIC
pos=1,40 val='ERT= ';
pos=2,40 val='SCET=';
rule=DYNAMIC
pos=1,45 val=ERT  fmt=YDHMS;
pos=2,45 val=SCET fmt=YDHMS;


rule=STATIC
pos=1,61 val='ALARM=';
rule=DYNAMIC
if NUM_IN_ALM != 0
   pos=1,67 val=NUM_IN_ALM fmt="%03u" BOLD;
else
   pos=1,67 val=NUM_IN_ALM fmt="%03u";
endif

pos=2,61 val=DN	 chan=H-0017 fmt="%-11.11u";

pos=1,73 val=DATA_SOURCE fmt="%-8.8s";
pos=2,73 val=DN	 chan=H-0026 fmt="%2d";
pos=2,76 val=DN	 chan=F-1414 fmt="%2d";
pos=2,79 val=DN	 chan=N-1414 fmt="%2d";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME:  mgs_video_header_03_3x60.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Video header 3 lines by 60 characters                         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=3,60 pos=1,1 # mgs_video_header_03_3x60.tdl

TEXTREGION

rule=STATIC
pos=1,1 val='MGS          ';
pos=2,1 val='             ';
rule=DYNAMIC
pos=1,1 val=TITLE fmt="%-16.16s";
pos=2,1 val=SUBTITLE fmt="%-16.16s";
pos=3,1 val=WALL fmt=DMYHMS;

rule=STATIC
pos=3,20 val='ALARM=';
rule=DYNAMIC
pos=3,26 val=NUM_IN_ALM fmt="%-3d";
pos=1,20 val=DATA_SOURCE fmt="%-8.8s";
pos=2,20 val=DN	 chan=H-0038  0='NOTINUSE' 1='INVALID ' 2='IN_LOCK ' 3='OUT_LOCK';


pos=1,31 val=DN	 chan=H-0025  0='EMERGNCY' 1='MISSION ' 2='ENGINEER' 3='DWELL   ';
pos=2,31 val=DN	 chan=H-0033  0='AQ_DUMP' 1='SCP_MRO' 2='SCP_CV ' 3='SCP_TLM';
pos=3,31 val=DN  chan=H-0005 fmt="%-7.0f";
pos=3,38 val=STATE_NAME  chan=H-0004 fmt="%1.1s";

rule=STATIC
pos=1,41 val='ERT= ';
pos=2,41 val='SCET=';
rule=DYNAMIC
pos=1,46 val=ERT  fmt=YDHMS;
pos=2,46 val=SCET fmt=YDHMS;
pos=3,41 val=DN	 chan=H-0017 fmt="%-11.11u";

pos=3,53 val=DN	 chan=H-0026 fmt="%2d";
pos=3,56 val=DN	 chan=F-1414 fmt="%2d";
pos=3,59 val=DN	 chan=N-1414 fmt="%2d";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME:  mgs_video_header_04_2x60.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Video header 2 lines by 60 characters                         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=2,60 pos=1,1 # mgs_video_header_04_2x60.tdl

TEXTREGION

rule=STATIC
pos=1,1 val='MGS          ';
pos=2,1 val='             ';
rule=DYNAMIC
pos=1,1 val=TITLE fmt="%-16.16s";
pos=2,1 val=SUBTITLE fmt="%-16.16s";

rule=STATIC
pos=1,19 val='ERT= ';
pos=2,19 val='SCET=';
rule=DYNAMIC
pos=1,24 val=ERT  fmt=YDHMS;
pos=2,24 val=SCET fmt=YDHMS;


rule=STATIC
pos=1,41 val='ALARM=';
rule=DYNAMIC
pos=1,47 val=NUM_IN_ALM fmt="%-4d";
pos=2,41 val=DN	 chan=H-0017 fmt="%-11.11u";

pos=1,53 val=DATA_SOURCE fmt="%-8.8s";
pos=2,53 val=DN	 chan=H-0026 fmt="%2d";
pos=2,56 val=DN	 chan=F-1414 fmt="%2d";
pos=2,59 val=DN	 chan=N-1414 fmt="%2d";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME:  mgs_video_header_05_3x20.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Video header 3 lines by 20 characters                         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=3,20 pos=1,1 # mgs_video_header_05_3x20.tdl

TEXTREGION

rule=STATIC
pos=1,01 val='ERT= ';
pos=2,01 val='SCET=';
rule=DYNAMIC
pos=1,06 val=ERT  fmt=YDHMS;
pos=2,06 val=SCET fmt=YDHMS;
pos=3,01 val=DN	 chan=H-0017 fmt="%-11.11u";

pos=3,13 val=DN	 chan=H-0026 fmt="%2d";
pos=3,16 val=DN	 chan=F-1414 fmt="%2d";
pos=3,19 val=DN	 chan=N-1414 fmt="%2d";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME:  mgs_video_header_06_2x20.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Video header 2 lines by 20 characters                         #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=2,20 pos=1,1 # mgs_video_header_06_2x20.tdl

TEXTREGION

rule=STATIC
pos=1,01 val='ERT= ';
pos=2,01 val='SCET=';
rule=DYNAMIC
pos=1,06 val=ERT  fmt=YDHMS;
pos=2,06 val=SCET fmt=YDHMS;


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO HEADER                                                      #
# FILE NAME: mgs_video_header_07_blank.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Blank Video Header                                            #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=VIDEO_HEADER size=1,1 pos=1,1  # mgs_video_header_07_blank.tdl
TEXTREGION
pos=1,1 val=' ';
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO HEADER                                                      #
# FILE NAME: mgs_video_header_08_micro_plot.tdl                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Micro Plot Video Header                                       #
# BASELINED: OGS 8-01-93                                                      #
# FINALIZED: OGS 11-30-93                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=VIDEO_HEADER size=2,46 pos=1,1 # mgs_video_header_08_micro_plot.tdl
TEXTREGION
rule=STATIC
pos=1,1 val='MGS          ';
pos=2,1 val='             ';
rule=DYNAMIC
pos=1,1 val=TITLE fmt="%-18.18s";
pos=2,1 val=SUBTITLE fmt="%-18.18s";
rule=STATIC
pos=1,27 val='SCET=';
pos=2,27 val=' ERT=';
rule=DYNAMIC
pos=1,32 val=SCET fmt=YDHMS;
pos=2,32 val=ERT fmt=YDHMS;
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME:  mgs_video_header_09_mini_plot.tdl                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Video header 2 lines by 46 characters for mgs_mini_plots      #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=2,46 pos=1,1 # mgs_video_header_09_mini_plot.tdl

TEXTREGION

rule=STATIC
pos=1,1 val='MGS          ';
pos=2,1 val='             ';

pos=1,27 val='ERT= ';
pos=2,27 val='SCET=';

rule=DYNAMIC
pos=1,1 val=TITLE fmt="%-16.16s";
pos=2,1 val=SUBTITLE fmt="%-16.16s";

rule=DYNAMIC
pos=1,18 val=STATE_NAME  chan=H-0025  fmt="%-8.8s";
pos=2,18 val=STATE_NAME  chan=H-0033  fmt="%-8.8s";

rule=DYNAMIC
pos=1,32 val=ERT  fmt=YDHMS;
pos=2,32 val=SCET fmt=YDHMS;


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: VIDEO HEADER                                                      #
# FILE NAME: mgs_video_header_10_strip_plot.tdl                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Strip Plot Video Header                                       #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=VIDEO_HEADER size=1,145 pos=1,1 # mgs_video_header_10_strip_plot.tdl
TEXTREGION
rule=STATIC
pos=1,1  val='MGS          ';
pos=1,19 val='             ';
rule=DYNAMIC
pos=1,1  val=TITLE fmt="%-18.18s";
pos=1,21 val=SUBTITLE fmt="%-18.18s";
rule=STATIC
pos=1,62 val='SCET=';
pos=1,85 val='ERT=';
rule=DYNAMIC
pos=1,41 val=DN  chan=H-0017 fmt="%-11.11u";
pos=1,53 val=DN  chan=H-0026 fmt="%2d";
pos=1,56 val=DN  chan=F-1414 fmt="%2d";
pos=1,59 val=DN  chan=N-1414 fmt="%2d";
pos=1,67 val=SCET fmt=YDHMS;
pos=1,87 val=ERT fmt=YDHMS;



ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE: VIDEO_HEADER                                                      #
# FILE NAME: mgs_video_header_11_pds_cmd_acct.tdl                             #
# AUTHOR: JDeLuca                                                             #
# COMMENTS:                                                                   #
# BASELINED: 10/01/92                                                         #
# MODIFIED:  05/01/96  for MGS by O. Short                                    #
#                                                                             #
#                                                                             #
###############################################################################

#header for PDS cmd acc page.
TEMPLATE type=VIDEO_HEADER size=2,63 pos=1,1    # mgs_video_header_11_pds_cmd_acct.tdl
TEXTREGION

rule=STATIC
pos=1, 1 val='SCLK=';
rule=DYNAMIC
pos=1,7 val=DN chan=H-17 fmt="%-10u";
rule=STATIC
pos=1,19 val='SCET=';
rule=DYNAMIC
pos=1,25 val=SCET       fmt=YDHMS;
rule=STATIC
pos=1,42 val='ERT=';
rule=DYNAMIC
pos=1,47 val=ERT        fmt=YDHMS;

rule=STATIC
pos=2,1 val='CMD_INDEX=';
rule=DYNAMIC
pos=2,11 val=DN chan=D-197     fmt="%-3u";
rule=STATIC
pos=2,15 val='MINPKTID=';
rule=DYNAMIC
pos=2,24 val=DN chan=D-0  fmt="%-4x";
rule=STATIC
pos=2,29 val='PKT_TIME=';
rule=DYNAMIC
pos=2,38 val=DN chan=D-53 fmt="%-9u";
rule=STATIC
pos=2,49 val='PKT_SEQ=';
rule=DYNAMIC
pos=2,58 val=DN chan=D-198 fmt="%-4x";

ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE:  VIDEO_HEADER                                                     #
# FILE NAME: 1_video_hdr_01.tdl                                               #
# AUTHOR:    Robert R. Smith                                                  #
# COMMENTS:  Mars Global Surveyor Video header Template                       #
# BASELINED: 12-14-95                                                         #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=VIDEO_HEADER size=2,62 pos=1,1	# RTOT_MC,Video Header (62 wide)
TEXTREGION
rule=STATIC
pos=1, 1 val='CPU=';							          #  4|
rule=DYNAMIC
#pos=1, 5 val=JWALL	fmt=HMS;					               #  9
pos=1, 5 val=WALL	fmt=HMS;					               #  9
rule=STATIC
pos=1,14 val=TITLE fmt="%-16.16s";					          # 17
rule=DYNAMIC
pos=1,31 val=DATA_SOURCE	fmt="%-8.8s";				          # 9
rule=STATIC
pos=1,40 val='B#';							               # 2|
rule=DYNAMIC
pos=1,42 val=NUM_BAD_SFDUS fmt="%-9u";					     # 10
rule=STATIC
pos=1,52 val='Pg=';							               # 3|
rule=DYNAMIC
if NUM_ALM_DEFS <= 43
	pos=1,55 val=' 1';						               # 3
elseif NUM_ALM_DEFS <= 86
	pos=1,55 val=' 2';
elseif NUM_ALM_DEFS <= 129
	pos=1,55 val=' 3';
elseif NUM_ALM_DEFS <= 172
	pos=1,55 val=' 4';
elseif NUM_ALM_DEFS <= 215
	pos=1,55 val=' 5';
elseif NUM_ALM_DEFS <= 258
	pos=1,55 val=' 6';
else
	pos=1,55 val='**';
endif
rule=STATIC
pos=1,58 val='#=';							               # 2|
rule=DYNAMIC
pos=1,60 val=NUM_IN_ALM fmt="%03u";					     # 3
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
rule=STATIC
pos=2, 1 val='ERT=';							          #  4|
rule=DYNAMIC
pos=2, 5 val=ERT	fmt=HMS;					               #  9
rule=STATIC
pos=2,16 val='E#';							               # 2|
rule=DYNAMIC
pos=2,18 val=NUM_ENG_SFDUS fmt="%-9u";					     # 10
rule=STATIC
pos=2,28 val='M#';							               # 2|
rule=DYNAMIC
pos=2,30 val=NUM_MON_SFDUS fmt="%-9u";					     # 10
rule=STATIC
pos=2,40 val='Q#';							               # 2|
rule=DYNAMIC
pos=2,42 val=NUM_QQC_SFDUS fmt="%-9u";					     # 10
rule=DYNAMIC
pos=2,56 val=DN	 chan=H-3 2='MIL 71 ' 3='SPOCC I' 4='SPC 04 ' 5='DSS 05 ' 6='DSS 06 ' 7='DSS 07 ' 8='DSS 08 ' 10='SPC 10 ' 12='DSS 12 ' 13='HAW    ' 14='DSS 14 ' 15='DSS 15 ' 16='DSS 16 ' 17='DSS 17 ' 31='GWM    ' 32='HAW    ' 33='ACN    ' 40='SPC 40 ' 42=
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PRINT HEADER                                                      #
# FILE NAME: mgs_print_header_01_default.tdl                                  #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Default Print Header                                          #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PRINT_HEADER size=2,62	# mgs_print_header_01_default.tdl
TEXTREGION

pos=1, 1 val='CPU=';					
pos=1, 5 val=JWALL	fmt=YDHMS;
pos=1,21 val='SCE=';
pos=1,25 val=SCET	fmt=YDHMS;
pos=1,41 val='RC=';
pos=1,44 val=RCT	fmt=DMYHMS;

pos=2, 1 val='ERT=';
pos=2, 5 val=ERT	fmt=YDHMS;
pos=2,43 val=DATA_SOURCE	fmt="%-12.12s";
pos=2,56 val=DN	 chan=H-3 2='MIL 71 '  3='SPOCC I'  4='SPC 04 '   5='DSS 05 '   6='DSS 06 '   7='DSS 07 '
                          8='DSS 08 ' 10='SPC 10 ' 12='DSS 12 '  13='HAW    '  14='DSS 14 '  15='DSS 15 '
                         16='DSS 16 ' 17='DSS 17 ' 31='GWM    '  32='HAW    '  33='ACN    '  40='SPC 40 '
                         42='DSS 42 ' 43='DSS 43 ' 45='DSS 45 '  46='DSS 46 '  60='SPC 60 '  61='DSS 61 '
                         62='DSS 62 ' 63='DSS 63 ' 65='DSS 65 '  66='DSS 66 '  70='SPC 70 '  72='DSS 72 '
                         75='JSC    ' 76='JSC    ' 81='SPOCC B' 112='JSC    ' 116='DENVER ' 164='CSTC   ';
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PRINT HEADER                                                      #
# FILE NAME: mgs_print_header_02_blank.tdl                                    #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Blank Print Header                                            #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PRINT_HEADER size=1,1 #  mgs_print_header_02_blank.tdl
TEXTREGION
pos=1,1 val=' ';
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PRINT_HEADER                                                      #
# FILE NAME: mgs_print_header_03_def_message.tdl                              #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Print Header For Default CPT_DUMP                             #
# BASELINED: OGS 8-01-93                                                      #
# FINALIZED: OGS 11-30-93                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PRINT_HEADER size=2,132	# mgs_print_header_03_def_message.tdl
TEXTREGION
pos=1,1	  val='    TYPE   FIRST_VAL,FIRST_ALARM,ALARM_COND                       ';
pos=1,67  val='TEST_dn/eu,SUPP_COND,RANGE_TYPE                                   ';
pos=2,1	  val='        | |                                                      |';
pos=2,67  val='                                                                  ';
pos=3,1   val=' |ID--| | |--| |TITLE-----| |DN--------| |EU/STATE--| |DIFF----| |';
pos=3,67  val='-| |SCLK-----| |SCET----------| |ERT-----------| |RCT------------|';
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: PRINT_HEADER                                                      #
# FILE NAME: mgs_print_header_04_mct_cpt_dump.tdl                             #
# AUTHOR:                                                                     #
# COMMENTS: MGS Print Header For Default CPT_DUMP                             #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=PRINT_HEADER size=4,132	# mgs_print_header_04_mct_cpt_dump.tdl
TEXTREGION
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
pos=1,1		val='Note: Line 2(DIGITAL=RED MASK,BITS';
pos=1,35	val=' YEL MASK,BITS)(STATUS=16 states)';
pos=1,69	val='Line 2-5(FLOAT/INTEGER/UNSIGNED=COEF or DN/EU Pairs)';
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pos=2,1		val='CHAN ID';						# 9
pos=2,10 	val='TYPE';						# 2
pos=2,17	val='TITLE';						# 13
pos=2,30	val='UNITS';						# 7
pos=2,37	val='DN/EU';						# 6
pos=2,45	val='HYSTERESIS';					# 3
pos=2,57	val='RED ALARM';					# 3
pos=2,78	val='YELLOW ALARM';					# 3
pos=2,99	val='RANGE';						# 3
pos=2,120	val='CCL';						# 3
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pos=3,1 	val='|';
pos=3,10	val='|';
pos=3,12	val='SUBSY|STEM';					# 5
#pos=3,17	val='|';
pos=3,30	val='|';
pos=3,37	val='|';
pos=3,40	val='TIME';						# 5
pos=3,45	val='|';
pos=3,48	val='TOLERANCE';	 				# 9
pos=3,57	val='|';
pos=3,60	val='LOW/MASK';						# 9
pos=3,69	val='HIGH';						# 9
pos=3,78	val='|';
pos=3,81	val='LOW/MASK';						# 9
pos=3,90	val='HIGH';						# 9
pos=3,99	val='|';
pos=3,102	val='LOW';						# 9
pos=3,111	val='HIGH';						# 9
pos=3,120	val='|';
pos=3,123	val='PARAMETER';	 				# 9
#~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
pos=4,1 	val='|';
pos=4,10	val='|';
pos=4,12	val='|';	
pos=4,17	val='|';
pos=4,30	val='|';
pos=4,37	val='|';
pos=4,40	val='|';					
pos=4,45	val='|';
pos=4,48	val='|';	 				
pos=4,57	val='|';
pos=4,60	val='|';					
pos=4,69	val='|';					
pos=4,78	val='|';
pos=4,81	val='|';					
pos=4,90	val='|';					
pos=4,99	val='|';
pos=4,102	val='|';						
pos=4,111	val='|';					
pos=4,120	val='|';
pos=4,123	val='|';
#pos=4,2	val='RED ALAR|M| MAS|K or STATES';
#pos=4,35	val='RE|D |ALAR|M |BITS or |ST|ATES';
#pos=4,68	val='Y|ELLOW AL|AR|M MASK o|r STATES';
#pos=4,101	val='Y|ELLOW AL|ARM BITS| o|r STATES';
#------------------------------------------------------------------------------
#------------------------------------------------------------------------------
ENDREGION
ENDTEMPLATE


###############################################################################
#                                                                             #
# TEMPLATE: CPT_DUMP                                                          #
# FILE NAME: mgs_cpt_dump_01_default.tdl                                      #
# AUTHOR: AMMOS                                                               #
# COMMENTS: MGS CPT Dump Default Format                                       #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=CPT_DUMP size=4,80 # mgs_cpt_dump_01_default.tdl
TEXTREGION
SWITCH CHAN_TYPE
integer:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='I';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,70 val='ROUTE=';
	pos=1,76 val=CHAN_ROUTE	fmt="%#4x";
	pos=2,4 val='HYST=';
	pos=2,9 val=IN_HYSTERESIS	0='OFF' 1='ON';
	pos=2,13 val='TEST=';
	pos=2,18 val=TEST_ON_EU	0='DN' 1='EU';
	pos=2,21 val='CCL=';
	pos=2,25 val=CCL_CPT_STATE 0='OFF' 1='ON' 2='ATT';
	pos=2,29 val=',';
	pos=2,30 val=CCL_PARM	fmt="%11d";
	pos=2,66 val='ALM_ROUTE=';
	pos=2,76 val=CHAN_ALM_ROUTE	fmt="%#4x";
	pos=3,4	 val='RED=';
	pos=3,8	val=RED_ALM_TYPE NO_ALM='off' LOW='low' HIGH='high' INCL='incl' EXCL='excl';
	pos=3,11 val=',';
	if TEST_ON_EU = 0
		pos=3,12 val=RED_LO_ALM	fmt="%11d";
		pos=3,22 val=',';
		pos=3,24 val=RED_HI_ALM	fmt="%11d";
		pos=3,37 val='YEL=';
		pos=3,41 val=YELLOW_ALM_TYPE 0='off' 1='low' 2='high'
			3='incl' 4 = 'excl';
		pos=3,44 val=',';
		pos=3,45 val=YELLOW_LO_ALM	fmt="%11d";
		pos=3,56 val=',';
		pos=3,57 val=YELLOW_HI_ALM	fmt="%11d";
		pos=4,4	 val='TOL=';
		pos=4,8	 val=TOLERANCE	fmt="%11u";
	else
		pos=3,12 val=RED_LO_ALM	fmt="%11.4f";
		pos=3,22 val=',';
		pos=3,24 val=RED_HI_ALM	fmt="%11.4f";
		pos=3,37 val='YEL=';
		pos=3,41 val=YELLOW_ALM_TYPE 0='off' 1='low' 2='high'
			3='incl' 4 = 'excl';
		pos=3,45 val=YELLOW_LO_ALM	fmt="%11.4f";
		pos=3,56 val=',';
		pos=3,57 val=YELLOW_HI_ALM	fmt="%11.4f";
		pos=4,4	 val='TOL=';
		pos=4,8	 val=TOLERANCE	fmt="%11.4f";
	endif
	pos=4,20 val='RANGE=';
	pos=4,26 val=RANGE_TYPE	0='off' 1='low' 2='high' 3='incl' 4='excl';
	pos=4,30 val=':';
	if TEST_ON_EU = 0
		pos=4,31 val=RANGE_LO	fmt="%11d";
		pos=4,42 val=',';
		pos=4,43 val=RANGE_HI	fmt="%11d";
	else
		pos=4,31 val=RANGE_LO	fmt="%11.4f";
		pos=4,42 val=',';
		pos=4,43 val=RANGE_HI	fmt="%11.4f";
	endif
uinteger:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='U';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,70 val='ROUTE=';
	pos=1,76 val=CHAN_ROUTE	fmt="%#4x";
	pos=2,4 val='HYST=';
	pos=2,9 val=IN_HYSTERESIS	0='OFF' 1='ON';
	pos=2,13 val='TEST=';
	pos=2,18 val=TEST_ON_EU	0='DN' 1='EU';
	pos=2,21 val='CCL=';
	pos=2,25 val=CCL_CPT_STATE 0='OFF' 1='ON' 2='ATT';
	pos=2,29 val=',';
	pos=2,30 val=CCL_PARM	fmt="%11d";
	pos=2,66 val='ALM_ROUTE=';
	pos=2,76 val=CHAN_ALM_ROUTE	fmt="%#4x";
	pos=3,4	 val='RED=';
	pos=3,8	val=RED_ALM_TYPE 0='off' 1='low' 2='high' 3='incl' 4='excl';
	pos=3,12 val=',';
	if TEST_ON_EU = 0
		pos=3,13 val=RED_LO_ALM	fmt="%11u";
		pos=3,24 val=',';
		pos=3,25 val=RED_HI_ALM	fmt="%11u";
		pos=3,37 val='YEL=';
		pos=3,41 val=YELLOW_ALM_TYPE 0='off' 1='low'
			2='high' 3='incl' 4='excl';
		pos=3,45 val=',';
		pos=3,46 val=YELLOW_LO_ALM	fmt="%11u";
		pos=3,57 val=',';
		pos=3,58 val=YELLOW_HI_ALM	fmt="%11u";
		pos=4,4	 val='TOL=';
		pos=4,8	 val=TOLERANCE	fmt="%11u";
	else
		pos=3,13 val=RED_LO_ALM	fmt="%11.4f";
		pos=3,24 val=',';
		pos=3,25 val=RED_HI_ALM	fmt="%11.4f";
		pos=3,37 val='YEL=';
		pos=3,41 val=YELLOW_ALM_TYPE 0='off' 1='low'
			2='high' 3='incl' 4='excl';
		pos=3,45 val=',';
		pos=3,46 val=YELLOW_LO_ALM	fmt="%11.4f";
		pos=3,57 val=',';
		pos=3,58 val=YELLOW_HI_ALM	fmt="%11.4f";
		pos=4,4	 val='TOL=';
		pos=4,8	 val=TOLERANCE	fmt="%11.4f";
	endif
	pos=4,20 val='RANGE=';
	pos=4,26 val=RANGE_TYPE	0='off' 1='low' 2='high' 3='incl' 4='excl';
	pos=4,30 val=':';
	if TEST_ON_EU = 0
		pos=4,31 val=RANGE_LO	fmt="%11u";
		pos=4,42 val=',';
		pos=4,43 val=RANGE_HI	fmt="%11u";
	else
		pos=4,31 val=RANGE_LO	fmt="%11.4f";
		pos=4,42 val=',';
		pos=4,43 val=RANGE_HI	fmt="%11.4f";
	endif
digital:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='D';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,70 val='ROUTE=';
	pos=1,76 val=CHAN_ROUTE	fmt="%#4x";
	pos=2,4 val='HYST=';
	pos=2,9 val=IN_HYSTERESIS	0='OFF' 1='ON';
	pos=2,13 val='TEST=';
	pos=2,18 val=TEST_ON_EU	0='DN' 1='EU';
	pos=2,21 val='CCL=';
	pos=2,25 val=CCL_CPT_STATE 0='OFF' 1='ON' 2='ATT';
	pos=2,29 val=',';
	pos=2,30 val=CCL_PARM	fmt="%11d";
	pos=2,66 val='ALM_ROUTE=';
	pos=2,76 val=CHAN_ALM_ROUTE	fmt="%#4x";
	pos=3,4	 val='RED=';
	pos=3,8  val=RED_ALM_TYPE NO_ALM='OFF' MASK='MASK' CHANGE='CHANGE';
	pos=3,15  val=RED_ALM_MASK	fmt="%#11x";
	pos=3,27 val=',';
	pos=3,28 val=RED_ALM_BITS	fmt="%#11x";
	pos=3,44 val='YEL=';
	pos=3,48  val=YELLOW_ALM_TYPE NO_ALM='OFF' MASK='MASK' CHANGE='CHANGE';
	pos=3,55 val=YELLOW_ALM_MASK	fmt="%#11x";
	pos=3,67 val=',';
	pos=3,68 val=YELLOW_ALM_BITS	fmt="%#11x";
	pos=4,4	 val='TOL=';
	pos=4,8	 val=TOLERANCE	fmt="%#11x";
	pos=4,20 val='VALID BITS=';
	pos=4,31 val=VALID_BITS fmt="%#11x";
	pos=4,43 val='EVENT BITS=';
	pos=4,54 val=EVENT_BITS fmt="%#11x";
float:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='F';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,31 val='CONV=';
	pos=1,36 val=INPUT_CONV 0='NONE' 1='ATAC-16' 2='MODCOMP';
	pos=1,70 val='ROUTE=';
	pos=1,76 val=CHAN_ROUTE	fmt="%#4x";
	pos=2,4 val='HYST=';
	pos=2,9 val=IN_HYSTERESIS	0='OFF' 1='ON';
	pos=2,13 val='TEST=';
	pos=2,18 val=TEST_ON_EU	0='DN' 1='EU';
	pos=2,21 val='CCL=';
	pos=2,25 val=CCL_CPT_STATE 0='OFF' 1='ON' 2='ATT';
	pos=2,29 val=',';
	pos=2,30 val=CCL_PARM	fmt="%11d";
	pos=2,66 val='ALM_ROUTE=';
	pos=2,76 val=CHAN_ALM_ROUTE	fmt="%#4x";
	pos=3,4	 val='RED=';
	pos=3,8	 val=RED_ALM_TYPE 0='off' 1='low' 2='high' 3='incl' 4='excl';
	pos=3,12 val=',';
	pos=3,13 val=RED_LO_ALM	fmt="%.4e";
	pos=3,23 val=',';
	pos=3,24 val=RED_HI_ALM	fmt="%.4e";
	pos=3,37 val='YEL=';
	pos=3,41 val=YELLOW_ALM_TYPE 0='off' 1='low' 2='high' 3='incl' 4='excl';
	pos=3,45 val=',';
	pos=3,46 val=YELLOW_LO_ALM fmt="%.4e";
	pos=3,56 val=',';
	pos=3,57 val=YELLOW_HI_ALM fmt="%.4e";
	pos=4,4	 val='TOL=';
	pos=4,8	 val=TOLERANCE	fmt="%11u";
	pos=4,20 val='RANGE=';
	pos=4,26 val=RANGE_TYPE	0='off' 1='low' 2='high' 3='incl' 4='excl';
	pos=4,30 val=':';
	pos=4,31 val=RANGE_LO	fmt="%.4e";
	pos=4,42 val=',';
	pos=4,43 val=RANGE_HI	fmt="%.4e";
ascii:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='A';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,46 val='CCL=';
	pos=1,50 val=CCL_CPT_STATE 0='OFF' 1='ON' 2='ATT';
	pos=1,51 val=',';
	pos=1,52 val=CCL_PARM	fmt="%11d";
	pos=1,70 val='ROUTE=';
	pos=1,76 val=CHAN_ROUTE	fmt="%#4x";
status:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='S';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,31 val='HYST=';
	pos=1,36 val=IN_HYSTERESIS	0='OFF' 1='ON';
	pos=1,46 val='CCL=';
	pos=1,50 val=CCL_CPT_STATE 0='OFF' 1='ON' 2='ATT';
	pos=1,51 val=',';
	pos=1,52 val=CCL_PARM	fmt="%11d";
	pos=1,66 val='ROUTE=';
	pos=1,76 val=CHAN_ROUTE	fmt="%#4x";
	pos=2,4	 val='RED ALARM MASK=';
	pos=2,25 val=RED_ALM_MASK fmt="%#4x";
	pos=2,37 val='YELLOW ALARM MASK=';
	pos=2,58 val=YELLOW_ALM_MASK fmt="%#4x";
	pos=2,70 val='ALM_ROUTE=';
	pos=2,76 val=CHAN_ALM_ROUTE	fmt="%#4x";
	pos=3,4 val=STATE [1]	fmt="%-6.6s";
	pos=3,11 val=STATE [2]	fmt="%-6.6s";
	pos=3,18 val=STATE [3]	fmt="%-6.6s";
	pos=3,25 val=STATE [4]	fmt="%-6.6s";
	pos=3,32 val=STATE [5]	fmt="%-6.6s";
	pos=3,39 val=STATE [6]	fmt="%-6.6s";
	pos=3,46 val=STATE [7]	fmt="%-6.6s";
	pos=3,53 val=STATE [8]	fmt="%-6.6s";
	pos=4,4 val=STATE [9]	fmt="%-6.6s";
	pos=4,11 val=STATE [10]	fmt="%-6.6s";
	pos=4,18 val=STATE [11]	fmt="%-6.6s";
	pos=4,25 val=STATE [12]	fmt="%-6.6s";
	pos=4,32 val=STATE [13]	fmt="%-6.6s";
	pos=4,39 val=STATE [14]	fmt="%-6.6s";
	pos=4,46 val=STATE [15]	fmt="%-6.6s";
	pos=4,53 val=STATE [16]	fmt="%-6.6s";
ENDSWITCH
ENDREGION
ENDTEMPLATE


###############################################################################
#                                                                             #
# TEMPLATE: CPT_DUMP                                                          #
# FILE NAME: mgs_cpt_dump_02_mct.tdl                                          #
# AUTHOR: MCT                                                                 #
# COMMENTS: MGS CPT Dump MCT Format                                           #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=CPT_DUMP size=5,132	# mgs_cpt_dump_02_mct.tdl
TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
ascii:
  pos=1,1 	val=CHAN_ID;
  pos=1,10	val='A';
  pos=1,12	val=CHAN_SUB	fmt="%-4.4s";
  pos=1,17	val=CHAN_TITLE	fmt="%-12.12s";
  pos=1,30	val=EU_UNITS	fmt="%-6.6s";				
  pos=1,40	val=TIME_TYPE	0='ERT' 1='SCLK' 2='RCT' 3='SCET';	
  pos=1,48	val=TOLERANCE	fmt="%-8.8s";
  pos=1,57	val=RED_ALM_TYPE	NO='OF' CHANGE='CH';
  pos=1,78	val=YELLOW_ALM_TYPE	NO='OF' CHANGE='CH';
  pos=1,120	val=CCL_CPT_STATE	0='OF' 1='ON';		
  pos=1,123	val=CCL_PARM	fmt="%-8d";				
#------------------------------------------------------------------------------
digital:
  pos=1,1 	val=CHAN_ID;
  pos=1,10	val='D';
  pos=1,12	val=CHAN_SUB	fmt="%-4.4s";
  pos=1,17	val=CHAN_TITLE	fmt="%-12.12s";
  pos=1,30	val=EU_UNITS	fmt="%-6.6s";				
  pos=1,40	val=TIME_TYPE	0='ERT' 1='SCLK' 2='RCT' 3='SCET';	
  pos=1,48	val=TOLERANCE	fmt="%-8x";
  pos=1,57	val=RED_ALM_TYPE	NO='OF' MASK='MA' CHANGE='CH';
  pos=1,78	val=YELLOW_ALM_TYPE	NO='OF' MASK='MA' CHANGE='CH';
  pos=1,120	val=CCL_CPT_STATE	0='OF' 1='ON';			
  pos=1,123	val=CCL_PARM	fmt="%-8d";				
  pos=2,2 	val=RED_ALM_MASK	fmt=BIN32;
  pos=2,34	val=',';
  pos=2,35	val=RED_ALM_BITS	fmt=BIN32;
  pos=2,68	val=YELLOW_ALM_MASK	fmt=BIN32;
  pos=2,100	val=',';
  pos=2,101	val=YELLOW_ALM_BITS	fmt=BIN32;
#------------------------------------------------------------------------------
float:
  pos=1,1 	val=CHAN_ID;
  pos=1,10	val='F';
  pos=1,12	val=CHAN_SUB	fmt="%-4.4s";
  pos=1,17	val=CHAN_TITLE	fmt="%-12.12s";
  pos=1,30	val=EU_UNITS	fmt="%-6.6s";				
  pos=1,37	val=TEST_ON_EU	0='DN' 1='EU';				
  pos=1,40	val=TIME_TYPE	0='ERT' 1='SCLK' 2='RCT' 3='SCET';	
  pos=1,48	val=TOLERANCE	fmt="%-8.1g";				
  pos=1,57	val=RED_ALM_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
  pos=1,60	val=RED_LO_ALM	fmt="%-8.1g";				
  pos=1,69	val=RED_HI_ALM	fmt="%-8.1g";				
  pos=1,78	val=YELLOW_ALM_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
  pos=1,81	val=YELLOW_LO_ALM	fmt="%-8.1g";			
  pos=1,90	val=YELLOW_HI_ALM	fmt="%-8.1g";			
  pos=1,99	val=RANGE_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
  pos=1,102	val=RANGE_LO	fmt="%-8.1g";				
  pos=1,111	val=RANGE_HI	fmt="%-8.1g";				
  pos=1,120	val=CCL_CPT_STATE	0='OF' 1='ON';				
  pos=1,123	val=CCL_PARM	fmt="%-8d";				
  if COEF_TYPE = 1	
    pos=2,  2	val='COEF #=';
    pos=2,  9	val=NUM_COEFS	fmt="%2u";
    pos=2, 49	val='COEFS=';
    pos=2, 55	val=COEF [1]	fmt="%12.5g";				
    pos=2, 68	val=COEF [2]	fmt="%12.5g";				
    pos=2, 81	val=COEF [3]	fmt="%12.5g";				
    pos=2, 94	val=COEF [4]	fmt="%12.5g";				
    pos=2,107	val=COEF [5]	fmt="%12.5g";				
    pos=2,120	val=COEF [6]	fmt="%12.5g";				
  elseif COEF_TYPE = 2	
    pos=2,  2	val='PAIRS';
    pos=2,  8	val='TABLE DN=';
    pos=2, 17	val=TABLEDN [ 1]	fmt="%12.5g";
    pos=2, 30	val=TABLEDN [ 2]	fmt="%12.5g";
    pos=2, 43	val=TABLEDN [ 3]	fmt="%12.5g";
    pos=2, 56	val=TABLEDN [ 4]	fmt="%12.5g";
    pos=2, 69	val=TABLEDN [ 5]	fmt="%12.5g";
    pos=2, 82	val=TABLEDN [ 6]	fmt="%12.5g";
    pos=2, 95	val=TABLEDN [ 7]	fmt="%12.5g";
    pos=2,108	val=TABLEDN [ 8]	fmt="%12.5g";
    pos=2,121	val=TABLEDN [ 9]	fmt="%12.5g";
    pos=3,  3	val=NUM_COEFS		fmt="%2u";
    pos=3,  8	val='TABLE EU=';
    pos=3, 17	val=TABLEEU [ 1]	fmt="%12.5g";
    pos=3, 30	val=TABLEEU [ 2]	fmt="%12.5g";
    pos=3, 43	val=TABLEEU [ 3]	fmt="%12.5g";
    pos=3, 56	val=TABLEEU [ 4]	fmt="%12.5g";
    pos=3, 69	val=TABLEEU [ 5]	fmt="%12.5g";
    pos=3, 82	val=TABLEEU [ 6]	fmt="%12.5g";
    pos=3, 95	val=TABLEEU [ 7]	fmt="%12.5g";
    pos=3,108	val=TABLEEU [ 8]	fmt="%12.5g";
    pos=3,121	val=TABLEEU [ 9]	fmt="%12.5g";
    if NUM_COEFS >= 10
      pos=4,  8	val='TABLE DN=';
      pos=4, 17	val=TABLEDN [10]	fmt="%12.5g";
      pos=4, 30	val=TABLEDN [11]	fmt="%12.5g";
      pos=4, 43	val=TABLEDN [12]	fmt="%12.5g";
      pos=4, 56	val=TABLEDN [13]	fmt="%12.5g";
      pos=4, 69	val=TABLEDN [14]	fmt="%12.5g";
      pos=4, 82	val=TABLEDN [15]	fmt="%12.5g";
      pos=4, 95	val=TABLEDN [16]	fmt="%12.5g";
      pos=5,  8	val='TABLE EU=';
      pos=5, 17	val=TABLEEU [10]	fmt="%12.5g";
      pos=5, 30	val=TABLEEU [11]	fmt="%12.5g";
      pos=5, 43	val=TABLEEU [12]	fmt="%12.5g";
      pos=5, 56	val=TABLEEU [13]	fmt="%12.5g";
      pos=5, 69	val=TABLEEU [14]	fmt="%12.5g";
      pos=5, 82	val=TABLEEU [15]	fmt="%12.5g";
      pos=5, 95	val=TABLEEU [16]	fmt="%12.5g";
    endif
  endif
#------------------------------------------------------------------------------
integer:
  pos=1,1 	val=CHAN_ID;
  pos=1,10 	val='I';						
  pos=1,12	val=CHAN_SUB	fmt="%-4.4s";				
  pos=1,17	val=CHAN_TITLE	fmt="%-12.12s";				
  pos=1,30	val=EU_UNITS	fmt="%-6.6s";				
  pos=1,37	val=TEST_ON_EU	0='DN' 1='EU';				
  pos=1,40	val=TIME_TYPE	0='ERT' 1='SCLK' 2='RCT' 3='SCET';	
  if TEST_ON_EU = FALSE			
    pos=1,48	val=TOLERANCE	fmt="%-8d";				
    pos=1,57	val=RED_ALM_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,60	val=RED_LO_ALM	fmt="%-8d";				
    pos=1,69	val=RED_HI_ALM	fmt="%-8d";				
    pos=1,78	val=YELLOW_ALM_TYPE NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,81	val=YELLOW_LO_ALM	fmt="%-8d";			
    pos=1,90	val=YELLOW_HI_ALM	fmt="%-8d";			
    pos=1,99	val=RANGE_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,102	val=RANGE_LO	fmt="%-8d";				
    pos=1,111	val=RANGE_HI	fmt="%-8d";				
  else					
    pos=1,48	val=TOLERANCE	fmt="%-8.1g";				
    pos=1,57	val=RED_ALM_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,60	val=RED_LO_ALM	fmt="%-8.1g";				
    pos=1,69	val=RED_HI_ALM	fmt="%-8.1g";				
    pos=1,78	val=YELLOW_ALM_TYPE NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,81	val=YELLOW_LO_ALM	fmt="%-8.1g";			
    pos=1,90	val=YELLOW_HI_ALM	fmt="%-8.1g";			
    pos=1,99	val=RANGE_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,102	val=RANGE_LO	fmt="%-8.1g";				
    pos=1,111	val=RANGE_HI	fmt="%-8.1g";				
  endif
  pos=1,120	val=CCL_CPT_STATE	0='OF' 1='ON';				
  pos=1,123	val=CCL_PARM	fmt="%-8d";				
  if COEF_TYPE = 1	
    pos=2,  2	val='COEF #=';
    pos=2,  9	val=NUM_COEFS	fmt="%2u";
    pos=2, 49	val='COEFS=';
    pos=2, 55	val=COEF [1]	fmt="%12.5g";				
    pos=2, 68	val=COEF [2]	fmt="%12.5g";				
    pos=2, 81	val=COEF [3]	fmt="%12.5g";				
    pos=2, 94	val=COEF [4]	fmt="%12.5g";				
    pos=2,107	val=COEF [5]	fmt="%12.5g";				
    pos=2,120	val=COEF [6]	fmt="%12.5g";				
  elseif COEF_TYPE = 2	
    pos=2,  2	val='PAIRS';
    pos=2,  8	val='TABLE DN=';
    pos=2, 17	val=TABLEDN [ 1]	fmt="%12d";
    pos=2, 30	val=TABLEDN [ 2]	fmt="%12d";
    pos=2, 43	val=TABLEDN [ 3]	fmt="%12d";
    pos=2, 56	val=TABLEDN [ 4]	fmt="%12d";
    pos=2, 69	val=TABLEDN [ 5]	fmt="%12d";
    pos=2, 82	val=TABLEDN [ 6]	fmt="%12d";
    pos=2, 95	val=TABLEDN [ 7]	fmt="%12d";
    pos=2,108	val=TABLEDN [ 8]	fmt="%12d";
    pos=2,121	val=TABLEDN [ 9]	fmt="%12d";
    pos=3,  3	val=NUM_COEFS		fmt="%2u";
    pos=3,  8	val='TABLE EU=';
    pos=3, 17	val=TABLEEU [ 1]	fmt="%12.5g";
    pos=3, 30	val=TABLEEU [ 2]	fmt="%12.5g";
    pos=3, 43	val=TABLEEU [ 3]	fmt="%12.5g";
    pos=3, 56	val=TABLEEU [ 4]	fmt="%12.5g";
    pos=3, 69	val=TABLEEU [ 5]	fmt="%12.5g";
    pos=3, 82	val=TABLEEU [ 6]	fmt="%12.5g";
    pos=3, 95	val=TABLEEU [ 7]	fmt="%12.5g";
    pos=3,108	val=TABLEEU [ 8]	fmt="%12.5g";
    pos=3,121	val=TABLEEU [ 9]	fmt="%12.5g";
    if NUM_COEFS >= 10
      pos=4,  8	val='TABLE DN=';
      pos=4, 17	val=TABLEDN [10]	fmt="%12d";
      pos=4, 30	val=TABLEDN [11]	fmt="%12d";
      pos=4, 43	val=TABLEDN [12]	fmt="%12d";
      pos=4, 56	val=TABLEDN [13]	fmt="%12d";
      pos=4, 69	val=TABLEDN [14]	fmt="%12d";
      pos=4, 82	val=TABLEDN [15]	fmt="%12d";
      pos=4, 95	val=TABLEDN [16]	fmt="%12d";
      pos=5,  8	val='TABLE EU=';
      pos=5, 17	val=TABLEEU [10]	fmt="%12.5g";
      pos=5, 30	val=TABLEEU [11]	fmt="%12.5g";
      pos=5, 43	val=TABLEEU [12]	fmt="%12.5g";
      pos=5, 56	val=TABLEEU [13]	fmt="%12.5g";
      pos=5, 69	val=TABLEEU [14]	fmt="%12.5g";
      pos=5, 82	val=TABLEEU [15]	fmt="%12.5g";
      pos=5, 95	val=TABLEEU [16]	fmt="%12.5g";
    endif
  endif
#------------------------------------------------------------------------------
status:
  pos=1,1 	val=CHAN_ID;
  pos=1,10	val='S';
  pos=1,12	val=CHAN_SUB	fmt="%-4.4s";
  pos=1,17	val=CHAN_TITLE	fmt="%-12.12s";
  pos=1,30	val=EU_UNITS	fmt="%-6.6s";				
  pos=1,40	val=TIME_TYPE	0='ERT' 1='SCLK' 2='RCT' 3='SCET';	
  pos=1,57	val=RED_ALM_TYPE	NO='OF' MASK='MA' CHANGE='CH';
  pos=1,60	val=RED_ALM_MASK	fmt=BIN16;
  pos=1,78	val=YELLOW_ALM_TYPE	NO='OF' MASK='MA' CHANGE='CH';
  pos=1,81	val=YELLOW_ALM_MASK	fmt=BIN16;
  pos=1,120	val=CCL_CPT_STATE	0='OF' 1='ON';				
  pos=1,123	val=CCL_PARM	fmt="%-8d";				
  pos=2,2 	val=STATE [1]	fmt="%-6.6s";
  pos=2,10	val=STATE [2]	fmt="%-6.6s";
  pos=2,18	val=STATE [3]	fmt="%-6.6s";
  pos=2,26	val=STATE [4]	fmt="%-6.6s";
  pos=2,34	val=STATE [5]	fmt="%-6.6s";
  pos=2,42	val=STATE [6]	fmt="%-6.6s";
  pos=2,50	val=STATE [7]	fmt="%-6.6s";
  pos=2,58	val=STATE [8]	fmt="%-6.6s";
  pos=2,66	val=STATE [9]	fmt="%-6.6s";
  pos=2,74	val=STATE [10]	fmt="%-6.6s";
  pos=2,82	val=STATE [11]	fmt="%-6.6s";
  pos=2,90	val=STATE [12]	fmt="%-6.6s";
  pos=2,98	val=STATE [13]	fmt="%-6.6s";
  pos=2,106	val=STATE [14]	fmt="%-6.6s";
  pos=2,114	val=STATE [15]	fmt="%-6.6s";
  pos=2,122	val=STATE [16]	fmt="%-6.6s";
#------------------------------------------------------------------------------
uinteger:
  pos=1,1 	val=CHAN_ID;				
  pos=1,10	val='U';						
  pos=1,12	val=CHAN_SUB	fmt="%-4.4s";				
  pos=1,17	val=CHAN_TITLE	fmt="%-12.12s";				
  pos=1,30	val=EU_UNITS	fmt="%-6.6s";				
  pos=1,37	val=TEST_ON_EU	0='DN' 1='EU';				
  pos=1,40	val=TIME_TYPE	0='ERT' 1='SCLK' 2='RCT' 3='SCET';	
  if TEST_ON_EU = FALSE			
    pos=1,48	val=TOLERANCE	fmt="%-8u";				
    pos=1,57	val=RED_ALM_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,60	val=RED_LO_ALM	fmt="%-8u";				
    pos=1,69	val=RED_HI_ALM	fmt="%-8u";				
    pos=1,78	val=YELLOW_ALM_TYPE NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,81	val=YELLOW_LO_ALM	fmt="%-8u";			
    pos=1,90	val=YELLOW_HI_ALM	fmt="%-8u";			
    pos=1,99	val=RANGE_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,102	val=RANGE_LO	fmt="%-8u";				
    pos=1,111	val=RANGE_HI	fmt="%-8u";				
  else					
    pos=1,48	val=TOLERANCE	fmt="%-8.1g";				
    pos=1,57	val=RED_ALM_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,60	val=RED_LO_ALM	fmt="%-8.1g";				
    pos=1,69	val=RED_HI_ALM	fmt="%-8.1g";				
    pos=1,78	val=YELLOW_ALM_TYPE NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,81	val=YELLOW_LO_ALM	fmt="%-8.1g";			
    pos=1,90	val=YELLOW_HI_ALM	fmt="%-8.1g";			
    pos=1,99	val=RANGE_TYPE	NO='OF' LOW='LO' HIGH='HI' INCL='IN' EXCL='EX' CHANGE='CH';	
    pos=1,102	val=RANGE_LO	fmt="%-8.1g";				
    pos=1,111	val=RANGE_HI	fmt="%-8.1g";				
  endif
  pos=1,120	val=CCL_CPT_STATE	0='OF' 1='ON';				
  pos=1,123	val=CCL_PARM	fmt="%-8d";				
  if COEF_TYPE = 1	
    pos=2,  2	val='COEF #=';
    pos=2,  9	val=NUM_COEFS	fmt="%2u";
    pos=2, 49	val='COEFS=';
    pos=2, 55	val=COEF [1]	fmt="%12.5g";				
    pos=2, 68	val=COEF [2]	fmt="%12.5g";				
    pos=2, 81	val=COEF [3]	fmt="%12.5g";				
    pos=2, 94	val=COEF [4]	fmt="%12.5g";				
    pos=2,107	val=COEF [5]	fmt="%12.5g";				
    pos=2,120	val=COEF [6]	fmt="%12.5g";				
  elseif COEF_TYPE = 2	
    pos=2,  2	val='PAIRS';
    pos=2,  8	val='TABLE DN=';
    pos=2, 17	val=TABLEDN [ 1]	fmt="%12u";
    pos=2, 30	val=TABLEDN [ 2]	fmt="%12u";
    pos=2, 43	val=TABLEDN [ 3]	fmt="%12u";
    pos=2, 56	val=TABLEDN [ 4]	fmt="%12u";
    pos=2, 69	val=TABLEDN [ 5]	fmt="%12u";
    pos=2, 82	val=TABLEDN [ 6]	fmt="%12u";
    pos=2, 95	val=TABLEDN [ 7]	fmt="%12u";
    pos=2,108	val=TABLEDN [ 8]	fmt="%12u";
    pos=2,121	val=TABLEDN [ 9]	fmt="%12u";
    pos=3,  3	val=NUM_COEFS		fmt="%2u";
    pos=3,  8	val='TABLE EU=';
    pos=3, 17	val=TABLEEU [ 1]	fmt="%12.5g";
    pos=3, 30	val=TABLEEU [ 2]	fmt="%12.5g";
    pos=3, 43	val=TABLEEU [ 3]	fmt="%12.5g";
    pos=3, 56	val=TABLEEU [ 4]	fmt="%12.5g";
    pos=3, 69	val=TABLEEU [ 5]	fmt="%12.5g";
    pos=3, 82	val=TABLEEU [ 6]	fmt="%12.5g";
    pos=3, 95	val=TABLEEU [ 7]	fmt="%12.5g";
    pos=3,108	val=TABLEEU [ 8]	fmt="%12.5g";
    pos=3,121	val=TABLEEU [ 9]	fmt="%12.5g";
    if NUM_COEFS >= 10
      pos=4,  8	val='TABLE DN=';
      pos=4, 17	val=TABLEDN [10]	fmt="%12d";
      pos=4, 30	val=TABLEDN [11]	fmt="%12d";
      pos=4, 43	val=TABLEDN [12]	fmt="%12d";
      pos=4, 56	val=TABLEDN [13]	fmt="%12d";
      pos=4, 69	val=TABLEDN [14]	fmt="%12d";
      pos=4, 82	val=TABLEDN [15]	fmt="%12d";
      pos=4, 95	val=TABLEDN [16]	fmt="%12d";
      pos=5,  8	val='TABLE EU=';
      pos=5, 17	val=TABLEEU [10]	fmt="%12.5g";
      pos=5, 30	val=TABLEEU [11]	fmt="%12.5g";
      pos=5, 43	val=TABLEEU [12]	fmt="%12.5g";
      pos=5, 56	val=TABLEEU [13]	fmt="%12.5g";
      pos=5, 69	val=TABLEEU [14]	fmt="%12.5g";
      pos=5, 82	val=TABLEEU [15]	fmt="%12.5g";
      pos=5, 95	val=TABLEEU [16]	fmt="%12.5g";
    endif
  endif
#------------------------------------------------------------------------------
undefined:
  pos=1,1	val=CHAN_ID;						
  pos=1,10	val='UNDEFINED CHANNEL';				
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: CPT_DUMP                                                          #
# FILE NAME: mgs_cpt_dump_03_alarm_limits.tdl                                 #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS CPT Dump Alarm Limit Format                                   #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=CPT_DUMP size=1,137 # mgs_cpt_dump_03_alarm_limits.tdl
TEXTREGION
SWITCH CHAN_TYPE
integer:
	pos=1,1	 val=CHAN_ID;
	pos=1,10 val='I';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,27 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,32 val='TEST=';
	pos=1,37 val=TEST_ON_EU	0='DN' 1='EU';
	pos=1,40 val='HYST=';
	pos=1,45 val=IN_HYSTERESIS	fmt="%1u";
        if TEST_ON_EU = 1
	   pos=1,48  val='RED=';
	   pos=1,52  val=RED_ALM_TYPE  NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,57  val='R_L=';
	   pos=1,61  val=RED_LO_ALM	 fmt="%12.5e";
	   pos=1,74  val='R_H=';
	   pos=1,78  val=RED_HI_ALM	 fmt="%12.5e";
	   pos=1,92  val='YEL=';
	   pos=1,96  val=YELLOW_ALM_TYPE NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,101 val='Y_L=';
	   pos=1,105 val=YELLOW_LO_ALM	 fmt="%12.5e";
	   pos=1,118 val='Y_H=';
	   pos=1,122 val=YELLOW_HI_ALM	 fmt="%12.5e";
        else
	   pos=1,48  val='RED=';
           pos=1,52  val=RED_ALM_TYPE  NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,57  val='R_L=';
	   pos=1,61  val=RED_LO_ALM	 fmt="%12d";
	   pos=1,74  val='R_H=';
	   pos=1,78  val=RED_HI_ALM	 fmt="%12d";
	   pos=1,92  val='YEL=';
	   pos=1,96  val=YELLOW_ALM_TYPE NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,101 val='Y_L=';
	   pos=1,105 val=YELLOW_LO_ALM	 fmt="%12d";
	   pos=1,118 val='Y_H=';
	   pos=1,122 val=YELLOW_HI_ALM	 fmt="%12d";
        endif
uinteger:
	pos=1,1	 val=CHAN_ID;
	pos=1,10 val='U';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,27 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,32 val='TEST=';
	pos=1,37 val=TEST_ON_EU	0='DN' 1='EU';
	pos=1,40 val='HYST=';
	pos=1,45 val=IN_HYSTERESIS	fmt="%1u";
        if TEST_ON_EU = 1
	   pos=1,48  val='RED=';
           pos=1,52  val=RED_ALM_TYPE  NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,57  val='R_L=';
	   pos=1,61  val=RED_LO_ALM	 fmt="%12.5e";
	   pos=1,74  val='R_H=';
	   pos=1,78  val=RED_HI_ALM	 fmt="%12.5e";
	   pos=1,92  val='YEL=';
	   pos=1,96  val=YELLOW_ALM_TYPE NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,101 val='Y_L=';
	   pos=1,105 val=YELLOW_LO_ALM	 fmt="%12.5e";
	   pos=1,118 val='Y_H=';
	   pos=1,122 val=YELLOW_HI_ALM	 fmt="%12.5e";
        else
	   pos=1,48  val='RED=';
           pos=1,52  val=RED_ALM_TYPE  NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,57  val='R_L=';
	   pos=1,61  val=RED_LO_ALM	 fmt="%12d";
	   pos=1,74  val='R_H=';
	   pos=1,78  val=RED_HI_ALM	 fmt="%12d";
	   pos=1,92  val='YEL=';
	   pos=1,96  val=YELLOW_ALM_TYPE NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	   pos=1,101 val='Y_L=';
	   pos=1,105 val=YELLOW_LO_ALM	 fmt="%12d";
	   pos=1,118 val='Y_H=';
	   pos=1,122 val=YELLOW_HI_ALM	 fmt="%12d";
        endif
digital:
	pos=1,1	 val=CHAN_ID;
	pos=1,10 val='D';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,27 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,40 val='HYST=';
	pos=1,45 val=IN_HYSTERESIS	fmt="%1u";
	pos=1,48  val='RED=';
	pos=1,52  val=RED_ALM_TYPE	 NO='OFF ' MASK='MASK' CHANGE='CHNG';
	pos=1,57  val='R_M=';
        pos=1,61  val=RED_ALM_MASK       fmt="%#12x";
	pos=1,74  val='R_B=';
        pos=1,78  val=RED_ALM_BITS       fmt="%#12x";
	pos=1,92  val='YEL=';
	pos=1,96  val=YELLOW_ALM_TYPE	 NO='OFF ' MASK='MASK' CHANGE='CHNG';
	pos=1,101 val='Y_M=';
        pos=1,105 val=YELLOW_ALM_MASK    fmt="%#12x";
	pos=1,118 val='Y_B=';
        pos=1,122 val=YELLOW_ALM_BITS    fmt="%#12x";
float:
	pos=1,1	 val=CHAN_ID;
	pos=1,10 val='F';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,27 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,32 val='TEST=';
	pos=1,37 val=TEST_ON_EU	0='DN' 1='EU';
	pos=1,40 val='HYST=';
	pos=1,45 val=IN_HYSTERESIS	fmt="%1u";
	pos=1,48  val='RED=';
        pos=1,52  val=RED_ALM_TYPE  NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	pos=1,57  val='R_L=';
	pos=1,61  val=RED_LO_ALM	 fmt="%12.5e";
	pos=1,74  val='R_H=';
	pos=1,78  val=RED_HI_ALM	 fmt="%12.5e";
	pos=1,92  val='YEL=';
	pos=1,96  val=YELLOW_ALM_TYPE NO='OFF ' LOW='LOW ' HIGH='HIGH' INCL='INCL' EXCL='EXCL' CHANGE='CHNG';
	pos=1,101 val='Y_L=';
	pos=1,105 val=YELLOW_LO_ALM	 fmt="%12.5e";
	pos=1,118 val='Y_H=';
	pos=1,122 val=YELLOW_HI_ALM	 fmt="%12.5e";
ascii:
	pos=1,1	 val=CHAN_ID;
	pos=1,10 val='A';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,27 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,48  val='RED=';
	pos=1,52  val=RED_ALM_TYPE	 NO='OFF ' MASK='MASK' CHANGE='CHNG';
	pos=1,92  val='YEL=';
	pos=1,96  val=YELLOW_ALM_TYPE	 NO='OFF ' MASK='MASK' CHANGE='CHNG';
status:
	pos=1,1	 val=CHAN_ID;
	pos=1,10 val='S';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,27 val=CHAN_SUB	fmt="%-4.4s";
	pos=1,40 val='HYST=';
	pos=1,45 val=IN_HYSTERESIS	fmt="%1u";
	pos=1,48  val='RED=';
	pos=1,52  val=RED_ALM_TYPE	 NO='OFF ' MASK='MASK' CHANGE='CHNG';
	pos=1,57  val='R_M=';
        pos=1,61  val=RED_ALM_MASK       fmt="%#12x";
	pos=1,92  val='YEL=';
	pos=1,96  val=YELLOW_ALM_TYPE	 NO='OFF ' MASK='MASK' CHANGE='CHNG';
	pos=1,101 val='Y_M=';
        pos=1,105 val=YELLOW_ALM_MASK    fmt="%#12x";
ENDSWITCH
ENDREGION
ENDTEMPLATE


###############################################################################
#                                                                             #
# TEMPLATE: CPT_DUMP                                                          #
# FILE NAME: mgs_cpt_dump_04_state_names.tdl                                  #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS CPT Dump State Name Format                                    #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=CPT_DUMP size=3,125 # mgs_cpt_dump_04_state_names.tdl
TEXTREGION
SWITCH CHAN_TYPE
integer:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='I';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
uinteger:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='U';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
digital:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='D';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
float:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='F';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
ascii:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='A';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
status:
	pos=1,3	 val=CHAN_ID;
	pos=1,11 val='S';
	pos=1,13 val=CHAN_TITLE	fmt="%-12.12s";
	pos=1,26 val=CHAN_SUB	fmt="%-4.4s";
	pos=2,11 val=STATE [1]	fmt="%-12.12s";
	pos=2,25 val=STATE [2]	fmt="%-12.12s";
	pos=2,39 val=STATE [3]	fmt="%-12.12s";
	pos=2,53 val=STATE [4]	fmt="%-12.12s";
	pos=2,67 val=STATE [5]	fmt="%-12.12s";
	pos=2,81 val=STATE [6]	fmt="%-12.12s";
	pos=2,95 val=STATE [7]	fmt="%-12.12s";
	pos=2,109 val=STATE [8]	fmt="%-12.12s";
	pos=3,11 val=STATE [9]	fmt="%-12.12s";
	pos=3,25 val=STATE [10]	fmt="%-12.12s";
	pos=3,39 val=STATE [11]	fmt="%-12.12s";
	pos=3,53 val=STATE [12]	fmt="%-12.12s";
	pos=3,67 val=STATE [13]	fmt="%-12.12s";
	pos=3,81 val=STATE [14]	fmt="%-12.12s";
	pos=3,95 val=STATE [15]	fmt="%-12.12s";
	pos=3,109 val=STATE [16] fmt="%-12.12s";
ENDSWITCH
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: LAD_DUMP                                                          #
# FILE NAME: mgs_lad_dump_01_default.tdl                                      #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Lad Dump Default Format                                       #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=LAD_DUMP size=1,80 # mgs_lad_dump_01_default.tdl
TEXTREGION
SWITCH CHAN_TYPE
#------------------------------------------------------------------------------
digital:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='D';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    pos=1,23 val=DN	  fmt="%12u"   ;
    pos=1,36 val=DN	  fmt="%#12.08x";
    if RED_ALM_COND != 0
        pos=1,49 val=RED_ALM_COND NO_ALM='  '  MASK='RM'  CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,49 val=YELLOW_ALM_COND NO_ALM='  '  MASK='YM'  CHANGE='YC';
    else
        pos=1,49 val='  ';
    endif
    pos=1,54 val=CHAN_SCLK    fmt=R91;
#   pos=1,66 val=CHAN_SCET    fmt=YDHMS;
    pos=1,66 val=CHAN_ERT     fmt=YDHMS;
#------------------------------------------------------------------------------
uinteger:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='U';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
    pos=1,23 val=DN	  fmt="%12u"   ;
    pos=1,36 val=EU	  fmt="%12.5e" ;
    if RED_ALM_COND != 0
        pos=1,49 val=RED_ALM_COND NO_ALM='  ' LOW='RL' HIGH='RH' INCL='RI' CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,49 val=YELLOW_ALM_COND NO_ALM='  ' LOW='YL' HIGH='YH' INCL='YI' CHANGE='YC';
    else
        pos=1,49 val='  ';
    endif
    pos=1,54 val=CHAN_SCLK    fmt=R91;
#   pos=1,66 val=CHAN_SCET    fmt=YDHMS;
    pos=1,66 val=CHAN_ERT     fmt=YDHMS;
#------------------------------------------------------------------------------
integer:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='I';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
	pos=1,23 val=DN	  fmt="%12d"   ;
	pos=1,36 val=EU	  fmt="%12.5e" ;
    if RED_ALM_COND != 0
        pos=1,49 val=RED_ALM_COND NO_ALM='  ' LOW='RL' HIGH='RH' INCL='RI' CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,49 val=YELLOW_ALM_COND NO_ALM='  ' LOW='YL' HIGH='YH' INCL='YI' CHANGE='YC';
    else
        pos=1,49 val='  ';
    endif
    pos=1,54 val=CHAN_SCLK    fmt=R91;
#   pos=1,66 val=CHAN_SCET    fmt=YDHMS;
    pos=1,66 val=CHAN_ERT     fmt=YDHMS;
#------------------------------------------------------------------------------
status:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='S';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
	pos=1,23 val=DN	         fmt="%12.02u";
	pos=1,36 val=STATE_NAME  fmt="%12.12s";
    if RED_ALM_COND != 0
        pos=1,49 val=RED_ALM_COND NO_ALM='  '  MASK='RM'  CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,49 val=YELLOW_ALM_COND NO_ALM='  '  MASK='YM'  CHANGE='YC';
    else
        pos=1,49 val='  ';
    endif
    pos=1,54 val=CHAN_SCLK    fmt=R91;
#   pos=1,66 val=CHAN_SCET    fmt=YDHMS;
    pos=1,66 val=CHAN_ERT     fmt=YDHMS;
#------------------------------------------------------------------------------
ascii:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='A';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
	pos=1,23 val=DN  fmt="%12.12s" ;
    if RED_ALM_COND != 0
        pos=1,49 val=RED_ALM_COND NO_ALM='  '  CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,49 val=YELLOW_ALM_COND NO_ALM='  '  CHANGE='YC';
    else
        pos=1,49 val='  ';
    endif
    pos=1,54 val=CHAN_SCLK    fmt=R91;
#   pos=1,66 val=CHAN_SCET    fmt=YDHMS;
    pos=1,66 val=CHAN_ERT     fmt=YDHMS;
#------------------------------------------------------------------------------
float:
    rule=STATIC
    pos=1,1  val=CHAN_ID;
    pos=1,8  val='F';
    pos=1,10 val=CHAN_TITLE	fmt="%-12.12s";
    rule=DYNAMIC
	pos=1,23 val=DN	  fmt="%12.5e";
	pos=1,36 val=EU	  fmt="%12.5e";
    if RED_ALM_COND != 0
        pos=1,49 val=RED_ALM_COND NO_ALM='  ' LOW='RL' HIGH='RH' INCL='RI' CHANGE='RC';
    elseif YELLOW_ALM_COND != 0
        pos=1,49 val=YELLOW_ALM_COND NO_ALM='  ' LOW='RL' HIGH='RH' INCL='RI' CHANGE='RC';
    else
        pos=1,49 val='  ';
    endif
    pos=1,54 val=CHAN_SCLK    fmt=R91;
#   pos=1,66 val=CHAN_SCET    fmt=YDHMS;
    pos=1,66 val=CHAN_ERT     fmt=YDHMS;
#------------------------------------------------------------------------------
ENDSWITCH
ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: COEF_DUMP                                                         #
# FILE NAME: mgs_coef_dump_01_default.tdl                                     #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: MGS Coef Dump Default Format                                      #
# BASELINED: OGS 07-07-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################
TEMPLATE type=COEF_DUMP size=10,80 # mgs_coef_dump_01_default.tdl
TEXTREGION
SWITCH chan_type
integer:
	pos=1,1 val=CHAN_ID;
	pos=1,9  val='I';
	pos=1,12 val=CHAN_TITLE fmt="%-12.12s";
	pos=1,25 val='COEF_TYPE=';
	pos=1,35 val=COEF_TYPE 0='UND' 1='POLY' 2='TABLE';
	pos=1,41 val='NUM_COEFS=';
	pos=1,51 val=NUM_COEFS fmt="%02u";
	pos=1,54 val='DNEU=';
	pos=1,59 val=DNEU_ON 0='OFF' 1='ON' 2='ON';
	if COEF_TYPE = 1
		pos=2,4 val='1=';
		pos=2,6 val=COEF[1] fmt="%.6e";
		pos=2,24 val='2=';
		pos=2,26 val=COEF[2] fmt="%.6e";
		pos=2,44 val='3=';
		pos=2,46 val=COEF[3] fmt="%.6e";
		pos=3,4 val='4=';
		pos=3,6 val=COEF[4] fmt="%.6e";
		pos=3,24 val='5=';
		pos=3,26 val=COEF[5] fmt="%.6e";
		pos=3,44 val='6=';
		pos=3,46 val=COEF[6] fmt="%.6e";
	elseif COEF_TYPE = 2
		pos=2,4 val='1=';
		pos=2,6 val=TABLEDN[1] fmt="%12d";
		pos=2,18 val=',';
		pos=2,19 val=TABLEEU[1] fmt="%.6e";
		pos=2,44 val='2=';
		pos=2,46 val=TABLEDN[2] fmt="%12d";
		pos=2,58 val=',';
		pos=2,59 val=TABLEEU[2] fmt="%.6e";
		pos=3,4 val='3=';
		pos=3,6 val=TABLEDN[3] fmt="%12d";
		pos=3,18 val=',';
		pos=3,19 val=TABLEEU[3] fmt="%.6e";
		pos=3,44 val='4=';
		pos=3,46 val=TABLEDN[4] fmt="%12d";
		pos=3,58 val=',';
		pos=3,59 val=TABLEEU[4] fmt="%.6e";
		pos=4,4 val='5=';
		pos=4,6 val=TABLEDN[5] fmt="%12d";
		pos=4,18 val=',';
		pos=4,19 val=TABLEEU[5] fmt="%.6e";
		pos=4,44 val='6=';
		pos=4,46 val=TABLEDN[6] fmt="%12d";
		pos=4,58 val=',';
		pos=4,59 val=TABLEEU[6] fmt="%.6e";
		pos=5,4 val='7=';
		pos=5,6 val=TABLEDN[7] fmt="%12d";
		pos=5,18 val=',';
		pos=5,19 val=TABLEEU[7] fmt="%.6e";
		pos=5,44 val='8=';
		pos=5,46 val=TABLEDN[8] fmt="%12d";
		pos=5,58 val=',';
		pos=5,59 val=TABLEEU[8] fmt="%.6e";
		pos=6,4 val='9=';
		pos=6,6 val=TABLEDN[9] fmt="%12d";
		pos=6,18 val=',';
		pos=6,19 val=TABLEEU[9] fmt="%.6e";
		pos=6,44 val='10=';
		pos=6,46 val=TABLEDN[10] fmt="%12d";
		pos=6,58 val=',';
		pos=6,59 val=TABLEEU[10] fmt="%.6e";
		pos=7,4 val='11=';
		pos=7,6 val=TABLEDN[11] fmt="%12d";
		pos=7,18 val=',';
		pos=7,19 val=TABLEEU[11] fmt="%.6e";
		pos=7,44 val='12=';
		pos=7,46 val=TABLEDN[12] fmt="%12d";
		pos=7,58 val=',';
		pos=7,59 val=TABLEEU[12] fmt="%.6e";
		pos=8,4 val='13=';
		pos=8,6 val=TABLEDN[13] fmt="%12d";
		pos=8,18 val=',';
		pos=8,19 val=TABLEEU[13] fmt="%.6e";
		pos=8,44 val='14=';
		pos=8,46 val=TABLEDN[14] fmt="%12d";
		pos=8,58 val=',';
		pos=8,59 val=TABLEEU[14] fmt="%.6e";
		pos=9,4 val='15=';
		pos=9,6 val=TABLEDN[15] fmt="%12d";
		pos=9,18 val=',';
		pos=9,19 val=TABLEEU[15] fmt="%.6e";
		pos=9,44 val='16=';
		pos=9,46 val=TABLEDN[16] fmt="%12d";
		pos=9,58 val=',';
		pos=9,59 val=TABLEEU[16] fmt="%.6e";
	endif
uinteger:
	pos=1,1 val=CHAN_ID;
	pos=1,9  val='U';
	pos=1,12 val=CHAN_TITLE fmt="%-12.12s";
	pos=1,25 val='COEF_TYPE=';
	pos=1,35 val=COEF_TYPE 0='UND' 1='POLY' 2='TABLE';
	pos=1,41 val='NUM_COEFS=';
	pos=1,51 val=NUM_COEFS fmt="%02u";
	pos=1,54 val='DNEU=';
	pos=1,59 val=DNEU_ON 0='OFF' 1='ON' 2='ON';
	if COEF_TYPE = 1
		pos=2,4 val='1=';
		pos=2,6 val=COEF[1] fmt="%.6e";
		pos=2,24 val='2=';
		pos=2,26 val=COEF[2] fmt="%.6e";
		pos=2,44 val='3=';
		pos=2,46 val=COEF[3] fmt="%.6e";
		pos=3,4 val='4=';
		pos=3,6 val=COEF[4] fmt="%.6e";
		pos=3,24 val='5=';
		pos=3,26 val=COEF[5] fmt="%.6e";
		pos=3,44 val='6=';
		pos=3,46 val=COEF[6] fmt="%.6e";
	elseif COEF_TYPE = 2
		pos=2,4 val='1=';
		pos=2,6 val=TABLEDN[1] fmt="%12d";
		pos=2,18 val=',';
		pos=2,19 val=TABLEEU[1] fmt="%.6e";
		pos=2,44 val='2=';
		pos=2,46 val=TABLEDN[2] fmt="%12d";
		pos=2,58 val=',';
		pos=2,59 val=TABLEEU[2] fmt="%.6e";
		pos=3,4 val='3=';
		pos=3,6 val=TABLEDN[3] fmt="%12d";
		pos=3,18 val=',';
		pos=3,19 val=TABLEEU[3] fmt="%.6e";
		pos=3,44 val='4=';
		pos=3,46 val=TABLEDN[4] fmt="%12d";
		pos=3,58 val=',';
		pos=3,59 val=TABLEEU[4] fmt="%.6e";
		pos=4,4 val='5=';
		pos=4,6 val=TABLEDN[5] fmt="%12d";
		pos=4,18 val=',';
		pos=4,19 val=TABLEEU[5] fmt="%.6e";
		pos=4,44 val='6=';
		pos=4,46 val=TABLEDN[6] fmt="%12d";
		pos=4,58 val=',';
		pos=4,59 val=TABLEEU[6] fmt="%.6e";
		pos=5,4 val='7=';
		pos=5,6 val=TABLEDN[7] fmt="%12d";
		pos=5,18 val=',';
		pos=5,19 val=TABLEEU[7] fmt="%.6e";
		pos=5,44 val='8=';
		pos=5,46 val=TABLEDN[8] fmt="%12d";
		pos=5,58 val=',';
		pos=5,59 val=TABLEEU[8] fmt="%.6e";
		pos=6,4 val='9=';
		pos=6,6 val=TABLEDN[9] fmt="%12d";
		pos=6,18 val=',';
		pos=6,19 val=TABLEEU[9] fmt="%.6e";
		pos=6,44 val='10=';
		pos=6,46 val=TABLEDN[10] fmt="%12d";
		pos=6,58 val=',';
		pos=6,59 val=TABLEEU[10] fmt="%.6e";
		pos=7,4 val='11=';
		pos=7,6 val=TABLEDN[11] fmt="%12d";
		pos=7,18 val=',';
		pos=7,19 val=TABLEEU[11] fmt="%.6e";
		pos=7,44 val='12=';
		pos=7,46 val=TABLEDN[12] fmt="%12d";
		pos=7,58 val=',';
		pos=7,59 val=TABLEEU[12] fmt="%.6e";
		pos=8,4 val='13=';
		pos=8,6 val=TABLEDN[13] fmt="%12d";
		pos=8,18 val=',';
		pos=8,19 val=TABLEEU[13] fmt="%.6e";
		pos=8,44 val='14=';
		pos=8,46 val=TABLEDN[14] fmt="%12d";
		pos=8,58 val=',';
		pos=8,59 val=TABLEEU[14] fmt="%.6e";
		pos=9,4 val='15=';
		pos=9,6 val=TABLEDN[15] fmt="%12d";
		pos=9,18 val=',';
		pos=9,19 val=TABLEEU[15] fmt="%.6e";
		pos=9,44 val='16=';
		pos=9,46 val=TABLEDN[16] fmt="%12d";
		pos=9,58 val=',';
		pos=9,59 val=TABLEEU[16] fmt="%.6e";
	endif
float:
	pos=1,1 val=CHAN_ID;
	pos=1,9  val='F';
	pos=1,12 val=CHAN_TITLE fmt="%-12.12s";
	pos=1,25 val='COEF_TYPE=';
	pos=1,35 val=COEF_TYPE 0='UND' 1='POLY' 2='TABLE';
	pos=1,41 val='NUM_COEFS=';
	pos=1,51 val=NUM_COEFS fmt="%02u";
	pos=1,54 val='DNEU=';
	pos=1,59 val=DNEU_ON 0='OFF' 1='ON' 2='ON';
	if COEF_TYPE = 1
		pos=2,4 val='1=';
		pos=2,6 val=COEF[1] fmt="%.6e";
		pos=2,24 val='2=';
		pos=2,26 val=COEF[2] fmt="%.6e";
		pos=2,44 val='3=';
		pos=2,46 val=COEF[3] fmt="%.6e";
		pos=3,4 val='4=';
		pos=3,6 val=COEF[4] fmt="%.6e";
		pos=3,24 val='5=';
		pos=3,26 val=COEF[5] fmt="%.6e";
		pos=3,44 val='6=';
		pos=3,46 val=COEF[6] fmt="%.6e";
	elseif COEF_TYPE = 2
		pos=2,4 val='1=';
		pos=2,6 val=TABLEDN[1] fmt="%.6e";
		pos=2,18 val=',';
		pos=2,19 val=TABLEEU[1] fmt="%.6e";
		pos=2,44 val='2=';
		pos=2,46 val=TABLEDN[2] fmt="%.6e";
		pos=2,58 val=',';
		pos=2,59 val=TABLEEU[2] fmt="%.6e";
		pos=3,4 val='3=';
		pos=3,6 val=TABLEDN[3] fmt="%.6e";
		pos=3,18 val=',';
		pos=3,19 val=TABLEEU[3] fmt="%.6e";
		pos=3,44 val='4=';
		pos=3,46 val=TABLEDN[4] fmt="%.6e";
		pos=3,58 val=',';
		pos=3,59 val=TABLEEU[4] fmt="%.6e";
		pos=4,4 val='5=';
		pos=4,6 val=TABLEDN[5] fmt="%.6e";
		pos=4,18 val=',';
		pos=4,19 val=TABLEEU[5] fmt="%.6e";
		pos=4,44 val='6=';
		pos=4,46 val=TABLEDN[6] fmt="%.6e";
		pos=4,58 val=',';
		pos=4,59 val=TABLEEU[6] fmt="%.6e";
		pos=5,4 val='7=';
		pos=5,6 val=TABLEDN[7] fmt="%.6e";
		pos=5,18 val=',';
		pos=5,19 val=TABLEEU[7] fmt="%.6e";
		pos=5,44 val='8=';
		pos=5,46 val=TABLEDN[8] fmt="%.6e";
		pos=5,58 val=',';
		pos=5,59 val=TABLEEU[8] fmt="%.6e";
		pos=6,4 val='9=';
		pos=6,6 val=TABLEDN[9] fmt="%.6e";
		pos=6,18 val=',';
		pos=6,19 val=TABLEEU[9] fmt="%.6e";
		pos=6,44 val='10=';
		pos=6,46 val=TABLEDN[10] fmt="%.6e";
		pos=6,58 val=',';
		pos=6,59 val=TABLEEU[10] fmt="%.6e";
		pos=7,4 val='11=';
		pos=7,6 val=TABLEDN[11] fmt="%.6e";
		pos=7,18 val=',';
		pos=7,19 val=TABLEEU[11] fmt="%.6e";
		pos=7,44 val='12=';
		pos=7,46 val=TABLEDN[12] fmt="%.6e";
		pos=7,58 val=',';
		pos=7,59 val=TABLEEU[12] fmt="%.6e";
		pos=8,4 val='13=';
		pos=8,6 val=TABLEDN[13] fmt="%.6e";
		pos=8,18 val=',';
		pos=8,19 val=TABLEEU[13] fmt="%.6e";
		pos=8,44 val='14=';
		pos=8,46 val=TABLEDN[14] fmt="%.6e";
		pos=8,58 val=',';
		pos=8,59 val=TABLEEU[14] fmt="%.6e";
		pos=9,4 val='15=';
		pos=9,6 val=TABLEDN[15] fmt="%.6e";
		pos=9,18 val=',';
		pos=9,19 val=TABLEEU[15] fmt="%.6e";
		pos=9,44 val='16=';
		pos=9,46 val=TABLEDN[16] fmt="%.6e";
		pos=9,58 val=',';
		pos=9,59 val=TABLEEU[16] fmt="%.6e";
	endif
ascii:
	pos=1,1 val=CHAN_ID;
	pos=1,9  val='A';
	pos=1,12 val=CHAN_TITLE fmt="%-12.12s";
	pos=1,25 val='NO ASCII COEFS ALLOWED';
status:
	pos=1,1 val=CHAN_ID;
	pos=1,9  val='S';
	pos=1,12 val=CHAN_TITLE fmt="%-12.12s";
	pos=1,25 val='NO STATUS COEFS ALLOWED';
digital:
	pos=1,1 val=CHAN_ID;
	pos=1,9  val='D';
	pos=1,12 val=CHAN_TITLE fmt="%-12.12s";
	pos=1,25 val='NO DIGITAL COEFS ALLOWED';
ENDSWITCH
ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_therm_fix1.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Thermal Subsystem Fixed Page #1 (ALL TEMPERATURE DATA)            #
# BASELINED: OGS 07-13-95                                                     #
# MODIFIED:  OGS 10-14-95  "Removed T-0110 and T-0111"                        #
# FINALIZED:                                                                  #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=70,164 pos=4,1 # mgs_therm_fix1.tdl

TEXTREGION

rule=static
pos=2,1    val='   MARS GLOBAL SURVEYOR EDF TEMPERATURES (THERMAL FIXED PAGE #1)               ';
pos=3,1    val='                                        ';
pos=4,1    val=' | CHAN    MNEMONIC      TEMP      DN  |';
pos=5,1    val='                                        ';
pos=6,1    val='  --- AACS TEMPERATURES --------------- ';
pos=7,1    val=' |                                     |';
pos=8,1    val=' |                                     |';
pos=9,1    val=' |                                     |';
pos=10,1   val=' |                                     |';
pos=11,1   val=' |                                     |';
pos=12,1   val=' |                                     |';
pos=13,1   val=' |                                     |';
pos=14,1   val=' |                                     |';
pos=15,1   val=' |                                     |';
pos=16,1   val=' |                                     |';
pos=17,1   val='  ------------------------------------- ';

rule=dynamic

pos=07,04   val=CHAN_ID         chan=t-0100;
pos=07,12   val=CHAN_TITLE      chan=t-0100  fmt="%-12.12s";
pos=07,26   val=EU              chan=t-0100  fmt="%6.1f";
pos=07,36   val=DN              chan=t-0100  fmt="%3d";

pos=08,04   val=CHAN_ID         chan=t-0101;
pos=08,12   val=CHAN_TITLE      chan=t-0101  fmt="%-12.12s";
pos=08,26   val=EU              chan=t-0101  fmt="%6.1f";
pos=08,36   val=DN              chan=t-0101  fmt="%3d";

pos=09,04   val=CHAN_ID         chan=t-0102;
pos=09,12   val=CHAN_TITLE      chan=t-0102  fmt="%-12.12s";
pos=09,26   val=EU              chan=t-0102  fmt="%6.1f";
pos=09,36   val=DN              chan=t-0102  fmt="%3d";

pos=10,04   val=CHAN_ID         chan=t-0103;
pos=10,12   val=CHAN_TITLE      chan=t-0103  fmt="%-12.12s";
pos=10,26   val=EU              chan=t-0103  fmt="%6.1f";
pos=10,36   val=DN              chan=t-0103  fmt="%3d";

pos=11,04   val=CHAN_ID         chan=t-0104;
pos=11,12   val=CHAN_TITLE      chan=t-0104  fmt="%-12.12s";
pos=11,26   val=EU              chan=t-0104  fmt="%6.1f";
pos=11,36   val=DN              chan=t-0104  fmt="%3d";

pos=12,04   val=CHAN_ID         chan=t-0105;
pos=12,12   val=CHAN_TITLE      chan=t-0105  fmt="%-12.12s";
pos=12,26   val=EU              chan=t-0105  fmt="%6.1f";
pos=12,36   val=DN              chan=t-0105  fmt="%3d";

pos=13,04   val=CHAN_ID         chan=t-0106;
pos=13,12   val=CHAN_TITLE      chan=t-0106  fmt="%-12.12s";
pos=13,26   val=EU              chan=t-0106  fmt="%6.1f";
pos=13,36   val=DN              chan=t-0106  fmt="%3d";

pos=14,04   val=CHAN_ID         chan=t-0107;
pos=14,12   val=CHAN_TITLE      chan=t-0107  fmt="%-12.12s";
pos=14,26   val=EU              chan=t-0107  fmt="%6.1f";
pos=14,36   val=DN              chan=t-0107  fmt="%3d";

pos=15,04   val=CHAN_ID         chan=t-0108;
pos=15,12   val=CHAN_TITLE      chan=t-0108  fmt="%-12.12s";
pos=15,26   val=EU              chan=t-0108  fmt="%6.1f";
pos=15,36   val=DN              chan=t-0108  fmt="%3d";

pos=16,04   val=CHAN_ID         chan=t-0109;
pos=16,12   val=CHAN_TITLE      chan=t-0109  fmt="%-12.12s";
pos=16,26   val=EU              chan=t-0109  fmt="%6.1f";
pos=16,36   val=DN              chan=t-0109  fmt="%3d";


rule=static
pos=18,1   val='  --- C&DH TEMPERATURES --------------- ';
pos=19,1   val=' |                                     |';
pos=20,1   val=' |                                     |';
pos=21,1   val=' |                                     |';
pos=22,1   val=' |                                     |';
pos=23,1   val=' |                                     |';
pos=24,1   val=' |                                     |';
pos=25,1   val=' |                                     |';
pos=26,1   val=' |                                     |';
pos=27,1   val=' |                                     |';
pos=28,1   val=' |                                     |';
pos=29,1   val=' |                                     |';
pos=30,1   val=' |                                     |';
pos=31,1   val=' |                                     |';
pos=32,1   val=' |                                     |';
pos=33,1   val=' |                                     |';
pos=34,1   val=' |                                     |';
pos=35,1   val=' |                                     |';
pos=36,1   val='  ------------------------------------- ';

rule=dynamic

pos=19,04   val=CHAN_ID         chan=t-0114;
pos=19,12   val=CHAN_TITLE      chan=t-0114  fmt="%-12.12s";
pos=19,26   val=EU              chan=t-0114  fmt="%6.1f";
pos=19,36   val=DN              chan=t-0114  fmt="%3d";

pos=20,04   val=CHAN_ID         chan=t-0115;
pos=20,12   val=CHAN_TITLE      chan=t-0115  fmt="%-12.12s";
pos=20,26   val=EU              chan=t-0115  fmt="%6.1f";
pos=20,36   val=DN              chan=t-0115  fmt="%3d";

pos=21,04   val=CHAN_ID         chan=t-0116;
pos=21,12   val=CHAN_TITLE      chan=t-0116  fmt="%-12.12s";
pos=21,26   val=EU              chan=t-0116  fmt="%6.1f";
pos=21,36   val=DN              chan=t-0116  fmt="%3d";

pos=22,04   val=CHAN_ID         chan=t-0117;
pos=22,12   val=CHAN_TITLE      chan=t-0117  fmt="%-12.12s";
pos=22,26   val=EU              chan=t-0117  fmt="%6.1f";
pos=22,36   val=DN              chan=t-0117  fmt="%3d";

pos=23,04   val=CHAN_ID         chan=t-0118;
pos=23,12   val=CHAN_TITLE      chan=t-0118  fmt="%-12.12s";
pos=23,26   val=EU              chan=t-0118  fmt="%6.1f";
pos=23,36   val=DN              chan=t-0118  fmt="%3d";

pos=24,04   val=CHAN_ID         chan=t-0119;
pos=24,12   val=CHAN_TITLE      chan=t-0119  fmt="%-12.12s";
pos=24,26   val=EU              chan=t-0119  fmt="%6.1f";
pos=24,36   val=DN              chan=t-0119  fmt="%3d";

pos=25,04   val=CHAN_ID         chan=t-0120;
pos=25,12   val=CHAN_TITLE      chan=t-0120  fmt="%-12.12s";
pos=25,26   val=EU              chan=t-0120  fmt="%6.1f";
pos=25,36   val=DN              chan=t-0120  fmt="%3d";

pos=26,04   val=CHAN_ID         chan=t-0121;
pos=26,12   val=CHAN_TITLE      chan=t-0121  fmt="%-12.12s";
pos=26,26   val=EU              chan=t-0121  fmt="%6.1f";
pos=26,36   val=DN              chan=t-0121  fmt="%3d";

pos=27,04   val=CHAN_ID         chan=t-0122;
pos=27,12   val=CHAN_TITLE      chan=t-0122  fmt="%-12.12s";
pos=27,26   val=EU              chan=t-0122  fmt="%6.1f";
pos=27,36   val=DN              chan=t-0122  fmt="%3d";

pos=28,04   val=CHAN_ID         chan=t-0123;
pos=28,12   val=CHAN_TITLE      chan=t-0123  fmt="%-12.12s";
pos=28,26   val=EU              chan=t-0123  fmt="%6.1f";
pos=28,36   val=DN              chan=t-0123  fmt="%3d";

pos=29,04   val=CHAN_ID         chan=t-0124;
pos=29,12   val=CHAN_TITLE      chan=t-0124  fmt="%-12.12s";
pos=29,26   val=EU              chan=t-0124  fmt="%6.1f";
pos=29,36   val=DN              chan=t-0124  fmt="%3d";

pos=30,04   val=CHAN_ID         chan=t-0125;
pos=30,12   val=CHAN_TITLE      chan=t-0125  fmt="%-12.12s";
pos=30,26   val=EU              chan=t-0125  fmt="%6.1f";
pos=30,36   val=DN              chan=t-0125  fmt="%3d";

pos=31,04   val=CHAN_ID         chan=t-0126;
pos=31,12   val=CHAN_TITLE      chan=t-0126  fmt="%-12.12s";
pos=31,26   val=EU              chan=t-0126  fmt="%6.1f";
pos=31,36   val=DN              chan=t-0126  fmt="%3d";

pos=32,04   val=CHAN_ID         chan=t-0127;
pos=32,12   val=CHAN_TITLE      chan=t-0127  fmt="%-12.12s";
pos=32,26   val=EU              chan=t-0127  fmt="%6.1f";
pos=32,36   val=DN              chan=t-0127  fmt="%3d";

pos=33,04   val=CHAN_ID         chan=t-0128;
pos=33,12   val=CHAN_TITLE      chan=t-0128  fmt="%-12.12s";
pos=33,26   val=EU              chan=t-0128  fmt="%6.1f";
pos=33,36   val=DN              chan=t-0128  fmt="%3d";

pos=34,04   val=CHAN_ID         chan=t-0129;
pos=34,12   val=CHAN_TITLE      chan=t-0129  fmt="%-12.12s";
pos=34,26   val=EU              chan=t-0129  fmt="%6.1f";
pos=34,36   val=DN              chan=t-0129  fmt="%3d";

pos=35,04   val=CHAN_ID         chan=t-0130;
pos=35,12   val=CHAN_TITLE      chan=t-0130  fmt="%-12.12s";
pos=35,26   val=EU              chan=t-0130  fmt="%6.1f";
pos=35,36   val=DN              chan=t-0130  fmt="%3d";


rule=static
pos=37,1   val='  --- POWER TEMPERATURES -------------- ';
pos=38,1   val=' |                                     |';
pos=39,1   val=' |                                     |';
pos=40,1   val=' |                                     |';
pos=41,1   val=' |                                     |';
pos=42,1   val=' |                                     |';
pos=43,1   val=' |                                     |';
pos=44,1   val=' |                                     |';
pos=45,1   val=' |                                     |';
pos=46,1   val=' |                                     |';
pos=47,1   val=' |                                     |';
pos=48,1   val=' |                                     |';
pos=49,1   val=' |                                     |';
pos=50,1   val=' |                                     |';
pos=51,1   val=' |                                     |';
pos=52,1   val=' |                                     |';
pos=53,1   val=' |                                     |';
pos=54,1   val=' |                                     |';
pos=55,1   val=' |                                     |';
pos=56,1   val=' |                                     |';
pos=57,1   val=' |                                     |';
pos=58,1   val=' |                                     |';
pos=59,1   val='  ------------------------------------- ';

rule=dynamic

pos=38,04   val=CHAN_ID         chan=t-0196;
pos=38,12   val=CHAN_TITLE      chan=t-0196  fmt="%-12.12s";
pos=38,26   val=EU              chan=t-0196  fmt="%6.1f";
pos=38,36   val=DN              chan=t-0196  fmt="%3d";

pos=39,04   val=CHAN_ID         chan=t-0197;
pos=39,12   val=CHAN_TITLE      chan=t-0197  fmt="%-12.12s";
pos=39,26   val=EU              chan=t-0197  fmt="%6.1f";
pos=39,36   val=DN              chan=t-0197  fmt="%3d";

pos=40,04   val=CHAN_ID         chan=t-0198;
pos=40,12   val=CHAN_TITLE      chan=t-0198  fmt="%-12.12s";
pos=40,26   val=EU              chan=t-0198  fmt="%6.1f";
pos=40,36   val=DN              chan=t-0198  fmt="%3d";

pos=41,04   val=CHAN_ID         chan=t-0199;
pos=41,12   val=CHAN_TITLE      chan=t-0199  fmt="%-12.12s";
pos=41,26   val=EU              chan=t-0199  fmt="%6.1f";
pos=41,36   val=DN              chan=t-0199  fmt="%3d";

pos=42,04   val=CHAN_ID         chan=t-0200;
pos=42,12   val=CHAN_TITLE      chan=t-0200  fmt="%-12.12s";
pos=42,26   val=EU              chan=t-0200  fmt="%6.1f";
pos=42,36   val=DN              chan=t-0200  fmt="%3d";

pos=43,04   val=CHAN_ID         chan=t-0201;
pos=43,12   val=CHAN_TITLE      chan=t-0201  fmt="%-12.12s";
pos=43,26   val=EU              chan=t-0201  fmt="%6.1f";
pos=43,36   val=DN              chan=t-0201  fmt="%3d";

pos=44,04   val=CHAN_ID         chan=t-0202;
pos=44,12   val=CHAN_TITLE      chan=t-0202  fmt="%-12.12s";
pos=44,26   val=EU              chan=t-0202  fmt="%6.1f";
pos=44,36   val=DN              chan=t-0202  fmt="%3d";

pos=45,04   val=CHAN_ID         chan=t-0203;
pos=45,12   val=CHAN_TITLE      chan=t-0203  fmt="%-12.12s";
pos=45,26   val=EU              chan=t-0203  fmt="%6.1f";
pos=45,36   val=DN              chan=t-0203  fmt="%3d";

pos=46,04   val=CHAN_ID         chan=t-0205;
pos=46,12   val=CHAN_TITLE      chan=t-0205  fmt="%-12.12s";
pos=46,26   val=EU              chan=t-0205  fmt="%6.1f";
pos=46,36   val=DN              chan=t-0205  fmt="%3d";

pos=47,04   val=CHAN_ID         chan=t-0206;
pos=47,12   val=CHAN_TITLE      chan=t-0206  fmt="%-12.12s";
pos=47,26   val=EU              chan=t-0206  fmt="%6.1f";
pos=47,36   val=DN              chan=t-0206  fmt="%3d";

pos=48,04   val=CHAN_ID         chan=t-0207;
pos=48,12   val=CHAN_TITLE      chan=t-0207  fmt="%-12.12s";
pos=48,26   val=EU              chan=t-0207  fmt="%6.1f";
pos=48,36   val=DN              chan=t-0207  fmt="%3d";

pos=49,04   val=CHAN_ID         chan=t-0208;
pos=49,12   val=CHAN_TITLE      chan=t-0208  fmt="%-12.12s";
pos=49,26   val=EU              chan=t-0208  fmt="%6.1f";
pos=49,36   val=DN              chan=t-0208  fmt="%3d";

pos=50,04   val=CHAN_ID         chan=t-0209;
pos=50,12   val=CHAN_TITLE      chan=t-0209  fmt="%-12.12s";
pos=50,26   val=EU              chan=t-0209  fmt="%6.1f";
pos=50,36   val=DN              chan=t-0209  fmt="%3d";

pos=51,04   val=CHAN_ID         chan=t-0210;
pos=51,12   val=CHAN_TITLE      chan=t-0210  fmt="%-12.12s";
pos=51,26   val=EU              chan=t-0210  fmt="%6.1f";
pos=51,36   val=DN              chan=t-0210  fmt="%3d";

pos=52,04   val=CHAN_ID         chan=t-0211;
pos=52,12   val=CHAN_TITLE      chan=t-0211  fmt="%-12.12s";
pos=52,26   val=EU              chan=t-0211  fmt="%6.1f";
pos=52,36   val=DN              chan=t-0211  fmt="%3d";

pos=53,04   val=CHAN_ID         chan=t-0212;
pos=53,12   val=CHAN_TITLE      chan=t-0212  fmt="%-12.12s";
pos=53,26   val=EU              chan=t-0212  fmt="%6.1f";
pos=53,36   val=DN              chan=t-0212  fmt="%3d";

pos=54,04   val=CHAN_ID         chan=t-0213;
pos=54,12   val=CHAN_TITLE      chan=t-0213  fmt="%-12.12s";
pos=54,26   val=EU              chan=t-0213  fmt="%6.1f";
pos=54,36   val=DN              chan=t-0213  fmt="%3d";

pos=55,04   val=CHAN_ID         chan=t-0214;
pos=55,12   val=CHAN_TITLE      chan=t-0214  fmt="%-12.12s";
pos=55,26   val=EU              chan=t-0214  fmt="%6.1f";
pos=55,36   val=DN              chan=t-0214  fmt="%3d";

pos=56,04   val=CHAN_ID         chan=t-0215;
pos=56,12   val=CHAN_TITLE      chan=t-0215  fmt="%-12.12s";
pos=56,26   val=EU              chan=t-0215  fmt="%6.1f";
pos=56,36   val=DN              chan=t-0215  fmt="%3d";

pos=57,04   val=CHAN_ID         chan=t-0216;
pos=57,12   val=CHAN_TITLE      chan=t-0216  fmt="%-12.12s";
pos=57,26   val=EU              chan=t-0216  fmt="%6.1f";
pos=57,36   val=DN              chan=t-0216  fmt="%3d";

pos=58,04   val=CHAN_ID         chan=t-0217;
pos=58,12   val=CHAN_TITLE      chan=t-0217  fmt="%-12.12s";
pos=58,26   val=EU              chan=t-0217  fmt="%6.1f";
pos=58,36   val=DN              chan=t-0217  fmt="%3d";


rule=static
pos=60,1   val='  --- STRUCTURES/MECHANISM TEMPS ------ ';
pos=61,1   val=' |                                     |';
pos=62,1   val=' |                                     |';
pos=63,1   val=' |                                     |';
pos=64,1   val=' |                                     |';
pos=65,1   val=' |                                     |';
pos=66,1   val=' |                                     |';
pos=67,1   val=' |                                     |';
pos=68,1   val=' |                                     |';
pos=69,1   val='  ------------------------------------- ';

rule=dynamic

pos=61,04   val=CHAN_ID         chan=t-0240;
pos=61,12   val=CHAN_TITLE      chan=t-0240  fmt="%-12.12s";
pos=61,26   val=EU              chan=t-0240  fmt="%6.1f";
pos=61,36   val=DN              chan=t-0240  fmt="%3d";

pos=62,04   val=CHAN_ID         chan=t-0241;
pos=62,12   val=CHAN_TITLE      chan=t-0241  fmt="%-12.12s";
pos=62,26   val=EU              chan=t-0241  fmt="%6.1f";
pos=62,36   val=DN              chan=t-0241  fmt="%3d";

pos=63,04   val=CHAN_ID         chan=t-0243;
pos=63,12   val=CHAN_TITLE      chan=t-0243  fmt="%-12.12s";
pos=63,26   val=EU              chan=t-0243  fmt="%6.1f";
pos=63,36   val=DN              chan=t-0243  fmt="%3d";

pos=64,04   val=CHAN_ID         chan=t-0244;
pos=64,12   val=CHAN_TITLE      chan=t-0244  fmt="%-12.12s";
pos=64,26   val=EU              chan=t-0244  fmt="%6.1f";
pos=64,36   val=DN              chan=t-0244  fmt="%3d";

pos=65,04   val=CHAN_ID         chan=t-0252;
pos=65,12   val=CHAN_TITLE      chan=t-0252  fmt="%-12.12s";
pos=65,26   val=EU              chan=t-0252  fmt="%6.1f";
pos=65,36   val=DN              chan=t-0252  fmt="%3d";

pos=66,04   val=CHAN_ID         chan=t-0253;
pos=66,12   val=CHAN_TITLE      chan=t-0253  fmt="%-12.12s";
pos=66,26   val=EU              chan=t-0253  fmt="%6.1f";
pos=66,36   val=DN              chan=t-0253  fmt="%3d";

pos=67,04   val=CHAN_ID         chan=t-0254;
pos=67,12   val=CHAN_TITLE      chan=t-0254  fmt="%-12.12s";
pos=67,26   val=EU              chan=t-0254  fmt="%6.1f";
pos=67,36   val=DN              chan=t-0254  fmt="%3d";

pos=68,04   val=CHAN_ID         chan=t-0255;
pos=68,12   val=CHAN_TITLE      chan=t-0255  fmt="%-12.12s";
pos=68,26   val=EU              chan=t-0255  fmt="%6.1f";
pos=68,36   val=DN              chan=t-0255  fmt="%3d";


rule=static
pos=4,42   val=' | CHAN    MNEMONIC      TEMP      DN  |';
pos=5,42   val='                                        ';
pos=6,42   val='  --- THERMAL TEMPERATURES ------------ ';
pos=7,42   val=' |                                     |';
pos=8,42   val=' |                                     |';
pos=9,42   val=' |                                     |';
pos=10,42  val=' |                                     |';
pos=11,42  val=' |                                     |';
pos=12,42  val=' |                                     |';
pos=13,42  val=' |                                     |';
pos=14,42  val=' |                                     |';
pos=15,42  val=' |                                     |';
pos=16,42  val=' |                                     |';
pos=17,42  val=' |                                     |';
pos=18,42  val=' |                                     |';
pos=19,42  val=' |                                     |';
pos=20,42  val=' |                                     |';
pos=21,42  val=' |                                     |';
pos=22,42  val=' |                                     |';
pos=23,42  val=' |                                     |';
pos=24,42  val=' |                                     |';
pos=25,42  val=' |                                     |';
pos=26,42  val=' |                                     |';
pos=27,42  val=' |                                     |';
pos=28,42  val=' |                                     |';
pos=29,42  val='  ------------------------------------- ';

rule=dynamic

pos=07,45   val=CHAN_ID         chan=t-0260;
pos=07,53   val=CHAN_TITLE      chan=t-0260  fmt="%-12.12s";
pos=07,67   val=EU              chan=t-0260  fmt="%6.1f";
pos=07,77   val=DN              chan=t-0260  fmt="%3d";

pos=08,45   val=CHAN_ID         chan=t-0262;
pos=08,53   val=CHAN_TITLE      chan=t-0262  fmt="%-12.12s";
pos=08,67   val=EU              chan=t-0262  fmt="%6.1f";
pos=08,77   val=DN              chan=t-0262  fmt="%3d";

pos=09,45   val=CHAN_ID         chan=t-0263;
pos=09,53   val=CHAN_TITLE      chan=t-0263  fmt="%-12.12s";
pos=09,67   val=EU              chan=t-0263  fmt="%6.1f";
pos=09,77   val=DN              chan=t-0263  fmt="%3d";

pos=10,45   val=CHAN_ID         chan=t-0264;
pos=10,53   val=CHAN_TITLE      chan=t-0264  fmt="%-12.12s";
pos=10,67   val=EU              chan=t-0264  fmt="%6.1f";
pos=10,77   val=DN              chan=t-0264  fmt="%3d";

pos=11,45   val=CHAN_ID         chan=t-0265;
pos=11,53   val=CHAN_TITLE      chan=t-0265  fmt="%-12.12s";
pos=11,67   val=EU              chan=t-0265  fmt="%6.1f";
pos=11,77   val=DN              chan=t-0265  fmt="%3d";

pos=12,45   val=CHAN_ID         chan=t-0266;
pos=12,53   val=CHAN_TITLE      chan=t-0266  fmt="%-12.12s";
pos=12,67   val=EU              chan=t-0266  fmt="%6.1f";
pos=12,77   val=DN              chan=t-0266  fmt="%3d";

pos=13,45   val=CHAN_ID         chan=t-0267;
pos=13,53   val=CHAN_TITLE      chan=t-0267  fmt="%-12.12s";
pos=13,67   val=EU              chan=t-0267  fmt="%6.1f";
pos=13,77   val=DN              chan=t-0267  fmt="%3d";

pos=14,45   val=CHAN_ID         chan=t-0269;
pos=14,53   val=CHAN_TITLE      chan=t-0269  fmt="%-12.12s";
pos=14,67   val=EU              chan=t-0269  fmt="%6.1f";
pos=14,77   val=DN              chan=t-0269  fmt="%3d";

pos=15,45   val=CHAN_ID         chan=t-0270;
pos=15,53   val=CHAN_TITLE      chan=t-0270  fmt="%-12.12s";
pos=15,67   val=EU              chan=t-0270  fmt="%6.1f";
pos=15,77   val=DN              chan=t-0270  fmt="%3d";

pos=16,45   val=CHAN_ID         chan=t-0271;
pos=16,53   val=CHAN_TITLE      chan=t-0271  fmt="%-12.12s";
pos=16,67   val=EU              chan=t-0271  fmt="%6.1f";
pos=16,77   val=DN              chan=t-0271  fmt="%3d";

pos=17,45   val=CHAN_ID         chan=t-0272;
pos=17,53   val=CHAN_TITLE      chan=t-0272  fmt="%-12.12s";
pos=17,67   val=EU              chan=t-0272  fmt="%6.1f";
pos=17,77   val=DN              chan=t-0272  fmt="%3d";

pos=18,45   val=CHAN_ID         chan=t-0273;
pos=18,53   val=CHAN_TITLE      chan=t-0273  fmt="%-12.12s";
pos=18,67   val=EU              chan=t-0273  fmt="%6.1f";
pos=18,77   val=DN              chan=t-0273  fmt="%3d";

pos=19,45   val=CHAN_ID         chan=t-0274;
pos=19,53   val=CHAN_TITLE      chan=t-0274  fmt="%-12.12s";
pos=19,67   val=EU              chan=t-0274  fmt="%6.1f";
pos=19,77   val=DN              chan=t-0274  fmt="%3d";

pos=20,45   val=CHAN_ID         chan=t-0275;
pos=20,53   val=CHAN_TITLE      chan=t-0275  fmt="%-12.12s";
pos=20,67   val=EU              chan=t-0275  fmt="%6.1f";
pos=20,77   val=DN              chan=t-0275  fmt="%3d";

pos=21,45   val=CHAN_ID         chan=t-0276;
pos=21,53   val=CHAN_TITLE      chan=t-0276  fmt="%-12.12s";
pos=21,67   val=EU              chan=t-0276  fmt="%6.1f";
pos=21,77   val=DN              chan=t-0276  fmt="%3d";

pos=22,45   val=CHAN_ID         chan=t-0277;
pos=22,53   val=CHAN_TITLE      chan=t-0277  fmt="%-12.12s";
pos=22,67   val=EU              chan=t-0277  fmt="%6.1f";
pos=22,77   val=DN              chan=t-0277  fmt="%3d";

pos=23,45   val=CHAN_ID         chan=t-0278;
pos=23,53   val=CHAN_TITLE      chan=t-0278  fmt="%-12.12s";
pos=23,67   val=EU              chan=t-0278  fmt="%6.1f";
pos=23,77   val=DN              chan=t-0278  fmt="%3d";

pos=24,45   val=CHAN_ID         chan=t-0279;
pos=24,53   val=CHAN_TITLE      chan=t-0279  fmt="%-12.12s";
pos=24,67   val=EU              chan=t-0279  fmt="%6.1f";
pos=24,77   val=DN              chan=t-0279  fmt="%3d";

pos=25,45   val=CHAN_ID         chan=t-0280;
pos=25,53   val=CHAN_TITLE      chan=t-0280  fmt="%-12.12s";
pos=25,67   val=EU              chan=t-0280  fmt="%6.1f";
pos=25,77   val=DN              chan=t-0280  fmt="%3d";

pos=26,45   val=CHAN_ID         chan=t-0284;
pos=26,53   val=CHAN_TITLE      chan=t-0284  fmt="%-12.12s";
pos=26,67   val=EU              chan=t-0284  fmt="%6.1f";
pos=26,77   val=DN              chan=t-0284  fmt="%3d";

pos=27,45   val=CHAN_ID         chan=t-0285;
pos=27,53   val=CHAN_TITLE      chan=t-0285  fmt="%-12.12s";
pos=27,67   val=EU              chan=t-0285  fmt="%6.1f";
pos=27,77   val=DN              chan=t-0285  fmt="%3d";

pos=28,45   val=CHAN_ID         chan=t-0286;
pos=28,53   val=CHAN_TITLE      chan=t-0286  fmt="%-12.12s";
pos=28,67   val=EU              chan=t-0286  fmt="%6.1f";
pos=28,77   val=DN              chan=t-0286  fmt="%3d";

rule=static

pos=32,42  val='  --- TELECOM TEMPERATURES ------------ ';
pos=33,42  val=' |                                     |';
pos=34,42  val=' |                                     |';
pos=35,42  val=' |                                     |';
pos=36,42  val=' |                                     |';
pos=37,42  val=' |                                     |';
pos=38,42  val=' |                                     |';
pos=39,42  val=' |                                     |';
pos=40,42  val=' |                                     |';
pos=41,42  val=' |                                     |';
pos=42,42  val=' |                                     |';
pos=43,42  val=' |                                     |';
pos=44,42  val=' |                                     |';
pos=45,42  val=' |                                     |';
pos=46,42  val=' |                                     |';
pos=47,42  val=' |                                     |';
pos=48,42  val='  ------------------------------------- ';

rule=dynamic

pos=33,45   val=CHAN_ID         chan=t-0300;
pos=33,53   val=CHAN_TITLE      chan=t-0300  fmt="%-12.12s";
pos=33,67   val=EU              chan=t-0300  fmt="%6.1f";
pos=33,77   val=DN              chan=t-0300  fmt="%3d";

pos=34,45   val=CHAN_ID         chan=t-0301;
pos=34,53   val=CHAN_TITLE      chan=t-0301  fmt="%-12.12s";
pos=34,67   val=EU              chan=t-0301  fmt="%6.1f";
pos=34,77   val=DN              chan=t-0301  fmt="%3d";

pos=35,45   val=CHAN_ID         chan=t-0302;
pos=35,53   val=CHAN_TITLE      chan=t-0302  fmt="%-12.12s";
pos=35,67   val=EU              chan=t-0302  fmt="%6.1f";
pos=35,77   val=DN              chan=t-0302  fmt="%3d";

pos=36,45   val=CHAN_ID         chan=t-0303;
pos=36,53   val=CHAN_TITLE      chan=t-0303  fmt="%-12.12s";
pos=36,67   val=EU              chan=t-0303  fmt="%6.1f";
pos=36,77   val=DN              chan=t-0303  fmt="%3d";

pos=37,45   val=CHAN_ID         chan=t-0304;
pos=37,53   val=CHAN_TITLE      chan=t-0304  fmt="%-12.12s";
pos=37,67   val=EU              chan=t-0304  fmt="%6.1f";
pos=37,77   val=DN              chan=t-0304  fmt="%3d";

pos=38,45   val=CHAN_ID         chan=t-0305;
pos=38,53   val=CHAN_TITLE      chan=t-0305  fmt="%-12.12s";
pos=38,67   val=EU              chan=t-0305  fmt="%6.1f";
pos=38,77   val=DN              chan=t-0305  fmt="%3d";

pos=39,45   val=CHAN_ID         chan=t-0307;
pos=39,53   val=CHAN_TITLE      chan=t-0307  fmt="%-12.12s";
pos=39,67   val=EU              chan=t-0307  fmt="%6.1f";
pos=39,77   val=DN              chan=t-0307  fmt="%3d";

pos=40,45   val=CHAN_ID         chan=t-0308;
pos=40,53   val=CHAN_TITLE      chan=t-0308  fmt="%-12.12s";
pos=40,67   val=EU              chan=t-0308  fmt="%6.1f";
pos=40,77   val=DN              chan=t-0308  fmt="%3d";

pos=41,45   val=CHAN_ID         chan=t-0310;
pos=41,53   val=CHAN_TITLE      chan=t-0310  fmt="%-12.12s";
pos=41,67   val=EU              chan=t-0310  fmt="%6.1f";
pos=41,77   val=DN              chan=t-0310  fmt="%3d";

pos=42,45   val=CHAN_ID         chan=t-0311;
pos=42,53   val=CHAN_TITLE      chan=t-0311  fmt="%-12.12s";
pos=42,67   val=EU              chan=t-0311  fmt="%6.1f";
pos=42,77   val=DN              chan=t-0311  fmt="%3d";

pos=43,45   val=CHAN_ID         chan=t-0312;
pos=43,53   val=CHAN_TITLE      chan=t-0312  fmt="%-12.12s";
pos=43,67   val=EU              chan=t-0312  fmt="%6.1f";
pos=43,77   val=DN              chan=t-0312  fmt="%3d";

pos=44,45   val=CHAN_ID         chan=t-0313;
pos=44,53   val=CHAN_TITLE      chan=t-0313  fmt="%-12.12s";
pos=44,67   val=EU              chan=t-0313  fmt="%6.1f";
pos=44,77   val=DN              chan=t-0313  fmt="%3d";

pos=45,45   val=CHAN_ID         chan=t-0314;
pos=45,53   val=CHAN_TITLE      chan=t-0314  fmt="%-12.12s";
pos=45,67   val=EU              chan=t-0314  fmt="%6.1f";
pos=45,77   val=DN              chan=t-0314  fmt="%3d";

pos=46,45   val=CHAN_ID         chan=t-0315;
pos=46,53   val=CHAN_TITLE      chan=t-0315  fmt="%-12.12s";
pos=46,67   val=EU              chan=t-0315  fmt="%6.1f";
pos=46,77   val=DN              chan=t-0315  fmt="%3d";

pos=47,45   val=CHAN_ID         chan=t-0316;
pos=47,53   val=CHAN_TITLE      chan=t-0316  fmt="%-12.12s";
pos=47,67   val=EU              chan=t-0316  fmt="%6.1f";
pos=47,77   val=DN              chan=t-0316  fmt="%3d";

#pos=48,45   val=CHAN_ID         chan=t-0317;
#pos=48,53   val=CHAN_TITLE      chan=t-0317  fmt="%-12.12s";
#pos=48,67   val=EU              chan=t-0317  fmt="%6.1f";
#pos=48,77   val=DN              chan=t-0317  fmt="%3d";


rule=static
pos=53,42  val='  --- PAYLOAD TEMPERATURES ------------ ';
pos=54,42  val=' |                                     |';
pos=55,42  val=' |                                     |';
pos=56,42  val=' |                                     |';
pos=57,42  val=' |                                     |';
pos=58,42  val=' |                                     |';
pos=59,42  val=' |                                     |';
pos=60,42  val=' |                                     |';
pos=61,42  val=' |                                     |';
pos=62,42  val=' |                                     |';
pos=63,42  val=' |                                     |';
pos=64,42  val=' |                                     |';
pos=65,42  val=' |                                     |';
pos=66,42  val=' |                                     |';
pos=67,42  val=' |                                     |';
pos=68,42  val=' |                                     |';
pos=69,42  val='  ------------------------------------- ';

rule=dynamic

pos=54,45   val=CHAN_ID         chan=t-0221;
pos=54,53   val=CHAN_TITLE      chan=t-0221  fmt="%-12.12s";
pos=54,67   val=EU              chan=t-0221  fmt="%6.1f";
pos=54,77   val=DN              chan=t-0221  fmt="%3d";

pos=55,45   val=CHAN_ID         chan=t-0222;
pos=55,53   val=CHAN_TITLE      chan=t-0222  fmt="%-12.12s";
pos=55,67   val=EU              chan=t-0222  fmt="%6.1f";
pos=55,77   val=DN              chan=t-0222  fmt="%3d";

pos=56,45   val=CHAN_ID         chan=t-0223;
pos=56,53   val=CHAN_TITLE      chan=t-0223  fmt="%-12.12s";
pos=56,67   val=EU              chan=t-0223  fmt="%6.1f";
pos=56,77   val=DN              chan=t-0223  fmt="%3d";

pos=57,45   val=CHAN_ID         chan=t-0224;
pos=57,53   val=CHAN_TITLE      chan=t-0224  fmt="%-12.12s";
pos=57,67   val=EU              chan=t-0224  fmt="%6.1f";
pos=57,77   val=DN              chan=t-0224  fmt="%3d";

pos=58,45   val=CHAN_ID         chan=t-0225;
pos=58,53   val=CHAN_TITLE      chan=t-0225  fmt="%-12.12s";
pos=58,67   val=EU              chan=t-0225  fmt="%6.1f";
pos=58,77   val=DN              chan=t-0225  fmt="%3d";

pos=59,45   val=CHAN_ID         chan=t-0226;
pos=59,53   val=CHAN_TITLE      chan=t-0226  fmt="%-12.12s";
pos=59,67   val=EU              chan=t-0226  fmt="%6.1f";
pos=59,77   val=DN              chan=t-0226  fmt="%3d";

pos=60,45   val=CHAN_ID         chan=t-0227;
pos=60,53   val=CHAN_TITLE      chan=t-0227  fmt="%-12.12s";
pos=60,67   val=EU              chan=t-0227  fmt="%6.1f";
pos=60,77   val=DN              chan=t-0227  fmt="%3d";

pos=61,45   val=CHAN_ID         chan=t-0228;
pos=61,53   val=CHAN_TITLE      chan=t-0228  fmt="%-12.12s";
pos=61,67   val=EU              chan=t-0228  fmt="%6.1f";
pos=61,77   val=DN              chan=t-0228  fmt="%3d";

pos=62,45   val=CHAN_ID         chan=t-0229;
pos=62,53   val=CHAN_TITLE      chan=t-0229  fmt="%-12.12s";
pos=62,67   val=EU              chan=t-0229  fmt="%6.1f";
pos=62,77   val=DN              chan=t-0229  fmt="%3d";

pos=63,45   val=CHAN_ID         chan=t-0230;
pos=63,53   val=CHAN_TITLE      chan=t-0230  fmt="%-12.12s";
pos=63,67   val=EU              chan=t-0230  fmt="%6.1f";
pos=63,77   val=DN              chan=t-0230  fmt="%3d";

pos=64,45   val=CHAN_ID         chan=t-0231;
pos=64,53   val=CHAN_TITLE      chan=t-0231  fmt="%-12.12s";
pos=64,67   val=EU              chan=t-0231  fmt="%6.1f";
pos=64,77   val=DN              chan=t-0231  fmt="%3d";

pos=65,45   val=CHAN_ID         chan=t-0232;
pos=65,53   val=CHAN_TITLE      chan=t-0232  fmt="%-12.12s";
pos=65,67   val=EU              chan=t-0232  fmt="%6.1f";
pos=65,77   val=DN              chan=t-0232  fmt="%3d";

pos=66,45   val=CHAN_ID         chan=t-0233;
pos=66,53   val=CHAN_TITLE      chan=t-0233  fmt="%-12.12s";
pos=66,67   val=EU              chan=t-0233  fmt="%6.1f";
pos=66,77   val=DN              chan=t-0233  fmt="%3d";

pos=67,45   val=CHAN_ID         chan=t-0234;
pos=67,53   val=CHAN_TITLE      chan=t-0234  fmt="%-12.12s";
pos=67,67   val=EU              chan=t-0234  fmt="%6.1f";
pos=67,77   val=DN              chan=t-0234  fmt="%3d";

pos=68,45   val=CHAN_ID         chan=t-0235;
pos=68,53   val=CHAN_TITLE      chan=t-0235  fmt="%-12.12s";
pos=68,67   val=EU              chan=t-0235  fmt="%6.1f";
pos=68,77   val=DN              chan=t-0235  fmt="%3d";

rule=static
pos=4,83   val=' | CHAN    MNEMONIC      TEMP      DN  |';
pos=5,83   val='                                        ';
pos=6,83   val='  --- PROPULSION TEMPERATURES --------- ';
pos=7,83   val=' |                                     |';
pos=8,83   val=' |                                     |';
pos=9,83   val=' |                                     |';
pos=10,83  val=' |                                     |';
pos=11,83  val=' |                                     |';
pos=12,83  val=' |                                     |';
pos=13,83  val=' |                                     |';
pos=14,83  val=' |                                     |';
pos=15,83  val=' |                                     |';
pos=16,83  val=' |                                     |';
pos=17,83  val=' |                                     |';
pos=18,83  val=' |                                     |';
pos=19,83  val=' |                                     |';
pos=20,83  val=' |                                     |';
pos=21,83  val=' |                                     |';
pos=22,83  val=' |                                     |';
pos=23,83  val=' |                                     |';
pos=24,83  val=' |                                     |';
pos=25,83  val=' |                                     |';
pos=26,83  val=' |                                     |';
pos=27,83  val=' |                                     |';
pos=28,83  val=' |                                     |';
pos=29,83  val=' |                                     |';
pos=30,83  val=' |                                     |';
pos=31,83  val=' |                                     |';
pos=32,83  val=' |                                     |';
pos=33,83  val=' |                                     |';
pos=34,83  val=' |                                     |';
pos=35,83  val=' |                                     |';
pos=36,83  val=' |                                     |';
pos=37,83  val=' |                                     |';
pos=38,83  val=' |                                     |';
pos=39,83  val=' |                                     |';
pos=40,83  val=' |                                     |';
pos=41,83  val=' |                                     |';
pos=42,83  val=' |                                     |';
pos=43,83  val=' |                                     |';
pos=44,83  val=' |                                     |';
pos=45,83  val=' |                                     |';
pos=46,83  val=' |                                     |';
pos=47,83  val=' |                                     |';
pos=48,83  val=' |                                     |';
pos=49,83  val=' |                                     |';
pos=50,83  val=' |                                     |';
pos=51,83  val=' |                                     |';
pos=52,83  val=' |                                     |';
pos=53,83  val=' |                                     |';
pos=54,83  val=' |                                     |';
pos=55,83  val=' |                                     |';
pos=56,83  val=' |                                     |';
pos=57,83  val=' |                                     |';
pos=58,83  val=' |                                     |';
pos=59,83  val=' |                                     |';
pos=60,83  val=' |                                     |';
pos=61,83  val=' |                                     |';
pos=62,83  val=' |                                     |';
pos=63,83  val=' |                                     |';
pos=64,83  val=' |                                     |';
pos=65,83  val=' |                                     |';
pos=66,83  val=' |                                     |';
pos=67,83  val=' |                                     |';
pos=68,83  val=' |                                     |';
pos=69,83  val='  ------------------------------------- ';

rule=dynamic

pos=07,86   val=CHAN_ID         chan=t-0131;
pos=07,94   val=CHAN_TITLE      chan=t-0131  fmt="%-12.12s";
pos=07,108  val=EU              chan=t-0131  fmt="%6.1f";
pos=07,118  val=DN              chan=t-0131  fmt="%3d";

pos=08,86   val=CHAN_ID         chan=t-0132;
pos=08,94   val=CHAN_TITLE      chan=t-0132  fmt="%-12.12s";
pos=08,108  val=EU              chan=t-0132  fmt="%6.1f";
pos=08,118  val=DN              chan=t-0132  fmt="%3d";

pos=09,86   val=CHAN_ID         chan=t-0133;
pos=09,94   val=CHAN_TITLE      chan=t-0133  fmt="%-12.12s";
pos=09,108  val=EU              chan=t-0133  fmt="%6.1f";
pos=09,118  val=DN              chan=t-0133  fmt="%3d";

pos=10,86   val=CHAN_ID         chan=t-0134;
pos=10,94   val=CHAN_TITLE      chan=t-0134  fmt="%-12.12s";
pos=10,108  val=EU              chan=t-0134  fmt="%6.1f";
pos=10,118  val=DN              chan=t-0134  fmt="%3d";

pos=11,86   val=CHAN_ID         chan=t-0135;
pos=11,94   val=CHAN_TITLE      chan=t-0135  fmt="%-12.12s";
pos=11,108  val=EU              chan=t-0135  fmt="%6.1f";
pos=11,118  val=DN              chan=t-0135  fmt="%3d";

pos=12,86   val=CHAN_ID         chan=t-0136;
pos=12,94   val=CHAN_TITLE      chan=t-0136  fmt="%-12.12s";
pos=12,108  val=EU              chan=t-0136  fmt="%6.1f";
pos=12,118  val=DN              chan=t-0136  fmt="%3d";

pos=13,86   val=CHAN_ID         chan=t-0137;
pos=13,94   val=CHAN_TITLE      chan=t-0137  fmt="%-12.12s";
pos=13,108  val=EU              chan=t-0137  fmt="%6.1f";
pos=13,118  val=DN              chan=t-0137  fmt="%3d";

pos=14,86   val=CHAN_ID         chan=t-0138;
pos=14,94   val=CHAN_TITLE      chan=t-0138  fmt="%-12.12s";
pos=14,108  val=EU              chan=t-0138  fmt="%6.1f";
pos=14,118  val=DN              chan=t-0138  fmt="%3d";

pos=15,86   val=CHAN_ID         chan=t-0139;
pos=15,94   val=CHAN_TITLE      chan=t-0139  fmt="%-12.12s";
pos=15,108  val=EU              chan=t-0139  fmt="%6.1f";
pos=15,118  val=DN              chan=t-0139  fmt="%3d";

pos=16,86   val=CHAN_ID         chan=t-0140;
pos=16,94   val=CHAN_TITLE      chan=t-0140  fmt="%-12.12s";
pos=16,108  val=EU              chan=t-0140  fmt="%6.1f";
pos=16,118  val=DN              chan=t-0140  fmt="%3d";

pos=17,86   val=CHAN_ID         chan=t-0141;
pos=17,94   val=CHAN_TITLE      chan=t-0141  fmt="%-12.12s";
pos=17,108  val=EU              chan=t-0141  fmt="%6.1f";
pos=17,118  val=DN              chan=t-0141  fmt="%3d";

pos=18,86   val=CHAN_ID         chan=t-0142;
pos=18,94   val=CHAN_TITLE      chan=t-0142  fmt="%-12.12s";
pos=18,108  val=EU              chan=t-0142  fmt="%6.1f";
pos=18,118  val=DN              chan=t-0142  fmt="%3d";

pos=19,86   val=CHAN_ID         chan=t-0143;
pos=19,94   val=CHAN_TITLE      chan=t-0143  fmt="%-12.12s";
pos=19,108  val=EU              chan=t-0143  fmt="%6.1f";
pos=19,118  val=DN              chan=t-0143  fmt="%3d";

pos=20,86   val=CHAN_ID         chan=t-0144;
pos=20,94   val=CHAN_TITLE      chan=t-0144  fmt="%-12.12s";
pos=20,108  val=EU              chan=t-0144  fmt="%6.1f";
pos=20,118  val=DN              chan=t-0144  fmt="%3d";

pos=21,86   val=CHAN_ID         chan=t-0145;
pos=21,94   val=CHAN_TITLE      chan=t-0145  fmt="%-12.12s";
pos=21,108  val=EU              chan=t-0145  fmt="%6.1f";
pos=21,118  val=DN              chan=t-0145  fmt="%3d";

pos=22,86   val=CHAN_ID         chan=t-0146;
pos=22,94   val=CHAN_TITLE      chan=t-0146  fmt="%-12.12s";
pos=22,108  val=EU              chan=t-0146  fmt="%6.1f";
pos=22,118  val=DN              chan=t-0146  fmt="%3d";

pos=23,86   val=CHAN_ID         chan=t-0147;
pos=23,94   val=CHAN_TITLE      chan=t-0147  fmt="%-12.12s";
pos=23,108  val=EU              chan=t-0147  fmt="%6.1f";
pos=23,118  val=DN              chan=t-0147  fmt="%3d";

pos=24,86   val=CHAN_ID         chan=t-0148;
pos=24,94   val=CHAN_TITLE      chan=t-0148  fmt="%-12.12s";
pos=24,108  val=EU              chan=t-0148  fmt="%6.1f";
pos=24,118  val=DN              chan=t-0148  fmt="%3d";

pos=25,86   val=CHAN_ID         chan=t-0149;
pos=25,94   val=CHAN_TITLE      chan=t-0149  fmt="%-12.12s";
pos=25,108  val=EU              chan=t-0149  fmt="%6.1f";
pos=25,118  val=DN              chan=t-0149  fmt="%3d";

pos=26,86   val=CHAN_ID         chan=t-0150;
pos=26,94   val=CHAN_TITLE      chan=t-0150  fmt="%-12.12s";
pos=26,108  val=EU              chan=t-0150  fmt="%6.1f";
pos=26,118  val=DN              chan=t-0150  fmt="%3d";

pos=27,86   val=CHAN_ID         chan=t-0151;
pos=27,94   val=CHAN_TITLE      chan=t-0151  fmt="%-12.12s";
pos=27,108  val=EU              chan=t-0151  fmt="%6.1f";
pos=27,118  val=DN              chan=t-0151  fmt="%3d";

pos=28,86   val=CHAN_ID         chan=t-0152;
pos=28,94   val=CHAN_TITLE      chan=t-0152  fmt="%-12.12s";
pos=28,108  val=EU              chan=t-0152  fmt="%6.1f";
pos=28,118  val=DN              chan=t-0152  fmt="%3d";

pos=29,86   val=CHAN_ID         chan=t-0153;
pos=29,94   val=CHAN_TITLE      chan=t-0153  fmt="%-12.12s";
pos=29,108  val=EU              chan=t-0153  fmt="%6.1f";
pos=29,118  val=DN              chan=t-0153  fmt="%3d";

pos=30,86   val=CHAN_ID         chan=t-0154;
pos=30,94   val=CHAN_TITLE      chan=t-0154  fmt="%-12.12s";
pos=30,108  val=EU              chan=t-0154  fmt="%6.1f";
pos=30,118  val=DN              chan=t-0154  fmt="%3d";

pos=31,86   val=CHAN_ID         chan=t-0155;
pos=31,94   val=CHAN_TITLE      chan=t-0155  fmt="%-12.12s";
pos=31,108  val=EU              chan=t-0155  fmt="%6.1f";
pos=31,118  val=DN              chan=t-0155  fmt="%3d";

pos=32,86   val=CHAN_ID         chan=t-0156;
pos=32,94   val=CHAN_TITLE      chan=t-0156  fmt="%-12.12s";
pos=32,108  val=EU              chan=t-0156  fmt="%6.1f";
pos=32,118  val=DN              chan=t-0156  fmt="%3d";

pos=33,86   val=CHAN_ID         chan=t-0157;
pos=33,94   val=CHAN_TITLE      chan=t-0157  fmt="%-12.12s";
pos=33,108  val=EU              chan=t-0157  fmt="%6.1f";
pos=33,118  val=DN              chan=t-0157  fmt="%3d";

pos=34,86   val=CHAN_ID         chan=t-0158;
pos=34,94   val=CHAN_TITLE      chan=t-0158  fmt="%-12.12s";
pos=34,108  val=EU              chan=t-0158  fmt="%6.1f";
pos=34,118  val=DN              chan=t-0158  fmt="%3d";

pos=36,86   val=CHAN_ID         chan=t-0159;
pos=36,94   val=CHAN_TITLE      chan=t-0159  fmt="%-12.12s";
pos=36,108  val=EU              chan=t-0159  fmt="%6.1f";
pos=36,118  val=DN              chan=t-0159  fmt="%3d";

#pos=36,86   val=CHAN_ID         chan=t-0160;
#pos=36,94   val=CHAN_TITLE      chan=t-0160  fmt="%-12.12s";
#pos=36,108  val=EU              chan=t-0160  fmt="%6.1f";
#pos=36,118  val=DN              chan=t-0160  fmt="%3d";

pos=37,86   val=CHAN_ID         chan=t-0161;
pos=37,94   val=CHAN_TITLE      chan=t-0161  fmt="%-12.12s";
pos=37,108  val=EU              chan=t-0161  fmt="%6.1f";
pos=37,118  val=DN              chan=t-0161  fmt="%3d";

pos=38,86   val=CHAN_ID         chan=t-0162;
pos=38,94   val=CHAN_TITLE      chan=t-0162  fmt="%-12.12s";
pos=38,108  val=EU              chan=t-0162  fmt="%6.1f";
pos=38,118  val=DN              chan=t-0162  fmt="%3d";

#pos=39,86   val=CHAN_ID         chan=t-0163;
#pos=39,94   val=CHAN_TITLE      chan=t-0163  fmt="%-12.12s";
#pos=39,108  val=EU              chan=t-0163  fmt="%6.1f";
#pos=39,118  val=DN              chan=t-0163  fmt="%3d";

pos=40,86   val=CHAN_ID         chan=t-0164;
pos=40,94   val=CHAN_TITLE      chan=t-0164  fmt="%-12.12s";
pos=40,108  val=EU              chan=t-0164  fmt="%6.1f";
pos=40,118  val=DN              chan=t-0164  fmt="%3d";

pos=41,86   val=CHAN_ID         chan=t-0165;
pos=41,94   val=CHAN_TITLE      chan=t-0165  fmt="%-12.12s";
pos=41,108  val=EU              chan=t-0165  fmt="%6.1f";
pos=41,118  val=DN              chan=t-0165  fmt="%3d";

pos=42,86   val=CHAN_ID         chan=t-0166;
pos=42,94   val=CHAN_TITLE      chan=t-0166  fmt="%-12.12s";
pos=42,108  val=EU              chan=t-0166  fmt="%6.1f";
pos=42,118  val=DN              chan=t-0166  fmt="%3d";

pos=43,86   val=CHAN_ID         chan=t-0167;
pos=43,94   val=CHAN_TITLE      chan=t-0167  fmt="%-12.12s";
pos=43,108  val=EU              chan=t-0167  fmt="%6.1f";
pos=43,118  val=DN              chan=t-0167  fmt="%3d";

pos=44,86   val=CHAN_ID         chan=t-0168;
pos=44,94   val=CHAN_TITLE      chan=t-0168  fmt="%-12.12s";
pos=44,108  val=EU              chan=t-0168  fmt="%6.1f";
pos=44,118  val=DN              chan=t-0168  fmt="%3d";

pos=45,86   val=CHAN_ID         chan=t-0169;
pos=45,94   val=CHAN_TITLE      chan=t-0169  fmt="%-12.12s";
pos=45,108  val=EU              chan=t-0169  fmt="%6.1f";
pos=45,118  val=DN              chan=t-0169  fmt="%3d";

pos=46,86   val=CHAN_ID         chan=t-0170;
pos=46,94   val=CHAN_TITLE      chan=t-0170  fmt="%-12.12s";
pos=46,108  val=EU              chan=t-0170  fmt="%6.1f";
pos=46,118  val=DN              chan=t-0170  fmt="%3d";

pos=47,86   val=CHAN_ID         chan=t-0171;
pos=47,94   val=CHAN_TITLE      chan=t-0171  fmt="%-12.12s";
pos=47,108  val=EU              chan=t-0171  fmt="%6.1f";
pos=47,118  val=DN              chan=t-0171  fmt="%3d";

pos=48,86   val=CHAN_ID         chan=t-0172;
pos=48,94   val=CHAN_TITLE      chan=t-0172  fmt="%-12.12s";
pos=48,108  val=EU              chan=t-0172  fmt="%6.1f";
pos=48,118  val=DN              chan=t-0172  fmt="%3d";

pos=49,86   val=CHAN_ID         chan=t-0173;
pos=49,94   val=CHAN_TITLE      chan=t-0173  fmt="%-12.12s";
pos=49,108  val=EU              chan=t-0173  fmt="%6.1f";
pos=49,118  val=DN              chan=t-0173  fmt="%3d";

pos=50,86   val=CHAN_ID         chan=t-0174;
pos=50,94   val=CHAN_TITLE      chan=t-0174  fmt="%-12.12s";
pos=50,108  val=EU              chan=t-0174  fmt="%6.1f";
pos=50,118  val=DN              chan=t-0174  fmt="%3d";

pos=51,86   val=CHAN_ID         chan=t-0175;
pos=51,94   val=CHAN_TITLE      chan=t-0175  fmt="%-12.12s";
pos=51,108  val=EU              chan=t-0175  fmt="%6.1f";
pos=51,118  val=DN              chan=t-0175  fmt="%3d";

pos=52,86   val=CHAN_ID         chan=t-0176;
pos=52,94   val=CHAN_TITLE      chan=t-0176  fmt="%-12.12s";
pos=52,108  val=EU              chan=t-0176  fmt="%6.1f";
pos=52,118  val=DN              chan=t-0176  fmt="%3d";

pos=53,86   val=CHAN_ID         chan=t-0177;
pos=53,94   val=CHAN_TITLE      chan=t-0177  fmt="%-12.12s";
pos=53,108  val=EU              chan=t-0177  fmt="%6.1f";
pos=53,118  val=DN              chan=t-0177  fmt="%3d";

pos=54,86   val=CHAN_ID         chan=t-0178;
pos=54,94   val=CHAN_TITLE      chan=t-0178  fmt="%-12.12s";
pos=54,108  val=EU              chan=t-0178  fmt="%6.1f";
pos=54,118  val=DN              chan=t-0178  fmt="%3d";

pos=55,86   val=CHAN_ID         chan=t-0179;
pos=55,94   val=CHAN_TITLE      chan=t-0179  fmt="%-12.12s";
pos=55,108  val=EU              chan=t-0179  fmt="%6.1f";
pos=55,118  val=DN              chan=t-0179  fmt="%3d";

pos=56,86   val=CHAN_ID         chan=t-0180;
pos=56,94   val=CHAN_TITLE      chan=t-0180  fmt="%-12.12s";
pos=56,108  val=EU              chan=t-0180  fmt="%6.1f";
pos=56,118  val=DN              chan=t-0180  fmt="%3d";

pos=57,86   val=CHAN_ID         chan=t-0181;
pos=57,94   val=CHAN_TITLE      chan=t-0181  fmt="%-12.12s";
pos=57,108  val=EU              chan=t-0181  fmt="%6.1f";
pos=57,118  val=DN              chan=t-0181  fmt="%3d";

pos=58,86   val=CHAN_ID         chan=t-0182;
pos=58,94   val=CHAN_TITLE      chan=t-0182  fmt="%-12.12s";
pos=58,108  val=EU              chan=t-0182  fmt="%6.1f";
pos=58,118  val=DN              chan=t-0182  fmt="%3d";

pos=59,86   val=CHAN_ID         chan=t-0183;
pos=59,94   val=CHAN_TITLE      chan=t-0183  fmt="%-12.12s";
pos=59,108  val=EU              chan=t-0183  fmt="%6.1f";
pos=59,118  val=DN              chan=t-0183  fmt="%3d";

pos=60,86   val=CHAN_ID         chan=t-0184;
pos=60,94   val=CHAN_TITLE      chan=t-0184  fmt="%-12.12s";
pos=60,108  val=EU              chan=t-0184  fmt="%6.1f";
pos=60,118  val=DN              chan=t-0184  fmt="%3d";

pos=61,86   val=CHAN_ID         chan=t-0185;
pos=61,94   val=CHAN_TITLE      chan=t-0185  fmt="%-12.12s";
pos=61,108  val=EU              chan=t-0185  fmt="%6.1f";
pos=61,118  val=DN              chan=t-0185  fmt="%3d";

pos=62,86   val=CHAN_ID         chan=t-0186;
pos=62,94   val=CHAN_TITLE      chan=t-0186  fmt="%-12.12s";
pos=62,108  val=EU              chan=t-0186  fmt="%6.1f";
pos=62,118  val=DN              chan=t-0186  fmt="%3d";

pos=63,86   val=CHAN_ID         chan=t-0187;
pos=63,94   val=CHAN_TITLE      chan=t-0187  fmt="%-12.12s";
pos=63,108  val=EU              chan=t-0187  fmt="%6.1f";
pos=63,118  val=DN              chan=t-0187  fmt="%3d";

pos=64,86   val=CHAN_ID         chan=t-0188;
pos=64,94   val=CHAN_TITLE      chan=t-0188  fmt="%-12.12s";
pos=64,108  val=EU              chan=t-0188  fmt="%6.1f";
pos=64,118  val=DN              chan=t-0188  fmt="%3d";

pos=65,86   val=CHAN_ID         chan=t-0189;
pos=65,94   val=CHAN_TITLE      chan=t-0189  fmt="%-12.12s";
pos=65,108  val=EU              chan=t-0189  fmt="%6.1f";
pos=65,118  val=DN              chan=t-0189  fmt="%3d";

pos=66,86   val=CHAN_ID         chan=t-0190;
pos=66,94   val=CHAN_TITLE      chan=t-0190  fmt="%-12.12s";
pos=66,108  val=EU              chan=t-0190  fmt="%6.1f";
pos=66,118  val=DN              chan=t-0190  fmt="%3d";

pos=67,86   val=CHAN_ID         chan=t-0191;
pos=67,94   val=CHAN_TITLE      chan=t-0191  fmt="%-12.12s";
pos=67,108  val=EU              chan=t-0191  fmt="%6.1f";
pos=67,118  val=DN              chan=t-0191  fmt="%3d";

pos=68,86   val=CHAN_ID         chan=t-0192;
pos=68,94   val=CHAN_TITLE      chan=t-0192  fmt="%-12.12s";
pos=68,108  val=EU              chan=t-0192  fmt="%6.1f";
pos=68,118  val=DN              chan=t-0192  fmt="%3d";



rule=static
pos=4,124  val=' | CHAN    MNEMONIC      STATUS    DN  |';
pos=5,124  val='                                        ';
pos=6,124  val='  --- AACS HEATERS -------------------- ';
pos=7,124  val=' |                                     |';
pos=8,124  val=' |                                     |';
pos=9,124  val=' |                                     |';
pos=10,124 val=' |                                     |';
pos=11,124 val='  ------------------------------------- ';

rule=dynamic

pos=07,127 val=CHAN_ID    chan=t-0001;                 pos=08,127 val=CHAN_ID    chan=t-0002;
pos=07,135 val=CHAN_TITLE chan=t-0001 fmt="%-12.12s";  pos=08,135 val=CHAN_TITLE chan=t-0002 fmt="%-12.12s";
pos=07,149 val=STATE_NAME chan=t-0001 fmt="%-10.10s";  pos=08,149 val=STATE_NAME chan=t-0002 fmt="%-10.10s";
pos=07,160 val=DN         chan=t-0001 fmt="%1d";       pos=08,160 val=DN         chan=t-0002 fmt="%1d";

pos=09,127 val=CHAN_ID    chan=t-0003;                 pos=10,127 val=CHAN_ID    chan=t-0004;
pos=09,135 val=CHAN_TITLE chan=t-0003 fmt="%-12.12s";  pos=10,135 val=CHAN_TITLE chan=t-0004 fmt="%-12.12s";
pos=09,149 val=STATE_NAME chan=t-0003 fmt="%-10.10s";  pos=10,149 val=STATE_NAME chan=t-0004 fmt="%-10.10s";
pos=09,160 val=DN         chan=t-0003 fmt="%1d";       pos=10,160 val=DN         chan=t-0004 fmt="%1d";

rule=static
pos=12,124 val='  --- PROPULSION HEATERS -------------- ';
pos=13,124 val=' |                                     |';
pos=14,124 val=' |                                     |';
pos=15,124 val=' |                                     |';
pos=16,124 val=' |                                     |';
pos=17,124 val=' |                                     |';
pos=18,124 val=' |                                     |';
pos=19,124 val=' |                                     |';
pos=20,124 val=' |                                     |';
pos=21,124 val=' |                                     |';
pos=22,124 val=' |                                     |';
pos=23,124 val=' |                                     |';
pos=24,124 val=' |                                     |';
pos=23,124 val=' |                                     |';
pos=25,124 val=' |                                     |';
pos=26,124 val=' |                                     |';
pos=27,124 val=' |                                     |';
pos=28,124 val=' |                                     |';
pos=29,124 val=' |                                     |';
pos=30,124 val=' |                                     |';
pos=31,124 val=' |                                     |';
pos=32,124 val=' |                                     |';
pos=33,124 val=' |                                     |';
pos=34,124 val=' |                                     |';
pos=35,124 val='  ------------------------------------- ';

rule=dynamic

pos=13,127 val=CHAN_ID    chan=t-0008;                 pos=14,127 val=CHAN_ID    chan=t-0009;
pos=13,135 val=CHAN_TITLE chan=t-0008 fmt="%-12.12s";  pos=14,135 val=CHAN_TITLE chan=t-0009 fmt="%-12.12s";
pos=13,149 val=STATE_NAME chan=t-0008 fmt="%-10.10s";  pos=14,149 val=STATE_NAME chan=t-0009 fmt="%-10.10s";
pos=13,160 val=DN         chan=t-0008 fmt="%1d";       pos=14,160 val=DN         chan=t-0009 fmt="%1d";

pos=15,127 val=CHAN_ID    chan=t-0010;                 pos=16,127 val=CHAN_ID    chan=t-0011;
pos=15,135 val=CHAN_TITLE chan=t-0010 fmt="%-12.12s";  pos=16,135 val=CHAN_TITLE chan=t-0011 fmt="%-12.12s";
pos=15,149 val=STATE_NAME chan=t-0010 fmt="%-10.10s";  pos=16,149 val=STATE_NAME chan=t-0011 fmt="%-10.10s";
pos=15,160 val=DN         chan=t-0010 fmt="%1d";       pos=16,160 val=DN         chan=t-0011 fmt="%1d";

pos=17,127 val=CHAN_ID    chan=t-0012;                 pos=18,127 val=CHAN_ID    chan=t-0013;
pos=17,135 val=CHAN_TITLE chan=t-0012 fmt="%-12.12s";  pos=18,135 val=CHAN_TITLE chan=t-0013 fmt="%-12.12s";
pos=17,149 val=STATE_NAME chan=t-0012 fmt="%-10.10s";  pos=18,149 val=STATE_NAME chan=t-0013 fmt="%-10.10s";
pos=17,160 val=DN         chan=t-0012 fmt="%1d";       pos=18,160 val=DN         chan=t-0013 fmt="%1d";

pos=19,127 val=CHAN_ID    chan=t-0014;                 pos=20,127 val=CHAN_ID    chan=t-0015;
pos=19,135 val=CHAN_TITLE chan=t-0014 fmt="%-12.12s";  pos=20,135 val=CHAN_TITLE chan=t-0015 fmt="%-12.12s";
pos=19,149 val=STATE_NAME chan=t-0014 fmt="%-10.10s";  pos=20,149 val=STATE_NAME chan=t-0015 fmt="%-10.10s";
pos=19,160 val=DN         chan=t-0014 fmt="%1d";       pos=20,160 val=DN         chan=t-0015 fmt="%1d";

pos=21,127 val=CHAN_ID    chan=t-0016;                 pos=22,127 val=CHAN_ID    chan=t-0017;
pos=21,135 val=CHAN_TITLE chan=t-0016 fmt="%-12.12s";  pos=22,135 val=CHAN_TITLE chan=t-0017 fmt="%-12.12s";
pos=21,149 val=STATE_NAME chan=t-0016 fmt="%-10.10s";  pos=22,149 val=STATE_NAME chan=t-0017 fmt="%-10.10s";
pos=21,160 val=DN         chan=t-0016 fmt="%1d";       pos=22,160 val=DN         chan=t-0017 fmt="%1d";

pos=23,127 val=CHAN_ID    chan=t-0018;                 pos=24,127 val=CHAN_ID    chan=t-0019;
pos=23,135 val=CHAN_TITLE chan=t-0018 fmt="%-12.12s";  pos=24,135 val=CHAN_TITLE chan=t-0019 fmt="%-12.12s";
pos=23,149 val=STATE_NAME chan=t-0018 fmt="%-10.10s";  pos=24,149 val=STATE_NAME chan=t-0019 fmt="%-10.10s";
pos=23,160 val=DN         chan=t-0018 fmt="%1d";       pos=24,160 val=DN         chan=t-0019 fmt="%1d";

pos=25,127 val=CHAN_ID    chan=t-0020;                 pos=26,127 val=CHAN_ID    chan=t-0021;
pos=25,135 val=CHAN_TITLE chan=t-0020 fmt="%-12.12s";  pos=26,135 val=CHAN_TITLE chan=t-0021 fmt="%-12.12s";
pos=25,149 val=STATE_NAME chan=t-0020 fmt="%-10.10s";  pos=26,149 val=STATE_NAME chan=t-0021 fmt="%-10.10s";
pos=25,160 val=DN         chan=t-0020 fmt="%1d";       pos=26,160 val=DN         chan=t-0021 fmt="%1d";

pos=27,127 val=CHAN_ID    chan=t-0022;                 pos=28,127 val=CHAN_ID    chan=t-0023;
pos=27,135 val=CHAN_TITLE chan=t-0022 fmt="%-12.12s";  pos=28,135 val=CHAN_TITLE chan=t-0023 fmt="%-12.12s";
pos=27,149 val=STATE_NAME chan=t-0022 fmt="%-10.10s";  pos=28,149 val=STATE_NAME chan=t-0023 fmt="%-10.10s";
pos=27,160 val=DN         chan=t-0022 fmt="%1d";       pos=28,160 val=DN         chan=t-0023 fmt="%1d";

pos=29,127 val=CHAN_ID    chan=t-0030;                 pos=30,127 val=CHAN_ID    chan=t-0031;
pos=29,135 val=CHAN_TITLE chan=t-0030 fmt="%-12.12s";  pos=30,135 val=CHAN_TITLE chan=t-0031 fmt="%-12.12s";
pos=29,149 val=STATE_NAME chan=t-0030 fmt="%-10.10s";  pos=30,149 val=STATE_NAME chan=t-0031 fmt="%-10.10s";
pos=29,160 val=DN         chan=t-0030 fmt="%1d";       pos=30,160 val=DN         chan=t-0031 fmt="%1d";

pos=31,127 val=CHAN_ID    chan=t-0032;                 pos=32,127 val=CHAN_ID    chan=t-0033;
pos=31,135 val=CHAN_TITLE chan=t-0032 fmt="%-12.12s";  pos=32,135 val=CHAN_TITLE chan=t-0033 fmt="%-12.12s";
pos=31,149 val=STATE_NAME chan=t-0032 fmt="%-10.10s";  pos=32,149 val=STATE_NAME chan=t-0033 fmt="%-10.10s";
pos=31,160 val=DN         chan=t-0032 fmt="%1d";       pos=32,160 val=DN         chan=t-0033 fmt="%1d";

#pos=31,127 val=CHAN_ID    chan=t-0034;                 pos=32,127 val=CHAN_ID    chan=t-0035;
#pos=31,135 val=CHAN_TITLE chan=t-0034 fmt="%-12.12s";  pos=32,135 val=CHAN_TITLE chan=t-0035 fmt="%-12.12s";
#pos=31,149 val=STATE_NAME chan=t-0034 fmt="%-10.10s";  pos=32,149 val=STATE_NAME chan=t-0035 fmt="%-10.10s";
#pos=31,160 val=DN         chan=t-0034 fmt="%1d";       pos=32,160 val=DN         chan=t-0035 fmt="%1d";

pos=33,127 val=CHAN_ID    chan=t-0036;                 pos=34,127 val=CHAN_ID    chan=t-0037;
pos=33,135 val=CHAN_TITLE chan=t-0036 fmt="%-12.12s";  pos=34,135 val=CHAN_TITLE chan=t-0037 fmt="%-12.12s";
pos=33,149 val=STATE_NAME chan=t-0036 fmt="%-10.10s";  pos=34,149 val=STATE_NAME chan=t-0037 fmt="%-10.10s";
pos=33,160 val=DN         chan=t-0036 fmt="%1d";       pos=34,160 val=DN         chan=t-0037 fmt="%1d";


rule=static
pos=36,124 val='  --- POWER HEATERS ------------------- ';
pos=37,124 val=' |                                     |';
pos=38,124 val=' |                                     |';
pos=39,124 val='  ------------------------------------- ';

rule=dynamic

pos=37,127 val=CHAN_ID    chan=t-0040;                 pos=38,127 val=CHAN_ID    chan=t-0041;
pos=37,135 val=CHAN_TITLE chan=t-0040 fmt="%-12.12s";  pos=38,135 val=CHAN_TITLE chan=t-0041 fmt="%-12.12s";
pos=37,149 val=STATE_NAME chan=t-0040 fmt="%-10.10s";  pos=38,149 val=STATE_NAME chan=t-0041 fmt="%-10.10s";
pos=37,160 val=DN         chan=t-0040 fmt="%1d";       pos=38,160 val=DN         chan=t-0041 fmt="%1d";


rule=static
pos=40,124 val='  --- PAYLOAD HEATERS ----------------- ';
pos=41,124 val=' |                                     |';
pos=42,124 val=' |                                     |';
pos=43,124 val=' |                                     |';
pos=44,124 val=' |                                     |';
pos=45,124 val=' |                                     |';
pos=46,124 val=' |                                     |';
pos=47,124 val=' |                                     |';
pos=48,124 val=' |                                     |';
pos=49,124 val='  ------------------------------------- ';

rule=dynamic

pos=41,127 val=CHAN_ID    chan=t-0050;
pos=41,135 val=CHAN_TITLE chan=t-0050 fmt="%-12.12s";
pos=41,149 val=STATE_NAME chan=t-0050 fmt="%-10.10s";
pos=41,160 val=DN         chan=t-0050 fmt="%1d";

pos=42,127 val=CHAN_ID    chan=t-0051;
pos=42,135 val=CHAN_TITLE chan=t-0051 fmt="%-12.12s";
pos=42,149 val=STATE_NAME chan=t-0051 fmt="%-10.10s";
pos=42,160 val=DN         chan=t-0051 fmt="%1d";

pos=43,127 val=CHAN_ID    chan=t-0052;                 pos=44,127 val=CHAN_ID    chan=t-0053;
pos=43,135 val=CHAN_TITLE chan=t-0052 fmt="%-12.12s";  pos=44,135 val=CHAN_TITLE chan=t-0053 fmt="%-12.12s";
pos=43,149 val=STATE_NAME chan=t-0052 fmt="%-10.10s";  pos=44,149 val=STATE_NAME chan=t-0053 fmt="%-10.10s";
pos=43,160 val=DN         chan=t-0052 fmt="%1d";       pos=44,160 val=DN         chan=t-0053 fmt="%1d";

pos=45,127 val=CHAN_ID    chan=t-0054;                 pos=46,127 val=CHAN_ID    chan=t-0055;
pos=45,135 val=CHAN_TITLE chan=t-0054 fmt="%-12.12s";  pos=46,135 val=CHAN_TITLE chan=t-0055 fmt="%-12.12s";
pos=45,149 val=STATE_NAME chan=t-0054 fmt="%-10.10s";  pos=46,149 val=STATE_NAME chan=t-0055 fmt="%-10.10s";
pos=45,160 val=DN         chan=t-0054 fmt="%1d";       pos=46,160 val=DN         chan=t-0055 fmt="%1d";

pos=47,127 val=CHAN_ID    chan=t-0056;
pos=47,135 val=CHAN_TITLE chan=t-0056 fmt="%-12.12s";
pos=47,149 val=STATE_NAME chan=t-0056 fmt="%-10.10s";
pos=47,160 val=DN         chan=t-0056 fmt="%1d";

pos=48,127 val=CHAN_ID    chan=t-0057;
pos=48,135 val=CHAN_TITLE chan=t-0057 fmt="%-12.12s";
pos=48,149 val=STATE_NAME chan=t-0057 fmt="%-10.10s";
pos=48,160 val=DN         chan=t-0057 fmt="%1d";


rule=static
pos=50,124 val='  --- STRUCTURE HEATERS --------------- ';
pos=51,124 val=' |                                     |';
pos=52,124 val=' |                                     |';
pos=53,124 val=' |                                     |';
pos=54,124 val=' |                                     |';
pos=55,124 val=' |                                     |';
pos=56,124 val=' |                                     |';
pos=57,124 val=' |                                     |';
pos=58,124 val=' |                                     |';
pos=59,124 val='  ------------------------------------- ';

rule=dynamic

pos=51,127 val=CHAN_ID    chan=t-0062;                 pos=52,127 val=CHAN_ID    chan=t-0063;
pos=51,135 val=CHAN_TITLE chan=t-0062 fmt="%-12.12s";  pos=52,135 val=CHAN_TITLE chan=t-0063 fmt="%-12.12s";
pos=51,149 val=STATE_NAME chan=t-0062 fmt="%-10.10s";  pos=52,149 val=STATE_NAME chan=t-0063 fmt="%-10.10s";
pos=51,160 val=DN         chan=t-0062 fmt="%1d";       pos=52,160 val=DN         chan=t-0063 fmt="%1d";

pos=53,127 val=CHAN_ID    chan=t-0064;                 pos=54,127 val=CHAN_ID    chan=t-0065;
pos=53,135 val=CHAN_TITLE chan=t-0064 fmt="%-12.12s";  pos=54,135 val=CHAN_TITLE chan=t-0065 fmt="%-12.12s";
pos=53,149 val=STATE_NAME chan=t-0064 fmt="%-10.10s";  pos=54,149 val=STATE_NAME chan=t-0065 fmt="%-10.10s";
pos=53,160 val=DN         chan=t-0064 fmt="%1d";       pos=54,160 val=DN         chan=t-0065 fmt="%1d";

pos=55,127 val=CHAN_ID    chan=t-0070;                 pos=56,127 val=CHAN_ID    chan=t-0071;
pos=55,135 val=CHAN_TITLE chan=t-0070 fmt="%-12.12s";  pos=56,135 val=CHAN_TITLE chan=t-0071 fmt="%-12.12s";
pos=55,149 val=STATE_NAME chan=t-0070 fmt="%-10.10s";  pos=56,149 val=STATE_NAME chan=t-0071 fmt="%-10.10s";
pos=55,160 val=DN         chan=t-0070 fmt="%1d";       pos=56,160 val=DN         chan=t-0071 fmt="%1d";

pos=57,127 val=CHAN_ID    chan=t-0072;                 pos=58,127 val=CHAN_ID    chan=t-0073;
pos=57,135 val=CHAN_TITLE chan=t-0072 fmt="%-12.12s";  pos=58,135 val=CHAN_TITLE chan=t-0073 fmt="%-12.12s";
pos=57,149 val=STATE_NAME chan=t-0072 fmt="%-10.10s";  pos=58,149 val=STATE_NAME chan=t-0073 fmt="%-10.10s";
pos=57,160 val=DN         chan=t-0072 fmt="%1d";       pos=58,160 val=DN         chan=t-0073 fmt="%1d";


rule=static
pos=60,124 val='  --- THERMAL HEATERS ----------------- ';
pos=61,124 val=' |                                     |';
pos=62,124 val=' |                                     |';
pos=63,124 val=' |                                     |';
pos=64,124 val=' |                                     |';
pos=65,124 val=' |                                     |';
pos=66,124 val=' |                                     |';
pos=67,124 val=' |                                     |';
pos=68,124 val=' |                                     |';
pos=69,124 val='  ------------------------------------- ';

rule=dynamic

pos=61,127 val=CHAN_ID    chan=t-0080;                 pos=62,127 val=CHAN_ID    chan=t-0081;
pos=61,135 val=CHAN_TITLE chan=t-0080 fmt="%-12.12s";  pos=62,135 val=CHAN_TITLE chan=t-0081 fmt="%-12.12s";
pos=61,149 val=STATE_NAME chan=t-0080 fmt="%-10.10s";  pos=62,149 val=STATE_NAME chan=t-0081 fmt="%-10.10s";
pos=61,160 val=DN         chan=t-0080 fmt="%1d";       pos=62,160 val=DN         chan=t-0081 fmt="%1d";

pos=63,127 val=CHAN_ID    chan=t-0082;                 pos=64,127 val=CHAN_ID    chan=t-0083;
pos=63,135 val=CHAN_TITLE chan=t-0082 fmt="%-12.12s";  pos=64,135 val=CHAN_TITLE chan=t-0083 fmt="%-12.12s";
pos=63,149 val=STATE_NAME chan=t-0082 fmt="%-10.10s";  pos=64,149 val=STATE_NAME chan=t-0083 fmt="%-10.10s";
pos=63,160 val=DN         chan=t-0082 fmt="%1d";       pos=64,160 val=DN         chan=t-0083 fmt="%1d";

pos=65,127 val=CHAN_ID    chan=t-0084;                 pos=66,127 val=CHAN_ID    chan=t-0085;
pos=65,135 val=CHAN_TITLE chan=t-0084 fmt="%-12.12s";  pos=66,135 val=CHAN_TITLE chan=t-0085 fmt="%-12.12s";
pos=65,149 val=STATE_NAME chan=t-0084 fmt="%-10.10s";  pos=66,149 val=STATE_NAME chan=t-0085 fmt="%-10.10s";
pos=65,160 val=DN         chan=t-0084 fmt="%1d";       pos=66,160 val=DN         chan=t-0085 fmt="%1d";

pos=67,127 val=CHAN_ID    chan=t-0088;                 pos=68,127 val=CHAN_ID    chan=t-0089;
pos=67,135 val=CHAN_TITLE chan=t-0088 fmt="%-12.12s";  pos=68,135 val=CHAN_TITLE chan=t-0089 fmt="%-12.12s";
pos=67,149 val=STATE_NAME chan=t-0088 fmt="%-10.10s";  pos=68,149 val=STATE_NAME chan=t-0089 fmt="%-10.10s";
pos=67,160 val=DN         chan=t-0088 fmt="%1d";       pos=68,160 val=DN         chan=t-0089 fmt="%1d";



ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_therm_fix2.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Thermal Subsystem Fixed Page #2 (AACS, C&DH, POWER TEMPERATURES)  #
# BASELINED: OGS 07-10-95                                                     #
# MODIFIED:  OGS 10-14-95  "Removed T-0110 and T-0111"                        #
# FINALIZED:                                                                  #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=70,80 pos=4,1 # mgs_therm_fix2.tdl

TEXTREGION

rule=static
pos=2,1    val='   MARS GLOBAL SURVEYOR EDF TEMPERATURES (THERMAL FIXED PAGE #2)               ';
pos=3,1    val='                                                                               ';
pos=4,1    val=' | CHAN    MNEMONIC      TEMP      YEL YEL_LO YEL_HI  RED RED_LO RED_HI   DN  |';
pos=5,1    val='                                                                               ';
pos=6,1    val='  --- AACS TEMPERATURES ------------------------------------------------------ ';
pos=7,1    val=' |                                                                            |';
pos=8,1    val=' |                                                                            |';
pos=9,1    val=' |                                                                            |';
pos=10,1   val=' |                                                                            |';
pos=11,1   val=' |                                                                            |';
pos=12,1   val=' |                                                                            |';
pos=13,1   val=' |                                                                            |';
pos=14,1   val=' |                                                                            |';
pos=15,1   val=' |                                                                            |';
pos=16,1   val=' |                                                                            |';
pos=17,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=07,04   val=CHAN_ID         chan=t-0100;
pos=07,12   val=CHAN_TITLE      chan=t-0100  fmt="%-12.12s";
pos=07,26   val=EU              chan=t-0100  fmt="%6.1f";
pos=07,36   val=YELLOW_ALM_TYPE chan=t-0100  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=07,40   val=YELLOW_LO_ALM   chan=t-0100  fmt="%6.1f";
pos=07,47   val=YELLOW_HI_ALM   chan=t-0100  fmt="%6.1f";
pos=07,55   val=RED_ALM_TYPE    chan=t-0100  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=07,59   val=RED_LO_ALM      chan=t-0100  fmt="%6.1f";
pos=07,66   val=RED_HI_ALM      chan=t-0100  fmt="%6.1f";
pos=07,75   val=DN              chan=t-0100  fmt="%3d";

pos=08,04   val=CHAN_ID         chan=t-0101;
pos=08,12   val=CHAN_TITLE      chan=t-0101  fmt="%-12.12s";
pos=08,26   val=EU              chan=t-0101  fmt="%6.1f";
pos=08,36   val=YELLOW_ALM_TYPE chan=t-0101  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=08,40   val=YELLOW_LO_ALM   chan=t-0101  fmt="%6.1f";
pos=08,47   val=YELLOW_HI_ALM   chan=t-0101  fmt="%6.1f";
pos=08,55   val=RED_ALM_TYPE    chan=t-0101  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=08,59   val=RED_LO_ALM      chan=t-0101  fmt="%6.1f";
pos=08,66   val=RED_HI_ALM      chan=t-0101  fmt="%6.1f";
pos=08,75   val=DN              chan=t-0101  fmt="%3d";

pos=09,04   val=CHAN_ID         chan=t-0102;
pos=09,12   val=CHAN_TITLE      chan=t-0102  fmt="%-12.12s";
pos=09,26   val=EU              chan=t-0102  fmt="%6.1f";
pos=09,36   val=YELLOW_ALM_TYPE chan=t-0102  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=09,40   val=YELLOW_LO_ALM   chan=t-0102  fmt="%6.1f";
pos=09,47   val=YELLOW_HI_ALM   chan=t-0102  fmt="%6.1f";
pos=09,55   val=RED_ALM_TYPE    chan=t-0102  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=09,59   val=RED_LO_ALM      chan=t-0102  fmt="%6.1f";
pos=09,66   val=RED_HI_ALM      chan=t-0102  fmt="%6.1f";
pos=09,75   val=DN              chan=t-0102  fmt="%3d";

pos=10,04   val=CHAN_ID         chan=t-0103;
pos=10,12   val=CHAN_TITLE      chan=t-0103  fmt="%-12.12s";
pos=10,26   val=EU              chan=t-0103  fmt="%6.1f";
pos=10,36   val=YELLOW_ALM_TYPE chan=t-0103  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=10,40   val=YELLOW_LO_ALM   chan=t-0103  fmt="%6.1f";
pos=10,47   val=YELLOW_HI_ALM   chan=t-0103  fmt="%6.1f";
pos=10,55   val=RED_ALM_TYPE    chan=t-0103  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=10,59   val=RED_LO_ALM      chan=t-0103  fmt="%6.1f";
pos=10,66   val=RED_HI_ALM      chan=t-0103  fmt="%6.1f";
pos=10,75   val=DN              chan=t-0103  fmt="%3d";

pos=11,04   val=CHAN_ID         chan=t-0104;
pos=11,12   val=CHAN_TITLE      chan=t-0104  fmt="%-12.12s";
pos=11,26   val=EU              chan=t-0104  fmt="%6.1f";
pos=11,36   val=YELLOW_ALM_TYPE chan=t-0104  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=11,40   val=YELLOW_LO_ALM   chan=t-0104  fmt="%6.1f";
pos=11,47   val=YELLOW_HI_ALM   chan=t-0104  fmt="%6.1f";
pos=11,55   val=RED_ALM_TYPE    chan=t-0104  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=11,59   val=RED_LO_ALM      chan=t-0104  fmt="%6.1f";
pos=11,66   val=RED_HI_ALM      chan=t-0104  fmt="%6.1f";
pos=11,75   val=DN              chan=t-0104  fmt="%3d";

pos=12,04   val=CHAN_ID         chan=t-0105;
pos=12,12   val=CHAN_TITLE      chan=t-0105  fmt="%-12.12s";
pos=12,26   val=EU              chan=t-0105  fmt="%6.1f";
pos=12,36   val=YELLOW_ALM_TYPE chan=t-0105  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=12,40   val=YELLOW_LO_ALM   chan=t-0105  fmt="%6.1f";
pos=12,47   val=YELLOW_HI_ALM   chan=t-0105  fmt="%6.1f";
pos=12,55   val=RED_ALM_TYPE    chan=t-0105  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=12,59   val=RED_LO_ALM      chan=t-0105  fmt="%6.1f";
pos=12,66   val=RED_HI_ALM      chan=t-0105  fmt="%6.1f";
pos=12,75   val=DN              chan=t-0105  fmt="%3d";

pos=13,04   val=CHAN_ID         chan=t-0106;
pos=13,12   val=CHAN_TITLE      chan=t-0106  fmt="%-12.12s";
pos=13,26   val=EU              chan=t-0106  fmt="%6.1f";
pos=13,36   val=YELLOW_ALM_TYPE chan=t-0106  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=13,40   val=YELLOW_LO_ALM   chan=t-0106  fmt="%6.1f";
pos=13,47   val=YELLOW_HI_ALM   chan=t-0106  fmt="%6.1f";
pos=13,55   val=RED_ALM_TYPE    chan=t-0106  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=13,59   val=RED_LO_ALM      chan=t-0106  fmt="%6.1f";
pos=13,66   val=RED_HI_ALM      chan=t-0106  fmt="%6.1f";
pos=13,75   val=DN              chan=t-0106  fmt="%3d";

pos=14,04   val=CHAN_ID         chan=t-0107;
pos=14,12   val=CHAN_TITLE      chan=t-0107  fmt="%-12.12s";
pos=14,26   val=EU              chan=t-0107  fmt="%6.1f";
pos=14,36   val=YELLOW_ALM_TYPE chan=t-0107  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=14,40   val=YELLOW_LO_ALM   chan=t-0107  fmt="%6.1f";
pos=14,47   val=YELLOW_HI_ALM   chan=t-0107  fmt="%6.1f";
pos=14,55   val=RED_ALM_TYPE    chan=t-0107  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=14,59   val=RED_LO_ALM      chan=t-0107  fmt="%6.1f";
pos=14,66   val=RED_HI_ALM      chan=t-0107  fmt="%6.1f";
pos=14,75   val=DN              chan=t-0107  fmt="%3d";

pos=15,04   val=CHAN_ID         chan=t-0108;
pos=15,12   val=CHAN_TITLE      chan=t-0108  fmt="%-12.12s";
pos=15,26   val=EU              chan=t-0108  fmt="%6.1f";
pos=15,36   val=YELLOW_ALM_TYPE chan=t-0108  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=15,40   val=YELLOW_LO_ALM   chan=t-0108  fmt="%6.1f";
pos=15,47   val=YELLOW_HI_ALM   chan=t-0108  fmt="%6.1f";
pos=15,55   val=RED_ALM_TYPE    chan=t-0108  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=15,59   val=RED_LO_ALM      chan=t-0108  fmt="%6.1f";
pos=15,66   val=RED_HI_ALM      chan=t-0108  fmt="%6.1f";
pos=15,75   val=DN              chan=t-0108  fmt="%3d";

pos=16,04   val=CHAN_ID         chan=t-0109;
pos=16,12   val=CHAN_TITLE      chan=t-0109  fmt="%-12.12s";
pos=16,26   val=EU              chan=t-0109  fmt="%6.1f";
pos=16,36   val=YELLOW_ALM_TYPE chan=t-0109  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=16,40   val=YELLOW_LO_ALM   chan=t-0109  fmt="%6.1f";
pos=16,47   val=YELLOW_HI_ALM   chan=t-0109  fmt="%6.1f";
pos=16,55   val=RED_ALM_TYPE    chan=t-0109  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=16,59   val=RED_LO_ALM      chan=t-0109  fmt="%6.1f";
pos=16,66   val=RED_HI_ALM      chan=t-0109  fmt="%6.1f";
pos=16,75   val=DN              chan=t-0109  fmt="%3d";


rule=static
pos=18,1   val='  --- C&DH TEMPERATURES ------------------------------------------------------ ';
pos=19,1   val=' |                                                                            |';
pos=20,1   val=' |                                                                            |';
pos=21,1   val=' |                                                                            |';
pos=22,1   val=' |                                                                            |';
pos=23,1   val=' |                                                                            |';
pos=24,1   val=' |                                                                            |';
pos=25,1   val=' |                                                                            |';
pos=26,1   val=' |                                                                            |';
pos=27,1   val=' |                                                                            |';
pos=28,1   val=' |                                                                            |';
pos=29,1   val=' |                                                                            |';
pos=30,1   val=' |                                                                            |';
pos=31,1   val=' |                                                                            |';
pos=32,1   val=' |                                                                            |';
pos=33,1   val=' |                                                                            |';
pos=34,1   val=' |                                                                            |';
pos=35,1   val=' |                                                                            |';
pos=36,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=19,04   val=CHAN_ID         chan=t-0114;
pos=19,12   val=CHAN_TITLE      chan=t-0114  fmt="%-12.12s";
pos=19,26   val=EU              chan=t-0114  fmt="%6.1f";
pos=19,36   val=YELLOW_ALM_TYPE chan=t-0114  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=19,40   val=YELLOW_LO_ALM   chan=t-0114  fmt="%6.1f";
pos=19,47   val=YELLOW_HI_ALM   chan=t-0114  fmt="%6.1f";
pos=19,55   val=RED_ALM_TYPE    chan=t-0114  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=19,59   val=RED_LO_ALM      chan=t-0114  fmt="%6.1f";
pos=19,66   val=RED_HI_ALM      chan=t-0114  fmt="%6.1f";
pos=19,75   val=DN              chan=t-0114  fmt="%3d";

pos=20,04   val=CHAN_ID         chan=t-0115;
pos=20,12   val=CHAN_TITLE      chan=t-0115  fmt="%-12.12s";
pos=20,26   val=EU              chan=t-0115  fmt="%6.1f";
pos=20,36   val=YELLOW_ALM_TYPE chan=t-0115  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=20,40   val=YELLOW_LO_ALM   chan=t-0115  fmt="%6.1f";
pos=20,47   val=YELLOW_HI_ALM   chan=t-0115  fmt="%6.1f";
pos=20,55   val=RED_ALM_TYPE    chan=t-0115  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=20,59   val=RED_LO_ALM      chan=t-0115  fmt="%6.1f";
pos=20,66   val=RED_HI_ALM      chan=t-0115  fmt="%6.1f";
pos=20,75   val=DN              chan=t-0115  fmt="%3d";

pos=21,04   val=CHAN_ID         chan=t-0116;
pos=21,12   val=CHAN_TITLE      chan=t-0116  fmt="%-12.12s";
pos=21,26   val=EU              chan=t-0116  fmt="%6.1f";
pos=21,36   val=YELLOW_ALM_TYPE chan=t-0116  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=21,40   val=YELLOW_LO_ALM   chan=t-0116  fmt="%6.1f";
pos=21,47   val=YELLOW_HI_ALM   chan=t-0116  fmt="%6.1f";
pos=21,55   val=RED_ALM_TYPE    chan=t-0116  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=21,59   val=RED_LO_ALM      chan=t-0116  fmt="%6.1f";
pos=21,66   val=RED_HI_ALM      chan=t-0116  fmt="%6.1f";
pos=21,75   val=DN              chan=t-0116  fmt="%3d";

pos=22,04   val=CHAN_ID         chan=t-0117;
pos=22,12   val=CHAN_TITLE      chan=t-0117  fmt="%-12.12s";
pos=22,26   val=EU              chan=t-0117  fmt="%6.1f";
pos=22,36   val=YELLOW_ALM_TYPE chan=t-0117  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=22,40   val=YELLOW_LO_ALM   chan=t-0117  fmt="%6.1f";
pos=22,47   val=YELLOW_HI_ALM   chan=t-0117  fmt="%6.1f";
pos=22,55   val=RED_ALM_TYPE    chan=t-0117  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=22,59   val=RED_LO_ALM      chan=t-0117  fmt="%6.1f";
pos=22,66   val=RED_HI_ALM      chan=t-0117  fmt="%6.1f";
pos=22,75   val=DN              chan=t-0117  fmt="%3d";

pos=23,04   val=CHAN_ID         chan=t-0118;
pos=23,12   val=CHAN_TITLE      chan=t-0118  fmt="%-12.12s";
pos=23,26   val=EU              chan=t-0118  fmt="%6.1f";
pos=23,36   val=YELLOW_ALM_TYPE chan=t-0118  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=23,40   val=YELLOW_LO_ALM   chan=t-0118  fmt="%6.1f";
pos=23,47   val=YELLOW_HI_ALM   chan=t-0118  fmt="%6.1f";
pos=23,55   val=RED_ALM_TYPE    chan=t-0118  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=23,59   val=RED_LO_ALM      chan=t-0118  fmt="%6.1f";
pos=23,66   val=RED_HI_ALM      chan=t-0118  fmt="%6.1f";
pos=23,75   val=DN              chan=t-0118  fmt="%3d";

pos=24,04   val=CHAN_ID         chan=t-0119;
pos=24,12   val=CHAN_TITLE      chan=t-0119  fmt="%-12.12s";
pos=24,26   val=EU              chan=t-0119  fmt="%6.1f";
pos=24,36   val=YELLOW_ALM_TYPE chan=t-0119  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=24,40   val=YELLOW_LO_ALM   chan=t-0119  fmt="%6.1f";
pos=24,47   val=YELLOW_HI_ALM   chan=t-0119  fmt="%6.1f";
pos=24,55   val=RED_ALM_TYPE    chan=t-0119  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=24,59   val=RED_LO_ALM      chan=t-0119  fmt="%6.1f";
pos=24,66   val=RED_HI_ALM      chan=t-0119  fmt="%6.1f";
pos=24,75   val=DN              chan=t-0119  fmt="%3d";

pos=25,04   val=CHAN_ID         chan=t-0120;
pos=25,12   val=CHAN_TITLE      chan=t-0120  fmt="%-12.12s";
pos=25,26   val=EU              chan=t-0120  fmt="%6.1f";
pos=25,36   val=YELLOW_ALM_TYPE chan=t-0120  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=25,40   val=YELLOW_LO_ALM   chan=t-0120  fmt="%6.1f";
pos=25,47   val=YELLOW_HI_ALM   chan=t-0120  fmt="%6.1f";
pos=25,55   val=RED_ALM_TYPE    chan=t-0120  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=25,59   val=RED_LO_ALM      chan=t-0120  fmt="%6.1f";
pos=25,66   val=RED_HI_ALM      chan=t-0120  fmt="%6.1f";
pos=25,75   val=DN              chan=t-0120  fmt="%3d";

pos=26,04   val=CHAN_ID         chan=t-0121;
pos=26,12   val=CHAN_TITLE      chan=t-0121  fmt="%-12.12s";
pos=26,26   val=EU              chan=t-0121  fmt="%6.1f";
pos=26,36   val=YELLOW_ALM_TYPE chan=t-0121  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=26,40   val=YELLOW_LO_ALM   chan=t-0121  fmt="%6.1f";
pos=26,47   val=YELLOW_HI_ALM   chan=t-0121  fmt="%6.1f";
pos=26,55   val=RED_ALM_TYPE    chan=t-0121  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=26,59   val=RED_LO_ALM      chan=t-0121  fmt="%6.1f";
pos=26,66   val=RED_HI_ALM      chan=t-0121  fmt="%6.1f";
pos=26,75   val=DN              chan=t-0121  fmt="%3d";

pos=27,04   val=CHAN_ID         chan=t-0122;
pos=27,12   val=CHAN_TITLE      chan=t-0122  fmt="%-12.12s";
pos=27,26   val=EU              chan=t-0122  fmt="%6.1f";
pos=27,36   val=YELLOW_ALM_TYPE chan=t-0122  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=27,40   val=YELLOW_LO_ALM   chan=t-0122  fmt="%6.1f";
pos=27,47   val=YELLOW_HI_ALM   chan=t-0122  fmt="%6.1f";
pos=27,55   val=RED_ALM_TYPE    chan=t-0122  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=27,59   val=RED_LO_ALM      chan=t-0122  fmt="%6.1f";
pos=27,66   val=RED_HI_ALM      chan=t-0122  fmt="%6.1f";
pos=27,75   val=DN              chan=t-0122  fmt="%3d";

pos=28,04   val=CHAN_ID         chan=t-0123;
pos=28,12   val=CHAN_TITLE      chan=t-0123  fmt="%-12.12s";
pos=28,26   val=EU              chan=t-0123  fmt="%6.1f";
pos=28,36   val=YELLOW_ALM_TYPE chan=t-0123  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=28,40   val=YELLOW_LO_ALM   chan=t-0123  fmt="%6.1f";
pos=28,47   val=YELLOW_HI_ALM   chan=t-0123  fmt="%6.1f";
pos=28,55   val=RED_ALM_TYPE    chan=t-0123  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=28,59   val=RED_LO_ALM      chan=t-0123  fmt="%6.1f";
pos=28,66   val=RED_HI_ALM      chan=t-0123  fmt="%6.1f";
pos=28,75   val=DN              chan=t-0123  fmt="%3d";

pos=29,04   val=CHAN_ID         chan=t-0124;
pos=29,12   val=CHAN_TITLE      chan=t-0124  fmt="%-12.12s";
pos=29,26   val=EU              chan=t-0124  fmt="%6.1f";
pos=29,36   val=YELLOW_ALM_TYPE chan=t-0124  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=29,40   val=YELLOW_LO_ALM   chan=t-0124  fmt="%6.1f";
pos=29,47   val=YELLOW_HI_ALM   chan=t-0124  fmt="%6.1f";
pos=29,55   val=RED_ALM_TYPE    chan=t-0124  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=29,59   val=RED_LO_ALM      chan=t-0124  fmt="%6.1f";
pos=29,66   val=RED_HI_ALM      chan=t-0124  fmt="%6.1f";
pos=29,75   val=DN              chan=t-0124  fmt="%3d";

pos=30,04   val=CHAN_ID         chan=t-0125;
pos=30,12   val=CHAN_TITLE      chan=t-0125  fmt="%-12.12s";
pos=30,26   val=EU              chan=t-0125  fmt="%6.1f";
pos=30,36   val=YELLOW_ALM_TYPE chan=t-0125  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=30,40   val=YELLOW_LO_ALM   chan=t-0125  fmt="%6.1f";
pos=30,47   val=YELLOW_HI_ALM   chan=t-0125  fmt="%6.1f";
pos=30,55   val=RED_ALM_TYPE    chan=t-0125  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=30,59   val=RED_LO_ALM      chan=t-0125  fmt="%6.1f";
pos=30,66   val=RED_HI_ALM      chan=t-0125  fmt="%6.1f";
pos=30,75   val=DN              chan=t-0125  fmt="%3d";

pos=31,04   val=CHAN_ID         chan=t-0126;
pos=31,12   val=CHAN_TITLE      chan=t-0126  fmt="%-12.12s";
pos=31,26   val=EU              chan=t-0126  fmt="%6.1f";
pos=31,36   val=YELLOW_ALM_TYPE chan=t-0126  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=31,40   val=YELLOW_LO_ALM   chan=t-0126  fmt="%6.1f";
pos=31,47   val=YELLOW_HI_ALM   chan=t-0126  fmt="%6.1f";
pos=31,55   val=RED_ALM_TYPE    chan=t-0126  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=31,59   val=RED_LO_ALM      chan=t-0126  fmt="%6.1f";
pos=31,66   val=RED_HI_ALM      chan=t-0126  fmt="%6.1f";
pos=31,75   val=DN              chan=t-0126  fmt="%3d";

pos=32,04   val=CHAN_ID         chan=t-0127;
pos=32,12   val=CHAN_TITLE      chan=t-0127  fmt="%-12.12s";
pos=32,26   val=EU              chan=t-0127  fmt="%6.1f";
pos=32,36   val=YELLOW_ALM_TYPE chan=t-0127  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=32,40   val=YELLOW_LO_ALM   chan=t-0127  fmt="%6.1f";
pos=32,47   val=YELLOW_HI_ALM   chan=t-0127  fmt="%6.1f";
pos=32,55   val=RED_ALM_TYPE    chan=t-0127  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=32,59   val=RED_LO_ALM      chan=t-0127  fmt="%6.1f";
pos=32,66   val=RED_HI_ALM      chan=t-0127  fmt="%6.1f";
pos=32,75   val=DN              chan=t-0127  fmt="%3d";

pos=33,04   val=CHAN_ID         chan=t-0128;
pos=33,12   val=CHAN_TITLE      chan=t-0128  fmt="%-12.12s";
pos=33,26   val=EU              chan=t-0128  fmt="%6.1f";
pos=33,36   val=YELLOW_ALM_TYPE chan=t-0128  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=33,40   val=YELLOW_LO_ALM   chan=t-0128  fmt="%6.1f";
pos=33,47   val=YELLOW_HI_ALM   chan=t-0128  fmt="%6.1f";
pos=33,55   val=RED_ALM_TYPE    chan=t-0128  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=33,59   val=RED_LO_ALM      chan=t-0128  fmt="%6.1f";
pos=33,66   val=RED_HI_ALM      chan=t-0128  fmt="%6.1f";
pos=33,75   val=DN              chan=t-0128  fmt="%3d";

pos=34,04   val=CHAN_ID         chan=t-0129;
pos=34,12   val=CHAN_TITLE      chan=t-0129  fmt="%-12.12s";
pos=34,26   val=EU              chan=t-0129  fmt="%6.1f";
pos=34,36   val=YELLOW_ALM_TYPE chan=t-0129  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=34,40   val=YELLOW_LO_ALM   chan=t-0129  fmt="%6.1f";
pos=34,47   val=YELLOW_HI_ALM   chan=t-0129  fmt="%6.1f";
pos=34,55   val=RED_ALM_TYPE    chan=t-0129  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=34,59   val=RED_LO_ALM      chan=t-0129  fmt="%6.1f";
pos=34,66   val=RED_HI_ALM      chan=t-0129  fmt="%6.1f";
pos=34,75   val=DN              chan=t-0129  fmt="%3d";

pos=35,04   val=CHAN_ID         chan=t-0130;
pos=35,12   val=CHAN_TITLE      chan=t-0130  fmt="%-12.12s";
pos=35,26   val=EU              chan=t-0130  fmt="%6.1f";
pos=35,36   val=YELLOW_ALM_TYPE chan=t-0130  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=35,40   val=YELLOW_LO_ALM   chan=t-0130  fmt="%6.1f";
pos=35,47   val=YELLOW_HI_ALM   chan=t-0130  fmt="%6.1f";
pos=35,55   val=RED_ALM_TYPE    chan=t-0130  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=35,59   val=RED_LO_ALM      chan=t-0130  fmt="%6.1f";
pos=35,66   val=RED_HI_ALM      chan=t-0130  fmt="%6.1f";
pos=35,75   val=DN              chan=t-0130  fmt="%3d";


rule=static
pos=37,1   val='  --- POWER TEMPERATURES ----------------------------------------------------- ';
pos=38,1   val=' |                                                                            |';
pos=39,1   val=' |                                                                            |';
pos=40,1   val=' |                                                                            |';
pos=41,1   val=' |                                                                            |';
pos=42,1   val=' |                                                                            |';
pos=43,1   val=' |                                                                            |';
pos=44,1   val=' |                                                                            |';
pos=45,1   val=' |                                                                            |';
pos=46,1   val=' |                                                                            |';
pos=47,1   val=' |                                                                            |';
pos=48,1   val=' |                                                                            |';
pos=49,1   val=' |                                                                            |';
pos=50,1   val=' |                                                                            |';
pos=51,1   val=' |                                                                            |';
pos=52,1   val=' |                                                                            |';
pos=53,1   val=' |                                                                            |';
pos=54,1   val=' |                                                                            |';
pos=55,1   val=' |                                                                            |';
pos=56,1   val=' |                                                                            |';
pos=57,1   val=' |                                                                            |';
pos=58,1   val=' |                                                                            |';
pos=59,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=38,04   val=CHAN_ID         chan=t-0196;
pos=38,12   val=CHAN_TITLE      chan=t-0196  fmt="%-12.12s";
pos=38,26   val=EU              chan=t-0196  fmt="%6.1f";
pos=38,36   val=YELLOW_ALM_TYPE chan=t-0196  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=38,40   val=YELLOW_LO_ALM   chan=t-0196  fmt="%6.1f";
pos=38,47   val=YELLOW_HI_ALM   chan=t-0196  fmt="%6.1f";
pos=38,55   val=RED_ALM_TYPE    chan=t-0196  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=38,59   val=RED_LO_ALM      chan=t-0196  fmt="%6.1f";
pos=38,66   val=RED_HI_ALM      chan=t-0196  fmt="%6.1f";
pos=38,75   val=DN              chan=t-0196  fmt="%3d";

pos=39,04   val=CHAN_ID         chan=t-0197;
pos=39,12   val=CHAN_TITLE      chan=t-0197  fmt="%-12.12s";
pos=39,26   val=EU              chan=t-0197  fmt="%6.1f";
pos=39,36   val=YELLOW_ALM_TYPE chan=t-0197  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=39,40   val=YELLOW_LO_ALM   chan=t-0197  fmt="%6.1f";
pos=39,47   val=YELLOW_HI_ALM   chan=t-0197  fmt="%6.1f";
pos=39,55   val=RED_ALM_TYPE    chan=t-0197  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=39,59   val=RED_LO_ALM      chan=t-0197  fmt="%6.1f";
pos=39,66   val=RED_HI_ALM      chan=t-0197  fmt="%6.1f";
pos=39,75   val=DN              chan=t-0197  fmt="%3d";

pos=40,04   val=CHAN_ID         chan=t-0198;
pos=40,12   val=CHAN_TITLE      chan=t-0198  fmt="%-12.12s";
pos=40,26   val=EU              chan=t-0198  fmt="%6.1f";
pos=40,36   val=YELLOW_ALM_TYPE chan=t-0198  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=40,40   val=YELLOW_LO_ALM   chan=t-0198  fmt="%6.1f";
pos=40,47   val=YELLOW_HI_ALM   chan=t-0198  fmt="%6.1f";
pos=40,55   val=RED_ALM_TYPE    chan=t-0198  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=40,59   val=RED_LO_ALM      chan=t-0198  fmt="%6.1f";
pos=40,66   val=RED_HI_ALM      chan=t-0198  fmt="%6.1f";
pos=40,75   val=DN              chan=t-0198  fmt="%3d";

pos=41,04   val=CHAN_ID         chan=t-0199;
pos=41,12   val=CHAN_TITLE      chan=t-0199  fmt="%-12.12s";
pos=41,26   val=EU              chan=t-0199  fmt="%6.1f";
pos=41,36   val=YELLOW_ALM_TYPE chan=t-0199  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=41,40   val=YELLOW_LO_ALM   chan=t-0199  fmt="%6.1f";
pos=41,47   val=YELLOW_HI_ALM   chan=t-0199  fmt="%6.1f";
pos=41,55   val=RED_ALM_TYPE    chan=t-0199  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=41,59   val=RED_LO_ALM      chan=t-0199  fmt="%6.1f";
pos=41,66   val=RED_HI_ALM      chan=t-0199  fmt="%6.1f";
pos=41,75   val=DN              chan=t-0199  fmt="%3d";

pos=42,04   val=CHAN_ID         chan=t-0200;
pos=42,12   val=CHAN_TITLE      chan=t-0200  fmt="%-12.12s";
pos=42,26   val=EU              chan=t-0200  fmt="%6.1f";
pos=42,36   val=YELLOW_ALM_TYPE chan=t-0200  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=42,40   val=YELLOW_LO_ALM   chan=t-0200  fmt="%6.1f";
pos=42,47   val=YELLOW_HI_ALM   chan=t-0200  fmt="%6.1f";
pos=42,55   val=RED_ALM_TYPE    chan=t-0200  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=42,59   val=RED_LO_ALM      chan=t-0200  fmt="%6.1f";
pos=42,66   val=RED_HI_ALM      chan=t-0200  fmt="%6.1f";
pos=42,75   val=DN              chan=t-0200  fmt="%3d";

pos=43,04   val=CHAN_ID         chan=t-0201;
pos=43,12   val=CHAN_TITLE      chan=t-0201  fmt="%-12.12s";
pos=43,26   val=EU              chan=t-0201  fmt="%6.1f";
pos=43,36   val=YELLOW_ALM_TYPE chan=t-0201  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=43,40   val=YELLOW_LO_ALM   chan=t-0201  fmt="%6.1f";
pos=43,47   val=YELLOW_HI_ALM   chan=t-0201  fmt="%6.1f";
pos=43,55   val=RED_ALM_TYPE    chan=t-0201  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=43,59   val=RED_LO_ALM      chan=t-0201  fmt="%6.1f";
pos=43,66   val=RED_HI_ALM      chan=t-0201  fmt="%6.1f";
pos=43,75   val=DN              chan=t-0201  fmt="%3d";

pos=44,04   val=CHAN_ID         chan=t-0202;
pos=44,12   val=CHAN_TITLE      chan=t-0202  fmt="%-12.12s";
pos=44,26   val=EU              chan=t-0202  fmt="%6.1f";
pos=44,36   val=YELLOW_ALM_TYPE chan=t-0202  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=44,40   val=YELLOW_LO_ALM   chan=t-0202  fmt="%6.1f";
pos=44,47   val=YELLOW_HI_ALM   chan=t-0202  fmt="%6.1f";
pos=44,55   val=RED_ALM_TYPE    chan=t-0202  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=44,59   val=RED_LO_ALM      chan=t-0202  fmt="%6.1f";
pos=44,66   val=RED_HI_ALM      chan=t-0202  fmt="%6.1f";
pos=44,75   val=DN              chan=t-0202  fmt="%3d";

pos=45,04   val=CHAN_ID         chan=t-0203;
pos=45,12   val=CHAN_TITLE      chan=t-0203  fmt="%-12.12s";
pos=45,26   val=EU              chan=t-0203  fmt="%6.1f";
pos=45,36   val=YELLOW_ALM_TYPE chan=t-0203  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=45,40   val=YELLOW_LO_ALM   chan=t-0203  fmt="%6.1f";
pos=45,47   val=YELLOW_HI_ALM   chan=t-0203  fmt="%6.1f";
pos=45,55   val=RED_ALM_TYPE    chan=t-0203  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=45,59   val=RED_LO_ALM      chan=t-0203  fmt="%6.1f";
pos=45,66   val=RED_HI_ALM      chan=t-0203  fmt="%6.1f";
pos=45,75   val=DN              chan=t-0203  fmt="%3d";

pos=46,04   val=CHAN_ID         chan=t-0205;
pos=46,12   val=CHAN_TITLE      chan=t-0205  fmt="%-12.12s";
pos=46,26   val=EU              chan=t-0205  fmt="%6.1f";
pos=46,36   val=YELLOW_ALM_TYPE chan=t-0205  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=46,40   val=YELLOW_LO_ALM   chan=t-0205  fmt="%6.1f";
pos=46,47   val=YELLOW_HI_ALM   chan=t-0205  fmt="%6.1f";
pos=46,55   val=RED_ALM_TYPE    chan=t-0205  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=46,59   val=RED_LO_ALM      chan=t-0205  fmt="%6.1f";
pos=46,66   val=RED_HI_ALM      chan=t-0205  fmt="%6.1f";
pos=46,75   val=DN              chan=t-0205  fmt="%3d";

pos=47,04   val=CHAN_ID         chan=t-0206;
pos=47,12   val=CHAN_TITLE      chan=t-0206  fmt="%-12.12s";
pos=47,26   val=EU              chan=t-0206  fmt="%6.1f";
pos=47,36   val=YELLOW_ALM_TYPE chan=t-0206  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=47,40   val=YELLOW_LO_ALM   chan=t-0206  fmt="%6.1f";
pos=47,47   val=YELLOW_HI_ALM   chan=t-0206  fmt="%6.1f";
pos=47,55   val=RED_ALM_TYPE    chan=t-0206  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=47,59   val=RED_LO_ALM      chan=t-0206  fmt="%6.1f";
pos=47,66   val=RED_HI_ALM      chan=t-0206  fmt="%6.1f";
pos=47,75   val=DN              chan=t-0206  fmt="%3d";

pos=48,04   val=CHAN_ID         chan=t-0207;
pos=48,12   val=CHAN_TITLE      chan=t-0207  fmt="%-12.12s";
pos=48,26   val=EU              chan=t-0207  fmt="%6.1f";
pos=48,36   val=YELLOW_ALM_TYPE chan=t-0207  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=48,40   val=YELLOW_LO_ALM   chan=t-0207  fmt="%6.1f";
pos=48,47   val=YELLOW_HI_ALM   chan=t-0207  fmt="%6.1f";
pos=48,55   val=RED_ALM_TYPE    chan=t-0207  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=48,59   val=RED_LO_ALM      chan=t-0207  fmt="%6.1f";
pos=48,66   val=RED_HI_ALM      chan=t-0207  fmt="%6.1f";
pos=48,75   val=DN              chan=t-0207  fmt="%3d";

pos=49,04   val=CHAN_ID         chan=t-0208;
pos=49,12   val=CHAN_TITLE      chan=t-0208  fmt="%-12.12s";
pos=49,26   val=EU              chan=t-0208  fmt="%6.1f";
pos=49,36   val=YELLOW_ALM_TYPE chan=t-0208  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=49,40   val=YELLOW_LO_ALM   chan=t-0208  fmt="%6.1f";
pos=49,47   val=YELLOW_HI_ALM   chan=t-0208  fmt="%6.1f";
pos=49,55   val=RED_ALM_TYPE    chan=t-0208  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=49,59   val=RED_LO_ALM      chan=t-0208  fmt="%6.1f";
pos=49,66   val=RED_HI_ALM      chan=t-0208  fmt="%6.1f";
pos=49,75   val=DN              chan=t-0208  fmt="%3d";

pos=50,04   val=CHAN_ID         chan=t-0209;
pos=50,12   val=CHAN_TITLE      chan=t-0209  fmt="%-12.12s";
pos=50,26   val=EU              chan=t-0209  fmt="%6.1f";
pos=50,36   val=YELLOW_ALM_TYPE chan=t-0209  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=50,40   val=YELLOW_LO_ALM   chan=t-0209  fmt="%6.1f";
pos=50,47   val=YELLOW_HI_ALM   chan=t-0209  fmt="%6.1f";
pos=50,55   val=RED_ALM_TYPE    chan=t-0209  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=50,59   val=RED_LO_ALM      chan=t-0209  fmt="%6.1f";
pos=50,66   val=RED_HI_ALM      chan=t-0209  fmt="%6.1f";
pos=50,75   val=DN              chan=t-0209  fmt="%3d";

pos=51,04   val=CHAN_ID         chan=t-0210;
pos=51,12   val=CHAN_TITLE      chan=t-0210  fmt="%-12.12s";
pos=51,26   val=EU              chan=t-0210  fmt="%6.1f";
pos=51,36   val=YELLOW_ALM_TYPE chan=t-0210  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=51,40   val=YELLOW_LO_ALM   chan=t-0210  fmt="%6.1f";
pos=51,47   val=YELLOW_HI_ALM   chan=t-0210  fmt="%6.1f";
pos=51,55   val=RED_ALM_TYPE    chan=t-0210  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=51,59   val=RED_LO_ALM      chan=t-0210  fmt="%6.1f";
pos=51,66   val=RED_HI_ALM      chan=t-0210  fmt="%6.1f";
pos=51,75   val=DN              chan=t-0210  fmt="%3d";

pos=52,04   val=CHAN_ID         chan=t-0211;
pos=52,12   val=CHAN_TITLE      chan=t-0211  fmt="%-12.12s";
pos=52,26   val=EU              chan=t-0211  fmt="%6.1f";
pos=52,36   val=YELLOW_ALM_TYPE chan=t-0211  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=52,40   val=YELLOW_LO_ALM   chan=t-0211  fmt="%6.1f";
pos=52,47   val=YELLOW_HI_ALM   chan=t-0211  fmt="%6.1f";
pos=52,55   val=RED_ALM_TYPE    chan=t-0211  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=52,59   val=RED_LO_ALM      chan=t-0211  fmt="%6.1f";
pos=52,66   val=RED_HI_ALM      chan=t-0211  fmt="%6.1f";
pos=52,75   val=DN              chan=t-0211  fmt="%3d";

pos=53,04   val=CHAN_ID         chan=t-0212;
pos=53,12   val=CHAN_TITLE      chan=t-0212  fmt="%-12.12s";
pos=53,26   val=EU              chan=t-0212  fmt="%6.1f";
pos=53,36   val=YELLOW_ALM_TYPE chan=t-0212  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=53,40   val=YELLOW_LO_ALM   chan=t-0212  fmt="%6.1f";
pos=53,47   val=YELLOW_HI_ALM   chan=t-0212  fmt="%6.1f";
pos=53,55   val=RED_ALM_TYPE    chan=t-0212  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=53,59   val=RED_LO_ALM      chan=t-0212  fmt="%6.1f";
pos=53,66   val=RED_HI_ALM      chan=t-0212  fmt="%6.1f";
pos=53,75   val=DN              chan=t-0212  fmt="%3d";

pos=54,04   val=CHAN_ID         chan=t-0213;
pos=54,12   val=CHAN_TITLE      chan=t-0213  fmt="%-12.12s";
pos=54,26   val=EU              chan=t-0213  fmt="%6.1f";
pos=54,36   val=YELLOW_ALM_TYPE chan=t-0213  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=54,40   val=YELLOW_LO_ALM   chan=t-0213  fmt="%6.1f";
pos=54,47   val=YELLOW_HI_ALM   chan=t-0213  fmt="%6.1f";
pos=54,55   val=RED_ALM_TYPE    chan=t-0213  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=54,59   val=RED_LO_ALM      chan=t-0213  fmt="%6.1f";
pos=54,66   val=RED_HI_ALM      chan=t-0213  fmt="%6.1f";
pos=54,75   val=DN              chan=t-0213  fmt="%3d";

pos=55,04   val=CHAN_ID         chan=t-0214;
pos=55,12   val=CHAN_TITLE      chan=t-0214  fmt="%-12.12s";
pos=55,26   val=EU              chan=t-0214  fmt="%6.1f";
pos=55,36   val=YELLOW_ALM_TYPE chan=t-0214  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=55,40   val=YELLOW_LO_ALM   chan=t-0214  fmt="%6.1f";
pos=55,47   val=YELLOW_HI_ALM   chan=t-0214  fmt="%6.1f";
pos=55,55   val=RED_ALM_TYPE    chan=t-0214  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=55,59   val=RED_LO_ALM      chan=t-0214  fmt="%6.1f";
pos=55,66   val=RED_HI_ALM      chan=t-0214  fmt="%6.1f";
pos=55,75   val=DN              chan=t-0214  fmt="%3d";

pos=56,04   val=CHAN_ID         chan=t-0215;
pos=56,12   val=CHAN_TITLE      chan=t-0215  fmt="%-12.12s";
pos=56,26   val=EU              chan=t-0215  fmt="%6.1f";
pos=56,36   val=YELLOW_ALM_TYPE chan=t-0215  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=56,40   val=YELLOW_LO_ALM   chan=t-0215  fmt="%6.1f";
pos=56,47   val=YELLOW_HI_ALM   chan=t-0215  fmt="%6.1f";
pos=56,55   val=RED_ALM_TYPE    chan=t-0215  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=56,59   val=RED_LO_ALM      chan=t-0215  fmt="%6.1f";
pos=56,66   val=RED_HI_ALM      chan=t-0215  fmt="%6.1f";
pos=56,75   val=DN              chan=t-0215  fmt="%3d";

pos=57,04   val=CHAN_ID         chan=t-0216;
pos=57,12   val=CHAN_TITLE      chan=t-0216  fmt="%-12.12s";
pos=57,26   val=EU              chan=t-0216  fmt="%6.1f";
pos=57,36   val=YELLOW_ALM_TYPE chan=t-0216  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=57,40   val=YELLOW_LO_ALM   chan=t-0216  fmt="%6.1f";
pos=57,47   val=YELLOW_HI_ALM   chan=t-0216  fmt="%6.1f";
pos=57,55   val=RED_ALM_TYPE    chan=t-0216  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=57,59   val=RED_LO_ALM      chan=t-0216  fmt="%6.1f";
pos=57,66   val=RED_HI_ALM      chan=t-0216  fmt="%6.1f";
pos=57,75   val=DN              chan=t-0216  fmt="%3d";

pos=58,04   val=CHAN_ID         chan=t-0217;
pos=58,12   val=CHAN_TITLE      chan=t-0217  fmt="%-12.12s";
pos=58,26   val=EU              chan=t-0217  fmt="%6.1f";
pos=58,36   val=YELLOW_ALM_TYPE chan=t-0217  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=58,40   val=YELLOW_LO_ALM   chan=t-0217  fmt="%6.1f";
pos=58,47   val=YELLOW_HI_ALM   chan=t-0217  fmt="%6.1f";
pos=58,55   val=RED_ALM_TYPE    chan=t-0217  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=58,59   val=RED_LO_ALM      chan=t-0217  fmt="%6.1f";
pos=58,66   val=RED_HI_ALM      chan=t-0217  fmt="%6.1f";
pos=58,75   val=DN              chan=t-0217  fmt="%3d";


pos=60,1   val='  --- STRUCTURES/MECHANISM TEMPERATURES -------------------------------------- ';
pos=61,1   val=' |                                                                            |';
pos=62,1   val=' |                                                                            |';
pos=63,1   val=' |                                                                            |';
pos=64,1   val=' |                                                                            |';
pos=65,1   val=' |                                                                            |';
pos=66,1   val=' |                                                                            |';
pos=67,1   val=' |                                                                            |';
pos=68,1   val=' |                                                                            |';
pos=69,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=61,04   val=CHAN_ID         chan=t-0240;
pos=61,12   val=CHAN_TITLE      chan=t-0240  fmt="%-12.12s";
pos=61,26   val=EU              chan=t-0240  fmt="%6.1f";
pos=61,36   val=YELLOW_ALM_TYPE chan=t-0240  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=61,40   val=YELLOW_LO_ALM   chan=t-0240  fmt="%6.1f";
pos=61,47   val=YELLOW_HI_ALM   chan=t-0240  fmt="%6.1f";
pos=61,55   val=RED_ALM_TYPE    chan=t-0240  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=61,59   val=RED_LO_ALM      chan=t-0240  fmt="%6.1f";
pos=61,66   val=RED_HI_ALM      chan=t-0240  fmt="%6.1f";
pos=61,75   val=DN              chan=t-0240  fmt="%3d";

pos=62,04   val=CHAN_ID         chan=t-0241;
pos=62,12   val=CHAN_TITLE      chan=t-0241  fmt="%-12.12s";
pos=62,26   val=EU              chan=t-0241  fmt="%6.1f";
pos=62,36   val=YELLOW_ALM_TYPE chan=t-0241  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=62,40   val=YELLOW_LO_ALM   chan=t-0241  fmt="%6.1f";
pos=62,47   val=YELLOW_HI_ALM   chan=t-0241  fmt="%6.1f";
pos=62,55   val=RED_ALM_TYPE    chan=t-0241  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=62,59   val=RED_LO_ALM      chan=t-0241  fmt="%6.1f";
pos=62,66   val=RED_HI_ALM      chan=t-0241  fmt="%6.1f";
pos=62,75   val=DN              chan=t-0241  fmt="%3d";

pos=63,04   val=CHAN_ID         chan=t-0243;
pos=63,12   val=CHAN_TITLE      chan=t-0243  fmt="%-12.12s";
pos=63,26   val=EU              chan=t-0243  fmt="%6.1f";
pos=63,36   val=YELLOW_ALM_TYPE chan=t-0243  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=63,40   val=YELLOW_LO_ALM   chan=t-0243  fmt="%6.1f";
pos=63,47   val=YELLOW_HI_ALM   chan=t-0243  fmt="%6.1f";
pos=63,55   val=RED_ALM_TYPE    chan=t-0243  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=63,59   val=RED_LO_ALM      chan=t-0243  fmt="%6.1f";
pos=63,66   val=RED_HI_ALM      chan=t-0243  fmt="%6.1f";
pos=63,75   val=DN              chan=t-0243  fmt="%3d";

pos=64,04   val=CHAN_ID         chan=t-0244;
pos=64,12   val=CHAN_TITLE      chan=t-0244  fmt="%-12.12s";
pos=64,26   val=EU              chan=t-0244  fmt="%6.1f";
pos=64,36   val=YELLOW_ALM_TYPE chan=t-0244  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=64,40   val=YELLOW_LO_ALM   chan=t-0244  fmt="%6.1f";
pos=64,47   val=YELLOW_HI_ALM   chan=t-0244  fmt="%6.1f";
pos=64,55   val=RED_ALM_TYPE    chan=t-0244  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=64,59   val=RED_LO_ALM      chan=t-0244  fmt="%6.1f";
pos=64,66   val=RED_HI_ALM      chan=t-0244  fmt="%6.1f";
pos=64,75   val=DN              chan=t-0244  fmt="%3d";

pos=65,04   val=CHAN_ID         chan=t-0252;
pos=65,12   val=CHAN_TITLE      chan=t-0252  fmt="%-12.12s";
pos=65,26   val=EU              chan=t-0252  fmt="%6.1f";
pos=65,36   val=YELLOW_ALM_TYPE chan=t-0252  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=65,40   val=YELLOW_LO_ALM   chan=t-0252  fmt="%6.1f";
pos=65,47   val=YELLOW_HI_ALM   chan=t-0252  fmt="%6.1f";
pos=65,55   val=RED_ALM_TYPE    chan=t-0252  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=65,59   val=RED_LO_ALM      chan=t-0252  fmt="%6.1f";
pos=65,66   val=RED_HI_ALM      chan=t-0252  fmt="%6.1f";
pos=65,75   val=DN              chan=t-0252  fmt="%3d";

pos=66,04   val=CHAN_ID         chan=t-0253;
pos=66,12   val=CHAN_TITLE      chan=t-0253  fmt="%-12.12s";
pos=66,26   val=EU              chan=t-0253  fmt="%6.1f";
pos=66,36   val=YELLOW_ALM_TYPE chan=t-0253  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=66,40   val=YELLOW_LO_ALM   chan=t-0253  fmt="%6.1f";
pos=66,47   val=YELLOW_HI_ALM   chan=t-0253  fmt="%6.1f";
pos=66,55   val=RED_ALM_TYPE    chan=t-0253  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=66,59   val=RED_LO_ALM      chan=t-0253  fmt="%6.1f";
pos=66,66   val=RED_HI_ALM      chan=t-0253  fmt="%6.1f";
pos=66,75   val=DN              chan=t-0253  fmt="%3d";

pos=67,04   val=CHAN_ID         chan=t-0254;
pos=67,12   val=CHAN_TITLE      chan=t-0254  fmt="%-12.12s";
pos=67,26   val=EU              chan=t-0254  fmt="%6.1f";
pos=67,36   val=YELLOW_ALM_TYPE chan=t-0254  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=67,40   val=YELLOW_LO_ALM   chan=t-0254  fmt="%6.1f";
pos=67,47   val=YELLOW_HI_ALM   chan=t-0254  fmt="%6.1f";
pos=67,55   val=RED_ALM_TYPE    chan=t-0254  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=67,59   val=RED_LO_ALM      chan=t-0254  fmt="%6.1f";
pos=67,66   val=RED_HI_ALM      chan=t-0254  fmt="%6.1f";
pos=67,75   val=DN              chan=t-0254  fmt="%3d";

pos=68,04   val=CHAN_ID         chan=t-0255;
pos=68,12   val=CHAN_TITLE      chan=t-0255  fmt="%-12.12s";
pos=68,26   val=EU              chan=t-0255  fmt="%6.1f";
pos=68,36   val=YELLOW_ALM_TYPE chan=t-0255  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=68,40   val=YELLOW_LO_ALM   chan=t-0255  fmt="%6.1f";
pos=68,47   val=YELLOW_HI_ALM   chan=t-0255  fmt="%6.1f";
pos=68,55   val=RED_ALM_TYPE    chan=t-0255  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=68,59   val=RED_LO_ALM      chan=t-0255  fmt="%6.1f";
pos=68,66   val=RED_HI_ALM      chan=t-0255  fmt="%6.1f";
pos=68,75   val=DN              chan=t-0255  fmt="%3d";


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_therm_fix3.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Thermal Subsystem Fixed Page #3 (TLCM, PYLD, STR & THERMAL TEMPS) #
# BASELINED: OGS 07-10-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=70,80 pos=4,1 # mgs_therm_fix3.tdl

TEXTREGION

rule=static
pos=02,1   val='   MARS GLOBAL SURVEYOR EDF TEMPERATURES (THERMAL FIXED PAGE #3)               ';
pos=03,1   val='                                                                               ';
pos=04,1   val=' | CHAN    MNEMONIC      TEMP      YEL YEL_LO YEL_HI  RED RED_LO RED_HI   DN  |';
pos=05,1   val='                                                                               ';
pos=06,1   val='  --- THERMAL TEMPERATURES --------------------------------------------------- ';
pos=07,1   val=' |                                                                            |';
pos=08,1   val=' |                                                                            |';
pos=09,1   val=' |                                                                            |';
pos=10,1   val=' |                                                                            |';
pos=11,1   val=' |                                                                            |';
pos=12,1   val=' |                                                                            |';
pos=13,1   val=' |                                                                            |';
pos=14,1   val=' |                                                                            |';
pos=15,1   val=' |                                                                            |';
pos=16,1   val=' |                                                                            |';
pos=17,1   val=' |                                                                            |';
pos=18,1   val=' |                                                                            |';
pos=19,1   val=' |                                                                            |';
pos=20,1   val=' |                                                                            |';
pos=21,1   val=' |                                                                            |';
pos=22,1   val=' |                                                                            |';
pos=23,1   val=' |                                                                            |';
pos=24,1   val=' |                                                                            |';
pos=25,1   val=' |                                                                            |';
pos=26,1   val=' |                                                                            |';
pos=27,1   val=' |                                                                            |';
pos=28,1   val=' |                                                                            |';
pos=29,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=07,04   val=CHAN_ID         chan=t-0260;
pos=07,12   val=CHAN_TITLE      chan=t-0260  fmt="%-12.12s";
pos=07,26   val=EU              chan=t-0260  fmt="%6.1f";
pos=07,36   val=YELLOW_ALM_TYPE chan=t-0260  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=07,40   val=YELLOW_LO_ALM   chan=t-0260  fmt="%6.1f";
pos=07,47   val=YELLOW_HI_ALM   chan=t-0260  fmt="%6.1f";
pos=07,55   val=RED_ALM_TYPE    chan=t-0260  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=07,59   val=RED_LO_ALM      chan=t-0260  fmt="%6.1f";
pos=07,66   val=RED_HI_ALM      chan=t-0260  fmt="%6.1f";
pos=07,75   val=DN              chan=t-0260  fmt="%3d";

pos=08,04   val=CHAN_ID         chan=t-0262;
pos=08,12   val=CHAN_TITLE      chan=t-0262  fmt="%-12.12s";
pos=08,26   val=EU              chan=t-0262  fmt="%6.1f";
pos=08,36   val=YELLOW_ALM_TYPE chan=t-0262  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=08,40   val=YELLOW_LO_ALM   chan=t-0262  fmt="%6.1f";
pos=08,47   val=YELLOW_HI_ALM   chan=t-0262  fmt="%6.1f";
pos=08,55   val=RED_ALM_TYPE    chan=t-0262  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=08,59   val=RED_LO_ALM      chan=t-0262  fmt="%6.1f";
pos=08,66   val=RED_HI_ALM      chan=t-0262  fmt="%6.1f";
pos=08,75   val=DN              chan=t-0262  fmt="%3d";

pos=09,04   val=CHAN_ID         chan=t-0263;
pos=09,12   val=CHAN_TITLE      chan=t-0263  fmt="%-12.12s";
pos=09,26   val=EU              chan=t-0263  fmt="%6.1f";
pos=09,36   val=YELLOW_ALM_TYPE chan=t-0263  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=09,40   val=YELLOW_LO_ALM   chan=t-0263  fmt="%6.1f";
pos=09,47   val=YELLOW_HI_ALM   chan=t-0263  fmt="%6.1f";
pos=09,55   val=RED_ALM_TYPE    chan=t-0263  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=09,59   val=RED_LO_ALM      chan=t-0263  fmt="%6.1f";
pos=09,66   val=RED_HI_ALM      chan=t-0263  fmt="%6.1f";
pos=09,75   val=DN              chan=t-0263  fmt="%3d";

pos=10,04   val=CHAN_ID         chan=t-0264;
pos=10,12   val=CHAN_TITLE      chan=t-0264  fmt="%-12.12s";
pos=10,26   val=EU              chan=t-0264  fmt="%6.1f";
pos=10,36   val=YELLOW_ALM_TYPE chan=t-0264  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=10,40   val=YELLOW_LO_ALM   chan=t-0264  fmt="%6.1f";
pos=10,47   val=YELLOW_HI_ALM   chan=t-0264  fmt="%6.1f";
pos=10,55   val=RED_ALM_TYPE    chan=t-0264  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=10,59   val=RED_LO_ALM      chan=t-0264  fmt="%6.1f";
pos=10,66   val=RED_HI_ALM      chan=t-0264  fmt="%6.1f";
pos=10,75   val=DN              chan=t-0264  fmt="%3d";

pos=11,04   val=CHAN_ID         chan=t-0265;
pos=11,12   val=CHAN_TITLE      chan=t-0265  fmt="%-12.12s";
pos=11,26   val=EU              chan=t-0265  fmt="%6.1f";
pos=11,36   val=YELLOW_ALM_TYPE chan=t-0265  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=11,40   val=YELLOW_LO_ALM   chan=t-0265  fmt="%6.1f";
pos=11,47   val=YELLOW_HI_ALM   chan=t-0265  fmt="%6.1f";
pos=11,55   val=RED_ALM_TYPE    chan=t-0265  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=11,59   val=RED_LO_ALM      chan=t-0265  fmt="%6.1f";
pos=11,66   val=RED_HI_ALM      chan=t-0265  fmt="%6.1f";
pos=11,75   val=DN              chan=t-0265  fmt="%3d";

pos=12,04   val=CHAN_ID         chan=t-0266;
pos=12,12   val=CHAN_TITLE      chan=t-0266  fmt="%-12.12s";
pos=12,26   val=EU              chan=t-0266  fmt="%6.1f";
pos=12,36   val=YELLOW_ALM_TYPE chan=t-0266  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=12,40   val=YELLOW_LO_ALM   chan=t-0266  fmt="%6.1f";
pos=12,47   val=YELLOW_HI_ALM   chan=t-0266  fmt="%6.1f";
pos=12,55   val=RED_ALM_TYPE    chan=t-0266  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=12,59   val=RED_LO_ALM      chan=t-0266  fmt="%6.1f";
pos=12,66   val=RED_HI_ALM      chan=t-0266  fmt="%6.1f";
pos=12,75   val=DN              chan=t-0266  fmt="%3d";

pos=13,04   val=CHAN_ID         chan=t-0267;
pos=13,12   val=CHAN_TITLE      chan=t-0267  fmt="%-12.12s";
pos=13,26   val=EU              chan=t-0267  fmt="%6.1f";
pos=13,36   val=YELLOW_ALM_TYPE chan=t-0267  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=13,40   val=YELLOW_LO_ALM   chan=t-0267  fmt="%6.1f";
pos=13,47   val=YELLOW_HI_ALM   chan=t-0267  fmt="%6.1f";
pos=13,55   val=RED_ALM_TYPE    chan=t-0267  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=13,59   val=RED_LO_ALM      chan=t-0267  fmt="%6.1f";
pos=13,66   val=RED_HI_ALM      chan=t-0267  fmt="%6.1f";
pos=13,75   val=DN              chan=t-0267  fmt="%3d";

pos=14,04   val=CHAN_ID         chan=t-0269;
pos=14,12   val=CHAN_TITLE      chan=t-0269  fmt="%-12.12s";
pos=14,26   val=EU              chan=t-0269  fmt="%6.1f";
pos=14,36   val=YELLOW_ALM_TYPE chan=t-0269  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=14,40   val=YELLOW_LO_ALM   chan=t-0269  fmt="%6.1f";
pos=14,47   val=YELLOW_HI_ALM   chan=t-0269  fmt="%6.1f";
pos=14,55   val=RED_ALM_TYPE    chan=t-0269  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=14,59   val=RED_LO_ALM      chan=t-0269  fmt="%6.1f";
pos=14,66   val=RED_HI_ALM      chan=t-0269  fmt="%6.1f";
pos=14,75   val=DN              chan=t-0269  fmt="%3d";

pos=15,04   val=CHAN_ID         chan=t-0270;
pos=15,12   val=CHAN_TITLE      chan=t-0270  fmt="%-12.12s";
pos=15,26   val=EU              chan=t-0270  fmt="%6.1f";
pos=15,36   val=YELLOW_ALM_TYPE chan=t-0270  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=15,40   val=YELLOW_LO_ALM   chan=t-0270  fmt="%6.1f";
pos=15,47   val=YELLOW_HI_ALM   chan=t-0270  fmt="%6.1f";
pos=15,55   val=RED_ALM_TYPE    chan=t-0270  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=15,59   val=RED_LO_ALM      chan=t-0270  fmt="%6.1f";
pos=15,66   val=RED_HI_ALM      chan=t-0270  fmt="%6.1f";
pos=15,75   val=DN              chan=t-0270  fmt="%3d";

pos=16,04   val=CHAN_ID         chan=t-0271;
pos=16,12   val=CHAN_TITLE      chan=t-0271  fmt="%-12.12s";
pos=16,26   val=EU              chan=t-0271  fmt="%6.1f";
pos=16,36   val=YELLOW_ALM_TYPE chan=t-0271  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=16,40   val=YELLOW_LO_ALM   chan=t-0271  fmt="%6.1f";
pos=16,47   val=YELLOW_HI_ALM   chan=t-0271  fmt="%6.1f";
pos=16,55   val=RED_ALM_TYPE    chan=t-0271  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=16,59   val=RED_LO_ALM      chan=t-0271  fmt="%6.1f";
pos=16,66   val=RED_HI_ALM      chan=t-0271  fmt="%6.1f";
pos=16,75   val=DN              chan=t-0271  fmt="%3d";

pos=17,04   val=CHAN_ID         chan=t-0272;
pos=17,12   val=CHAN_TITLE      chan=t-0272  fmt="%-12.12s";
pos=17,26   val=EU              chan=t-0272  fmt="%6.1f";
pos=17,36   val=YELLOW_ALM_TYPE chan=t-0272  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=17,40   val=YELLOW_LO_ALM   chan=t-0272  fmt="%6.1f";
pos=17,47   val=YELLOW_HI_ALM   chan=t-0272  fmt="%6.1f";
pos=17,55   val=RED_ALM_TYPE    chan=t-0272  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=17,59   val=RED_LO_ALM      chan=t-0272  fmt="%6.1f";
pos=17,66   val=RED_HI_ALM      chan=t-0272  fmt="%6.1f";
pos=17,75   val=DN              chan=t-0272  fmt="%3d";

pos=18,04   val=CHAN_ID         chan=t-0273;
pos=18,12   val=CHAN_TITLE      chan=t-0273  fmt="%-12.12s";
pos=18,26   val=EU              chan=t-0273  fmt="%6.1f";
pos=18,36   val=YELLOW_ALM_TYPE chan=t-0273  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=18,40   val=YELLOW_LO_ALM   chan=t-0273  fmt="%6.1f";
pos=18,47   val=YELLOW_HI_ALM   chan=t-0273  fmt="%6.1f";
pos=18,55   val=RED_ALM_TYPE    chan=t-0273  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=18,59   val=RED_LO_ALM      chan=t-0273  fmt="%6.1f";
pos=18,66   val=RED_HI_ALM      chan=t-0273  fmt="%6.1f";
pos=18,75   val=DN              chan=t-0273  fmt="%3d";

pos=19,04   val=CHAN_ID         chan=t-0274;
pos=19,12   val=CHAN_TITLE      chan=t-0274  fmt="%-12.12s";
pos=19,26   val=EU              chan=t-0274  fmt="%6.1f";
pos=19,36   val=YELLOW_ALM_TYPE chan=t-0274  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=19,40   val=YELLOW_LO_ALM   chan=t-0274  fmt="%6.1f";
pos=19,47   val=YELLOW_HI_ALM   chan=t-0274  fmt="%6.1f";
pos=19,55   val=RED_ALM_TYPE    chan=t-0274  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=19,59   val=RED_LO_ALM      chan=t-0274  fmt="%6.1f";
pos=19,66   val=RED_HI_ALM      chan=t-0274  fmt="%6.1f";
pos=19,75   val=DN              chan=t-0274  fmt="%3d";

pos=20,04   val=CHAN_ID         chan=t-0275;
pos=20,12   val=CHAN_TITLE      chan=t-0275  fmt="%-12.12s";
pos=20,26   val=EU              chan=t-0275  fmt="%6.1f";
pos=20,36   val=YELLOW_ALM_TYPE chan=t-0275  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=20,40   val=YELLOW_LO_ALM   chan=t-0275  fmt="%6.1f";
pos=20,47   val=YELLOW_HI_ALM   chan=t-0275  fmt="%6.1f";
pos=20,55   val=RED_ALM_TYPE    chan=t-0275  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=20,59   val=RED_LO_ALM      chan=t-0275  fmt="%6.1f";
pos=20,66   val=RED_HI_ALM      chan=t-0275  fmt="%6.1f";
pos=20,75   val=DN              chan=t-0275  fmt="%3d";

pos=21,04   val=CHAN_ID         chan=t-0276;
pos=21,12   val=CHAN_TITLE      chan=t-0276  fmt="%-12.12s";
pos=21,26   val=EU              chan=t-0276  fmt="%6.1f";
pos=21,36   val=YELLOW_ALM_TYPE chan=t-0276  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=21,40   val=YELLOW_LO_ALM   chan=t-0276  fmt="%6.1f";
pos=21,47   val=YELLOW_HI_ALM   chan=t-0276  fmt="%6.1f";
pos=21,55   val=RED_ALM_TYPE    chan=t-0276  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=21,59   val=RED_LO_ALM      chan=t-0276  fmt="%6.1f";
pos=21,66   val=RED_HI_ALM      chan=t-0276  fmt="%6.1f";
pos=21,75   val=DN              chan=t-0276  fmt="%3d";

pos=22,04   val=CHAN_ID         chan=t-0277;
pos=22,12   val=CHAN_TITLE      chan=t-0277  fmt="%-12.12s";
pos=22,26   val=EU              chan=t-0277  fmt="%6.1f";
pos=22,36   val=YELLOW_ALM_TYPE chan=t-0277  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=22,40   val=YELLOW_LO_ALM   chan=t-0277  fmt="%6.1f";
pos=22,47   val=YELLOW_HI_ALM   chan=t-0277  fmt="%6.1f";
pos=22,55   val=RED_ALM_TYPE    chan=t-0277  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=22,59   val=RED_LO_ALM      chan=t-0277  fmt="%6.1f";
pos=22,66   val=RED_HI_ALM      chan=t-0277  fmt="%6.1f";
pos=22,75   val=DN              chan=t-0277  fmt="%3d";

pos=23,04   val=CHAN_ID         chan=t-0278;
pos=23,12   val=CHAN_TITLE      chan=t-0278  fmt="%-12.12s";
pos=23,26   val=EU              chan=t-0278  fmt="%6.1f";
pos=23,36   val=YELLOW_ALM_TYPE chan=t-0278  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=23,40   val=YELLOW_LO_ALM   chan=t-0278  fmt="%6.1f";
pos=23,47   val=YELLOW_HI_ALM   chan=t-0278  fmt="%6.1f";
pos=23,55   val=RED_ALM_TYPE    chan=t-0278  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=23,59   val=RED_LO_ALM      chan=t-0278  fmt="%6.1f";
pos=23,66   val=RED_HI_ALM      chan=t-0278  fmt="%6.1f";
pos=23,75   val=DN              chan=t-0278  fmt="%3d";

pos=24,04   val=CHAN_ID         chan=t-0279;
pos=24,12   val=CHAN_TITLE      chan=t-0279  fmt="%-12.12s";
pos=24,26   val=EU              chan=t-0279  fmt="%6.1f";
pos=24,36   val=YELLOW_ALM_TYPE chan=t-0279  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=24,40   val=YELLOW_LO_ALM   chan=t-0279  fmt="%6.1f";
pos=24,47   val=YELLOW_HI_ALM   chan=t-0279  fmt="%6.1f";
pos=24,55   val=RED_ALM_TYPE    chan=t-0279  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=24,59   val=RED_LO_ALM      chan=t-0279  fmt="%6.1f";
pos=24,66   val=RED_HI_ALM      chan=t-0279  fmt="%6.1f";
pos=24,75   val=DN              chan=t-0279  fmt="%3d";

pos=25,04   val=CHAN_ID         chan=t-0280;
pos=25,12   val=CHAN_TITLE      chan=t-0280  fmt="%-12.12s";
pos=25,26   val=EU              chan=t-0280  fmt="%6.1f";
pos=25,36   val=YELLOW_ALM_TYPE chan=t-0280  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=25,40   val=YELLOW_LO_ALM   chan=t-0280  fmt="%6.1f";
pos=25,47   val=YELLOW_HI_ALM   chan=t-0280  fmt="%6.1f";
pos=25,55   val=RED_ALM_TYPE    chan=t-0280  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=25,59   val=RED_LO_ALM      chan=t-0280  fmt="%6.1f";
pos=25,66   val=RED_HI_ALM      chan=t-0280  fmt="%6.1f";
pos=25,75   val=DN              chan=t-0280  fmt="%3d";

pos=26,04   val=CHAN_ID         chan=t-0284;
pos=26,12   val=CHAN_TITLE      chan=t-0284  fmt="%-12.12s";
pos=26,26   val=EU              chan=t-0284  fmt="%6.1f";
pos=26,36   val=YELLOW_ALM_TYPE chan=t-0284  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=26,40   val=YELLOW_LO_ALM   chan=t-0284  fmt="%6.1f";
pos=26,47   val=YELLOW_HI_ALM   chan=t-0284  fmt="%6.1f";
pos=26,55   val=RED_ALM_TYPE    chan=t-0284  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=26,59   val=RED_LO_ALM      chan=t-0284  fmt="%6.1f";
pos=26,66   val=RED_HI_ALM      chan=t-0284  fmt="%6.1f";
pos=26,75   val=DN              chan=t-0284  fmt="%3d";

pos=27,04   val=CHAN_ID         chan=t-0285;
pos=27,12   val=CHAN_TITLE      chan=t-0285  fmt="%-12.12s";
pos=27,26   val=EU              chan=t-0285  fmt="%6.1f";
pos=27,36   val=YELLOW_ALM_TYPE chan=t-0285  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=27,40   val=YELLOW_LO_ALM   chan=t-0285  fmt="%6.1f";
pos=27,47   val=YELLOW_HI_ALM   chan=t-0285  fmt="%6.1f";
pos=27,55   val=RED_ALM_TYPE    chan=t-0285  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=27,59   val=RED_LO_ALM      chan=t-0285  fmt="%6.1f";
pos=27,66   val=RED_HI_ALM      chan=t-0285  fmt="%6.1f";
pos=27,75   val=DN              chan=t-0285  fmt="%3d";

pos=28,04   val=CHAN_ID         chan=t-0286;
pos=28,12   val=CHAN_TITLE      chan=t-0286  fmt="%-12.12s";
pos=28,26   val=EU              chan=t-0286  fmt="%6.1f";
pos=28,36   val=YELLOW_ALM_TYPE chan=t-0286  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=28,40   val=YELLOW_LO_ALM   chan=t-0286  fmt="%6.1f";
pos=28,47   val=YELLOW_HI_ALM   chan=t-0286  fmt="%6.1f";
pos=28,55   val=RED_ALM_TYPE    chan=t-0286  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=28,59   val=RED_LO_ALM      chan=t-0286  fmt="%6.1f";
pos=28,66   val=RED_HI_ALM      chan=t-0286  fmt="%6.1f";
pos=28,75   val=DN              chan=t-0286  fmt="%3d";

rule=static

pos=32,1   val='  --- TELECOM TEMPERATURES --------------------------------------------------- ';
pos=33,1   val=' |                                                                            |';
pos=34,1   val=' |                                                                            |';
pos=35,1   val=' |                                                                            |';
pos=36,1   val=' |                                                                            |';
pos=37,1   val=' |                                                                            |';
pos=38,1   val=' |                                                                            |';
pos=39,1   val=' |                                                                            |';
pos=40,1   val=' |                                                                            |';
pos=41,1   val=' |                                                                            |';
pos=42,1   val=' |                                                                            |';
pos=43,1   val=' |                                                                            |';
pos=44,1   val=' |                                                                            |';
pos=45,1   val=' |                                                                            |';
pos=46,1   val=' |                                                                            |';
pos=47,1   val=' |                                                                            |';
pos=48,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=33,04   val=CHAN_ID         chan=t-0300;
pos=33,12   val=CHAN_TITLE      chan=t-0300  fmt="%-12.12s";
pos=33,26   val=EU              chan=t-0300  fmt="%6.1f";
pos=33,36   val=YELLOW_ALM_TYPE chan=t-0300  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=33,40   val=YELLOW_LO_ALM   chan=t-0300  fmt="%6.1f";
pos=33,47   val=YELLOW_HI_ALM   chan=t-0300  fmt="%6.1f";
pos=33,55   val=RED_ALM_TYPE    chan=t-0300  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=33,59   val=RED_LO_ALM      chan=t-0300  fmt="%6.1f";
pos=33,66   val=RED_HI_ALM      chan=t-0300  fmt="%6.1f";
pos=33,75   val=DN              chan=t-0300  fmt="%3d";

pos=34,04   val=CHAN_ID         chan=t-0301;
pos=34,12   val=CHAN_TITLE      chan=t-0301  fmt="%-12.12s";
pos=34,26   val=EU              chan=t-0301  fmt="%6.1f";
pos=34,36   val=YELLOW_ALM_TYPE chan=t-0301  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=34,40   val=YELLOW_LO_ALM   chan=t-0301  fmt="%6.1f";
pos=34,47   val=YELLOW_HI_ALM   chan=t-0301  fmt="%6.1f";
pos=34,55   val=RED_ALM_TYPE    chan=t-0301  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=34,59   val=RED_LO_ALM      chan=t-0301  fmt="%6.1f";
pos=34,66   val=RED_HI_ALM      chan=t-0301  fmt="%6.1f";
pos=34,75   val=DN              chan=t-0301  fmt="%3d";

pos=35,04   val=CHAN_ID         chan=t-0302;
pos=35,12   val=CHAN_TITLE      chan=t-0302  fmt="%-12.12s";
pos=35,26   val=EU              chan=t-0302  fmt="%6.1f";
pos=35,36   val=YELLOW_ALM_TYPE chan=t-0302  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=35,40   val=YELLOW_LO_ALM   chan=t-0302  fmt="%6.1f";
pos=35,47   val=YELLOW_HI_ALM   chan=t-0302  fmt="%6.1f";
pos=35,55   val=RED_ALM_TYPE    chan=t-0302  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=35,59   val=RED_LO_ALM      chan=t-0302  fmt="%6.1f";
pos=35,66   val=RED_HI_ALM      chan=t-0302  fmt="%6.1f";
pos=35,75   val=DN              chan=t-0302  fmt="%3d";

pos=36,04   val=CHAN_ID         chan=t-0303;
pos=36,12   val=CHAN_TITLE      chan=t-0303  fmt="%-12.12s";
pos=36,26   val=EU              chan=t-0303  fmt="%6.1f";
pos=36,36   val=YELLOW_ALM_TYPE chan=t-0303  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=36,40   val=YELLOW_LO_ALM   chan=t-0303  fmt="%6.1f";
pos=36,47   val=YELLOW_HI_ALM   chan=t-0303  fmt="%6.1f";
pos=36,55   val=RED_ALM_TYPE    chan=t-0303  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=36,59   val=RED_LO_ALM      chan=t-0303  fmt="%6.1f";
pos=36,66   val=RED_HI_ALM      chan=t-0303  fmt="%6.1f";
pos=36,75   val=DN              chan=t-0303  fmt="%3d";

pos=37,04   val=CHAN_ID         chan=t-0304;
pos=37,12   val=CHAN_TITLE      chan=t-0304  fmt="%-12.12s";
pos=37,26   val=EU              chan=t-0304  fmt="%6.1f";
pos=37,36   val=YELLOW_ALM_TYPE chan=t-0304  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=37,40   val=YELLOW_LO_ALM   chan=t-0304  fmt="%6.1f";
pos=37,47   val=YELLOW_HI_ALM   chan=t-0304  fmt="%6.1f";
pos=37,55   val=RED_ALM_TYPE    chan=t-0304  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=37,59   val=RED_LO_ALM      chan=t-0304  fmt="%6.1f";
pos=37,66   val=RED_HI_ALM      chan=t-0304  fmt="%6.1f";
pos=37,75   val=DN              chan=t-0304  fmt="%3d";

pos=38,04   val=CHAN_ID         chan=t-0305;
pos=38,12   val=CHAN_TITLE      chan=t-0305  fmt="%-12.12s";
pos=38,26   val=EU              chan=t-0305  fmt="%6.1f";
pos=38,36   val=YELLOW_ALM_TYPE chan=t-0305  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=38,40   val=YELLOW_LO_ALM   chan=t-0305  fmt="%6.1f";
pos=38,47   val=YELLOW_HI_ALM   chan=t-0305  fmt="%6.1f";
pos=38,55   val=RED_ALM_TYPE    chan=t-0305  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=38,59   val=RED_LO_ALM      chan=t-0305  fmt="%6.1f";
pos=38,66   val=RED_HI_ALM      chan=t-0305  fmt="%6.1f";
pos=38,75   val=DN              chan=t-0305  fmt="%3d";

pos=39,04   val=CHAN_ID         chan=t-0307;
pos=39,12   val=CHAN_TITLE      chan=t-0307  fmt="%-12.12s";
pos=39,26   val=EU              chan=t-0307  fmt="%6.1f";
pos=39,36   val=YELLOW_ALM_TYPE chan=t-0307  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=39,40   val=YELLOW_LO_ALM   chan=t-0307  fmt="%6.1f";
pos=39,47   val=YELLOW_HI_ALM   chan=t-0307  fmt="%6.1f";
pos=39,55   val=RED_ALM_TYPE    chan=t-0307  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=39,59   val=RED_LO_ALM      chan=t-0307  fmt="%6.1f";
pos=39,66   val=RED_HI_ALM      chan=t-0307  fmt="%6.1f";
pos=39,75   val=DN              chan=t-0307  fmt="%3d";

pos=40,04   val=CHAN_ID         chan=t-0308;
pos=40,12   val=CHAN_TITLE      chan=t-0308  fmt="%-12.12s";
pos=40,26   val=EU              chan=t-0308  fmt="%6.1f";
pos=40,36   val=YELLOW_ALM_TYPE chan=t-0308  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=40,40   val=YELLOW_LO_ALM   chan=t-0308  fmt="%6.1f";
pos=40,47   val=YELLOW_HI_ALM   chan=t-0308  fmt="%6.1f";
pos=40,55   val=RED_ALM_TYPE    chan=t-0308  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=40,59   val=RED_LO_ALM      chan=t-0308  fmt="%6.1f";
pos=40,66   val=RED_HI_ALM      chan=t-0308  fmt="%6.1f";
pos=40,75   val=DN              chan=t-0308  fmt="%3d";

pos=41,04   val=CHAN_ID         chan=t-0310;
pos=41,12   val=CHAN_TITLE      chan=t-0310  fmt="%-12.12s";
pos=41,26   val=EU              chan=t-0310  fmt="%6.1f";
pos=41,36   val=YELLOW_ALM_TYPE chan=t-0310  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=41,40   val=YELLOW_LO_ALM   chan=t-0310  fmt="%6.1f";
pos=41,47   val=YELLOW_HI_ALM   chan=t-0310  fmt="%6.1f";
pos=41,55   val=RED_ALM_TYPE    chan=t-0310  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=41,59   val=RED_LO_ALM      chan=t-0310  fmt="%6.1f";
pos=41,66   val=RED_HI_ALM      chan=t-0310  fmt="%6.1f";
pos=41,75   val=DN              chan=t-0310  fmt="%3d";

pos=42,04   val=CHAN_ID         chan=t-0311;
pos=42,12   val=CHAN_TITLE      chan=t-0311  fmt="%-12.12s";
pos=42,26   val=EU              chan=t-0311  fmt="%6.1f";
pos=42,36   val=YELLOW_ALM_TYPE chan=t-0311  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=42,40   val=YELLOW_LO_ALM   chan=t-0311  fmt="%6.1f";
pos=42,47   val=YELLOW_HI_ALM   chan=t-0311  fmt="%6.1f";
pos=42,55   val=RED_ALM_TYPE    chan=t-0311  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=42,59   val=RED_LO_ALM      chan=t-0311  fmt="%6.1f";
pos=42,66   val=RED_HI_ALM      chan=t-0311  fmt="%6.1f";
pos=42,75   val=DN              chan=t-0311  fmt="%3d";

pos=43,04   val=CHAN_ID         chan=t-0312;
pos=43,12   val=CHAN_TITLE      chan=t-0312  fmt="%-12.12s";
pos=43,26   val=EU              chan=t-0312  fmt="%6.1f";
pos=43,36   val=YELLOW_ALM_TYPE chan=t-0312  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=43,40   val=YELLOW_LO_ALM   chan=t-0312  fmt="%6.1f";
pos=43,47   val=YELLOW_HI_ALM   chan=t-0312  fmt="%6.1f";
pos=43,55   val=RED_ALM_TYPE    chan=t-0312  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=43,59   val=RED_LO_ALM      chan=t-0312  fmt="%6.1f";
pos=43,66   val=RED_HI_ALM      chan=t-0312  fmt="%6.1f";
pos=43,75   val=DN              chan=t-0312  fmt="%3d";

pos=44,04   val=CHAN_ID         chan=t-0313;
pos=44,12   val=CHAN_TITLE      chan=t-0313  fmt="%-12.12s";
pos=44,26   val=EU              chan=t-0313  fmt="%6.1f";
pos=44,36   val=YELLOW_ALM_TYPE chan=t-0313  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=44,40   val=YELLOW_LO_ALM   chan=t-0313  fmt="%6.1f";
pos=44,47   val=YELLOW_HI_ALM   chan=t-0313  fmt="%6.1f";
pos=44,55   val=RED_ALM_TYPE    chan=t-0313  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=44,59   val=RED_LO_ALM      chan=t-0313  fmt="%6.1f";
pos=44,66   val=RED_HI_ALM      chan=t-0313  fmt="%6.1f";
pos=44,75   val=DN              chan=t-0313  fmt="%3d";

pos=45,04   val=CHAN_ID         chan=t-0314;
pos=45,12   val=CHAN_TITLE      chan=t-0314  fmt="%-12.12s";
pos=45,26   val=EU              chan=t-0314  fmt="%6.1f";
pos=45,36   val=YELLOW_ALM_TYPE chan=t-0314  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=45,40   val=YELLOW_LO_ALM   chan=t-0314  fmt="%6.1f";
pos=45,47   val=YELLOW_HI_ALM   chan=t-0314  fmt="%6.1f";
pos=45,55   val=RED_ALM_TYPE    chan=t-0314  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=45,59   val=RED_LO_ALM      chan=t-0314  fmt="%6.1f";
pos=45,66   val=RED_HI_ALM      chan=t-0314  fmt="%6.1f";
pos=45,75   val=DN              chan=t-0314  fmt="%3d";

pos=46,04   val=CHAN_ID         chan=t-0315;
pos=46,12   val=CHAN_TITLE      chan=t-0315  fmt="%-12.12s";
pos=46,26   val=EU              chan=t-0315  fmt="%6.1f";
pos=46,36   val=YELLOW_ALM_TYPE chan=t-0315  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=46,40   val=YELLOW_LO_ALM   chan=t-0315  fmt="%6.1f";
pos=46,47   val=YELLOW_HI_ALM   chan=t-0315  fmt="%6.1f";
pos=46,55   val=RED_ALM_TYPE    chan=t-0315  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=46,59   val=RED_LO_ALM      chan=t-0315  fmt="%6.1f";
pos=46,66   val=RED_HI_ALM      chan=t-0315  fmt="%6.1f";
pos=46,75   val=DN              chan=t-0315  fmt="%3d";

pos=47,04   val=CHAN_ID         chan=t-0316;
pos=47,12   val=CHAN_TITLE      chan=t-0316  fmt="%-12.12s";
pos=47,26   val=EU              chan=t-0316  fmt="%6.1f";
pos=47,36   val=YELLOW_ALM_TYPE chan=t-0316  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=47,40   val=YELLOW_LO_ALM   chan=t-0316  fmt="%6.1f";
pos=47,47   val=YELLOW_HI_ALM   chan=t-0316  fmt="%6.1f";
pos=47,55   val=RED_ALM_TYPE    chan=t-0316  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=47,59   val=RED_LO_ALM      chan=t-0316  fmt="%6.1f";
pos=47,66   val=RED_HI_ALM      chan=t-0316  fmt="%6.1f";
pos=47,75   val=DN              chan=t-0316  fmt="%3d";

#pos=48,04   val=CHAN_ID         chan=t-0317;
#pos=48,12   val=CHAN_TITLE      chan=t-0317  fmt="%-12.12s";
#pos=48,26   val=EU              chan=t-0317  fmt="%6.1f";
#pos=48,36   val=YELLOW_ALM_TYPE chan=t-0317  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
#pos=48,40   val=YELLOW_LO_ALM   chan=t-0317  fmt="%6.1f";
#pos=48,47   val=YELLOW_HI_ALM   chan=t-0317  fmt="%6.1f";
#pos=48,55   val=RED_ALM_TYPE    chan=t-0317  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
#pos=48,59   val=RED_LO_ALM      chan=t-0317  fmt="%6.1f";
#pos=48,66   val=RED_HI_ALM      chan=t-0317  fmt="%6.1f";
#pos=48,75   val=DN              chan=t-0317  fmt="%3d";

rule=static
pos=53,1   val='  --- PAYLOAD TEMPERATURES --------------------------------------------------- ';
pos=54,1   val=' |                                                                            |';
pos=55,1   val=' |                                                                            |';
pos=56,1   val=' |                                                                            |';
pos=57,1   val=' |                                                                            |';
pos=58,1   val=' |                                                                            |';
pos=59,1   val=' |                                                                            |';
pos=60,1   val=' |                                                                            |';
pos=61,1   val=' |                                                                            |';
pos=62,1   val=' |                                                                            |';
pos=63,1   val=' |                                                                            |';
pos=64,1   val=' |                                                                            |';
pos=65,1   val=' |                                                                            |';
pos=66,1   val=' |                                                                            |';
pos=67,1   val=' |                                                                            |';
pos=68,1   val=' |                                                                            |';
pos=69,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=54,04   val=CHAN_ID         chan=t-0221;
pos=54,12   val=CHAN_TITLE      chan=t-0221  fmt="%-12.12s";
pos=54,26   val=EU              chan=t-0221  fmt="%6.1f";
pos=54,36   val=YELLOW_ALM_TYPE chan=t-0221  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=54,40   val=YELLOW_LO_ALM   chan=t-0221  fmt="%6.1f";
pos=54,47   val=YELLOW_HI_ALM   chan=t-0221  fmt="%6.1f";
pos=54,55   val=RED_ALM_TYPE    chan=t-0221  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=54,59   val=RED_LO_ALM      chan=t-0221  fmt="%6.1f";
pos=54,66   val=RED_HI_ALM      chan=t-0221  fmt="%6.1f";
pos=54,75   val=DN              chan=t-0221  fmt="%3d";

pos=55,04   val=CHAN_ID         chan=t-0222;
pos=55,12   val=CHAN_TITLE      chan=t-0222  fmt="%-12.12s";
pos=55,26   val=EU              chan=t-0222  fmt="%6.1f";
pos=55,36   val=YELLOW_ALM_TYPE chan=t-0222  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=55,40   val=YELLOW_LO_ALM   chan=t-0222  fmt="%6.1f";
pos=55,47   val=YELLOW_HI_ALM   chan=t-0222  fmt="%6.1f";
pos=55,55   val=RED_ALM_TYPE    chan=t-0222  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=55,59   val=RED_LO_ALM      chan=t-0222  fmt="%6.1f";
pos=55,66   val=RED_HI_ALM      chan=t-0222  fmt="%6.1f";
pos=55,75   val=DN              chan=t-0222  fmt="%3d";

pos=56,04   val=CHAN_ID         chan=t-0223;
pos=56,12   val=CHAN_TITLE      chan=t-0223  fmt="%-12.12s";
pos=56,26   val=EU              chan=t-0223  fmt="%6.1f";
pos=56,36   val=YELLOW_ALM_TYPE chan=t-0223  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=56,40   val=YELLOW_LO_ALM   chan=t-0223  fmt="%6.1f";
pos=56,47   val=YELLOW_HI_ALM   chan=t-0223  fmt="%6.1f";
pos=56,55   val=RED_ALM_TYPE    chan=t-0223  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=56,59   val=RED_LO_ALM      chan=t-0223  fmt="%6.1f";
pos=56,66   val=RED_HI_ALM      chan=t-0223  fmt="%6.1f";
pos=56,75   val=DN              chan=t-0223  fmt="%3d";

pos=57,04   val=CHAN_ID         chan=t-0224;
pos=57,12   val=CHAN_TITLE      chan=t-0224  fmt="%-12.12s";
pos=57,26   val=EU              chan=t-0224  fmt="%6.1f";
pos=57,36   val=YELLOW_ALM_TYPE chan=t-0224  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=57,40   val=YELLOW_LO_ALM   chan=t-0224  fmt="%6.1f";
pos=57,47   val=YELLOW_HI_ALM   chan=t-0224  fmt="%6.1f";
pos=57,55   val=RED_ALM_TYPE    chan=t-0224  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=57,59   val=RED_LO_ALM      chan=t-0224  fmt="%6.1f";
pos=57,66   val=RED_HI_ALM      chan=t-0224  fmt="%6.1f";
pos=57,75   val=DN              chan=t-0224  fmt="%3d";

pos=58,04   val=CHAN_ID         chan=t-0225;
pos=58,12   val=CHAN_TITLE      chan=t-0225  fmt="%-12.12s";
pos=58,26   val=EU              chan=t-0225  fmt="%6.1f";
pos=58,36   val=YELLOW_ALM_TYPE chan=t-0225  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=58,40   val=YELLOW_LO_ALM   chan=t-0225  fmt="%6.1f";
pos=58,47   val=YELLOW_HI_ALM   chan=t-0225  fmt="%6.1f";
pos=58,55   val=RED_ALM_TYPE    chan=t-0225  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=58,59   val=RED_LO_ALM      chan=t-0225  fmt="%6.1f";
pos=58,66   val=RED_HI_ALM      chan=t-0225  fmt="%6.1f";
pos=58,75   val=DN              chan=t-0225  fmt="%3d";

pos=59,04   val=CHAN_ID         chan=t-0226;
pos=59,12   val=CHAN_TITLE      chan=t-0226  fmt="%-12.12s";
pos=59,26   val=EU              chan=t-0226  fmt="%6.1f";
pos=59,36   val=YELLOW_ALM_TYPE chan=t-0226  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=59,40   val=YELLOW_LO_ALM   chan=t-0226  fmt="%6.1f";
pos=59,47   val=YELLOW_HI_ALM   chan=t-0226  fmt="%6.1f";
pos=59,55   val=RED_ALM_TYPE    chan=t-0226  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=59,59   val=RED_LO_ALM      chan=t-0226  fmt="%6.1f";
pos=59,66   val=RED_HI_ALM      chan=t-0226  fmt="%6.1f";
pos=59,75   val=DN              chan=t-0226  fmt="%3d";

pos=60,04   val=CHAN_ID         chan=t-0227;
pos=60,12   val=CHAN_TITLE      chan=t-0227  fmt="%-12.12s";
pos=60,26   val=EU              chan=t-0227  fmt="%6.1f";
pos=60,36   val=YELLOW_ALM_TYPE chan=t-0227  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=60,40   val=YELLOW_LO_ALM   chan=t-0227  fmt="%6.1f";
pos=60,47   val=YELLOW_HI_ALM   chan=t-0227  fmt="%6.1f";
pos=60,55   val=RED_ALM_TYPE    chan=t-0227  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=60,59   val=RED_LO_ALM      chan=t-0227  fmt="%6.1f";
pos=60,66   val=RED_HI_ALM      chan=t-0227  fmt="%6.1f";
pos=60,75   val=DN              chan=t-0227  fmt="%3d";

pos=61,04   val=CHAN_ID         chan=t-0228;
pos=61,12   val=CHAN_TITLE      chan=t-0228  fmt="%-12.12s";
pos=61,26   val=EU              chan=t-0228  fmt="%6.1f";
pos=61,36   val=YELLOW_ALM_TYPE chan=t-0228  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=61,40   val=YELLOW_LO_ALM   chan=t-0228  fmt="%6.1f";
pos=61,47   val=YELLOW_HI_ALM   chan=t-0228  fmt="%6.1f";
pos=61,55   val=RED_ALM_TYPE    chan=t-0228  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=61,59   val=RED_LO_ALM      chan=t-0228  fmt="%6.1f";
pos=61,66   val=RED_HI_ALM      chan=t-0228  fmt="%6.1f";
pos=61,75   val=DN              chan=t-0228  fmt="%3d";

pos=62,04   val=CHAN_ID         chan=t-0229;
pos=62,12   val=CHAN_TITLE      chan=t-0229  fmt="%-12.12s";
pos=62,26   val=EU              chan=t-0229  fmt="%6.1f";
pos=62,36   val=YELLOW_ALM_TYPE chan=t-0229  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=62,40   val=YELLOW_LO_ALM   chan=t-0229  fmt="%6.1f";
pos=62,47   val=YELLOW_HI_ALM   chan=t-0229  fmt="%6.1f";
pos=62,55   val=RED_ALM_TYPE    chan=t-0229  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=62,59   val=RED_LO_ALM      chan=t-0229  fmt="%6.1f";
pos=62,66   val=RED_HI_ALM      chan=t-0229  fmt="%6.1f";
pos=62,75   val=DN              chan=t-0229  fmt="%3d";

pos=63,04   val=CHAN_ID         chan=t-0230;
pos=63,12   val=CHAN_TITLE      chan=t-0230  fmt="%-12.12s";
pos=63,26   val=EU              chan=t-0230  fmt="%6.1f";
pos=63,36   val=YELLOW_ALM_TYPE chan=t-0230  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=63,40   val=YELLOW_LO_ALM   chan=t-0230  fmt="%6.1f";
pos=63,47   val=YELLOW_HI_ALM   chan=t-0230  fmt="%6.1f";
pos=63,55   val=RED_ALM_TYPE    chan=t-0230  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=63,59   val=RED_LO_ALM      chan=t-0230  fmt="%6.1f";
pos=63,66   val=RED_HI_ALM      chan=t-0230  fmt="%6.1f";
pos=63,75   val=DN              chan=t-0230  fmt="%3d";

pos=64,04   val=CHAN_ID         chan=t-0231;
pos=64,12   val=CHAN_TITLE      chan=t-0231  fmt="%-12.12s";
pos=64,26   val=EU              chan=t-0231  fmt="%6.1f";
pos=64,36   val=YELLOW_ALM_TYPE chan=t-0231  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=64,40   val=YELLOW_LO_ALM   chan=t-0231  fmt="%6.1f";
pos=64,47   val=YELLOW_HI_ALM   chan=t-0231  fmt="%6.1f";
pos=64,55   val=RED_ALM_TYPE    chan=t-0231  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=64,59   val=RED_LO_ALM      chan=t-0231  fmt="%6.1f";
pos=64,66   val=RED_HI_ALM      chan=t-0231  fmt="%6.1f";
pos=64,75   val=DN              chan=t-0231  fmt="%3d";

pos=65,04   val=CHAN_ID         chan=t-0232;
pos=65,12   val=CHAN_TITLE      chan=t-0232  fmt="%-12.12s";
pos=65,26   val=EU              chan=t-0232  fmt="%6.1f";
pos=65,36   val=YELLOW_ALM_TYPE chan=t-0232  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=65,40   val=YELLOW_LO_ALM   chan=t-0232  fmt="%6.1f";
pos=65,47   val=YELLOW_HI_ALM   chan=t-0232  fmt="%6.1f";
pos=65,55   val=RED_ALM_TYPE    chan=t-0232  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=65,59   val=RED_LO_ALM      chan=t-0232  fmt="%6.1f";
pos=65,66   val=RED_HI_ALM      chan=t-0232  fmt="%6.1f";
pos=65,75   val=DN              chan=t-0232  fmt="%3d";

pos=66,04   val=CHAN_ID         chan=t-0233;
pos=66,12   val=CHAN_TITLE      chan=t-0233  fmt="%-12.12s";
pos=66,26   val=EU              chan=t-0233  fmt="%6.1f";
pos=66,36   val=YELLOW_ALM_TYPE chan=t-0233  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=66,40   val=YELLOW_LO_ALM   chan=t-0233  fmt="%6.1f";
pos=66,47   val=YELLOW_HI_ALM   chan=t-0233  fmt="%6.1f";
pos=66,55   val=RED_ALM_TYPE    chan=t-0233  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=66,59   val=RED_LO_ALM      chan=t-0233  fmt="%6.1f";
pos=66,66   val=RED_HI_ALM      chan=t-0233  fmt="%6.1f";
pos=66,75   val=DN              chan=t-0233  fmt="%3d";

pos=67,04   val=CHAN_ID         chan=t-0234;
pos=67,12   val=CHAN_TITLE      chan=t-0234  fmt="%-12.12s";
pos=67,26   val=EU              chan=t-0234  fmt="%6.1f";
pos=67,36   val=YELLOW_ALM_TYPE chan=t-0234  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=67,40   val=YELLOW_LO_ALM   chan=t-0234  fmt="%6.1f";
pos=67,47   val=YELLOW_HI_ALM   chan=t-0234  fmt="%6.1f";
pos=67,55   val=RED_ALM_TYPE    chan=t-0234  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=67,59   val=RED_LO_ALM      chan=t-0234  fmt="%6.1f";
pos=67,66   val=RED_HI_ALM      chan=t-0234  fmt="%6.1f";
pos=67,75   val=DN              chan=t-0234  fmt="%3d";

pos=68,04   val=CHAN_ID         chan=t-0235;
pos=68,12   val=CHAN_TITLE      chan=t-0235  fmt="%-12.12s";
pos=68,26   val=EU              chan=t-0235  fmt="%6.1f";
pos=68,36   val=YELLOW_ALM_TYPE chan=t-0235  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=68,40   val=YELLOW_LO_ALM   chan=t-0235  fmt="%6.1f";
pos=68,47   val=YELLOW_HI_ALM   chan=t-0235  fmt="%6.1f";
pos=68,55   val=RED_ALM_TYPE    chan=t-0235  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=68,59   val=RED_LO_ALM      chan=t-0235  fmt="%6.1f";
pos=68,66   val=RED_HI_ALM      chan=t-0235  fmt="%6.1f";
pos=68,75   val=DN              chan=t-0235  fmt="%3d";



ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_therm_fix4.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Thermal Subsystem Fixed Page #4 (PROPULSION TEMPERATURES)         #
# BASELINED: OGS 07-10-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=70,80 pos=4,1 # mgs_therm_fix4.tdl

TEXTREGION

rule=static
pos=2,1    val='   MARS GLOBAL SURVEYOR EDF TEMPERATURES (THERMAL FIXED PAGE #4)               ';
pos=3,1    val='                                                                               ';
pos=4,1    val=' | CHAN    MNEMONIC      TEMP      YEL YEL_LO YEL_HI  RED RED_LO RED_HI   DN  |';
pos=5,1    val='                                                                               ';
pos=6,1    val='  --- PROPULSION TEMPERATURES ------------------------------------------------ ';
pos=7,1    val=' |                                                                            |';
pos=8,1    val=' |                                                                            |';
pos=9,1    val=' |                                                                            |';
pos=10,1   val=' |                                                                            |';
pos=11,1   val=' |                                                                            |';
pos=12,1   val=' |                                                                            |';
pos=13,1   val=' |                                                                            |';
pos=14,1   val=' |                                                                            |';
pos=15,1   val=' |                                                                            |';
pos=16,1   val=' |                                                                            |';
pos=17,1   val=' |                                                                            |';
pos=18,1   val=' |                                                                            |';
pos=19,1   val=' |                                                                            |';
pos=20,1   val=' |                                                                            |';
pos=21,1   val=' |                                                                            |';
pos=22,1   val=' |                                                                            |';
pos=23,1   val=' |                                                                            |';
pos=24,1   val=' |                                                                            |';
pos=25,1   val=' |                                                                            |';
pos=26,1   val=' |                                                                            |';
pos=27,1   val=' |                                                                            |';
pos=28,1   val=' |                                                                            |';
pos=29,1   val=' |                                                                            |';
pos=30,1   val=' |                                                                            |';
pos=31,1   val=' |                                                                            |';
pos=32,1   val=' |                                                                            |';
pos=33,1   val=' |                                                                            |';
pos=34,1   val=' |                                                                            |';
pos=35,1   val=' |                                                                            |';
pos=36,1   val=' |                                                                            |';
pos=37,1   val=' |                                                                            |';
pos=38,1   val=' |                                                                            |';
pos=39,1   val=' |                                                                            |';
pos=40,1   val=' |                                                                            |';
pos=41,1   val=' |                                                                            |';
pos=42,1   val=' |                                                                            |';
pos=43,1   val=' |                                                                            |';
pos=44,1   val=' |                                                                            |';
pos=45,1   val=' |                                                                            |';
pos=46,1   val=' |                                                                            |';
pos=47,1   val=' |                                                                            |';
pos=48,1   val=' |                                                                            |';
pos=49,1   val=' |                                                                            |';
pos=50,1   val=' |                                                                            |';
pos=51,1   val=' |                                                                            |';
pos=52,1   val=' |                                                                            |';
pos=53,1   val=' |                                                                            |';
pos=54,1   val=' |                                                                            |';
pos=55,1   val=' |                                                                            |';
pos=56,1   val=' |                                                                            |';
pos=57,1   val=' |                                                                            |';
pos=58,1   val=' |                                                                            |';
pos=59,1   val=' |                                                                            |';
pos=60,1   val=' |                                                                            |';
pos=61,1   val=' |                                                                            |';
pos=62,1   val=' |                                                                            |';
pos=63,1   val=' |                                                                            |';
pos=64,1   val=' |                                                                            |';
pos=65,1   val=' |                                                                            |';
pos=66,1   val=' |                                                                            |';
pos=67,1   val=' |                                                                            |';
pos=68,1   val=' |                                                                            |';
pos=69,1   val='  ---------------------------------------------------------------------------- ';

rule=dynamic

pos=07,04   val=CHAN_ID         chan=t-0131;
pos=07,12   val=CHAN_TITLE      chan=t-0131  fmt="%-12.12s";
pos=07,26   val=EU              chan=t-0131  fmt="%6.1f";
pos=07,36   val=YELLOW_ALM_TYPE chan=t-0131  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=07,40   val=YELLOW_LO_ALM   chan=t-0131  fmt="%6.1f";
pos=07,47   val=YELLOW_HI_ALM   chan=t-0131  fmt="%6.1f";
pos=07,55   val=RED_ALM_TYPE    chan=t-0131  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=07,59   val=RED_LO_ALM      chan=t-0131  fmt="%6.1f";
pos=07,66   val=RED_HI_ALM      chan=t-0131  fmt="%6.1f";
pos=07,75   val=DN              chan=t-0131  fmt="%3d";

pos=08,04   val=CHAN_ID         chan=t-0132;
pos=08,12   val=CHAN_TITLE      chan=t-0132  fmt="%-12.12s";
pos=08,26   val=EU              chan=t-0132  fmt="%6.1f";
pos=08,36   val=YELLOW_ALM_TYPE chan=t-0132  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=08,40   val=YELLOW_LO_ALM   chan=t-0132  fmt="%6.1f";
pos=08,47   val=YELLOW_HI_ALM   chan=t-0132  fmt="%6.1f";
pos=08,55   val=RED_ALM_TYPE    chan=t-0132  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=08,59   val=RED_LO_ALM      chan=t-0132  fmt="%6.1f";
pos=08,66   val=RED_HI_ALM      chan=t-0132  fmt="%6.1f";
pos=08,75   val=DN              chan=t-0132  fmt="%3d";

pos=09,04   val=CHAN_ID         chan=t-0133;
pos=09,12   val=CHAN_TITLE      chan=t-0133  fmt="%-12.12s";
pos=09,26   val=EU              chan=t-0133  fmt="%6.1f";
pos=09,36   val=YELLOW_ALM_TYPE chan=t-0133  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=09,40   val=YELLOW_LO_ALM   chan=t-0133  fmt="%6.1f";
pos=09,47   val=YELLOW_HI_ALM   chan=t-0133  fmt="%6.1f";
pos=09,55   val=RED_ALM_TYPE    chan=t-0133  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=09,59   val=RED_LO_ALM      chan=t-0133  fmt="%6.1f";
pos=09,66   val=RED_HI_ALM      chan=t-0133  fmt="%6.1f";
pos=09,75   val=DN              chan=t-0133  fmt="%3d";

pos=10,04   val=CHAN_ID         chan=t-0134;
pos=10,12   val=CHAN_TITLE      chan=t-0134  fmt="%-12.12s";
pos=10,26   val=EU              chan=t-0134  fmt="%6.1f";
pos=10,36   val=YELLOW_ALM_TYPE chan=t-0134  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=10,40   val=YELLOW_LO_ALM   chan=t-0134  fmt="%6.1f";
pos=10,47   val=YELLOW_HI_ALM   chan=t-0134  fmt="%6.1f";
pos=10,55   val=RED_ALM_TYPE    chan=t-0134  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=10,59   val=RED_LO_ALM      chan=t-0134  fmt="%6.1f";
pos=10,66   val=RED_HI_ALM      chan=t-0134  fmt="%6.1f";
pos=10,75   val=DN              chan=t-0134  fmt="%3d";

pos=11,04   val=CHAN_ID         chan=t-0135;
pos=11,12   val=CHAN_TITLE      chan=t-0135  fmt="%-12.12s";
pos=11,26   val=EU              chan=t-0135  fmt="%6.1f";
pos=11,36   val=YELLOW_ALM_TYPE chan=t-0135  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=11,40   val=YELLOW_LO_ALM   chan=t-0135  fmt="%6.1f";
pos=11,47   val=YELLOW_HI_ALM   chan=t-0135  fmt="%6.1f";
pos=11,55   val=RED_ALM_TYPE    chan=t-0135  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=11,59   val=RED_LO_ALM      chan=t-0135  fmt="%6.1f";
pos=11,66   val=RED_HI_ALM      chan=t-0135  fmt="%6.1f";
pos=11,75   val=DN              chan=t-0135  fmt="%3d";

pos=12,04   val=CHAN_ID         chan=t-0136;
pos=12,12   val=CHAN_TITLE      chan=t-0136  fmt="%-12.12s";
pos=12,26   val=EU              chan=t-0136  fmt="%6.1f";
pos=12,36   val=YELLOW_ALM_TYPE chan=t-0136  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=12,40   val=YELLOW_LO_ALM   chan=t-0136  fmt="%6.1f";
pos=12,47   val=YELLOW_HI_ALM   chan=t-0136  fmt="%6.1f";
pos=12,55   val=RED_ALM_TYPE    chan=t-0136  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=12,59   val=RED_LO_ALM      chan=t-0136  fmt="%6.1f";
pos=12,66   val=RED_HI_ALM      chan=t-0136  fmt="%6.1f";
pos=12,75   val=DN              chan=t-0136  fmt="%3d";

pos=13,04   val=CHAN_ID         chan=t-0137;
pos=13,12   val=CHAN_TITLE      chan=t-0137  fmt="%-12.12s";
pos=13,26   val=EU              chan=t-0137  fmt="%6.1f";
pos=13,36   val=YELLOW_ALM_TYPE chan=t-0137  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=13,40   val=YELLOW_LO_ALM   chan=t-0137  fmt="%6.1f";
pos=13,47   val=YELLOW_HI_ALM   chan=t-0137  fmt="%6.1f";
pos=13,55   val=RED_ALM_TYPE    chan=t-0137  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=13,59   val=RED_LO_ALM      chan=t-0137  fmt="%6.1f";
pos=13,66   val=RED_HI_ALM      chan=t-0137  fmt="%6.1f";
pos=13,75   val=DN              chan=t-0137  fmt="%3d";

pos=14,04   val=CHAN_ID         chan=t-0138;
pos=14,12   val=CHAN_TITLE      chan=t-0138  fmt="%-12.12s";
pos=14,26   val=EU              chan=t-0138  fmt="%6.1f";
pos=14,36   val=YELLOW_ALM_TYPE chan=t-0138  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=14,40   val=YELLOW_LO_ALM   chan=t-0138  fmt="%6.1f";
pos=14,47   val=YELLOW_HI_ALM   chan=t-0138  fmt="%6.1f";
pos=14,55   val=RED_ALM_TYPE    chan=t-0138  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=14,59   val=RED_LO_ALM      chan=t-0138  fmt="%6.1f";
pos=14,66   val=RED_HI_ALM      chan=t-0138  fmt="%6.1f";
pos=14,75   val=DN              chan=t-0138  fmt="%3d";

pos=15,04   val=CHAN_ID         chan=t-0139;
pos=15,12   val=CHAN_TITLE      chan=t-0139  fmt="%-12.12s";
pos=15,26   val=EU              chan=t-0139  fmt="%6.1f";
pos=15,36   val=YELLOW_ALM_TYPE chan=t-0139  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=15,40   val=YELLOW_LO_ALM   chan=t-0139  fmt="%6.1f";
pos=15,47   val=YELLOW_HI_ALM   chan=t-0139  fmt="%6.1f";
pos=15,55   val=RED_ALM_TYPE    chan=t-0139  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=15,59   val=RED_LO_ALM      chan=t-0139  fmt="%6.1f";
pos=15,66   val=RED_HI_ALM      chan=t-0139  fmt="%6.1f";
pos=15,75   val=DN              chan=t-0139  fmt="%3d";

pos=16,04   val=CHAN_ID         chan=t-0140;
pos=16,12   val=CHAN_TITLE      chan=t-0140  fmt="%-12.12s";
pos=16,26   val=EU              chan=t-0140  fmt="%6.1f";
pos=16,36   val=YELLOW_ALM_TYPE chan=t-0140  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=16,40   val=YELLOW_LO_ALM   chan=t-0140  fmt="%6.1f";
pos=16,47   val=YELLOW_HI_ALM   chan=t-0140  fmt="%6.1f";
pos=16,55   val=RED_ALM_TYPE    chan=t-0140  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=16,59   val=RED_LO_ALM      chan=t-0140  fmt="%6.1f";
pos=16,66   val=RED_HI_ALM      chan=t-0140  fmt="%6.1f";
pos=16,75   val=DN              chan=t-0140  fmt="%3d";

pos=17,04   val=CHAN_ID         chan=t-0141;
pos=17,12   val=CHAN_TITLE      chan=t-0141  fmt="%-12.12s";
pos=17,26   val=EU              chan=t-0141  fmt="%6.1f";
pos=17,36   val=YELLOW_ALM_TYPE chan=t-0141  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=17,40   val=YELLOW_LO_ALM   chan=t-0141  fmt="%6.1f";
pos=17,47   val=YELLOW_HI_ALM   chan=t-0141  fmt="%6.1f";
pos=17,55   val=RED_ALM_TYPE    chan=t-0141  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=17,59   val=RED_LO_ALM      chan=t-0141  fmt="%6.1f";
pos=17,66   val=RED_HI_ALM      chan=t-0141  fmt="%6.1f";
pos=17,75   val=DN              chan=t-0141  fmt="%3d";

pos=18,04   val=CHAN_ID         chan=t-0142;
pos=18,12   val=CHAN_TITLE      chan=t-0142  fmt="%-12.12s";
pos=18,26   val=EU              chan=t-0142  fmt="%6.1f";
pos=18,36   val=YELLOW_ALM_TYPE chan=t-0142  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=18,40   val=YELLOW_LO_ALM   chan=t-0142  fmt="%6.1f";
pos=18,47   val=YELLOW_HI_ALM   chan=t-0142  fmt="%6.1f";
pos=18,55   val=RED_ALM_TYPE    chan=t-0142  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=18,59   val=RED_LO_ALM      chan=t-0142  fmt="%6.1f";
pos=18,66   val=RED_HI_ALM      chan=t-0142  fmt="%6.1f";
pos=18,75   val=DN              chan=t-0142  fmt="%3d";

pos=19,04   val=CHAN_ID         chan=t-0143;
pos=19,12   val=CHAN_TITLE      chan=t-0143  fmt="%-12.12s";
pos=19,26   val=EU              chan=t-0143  fmt="%6.1f";
pos=19,36   val=YELLOW_ALM_TYPE chan=t-0143  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=19,40   val=YELLOW_LO_ALM   chan=t-0143  fmt="%6.1f";
pos=19,47   val=YELLOW_HI_ALM   chan=t-0143  fmt="%6.1f";
pos=19,55   val=RED_ALM_TYPE    chan=t-0143  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=19,59   val=RED_LO_ALM      chan=t-0143  fmt="%6.1f";
pos=19,66   val=RED_HI_ALM      chan=t-0143  fmt="%6.1f";
pos=19,75   val=DN              chan=t-0143  fmt="%3d";

pos=20,04   val=CHAN_ID         chan=t-0144;
pos=20,12   val=CHAN_TITLE      chan=t-0144  fmt="%-12.12s";
pos=20,26   val=EU              chan=t-0144  fmt="%6.1f";
pos=20,36   val=YELLOW_ALM_TYPE chan=t-0144  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=20,40   val=YELLOW_LO_ALM   chan=t-0144  fmt="%6.1f";
pos=20,47   val=YELLOW_HI_ALM   chan=t-0144  fmt="%6.1f";
pos=20,55   val=RED_ALM_TYPE    chan=t-0144  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=20,59   val=RED_LO_ALM      chan=t-0144  fmt="%6.1f";
pos=20,66   val=RED_HI_ALM      chan=t-0144  fmt="%6.1f";
pos=20,75   val=DN              chan=t-0144  fmt="%3d";

pos=21,04   val=CHAN_ID         chan=t-0145;
pos=21,12   val=CHAN_TITLE      chan=t-0145  fmt="%-12.12s";
pos=21,26   val=EU              chan=t-0145  fmt="%6.1f";
pos=21,36   val=YELLOW_ALM_TYPE chan=t-0145  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=21,40   val=YELLOW_LO_ALM   chan=t-0145  fmt="%6.1f";
pos=21,47   val=YELLOW_HI_ALM   chan=t-0145  fmt="%6.1f";
pos=21,55   val=RED_ALM_TYPE    chan=t-0145  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=21,59   val=RED_LO_ALM      chan=t-0145  fmt="%6.1f";
pos=21,66   val=RED_HI_ALM      chan=t-0145  fmt="%6.1f";
pos=21,75   val=DN              chan=t-0145  fmt="%3d";

pos=22,04   val=CHAN_ID         chan=t-0146;
pos=22,12   val=CHAN_TITLE      chan=t-0146  fmt="%-12.12s";
pos=22,26   val=EU              chan=t-0146  fmt="%6.1f";
pos=22,36   val=YELLOW_ALM_TYPE chan=t-0146  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=22,40   val=YELLOW_LO_ALM   chan=t-0146  fmt="%6.1f";
pos=22,47   val=YELLOW_HI_ALM   chan=t-0146  fmt="%6.1f";
pos=22,55   val=RED_ALM_TYPE    chan=t-0146  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=22,59   val=RED_LO_ALM      chan=t-0146  fmt="%6.1f";
pos=22,66   val=RED_HI_ALM      chan=t-0146  fmt="%6.1f";
pos=22,75   val=DN              chan=t-0146  fmt="%3d";

pos=23,04   val=CHAN_ID         chan=t-0147;
pos=23,12   val=CHAN_TITLE      chan=t-0147  fmt="%-12.12s";
pos=23,26   val=EU              chan=t-0147  fmt="%6.1f";
pos=23,36   val=YELLOW_ALM_TYPE chan=t-0147  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=23,40   val=YELLOW_LO_ALM   chan=t-0147  fmt="%6.1f";
pos=23,47   val=YELLOW_HI_ALM   chan=t-0147  fmt="%6.1f";
pos=23,55   val=RED_ALM_TYPE    chan=t-0147  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=23,59   val=RED_LO_ALM      chan=t-0147  fmt="%6.1f";
pos=23,66   val=RED_HI_ALM      chan=t-0147  fmt="%6.1f";
pos=23,75   val=DN              chan=t-0147  fmt="%3d";

pos=24,04   val=CHAN_ID         chan=t-0148;
pos=24,12   val=CHAN_TITLE      chan=t-0148  fmt="%-12.12s";
pos=24,26   val=EU              chan=t-0148  fmt="%6.1f";
pos=24,36   val=YELLOW_ALM_TYPE chan=t-0148  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=24,40   val=YELLOW_LO_ALM   chan=t-0148  fmt="%6.1f";
pos=24,47   val=YELLOW_HI_ALM   chan=t-0148  fmt="%6.1f";
pos=24,55   val=RED_ALM_TYPE    chan=t-0148  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=24,59   val=RED_LO_ALM      chan=t-0148  fmt="%6.1f";
pos=24,66   val=RED_HI_ALM      chan=t-0148  fmt="%6.1f";
pos=24,75   val=DN              chan=t-0148  fmt="%3d";

pos=25,04   val=CHAN_ID         chan=t-0149;
pos=25,12   val=CHAN_TITLE      chan=t-0149  fmt="%-12.12s";
pos=25,26   val=EU              chan=t-0149  fmt="%6.1f";
pos=25,36   val=YELLOW_ALM_TYPE chan=t-0149  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=25,40   val=YELLOW_LO_ALM   chan=t-0149  fmt="%6.1f";
pos=25,47   val=YELLOW_HI_ALM   chan=t-0149  fmt="%6.1f";
pos=25,55   val=RED_ALM_TYPE    chan=t-0149  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=25,59   val=RED_LO_ALM      chan=t-0149  fmt="%6.1f";
pos=25,66   val=RED_HI_ALM      chan=t-0149  fmt="%6.1f";
pos=25,75   val=DN              chan=t-0149  fmt="%3d";

pos=26,04   val=CHAN_ID         chan=t-0150;
pos=26,12   val=CHAN_TITLE      chan=t-0150  fmt="%-12.12s";
pos=26,26   val=EU              chan=t-0150  fmt="%6.1f";
pos=26,36   val=YELLOW_ALM_TYPE chan=t-0150  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=26,40   val=YELLOW_LO_ALM   chan=t-0150  fmt="%6.1f";
pos=26,47   val=YELLOW_HI_ALM   chan=t-0150  fmt="%6.1f";
pos=26,55   val=RED_ALM_TYPE    chan=t-0150  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=26,59   val=RED_LO_ALM      chan=t-0150  fmt="%6.1f";
pos=26,66   val=RED_HI_ALM      chan=t-0150  fmt="%6.1f";
pos=26,75   val=DN              chan=t-0150  fmt="%3d";

pos=27,04   val=CHAN_ID         chan=t-0151;
pos=27,12   val=CHAN_TITLE      chan=t-0151  fmt="%-12.12s";
pos=27,26   val=EU              chan=t-0151  fmt="%6.1f";
pos=27,36   val=YELLOW_ALM_TYPE chan=t-0151  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=27,40   val=YELLOW_LO_ALM   chan=t-0151  fmt="%6.1f";
pos=27,47   val=YELLOW_HI_ALM   chan=t-0151  fmt="%6.1f";
pos=27,55   val=RED_ALM_TYPE    chan=t-0151  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=27,59   val=RED_LO_ALM      chan=t-0151  fmt="%6.1f";
pos=27,66   val=RED_HI_ALM      chan=t-0151  fmt="%6.1f";
pos=27,75   val=DN              chan=t-0151  fmt="%3d";

pos=28,04   val=CHAN_ID         chan=t-0152;
pos=28,12   val=CHAN_TITLE      chan=t-0152  fmt="%-12.12s";
pos=28,26   val=EU              chan=t-0152  fmt="%6.1f";
pos=28,36   val=YELLOW_ALM_TYPE chan=t-0152  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=28,40   val=YELLOW_LO_ALM   chan=t-0152  fmt="%6.1f";
pos=28,47   val=YELLOW_HI_ALM   chan=t-0152  fmt="%6.1f";
pos=28,55   val=RED_ALM_TYPE    chan=t-0152  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=28,59   val=RED_LO_ALM      chan=t-0152  fmt="%6.1f";
pos=28,66   val=RED_HI_ALM      chan=t-0152  fmt="%6.1f";
pos=28,75   val=DN              chan=t-0152  fmt="%3d";

pos=29,04   val=CHAN_ID         chan=t-0153;
pos=29,12   val=CHAN_TITLE      chan=t-0153  fmt="%-12.12s";
pos=29,26   val=EU              chan=t-0153  fmt="%6.1f";
pos=29,36   val=YELLOW_ALM_TYPE chan=t-0153  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=29,40   val=YELLOW_LO_ALM   chan=t-0153  fmt="%6.1f";
pos=29,47   val=YELLOW_HI_ALM   chan=t-0153  fmt="%6.1f";
pos=29,55   val=RED_ALM_TYPE    chan=t-0153  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=29,59   val=RED_LO_ALM      chan=t-0153  fmt="%6.1f";
pos=29,66   val=RED_HI_ALM      chan=t-0153  fmt="%6.1f";
pos=29,75   val=DN              chan=t-0153  fmt="%3d";

pos=30,04   val=CHAN_ID         chan=t-0154;
pos=30,12   val=CHAN_TITLE      chan=t-0154  fmt="%-12.12s";
pos=30,26   val=EU              chan=t-0154  fmt="%6.1f";
pos=30,36   val=YELLOW_ALM_TYPE chan=t-0154  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=30,40   val=YELLOW_LO_ALM   chan=t-0154  fmt="%6.1f";
pos=30,47   val=YELLOW_HI_ALM   chan=t-0154  fmt="%6.1f";
pos=30,55   val=RED_ALM_TYPE    chan=t-0154  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=30,59   val=RED_LO_ALM      chan=t-0154  fmt="%6.1f";
pos=30,66   val=RED_HI_ALM      chan=t-0154  fmt="%6.1f";
pos=30,75   val=DN              chan=t-0154  fmt="%3d";

pos=31,04   val=CHAN_ID         chan=t-0155;
pos=31,12   val=CHAN_TITLE      chan=t-0155  fmt="%-12.12s";
pos=31,26   val=EU              chan=t-0155  fmt="%6.1f";
pos=31,36   val=YELLOW_ALM_TYPE chan=t-0155  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=31,40   val=YELLOW_LO_ALM   chan=t-0155  fmt="%6.1f";
pos=31,47   val=YELLOW_HI_ALM   chan=t-0155  fmt="%6.1f";
pos=31,55   val=RED_ALM_TYPE    chan=t-0155  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=31,59   val=RED_LO_ALM      chan=t-0155  fmt="%6.1f";
pos=31,66   val=RED_HI_ALM      chan=t-0155  fmt="%6.1f";
pos=31,75   val=DN              chan=t-0155  fmt="%3d";

pos=32,04   val=CHAN_ID         chan=t-0156;
pos=32,12   val=CHAN_TITLE      chan=t-0156  fmt="%-12.12s";
pos=32,26   val=EU              chan=t-0156  fmt="%6.1f";
pos=32,36   val=YELLOW_ALM_TYPE chan=t-0156  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=32,40   val=YELLOW_LO_ALM   chan=t-0156  fmt="%6.1f";
pos=32,47   val=YELLOW_HI_ALM   chan=t-0156  fmt="%6.1f";
pos=32,55   val=RED_ALM_TYPE    chan=t-0156  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=32,59   val=RED_LO_ALM      chan=t-0156  fmt="%6.1f";
pos=32,66   val=RED_HI_ALM      chan=t-0156  fmt="%6.1f";
pos=32,75   val=DN              chan=t-0156  fmt="%3d";

pos=33,04   val=CHAN_ID         chan=t-0157;
pos=33,12   val=CHAN_TITLE      chan=t-0157  fmt="%-12.12s";
pos=33,26   val=EU              chan=t-0157  fmt="%6.1f";
pos=33,36   val=YELLOW_ALM_TYPE chan=t-0157  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=33,40   val=YELLOW_LO_ALM   chan=t-0157  fmt="%6.1f";
pos=33,47   val=YELLOW_HI_ALM   chan=t-0157  fmt="%6.1f";
pos=33,55   val=RED_ALM_TYPE    chan=t-0157  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=33,59   val=RED_LO_ALM      chan=t-0157  fmt="%6.1f";
pos=33,66   val=RED_HI_ALM      chan=t-0157  fmt="%6.1f";
pos=33,75   val=DN              chan=t-0157  fmt="%3d";

pos=34,04   val=CHAN_ID         chan=t-0158;
pos=34,12   val=CHAN_TITLE      chan=t-0158  fmt="%-12.12s";
pos=34,26   val=EU              chan=t-0158  fmt="%6.1f";
pos=34,36   val=YELLOW_ALM_TYPE chan=t-0158  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=34,40   val=YELLOW_LO_ALM   chan=t-0158  fmt="%6.1f";
pos=34,47   val=YELLOW_HI_ALM   chan=t-0158  fmt="%6.1f";
pos=34,55   val=RED_ALM_TYPE    chan=t-0158  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=34,59   val=RED_LO_ALM      chan=t-0158  fmt="%6.1f";
pos=34,66   val=RED_HI_ALM      chan=t-0158  fmt="%6.1f";
pos=34,75   val=DN              chan=t-0158  fmt="%3d";

pos=36,04   val=CHAN_ID         chan=t-0159;
pos=36,12   val=CHAN_TITLE      chan=t-0159  fmt="%-12.12s";
pos=36,26   val=EU              chan=t-0159  fmt="%6.1f";
pos=36,36   val=YELLOW_ALM_TYPE chan=t-0159  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=36,40   val=YELLOW_LO_ALM   chan=t-0159  fmt="%6.1f";
pos=36,47   val=YELLOW_HI_ALM   chan=t-0159  fmt="%6.1f";
pos=36,55   val=RED_ALM_TYPE    chan=t-0159  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=36,59   val=RED_LO_ALM      chan=t-0159  fmt="%6.1f";
pos=36,66   val=RED_HI_ALM      chan=t-0159  fmt="%6.1f";
pos=36,75   val=DN              chan=t-0159  fmt="%3d";

#pos=36,04   val=CHAN_ID         chan=t-0160;
#pos=36,12   val=CHAN_TITLE      chan=t-0160  fmt="%-12.12s";
#pos=36,26   val=EU              chan=t-0160  fmt="%6.1f";
#pos=36,36   val=YELLOW_ALM_TYPE chan=t-0160  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
#pos=36,40   val=YELLOW_LO_ALM   chan=t-0160  fmt="%6.1f";
#pos=36,47   val=YELLOW_HI_ALM   chan=t-0160  fmt="%6.1f";
#pos=36,55   val=RED_ALM_TYPE    chan=t-0160  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
#pos=36,59   val=RED_LO_ALM      chan=t-0160  fmt="%6.1f";
#pos=36,66   val=RED_HI_ALM      chan=t-0160  fmt="%6.1f";
#pos=36,75   val=DN              chan=t-0160  fmt="%3d";

pos=37,04   val=CHAN_ID         chan=t-0161;
pos=37,12   val=CHAN_TITLE      chan=t-0161  fmt="%-12.12s";
pos=37,26   val=EU              chan=t-0161  fmt="%6.1f";
pos=37,36   val=YELLOW_ALM_TYPE chan=t-0161  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=37,40   val=YELLOW_LO_ALM   chan=t-0161  fmt="%6.1f";
pos=37,47   val=YELLOW_HI_ALM   chan=t-0161  fmt="%6.1f";
pos=37,55   val=RED_ALM_TYPE    chan=t-0161  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=37,59   val=RED_LO_ALM      chan=t-0161  fmt="%6.1f";
pos=37,66   val=RED_HI_ALM      chan=t-0161  fmt="%6.1f";
pos=37,75   val=DN              chan=t-0161  fmt="%3d";

pos=38,04   val=CHAN_ID         chan=t-0162;
pos=38,12   val=CHAN_TITLE      chan=t-0162  fmt="%-12.12s";
pos=38,26   val=EU              chan=t-0162  fmt="%6.1f";
pos=38,36   val=YELLOW_ALM_TYPE chan=t-0162  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=38,40   val=YELLOW_LO_ALM   chan=t-0162  fmt="%6.1f";
pos=38,47   val=YELLOW_HI_ALM   chan=t-0162  fmt="%6.1f";
pos=38,55   val=RED_ALM_TYPE    chan=t-0162  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=38,59   val=RED_LO_ALM      chan=t-0162  fmt="%6.1f";
pos=38,66   val=RED_HI_ALM      chan=t-0162  fmt="%6.1f";
pos=38,75   val=DN              chan=t-0162  fmt="%3d";

#pos=39,04   val=CHAN_ID         chan=t-0163;
#pos=39,12   val=CHAN_TITLE      chan=t-0163  fmt="%-12.12s";
#pos=39,26   val=EU              chan=t-0163  fmt="%6.1f";
#pos=39,36   val=YELLOW_ALM_TYPE chan=t-0163  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
#pos=39,40   val=YELLOW_LO_ALM   chan=t-0163  fmt="%6.1f";
#pos=39,47   val=YELLOW_HI_ALM   chan=t-0163  fmt="%6.1f";
#pos=39,55   val=RED_ALM_TYPE    chan=t-0163  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
#pos=39,59   val=RED_LO_ALM      chan=t-0163  fmt="%6.1f";
#pos=39,66   val=RED_HI_ALM      chan=t-0163  fmt="%6.1f";
#pos=39,75   val=DN              chan=t-0163  fmt="%3d";

pos=40,04   val=CHAN_ID         chan=t-0164;
pos=40,12   val=CHAN_TITLE      chan=t-0164  fmt="%-12.12s";
pos=40,26   val=EU              chan=t-0164  fmt="%6.1f";
pos=40,36   val=YELLOW_ALM_TYPE chan=t-0164  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=40,40   val=YELLOW_LO_ALM   chan=t-0164  fmt="%6.1f";
pos=40,47   val=YELLOW_HI_ALM   chan=t-0164  fmt="%6.1f";
pos=40,55   val=RED_ALM_TYPE    chan=t-0164  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=40,59   val=RED_LO_ALM      chan=t-0164  fmt="%6.1f";
pos=40,66   val=RED_HI_ALM      chan=t-0164  fmt="%6.1f";
pos=40,75   val=DN              chan=t-0164  fmt="%3d";

pos=41,04   val=CHAN_ID         chan=t-0165;
pos=41,12   val=CHAN_TITLE      chan=t-0165  fmt="%-12.12s";
pos=41,26   val=EU              chan=t-0165  fmt="%6.1f";
pos=41,36   val=YELLOW_ALM_TYPE chan=t-0165  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=41,40   val=YELLOW_LO_ALM   chan=t-0165  fmt="%6.1f";
pos=41,47   val=YELLOW_HI_ALM   chan=t-0165  fmt="%6.1f";
pos=41,55   val=RED_ALM_TYPE    chan=t-0165  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=41,59   val=RED_LO_ALM      chan=t-0165  fmt="%6.1f";
pos=41,66   val=RED_HI_ALM      chan=t-0165  fmt="%6.1f";
pos=41,75   val=DN              chan=t-0165  fmt="%3d";

pos=42,04   val=CHAN_ID         chan=t-0166;
pos=42,12   val=CHAN_TITLE      chan=t-0166  fmt="%-12.12s";
pos=42,26   val=EU              chan=t-0166  fmt="%6.1f";
pos=42,36   val=YELLOW_ALM_TYPE chan=t-0166  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=42,40   val=YELLOW_LO_ALM   chan=t-0166  fmt="%6.1f";
pos=42,47   val=YELLOW_HI_ALM   chan=t-0166  fmt="%6.1f";
pos=42,55   val=RED_ALM_TYPE    chan=t-0166  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=42,59   val=RED_LO_ALM      chan=t-0166  fmt="%6.1f";
pos=42,66   val=RED_HI_ALM      chan=t-0166  fmt="%6.1f";
pos=42,75   val=DN              chan=t-0166  fmt="%3d";

pos=43,04   val=CHAN_ID         chan=t-0167;
pos=43,12   val=CHAN_TITLE      chan=t-0167  fmt="%-12.12s";
pos=43,26   val=EU              chan=t-0167  fmt="%6.1f";
pos=43,36   val=YELLOW_ALM_TYPE chan=t-0167  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=43,40   val=YELLOW_LO_ALM   chan=t-0167  fmt="%6.1f";
pos=43,47   val=YELLOW_HI_ALM   chan=t-0167  fmt="%6.1f";
pos=43,55   val=RED_ALM_TYPE    chan=t-0167  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=43,59   val=RED_LO_ALM      chan=t-0167  fmt="%6.1f";
pos=43,66   val=RED_HI_ALM      chan=t-0167  fmt="%6.1f";
pos=43,75   val=DN              chan=t-0167  fmt="%3d";

pos=44,04   val=CHAN_ID         chan=t-0168;
pos=44,12   val=CHAN_TITLE      chan=t-0168  fmt="%-12.12s";
pos=44,26   val=EU              chan=t-0168  fmt="%6.1f";
pos=44,36   val=YELLOW_ALM_TYPE chan=t-0168  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=44,40   val=YELLOW_LO_ALM   chan=t-0168  fmt="%6.1f";
pos=44,47   val=YELLOW_HI_ALM   chan=t-0168  fmt="%6.1f";
pos=44,55   val=RED_ALM_TYPE    chan=t-0168  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=44,59   val=RED_LO_ALM      chan=t-0168  fmt="%6.1f";
pos=44,66   val=RED_HI_ALM      chan=t-0168  fmt="%6.1f";
pos=44,75   val=DN              chan=t-0168  fmt="%3d";

pos=45,04   val=CHAN_ID         chan=t-0169;
pos=45,12   val=CHAN_TITLE      chan=t-0169  fmt="%-12.12s";
pos=45,26   val=EU              chan=t-0169  fmt="%6.1f";
pos=45,36   val=YELLOW_ALM_TYPE chan=t-0169  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=45,40   val=YELLOW_LO_ALM   chan=t-0169  fmt="%6.1f";
pos=45,47   val=YELLOW_HI_ALM   chan=t-0169  fmt="%6.1f";
pos=45,55   val=RED_ALM_TYPE    chan=t-0169  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=45,59   val=RED_LO_ALM      chan=t-0169  fmt="%6.1f";
pos=45,66   val=RED_HI_ALM      chan=t-0169  fmt="%6.1f";
pos=45,75   val=DN              chan=t-0169  fmt="%3d";

pos=46,04   val=CHAN_ID         chan=t-0170;
pos=46,12   val=CHAN_TITLE      chan=t-0170  fmt="%-12.12s";
pos=46,26   val=EU              chan=t-0170  fmt="%6.1f";
pos=46,36   val=YELLOW_ALM_TYPE chan=t-0170  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=46,40   val=YELLOW_LO_ALM   chan=t-0170  fmt="%6.1f";
pos=46,47   val=YELLOW_HI_ALM   chan=t-0170  fmt="%6.1f";
pos=46,55   val=RED_ALM_TYPE    chan=t-0170  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=46,59   val=RED_LO_ALM      chan=t-0170  fmt="%6.1f";
pos=46,66   val=RED_HI_ALM      chan=t-0170  fmt="%6.1f";
pos=46,75   val=DN              chan=t-0170  fmt="%3d";

pos=47,04   val=CHAN_ID         chan=t-0171;
pos=47,12   val=CHAN_TITLE      chan=t-0171  fmt="%-12.12s";
pos=47,26   val=EU              chan=t-0171  fmt="%6.1f";
pos=47,36   val=YELLOW_ALM_TYPE chan=t-0171  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=47,40   val=YELLOW_LO_ALM   chan=t-0171  fmt="%6.1f";
pos=47,47   val=YELLOW_HI_ALM   chan=t-0171  fmt="%6.1f";
pos=47,55   val=RED_ALM_TYPE    chan=t-0171  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=47,59   val=RED_LO_ALM      chan=t-0171  fmt="%6.1f";
pos=47,66   val=RED_HI_ALM      chan=t-0171  fmt="%6.1f";
pos=47,75   val=DN              chan=t-0171  fmt="%3d";

pos=48,04   val=CHAN_ID         chan=t-0172;
pos=48,12   val=CHAN_TITLE      chan=t-0172  fmt="%-12.12s";
pos=48,26   val=EU              chan=t-0172  fmt="%6.1f";
pos=48,36   val=YELLOW_ALM_TYPE chan=t-0172  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=48,40   val=YELLOW_LO_ALM   chan=t-0172  fmt="%6.1f";
pos=48,47   val=YELLOW_HI_ALM   chan=t-0172  fmt="%6.1f";
pos=48,55   val=RED_ALM_TYPE    chan=t-0172  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=48,59   val=RED_LO_ALM      chan=t-0172  fmt="%6.1f";
pos=48,66   val=RED_HI_ALM      chan=t-0172  fmt="%6.1f";
pos=48,75   val=DN              chan=t-0172  fmt="%3d";

pos=49,04   val=CHAN_ID         chan=t-0173;
pos=49,12   val=CHAN_TITLE      chan=t-0173  fmt="%-12.12s";
pos=49,26   val=EU              chan=t-0173  fmt="%6.1f";
pos=49,36   val=YELLOW_ALM_TYPE chan=t-0173  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=49,40   val=YELLOW_LO_ALM   chan=t-0173  fmt="%6.1f";
pos=49,47   val=YELLOW_HI_ALM   chan=t-0173  fmt="%6.1f";
pos=49,55   val=RED_ALM_TYPE    chan=t-0173  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=49,59   val=RED_LO_ALM      chan=t-0173  fmt="%6.1f";
pos=49,66   val=RED_HI_ALM      chan=t-0173  fmt="%6.1f";
pos=49,75   val=DN              chan=t-0173  fmt="%3d";

pos=50,04   val=CHAN_ID         chan=t-0174;
pos=50,12   val=CHAN_TITLE      chan=t-0174  fmt="%-12.12s";
pos=50,26   val=EU              chan=t-0174  fmt="%6.1f";
pos=50,36   val=YELLOW_ALM_TYPE chan=t-0174  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=50,40   val=YELLOW_LO_ALM   chan=t-0174  fmt="%6.1f";
pos=50,47   val=YELLOW_HI_ALM   chan=t-0174  fmt="%6.1f";
pos=50,55   val=RED_ALM_TYPE    chan=t-0174  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=50,59   val=RED_LO_ALM      chan=t-0174  fmt="%6.1f";
pos=50,66   val=RED_HI_ALM      chan=t-0174  fmt="%6.1f";
pos=50,75   val=DN              chan=t-0174  fmt="%3d";

pos=51,04   val=CHAN_ID         chan=t-0175;
pos=51,12   val=CHAN_TITLE      chan=t-0175  fmt="%-12.12s";
pos=51,26   val=EU              chan=t-0175  fmt="%6.1f";
pos=51,36   val=YELLOW_ALM_TYPE chan=t-0175  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=51,40   val=YELLOW_LO_ALM   chan=t-0175  fmt="%6.1f";
pos=51,47   val=YELLOW_HI_ALM   chan=t-0175  fmt="%6.1f";
pos=51,55   val=RED_ALM_TYPE    chan=t-0175  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=51,59   val=RED_LO_ALM      chan=t-0175  fmt="%6.1f";
pos=51,66   val=RED_HI_ALM      chan=t-0175  fmt="%6.1f";
pos=51,75   val=DN              chan=t-0175  fmt="%3d";

pos=52,04   val=CHAN_ID         chan=t-0176;
pos=52,12   val=CHAN_TITLE      chan=t-0176  fmt="%-12.12s";
pos=52,26   val=EU              chan=t-0176  fmt="%6.1f";
pos=52,36   val=YELLOW_ALM_TYPE chan=t-0176  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=52,40   val=YELLOW_LO_ALM   chan=t-0176  fmt="%6.1f";
pos=52,47   val=YELLOW_HI_ALM   chan=t-0176  fmt="%6.1f";
pos=52,55   val=RED_ALM_TYPE    chan=t-0176  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=52,59   val=RED_LO_ALM      chan=t-0176  fmt="%6.1f";
pos=52,66   val=RED_HI_ALM      chan=t-0176  fmt="%6.1f";
pos=52,75   val=DN              chan=t-0176  fmt="%3d";

pos=53,04   val=CHAN_ID         chan=t-0177;
pos=53,12   val=CHAN_TITLE      chan=t-0177  fmt="%-12.12s";
pos=53,26   val=EU              chan=t-0177  fmt="%6.1f";
pos=53,36   val=YELLOW_ALM_TYPE chan=t-0177  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=53,40   val=YELLOW_LO_ALM   chan=t-0177  fmt="%6.1f";
pos=53,47   val=YELLOW_HI_ALM   chan=t-0177  fmt="%6.1f";
pos=53,55   val=RED_ALM_TYPE    chan=t-0177  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=53,59   val=RED_LO_ALM      chan=t-0177  fmt="%6.1f";
pos=53,66   val=RED_HI_ALM      chan=t-0177  fmt="%6.1f";
pos=53,75   val=DN              chan=t-0177  fmt="%3d";

pos=54,04   val=CHAN_ID         chan=t-0178;
pos=54,12   val=CHAN_TITLE      chan=t-0178  fmt="%-12.12s";
pos=54,26   val=EU              chan=t-0178  fmt="%6.1f";
pos=54,36   val=YELLOW_ALM_TYPE chan=t-0178  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=54,40   val=YELLOW_LO_ALM   chan=t-0178  fmt="%6.1f";
pos=54,47   val=YELLOW_HI_ALM   chan=t-0178  fmt="%6.1f";
pos=54,55   val=RED_ALM_TYPE    chan=t-0178  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=54,59   val=RED_LO_ALM      chan=t-0178  fmt="%6.1f";
pos=54,66   val=RED_HI_ALM      chan=t-0178  fmt="%6.1f";
pos=54,75   val=DN              chan=t-0178  fmt="%3d";

pos=55,04   val=CHAN_ID         chan=t-0179;
pos=55,12   val=CHAN_TITLE      chan=t-0179  fmt="%-12.12s";
pos=55,26   val=EU              chan=t-0179  fmt="%6.1f";
pos=55,36   val=YELLOW_ALM_TYPE chan=t-0179  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=55,40   val=YELLOW_LO_ALM   chan=t-0179  fmt="%6.1f";
pos=55,47   val=YELLOW_HI_ALM   chan=t-0179  fmt="%6.1f";
pos=55,55   val=RED_ALM_TYPE    chan=t-0179  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=55,59   val=RED_LO_ALM      chan=t-0179  fmt="%6.1f";
pos=55,66   val=RED_HI_ALM      chan=t-0179  fmt="%6.1f";
pos=55,75   val=DN              chan=t-0179  fmt="%3d";

pos=56,04   val=CHAN_ID         chan=t-0180;
pos=56,12   val=CHAN_TITLE      chan=t-0180  fmt="%-12.12s";
pos=56,26   val=EU              chan=t-0180  fmt="%6.1f";
pos=56,36   val=YELLOW_ALM_TYPE chan=t-0180  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=56,40   val=YELLOW_LO_ALM   chan=t-0180  fmt="%6.1f";
pos=56,47   val=YELLOW_HI_ALM   chan=t-0180  fmt="%6.1f";
pos=56,55   val=RED_ALM_TYPE    chan=t-0180  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=56,59   val=RED_LO_ALM      chan=t-0180  fmt="%6.1f";
pos=56,66   val=RED_HI_ALM      chan=t-0180  fmt="%6.1f";
pos=56,75   val=DN              chan=t-0180  fmt="%3d";

pos=57,04   val=CHAN_ID         chan=t-0181;
pos=57,12   val=CHAN_TITLE      chan=t-0181  fmt="%-12.12s";
pos=57,26   val=EU              chan=t-0181  fmt="%6.1f";
pos=57,36   val=YELLOW_ALM_TYPE chan=t-0181  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=57,40   val=YELLOW_LO_ALM   chan=t-0181  fmt="%6.1f";
pos=57,47   val=YELLOW_HI_ALM   chan=t-0181  fmt="%6.1f";
pos=57,55   val=RED_ALM_TYPE    chan=t-0181  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=57,59   val=RED_LO_ALM      chan=t-0181  fmt="%6.1f";
pos=57,66   val=RED_HI_ALM      chan=t-0181  fmt="%6.1f";
pos=57,75   val=DN              chan=t-0181  fmt="%3d";

pos=58,04   val=CHAN_ID         chan=t-0182;
pos=58,12   val=CHAN_TITLE      chan=t-0182  fmt="%-12.12s";
pos=58,26   val=EU              chan=t-0182  fmt="%6.1f";
pos=58,36   val=YELLOW_ALM_TYPE chan=t-0182  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=58,40   val=YELLOW_LO_ALM   chan=t-0182  fmt="%6.1f";
pos=58,47   val=YELLOW_HI_ALM   chan=t-0182  fmt="%6.1f";
pos=58,55   val=RED_ALM_TYPE    chan=t-0182  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=58,59   val=RED_LO_ALM      chan=t-0182  fmt="%6.1f";
pos=58,66   val=RED_HI_ALM      chan=t-0182  fmt="%6.1f";
pos=58,75   val=DN              chan=t-0182  fmt="%3d";

pos=59,04   val=CHAN_ID         chan=t-0183;
pos=59,12   val=CHAN_TITLE      chan=t-0183  fmt="%-12.12s";
pos=59,26   val=EU              chan=t-0183  fmt="%6.1f";
pos=59,36   val=YELLOW_ALM_TYPE chan=t-0183  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=59,40   val=YELLOW_LO_ALM   chan=t-0183  fmt="%6.1f";
pos=59,47   val=YELLOW_HI_ALM   chan=t-0183  fmt="%6.1f";
pos=59,55   val=RED_ALM_TYPE    chan=t-0183  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=59,59   val=RED_LO_ALM      chan=t-0183  fmt="%6.1f";
pos=59,66   val=RED_HI_ALM      chan=t-0183  fmt="%6.1f";
pos=59,75   val=DN              chan=t-0183  fmt="%3d";

pos=60,04   val=CHAN_ID         chan=t-0184;
pos=60,12   val=CHAN_TITLE      chan=t-0184  fmt="%-12.12s";
pos=60,26   val=EU              chan=t-0184  fmt="%6.1f";
pos=60,36   val=YELLOW_ALM_TYPE chan=t-0184  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=60,40   val=YELLOW_LO_ALM   chan=t-0184  fmt="%6.1f";
pos=60,47   val=YELLOW_HI_ALM   chan=t-0184  fmt="%6.1f";
pos=60,55   val=RED_ALM_TYPE    chan=t-0184  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=60,59   val=RED_LO_ALM      chan=t-0184  fmt="%6.1f";
pos=60,66   val=RED_HI_ALM      chan=t-0184  fmt="%6.1f";
pos=60,75   val=DN              chan=t-0184  fmt="%3d";

pos=61,04   val=CHAN_ID         chan=t-0185;
pos=61,12   val=CHAN_TITLE      chan=t-0185  fmt="%-12.12s";
pos=61,26   val=EU              chan=t-0185  fmt="%6.1f";
pos=61,36   val=YELLOW_ALM_TYPE chan=t-0185  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=61,40   val=YELLOW_LO_ALM   chan=t-0185  fmt="%6.1f";
pos=61,47   val=YELLOW_HI_ALM   chan=t-0185  fmt="%6.1f";
pos=61,55   val=RED_ALM_TYPE    chan=t-0185  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=61,59   val=RED_LO_ALM      chan=t-0185  fmt="%6.1f";
pos=61,66   val=RED_HI_ALM      chan=t-0185  fmt="%6.1f";
pos=61,75   val=DN              chan=t-0185  fmt="%3d";

pos=62,04   val=CHAN_ID         chan=t-0186;
pos=62,12   val=CHAN_TITLE      chan=t-0186  fmt="%-12.12s";
pos=62,26   val=EU              chan=t-0186  fmt="%6.1f";
pos=62,36   val=YELLOW_ALM_TYPE chan=t-0186  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=62,40   val=YELLOW_LO_ALM   chan=t-0186  fmt="%6.1f";
pos=62,47   val=YELLOW_HI_ALM   chan=t-0186  fmt="%6.1f";
pos=62,55   val=RED_ALM_TYPE    chan=t-0186  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=62,59   val=RED_LO_ALM      chan=t-0186  fmt="%6.1f";
pos=62,66   val=RED_HI_ALM      chan=t-0186  fmt="%6.1f";
pos=62,75   val=DN              chan=t-0186  fmt="%3d";

pos=63,04   val=CHAN_ID         chan=t-0187;
pos=63,12   val=CHAN_TITLE      chan=t-0187  fmt="%-12.12s";
pos=63,26   val=EU              chan=t-0187  fmt="%6.1f";
pos=63,36   val=YELLOW_ALM_TYPE chan=t-0187  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=63,40   val=YELLOW_LO_ALM   chan=t-0187  fmt="%6.1f";
pos=63,47   val=YELLOW_HI_ALM   chan=t-0187  fmt="%6.1f";
pos=63,55   val=RED_ALM_TYPE    chan=t-0187  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=63,59   val=RED_LO_ALM      chan=t-0187  fmt="%6.1f";
pos=63,66   val=RED_HI_ALM      chan=t-0187  fmt="%6.1f";
pos=63,75   val=DN              chan=t-0187  fmt="%3d";

pos=64,04   val=CHAN_ID         chan=t-0188;
pos=64,12   val=CHAN_TITLE      chan=t-0188  fmt="%-12.12s";
pos=64,26   val=EU              chan=t-0188  fmt="%6.1f";
pos=64,36   val=YELLOW_ALM_TYPE chan=t-0188  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=64,40   val=YELLOW_LO_ALM   chan=t-0188  fmt="%6.1f";
pos=64,47   val=YELLOW_HI_ALM   chan=t-0188  fmt="%6.1f";
pos=64,55   val=RED_ALM_TYPE    chan=t-0188  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=64,59   val=RED_LO_ALM      chan=t-0188  fmt="%6.1f";
pos=64,66   val=RED_HI_ALM      chan=t-0188  fmt="%6.1f";
pos=64,75   val=DN              chan=t-0188  fmt="%3d";

pos=65,04   val=CHAN_ID         chan=t-0189;
pos=65,12   val=CHAN_TITLE      chan=t-0189  fmt="%-12.12s";
pos=65,26   val=EU              chan=t-0189  fmt="%6.1f";
pos=65,36   val=YELLOW_ALM_TYPE chan=t-0189  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=65,40   val=YELLOW_LO_ALM   chan=t-0189  fmt="%6.1f";
pos=65,47   val=YELLOW_HI_ALM   chan=t-0189  fmt="%6.1f";
pos=65,55   val=RED_ALM_TYPE    chan=t-0189  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=65,59   val=RED_LO_ALM      chan=t-0189  fmt="%6.1f";
pos=65,66   val=RED_HI_ALM      chan=t-0189  fmt="%6.1f";
pos=65,75   val=DN              chan=t-0189  fmt="%3d";

pos=66,04   val=CHAN_ID         chan=t-0190;
pos=66,12   val=CHAN_TITLE      chan=t-0190  fmt="%-12.12s";
pos=66,26   val=EU              chan=t-0190  fmt="%6.1f";
pos=66,36   val=YELLOW_ALM_TYPE chan=t-0190  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=66,40   val=YELLOW_LO_ALM   chan=t-0190  fmt="%6.1f";
pos=66,47   val=YELLOW_HI_ALM   chan=t-0190  fmt="%6.1f";
pos=66,55   val=RED_ALM_TYPE    chan=t-0190  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=66,59   val=RED_LO_ALM      chan=t-0190  fmt="%6.1f";
pos=66,66   val=RED_HI_ALM      chan=t-0190  fmt="%6.1f";
pos=66,75   val=DN              chan=t-0190  fmt="%3d";

pos=67,04   val=CHAN_ID         chan=t-0191;
pos=67,12   val=CHAN_TITLE      chan=t-0191  fmt="%-12.12s";
pos=67,26   val=EU              chan=t-0191  fmt="%6.1f";
pos=67,36   val=YELLOW_ALM_TYPE chan=t-0191  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=67,40   val=YELLOW_LO_ALM   chan=t-0191  fmt="%6.1f";
pos=67,47   val=YELLOW_HI_ALM   chan=t-0191  fmt="%6.1f";
pos=67,55   val=RED_ALM_TYPE    chan=t-0191  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=67,59   val=RED_LO_ALM      chan=t-0191  fmt="%6.1f";
pos=67,66   val=RED_HI_ALM      chan=t-0191  fmt="%6.1f";
pos=67,75   val=DN              chan=t-0191  fmt="%3d";

pos=68,04   val=CHAN_ID         chan=t-0192;
pos=68,12   val=CHAN_TITLE      chan=t-0192  fmt="%-12.12s";
pos=68,26   val=EU              chan=t-0192  fmt="%6.1f";
pos=68,36   val=YELLOW_ALM_TYPE chan=t-0192  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=68,40   val=YELLOW_LO_ALM   chan=t-0192  fmt="%6.1f";
pos=68,47   val=YELLOW_HI_ALM   chan=t-0192  fmt="%6.1f";
pos=68,55   val=RED_ALM_TYPE    chan=t-0192  0='OFF' 1='LOW' 2='HI ' 3='INC' 4='EXC' 5='CHG';
pos=68,59   val=RED_LO_ALM      chan=t-0192  fmt="%6.1f";
pos=68,66   val=RED_HI_ALM      chan=t-0192  fmt="%6.1f";
pos=68,75   val=DN              chan=t-0192  fmt="%3d";


ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_therm_fix5.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Thermal Subsystem Fixed Page #5 (EDF Heater Status Telemetry)     #
# BASELINED: OGS 7-12-95                                                      #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=70,80 pos=4,1  # mgs_therm_fix5.tdl
TEXTREGION
#               12345678901234567890123456789012345678901234567890123456789012345678901234567890
rule=static
pos=2,1    val='   MARS GLOBAL SURVEYOR HEATER ENABLE STATUS EDF TLM (THERMAL FIXED PAGE #5)  ';
pos=3,1    val=' |                                             YEL_ALARM        RED_ALARM    |';
pos=4,1    val=' | CHAN    MNEMONIC      STATUS     DN        TYPE   MASK      TYPE   MASK   |';
pos=5,1    val='                                                                              ';
pos=6,1    val='  --- AACS HEATERS ---------------------------------------------------------- ';
pos=7,1    val=' |                                                                           |';
pos=8,1    val=' |                                                                           |';
pos=09,1   val=' |                                                                           |';
pos=10,1   val=' |                                                                           |';
pos=11,1   val='  --------------------------------------------------------------------------- ';

rule=dynamic

pos=07,04  val=CHAN_ID          chan=t-0001;
pos=07,12  val=CHAN_TITLE       chan=t-0001 fmt="%-12.12s";
pos=07,26  val=STATE_NAME       chan=t-0001 fmt="%-10.10s";
pos=07,38  val=DN               chan=t-0001 fmt="%1d";
pos=07,47  val=YELLOW_ALM_TYPE  chan=t-0001 0='OFF ' 1='MASK' 5='CHNG';
pos=07,54  val=YELLOW_ALM_MASK  chan=t-0001 fmt="%#1x";
pos=07,64  val=RED_ALM_TYPE     chan=t-0001 0='OFF ' 1='MASK' 5='CHNG';
pos=07,71  val=RED_ALM_MASK     chan=t-0001 fmt="%#1x";

pos=08,04  val=CHAN_ID          chan=t-0002;
pos=08,12  val=CHAN_TITLE       chan=t-0002 fmt="%-12.12s";
pos=08,26  val=STATE_NAME       chan=t-0002 fmt="%-10.10s";
pos=08,38  val=DN               chan=t-0002 fmt="%1d";
pos=08,47  val=YELLOW_ALM_TYPE  chan=t-0002 0='OFF ' 1='MASK' 5='CHNG';
pos=08,54  val=YELLOW_ALM_MASK  chan=t-0002 fmt="%#1x";
pos=08,64  val=RED_ALM_TYPE     chan=t-0002 0='OFF ' 1='MASK' 5='CHNG';
pos=08,71  val=RED_ALM_MASK     chan=t-0002 fmt="%#1x";

pos=09,04  val=CHAN_ID          chan=t-0003;
pos=09,12  val=CHAN_TITLE       chan=t-0003 fmt="%-12.12s";
pos=09,26  val=STATE_NAME       chan=t-0003 fmt="%-10.10s";
pos=09,38  val=DN               chan=t-0003 fmt="%1d";
pos=09,47  val=YELLOW_ALM_TYPE  chan=t-0003 0='OFF ' 1='MASK' 5='CHNG';
pos=09,54  val=YELLOW_ALM_MASK  chan=t-0003 fmt="%#1x";
pos=09,64  val=RED_ALM_TYPE     chan=t-0003 0='OFF ' 1='MASK' 5='CHNG';
pos=09,71  val=RED_ALM_MASK     chan=t-0003 fmt="%#1x";

pos=10,04  val=CHAN_ID          chan=t-0004;
pos=10,12  val=CHAN_TITLE       chan=t-0004 fmt="%-12.12s";
pos=10,26  val=STATE_NAME       chan=t-0004 fmt="%-10.10s";
pos=10,38  val=DN               chan=t-0004 fmt="%1d";
pos=10,47  val=YELLOW_ALM_TYPE  chan=t-0004 0='OFF ' 1='MASK' 5='CHNG';
pos=10,54  val=YELLOW_ALM_MASK  chan=t-0004 fmt="%#1x";
pos=10,64  val=RED_ALM_TYPE     chan=t-0004 0='OFF ' 1='MASK' 5='CHNG';
pos=10,71  val=RED_ALM_MASK     chan=t-0004 fmt="%#1x";


rule=static
pos=12,1   val='  --- PROPULSION HEATERS ---------------------------------------------------- ';
pos=13,1   val=' |                                                                           |';
pos=14,1   val=' |                                                                           |';
pos=15,1   val=' |                                                                           |';
pos=16,1   val=' |                                                                           |';
pos=17,1   val=' |                                                                           |';
pos=18,1   val=' |                                                                           |';
pos=19,1   val=' |                                                                           |';
pos=20,1   val=' |                                                                           |';
pos=21,1   val=' |                                                                           |';
pos=22,1   val=' |                                                                           |';
pos=23,1   val=' |                                                                           |';
pos=24,1   val=' |                                                                           |';
pos=25,1   val=' |                                                                           |';
pos=26,1   val=' |                                                                           |';
pos=27,1   val=' |                                                                           |';
pos=28,1   val=' |                                                                           |';
pos=29,1   val=' |                                                                           |';
pos=30,1   val=' |                                                                           |';
pos=31,1   val=' |                                                                           |';
pos=32,1   val=' |                                                                           |';
pos=33,1   val=' |                                                                           |';
pos=34,1   val=' |                                                                           |';
pos=35,1   val='  --------------------------------------------------------------------------- ';

rule=dynamic

pos=13,04  val=CHAN_ID          chan=t-0008;
pos=13,12  val=CHAN_TITLE       chan=t-0008 fmt="%-12.12s";
pos=13,26  val=STATE_NAME       chan=t-0008 fmt="%-10.10s";
pos=13,38  val=DN               chan=t-0008 fmt="%1d";
pos=13,47  val=YELLOW_ALM_TYPE  chan=t-0008 0='OFF ' 1='MASK' 5='CHNG';
pos=13,54  val=YELLOW_ALM_MASK  chan=t-0008 fmt="%#1x";
pos=13,64  val=RED_ALM_TYPE     chan=t-0008 0='OFF ' 1='MASK' 5='CHNG';
pos=13,71  val=RED_ALM_MASK     chan=t-0008 fmt="%#1x";

pos=14,04  val=CHAN_ID          chan=t-0009;
pos=14,12  val=CHAN_TITLE       chan=t-0009 fmt="%-12.12s";
pos=14,26  val=STATE_NAME       chan=t-0009 fmt="%-10.10s";
pos=14,38  val=DN               chan=t-0009 fmt="%1d";
pos=14,47  val=YELLOW_ALM_TYPE  chan=t-0009 0='OFF ' 1='MASK' 5='CHNG';
pos=14,54  val=YELLOW_ALM_MASK  chan=t-0009 fmt="%#1x";
pos=14,64  val=RED_ALM_TYPE     chan=t-0009 0='OFF ' 1='MASK' 5='CHNG';
pos=14,71  val=RED_ALM_MASK     chan=t-0009 fmt="%#1x";

pos=15,04  val=CHAN_ID          chan=t-0010;
pos=15,12  val=CHAN_TITLE       chan=t-0010 fmt="%-12.12s";
pos=15,26  val=STATE_NAME       chan=t-0010 fmt="%-10.10s";
pos=15,38  val=DN               chan=t-0010 fmt="%1d";
pos=15,47  val=YELLOW_ALM_TYPE  chan=t-0010 0='OFF ' 1='MASK' 5='CHNG';
pos=15,54  val=YELLOW_ALM_MASK  chan=t-0010 fmt="%#1x";
pos=15,64  val=RED_ALM_TYPE     chan=t-0010 0='OFF ' 1='MASK' 5='CHNG';
pos=15,71  val=RED_ALM_MASK     chan=t-0010 fmt="%#1x";

pos=16,04  val=CHAN_ID          chan=t-0011;
pos=16,12  val=CHAN_TITLE       chan=t-0011 fmt="%-12.12s";
pos=16,26  val=STATE_NAME       chan=t-0011 fmt="%-10.10s";
pos=16,38  val=DN               chan=t-0011 fmt="%1d";
pos=16,47  val=YELLOW_ALM_TYPE  chan=t-0011 0='OFF ' 1='MASK' 5='CHNG';
pos=16,54  val=YELLOW_ALM_MASK  chan=t-0011 fmt="%#1x";
pos=16,64  val=RED_ALM_TYPE     chan=t-0011 0='OFF ' 1='MASK' 5='CHNG';
pos=16,71  val=RED_ALM_MASK     chan=t-0011 fmt="%#1x";

pos=17,04  val=CHAN_ID          chan=t-0012;
pos=17,12  val=CHAN_TITLE       chan=t-0012 fmt="%-12.12s";
pos=17,26  val=STATE_NAME       chan=t-0012 fmt="%-10.10s";
pos=17,38  val=DN               chan=t-0012 fmt="%1d";
pos=17,47  val=YELLOW_ALM_TYPE  chan=t-0012 0='OFF ' 1='MASK' 5='CHNG';
pos=17,54  val=YELLOW_ALM_MASK  chan=t-0012 fmt="%#1x";
pos=17,64  val=RED_ALM_TYPE     chan=t-0012 0='OFF ' 1='MASK' 5='CHNG';
pos=17,71  val=RED_ALM_MASK     chan=t-0012 fmt="%#1x";

pos=18,04  val=CHAN_ID          chan=t-0013;
pos=18,12  val=CHAN_TITLE       chan=t-0013 fmt="%-12.12s";
pos=18,26  val=STATE_NAME       chan=t-0013 fmt="%-10.10s";
pos=18,38  val=DN               chan=t-0013 fmt="%1d";
pos=18,47  val=YELLOW_ALM_TYPE  chan=t-0013 0='OFF ' 1='MASK' 5='CHNG';
pos=18,54  val=YELLOW_ALM_MASK  chan=t-0013 fmt="%#1x";
pos=18,64  val=RED_ALM_TYPE     chan=t-0013 0='OFF ' 1='MASK' 5='CHNG';
pos=18,71  val=RED_ALM_MASK     chan=t-0013 fmt="%#1x";

pos=19,04  val=CHAN_ID          chan=t-0014;
pos=19,12  val=CHAN_TITLE       chan=t-0014 fmt="%-12.12s";
pos=19,26  val=STATE_NAME       chan=t-0014 fmt="%-10.10s";
pos=19,38  val=DN               chan=t-0014 fmt="%1d";
pos=19,47  val=YELLOW_ALM_TYPE  chan=t-0014 0='OFF ' 1='MASK' 5='CHNG';
pos=19,54  val=YELLOW_ALM_MASK  chan=t-0014 fmt="%#1x";
pos=19,64  val=RED_ALM_TYPE     chan=t-0014 0='OFF ' 1='MASK' 5='CHNG';
pos=19,71  val=RED_ALM_MASK     chan=t-0014 fmt="%#1x";

pos=20,04  val=CHAN_ID          chan=t-0015;
pos=20,12  val=CHAN_TITLE       chan=t-0015 fmt="%-12.12s";
pos=20,26  val=STATE_NAME       chan=t-0015 fmt="%-10.10s";
pos=20,38  val=DN               chan=t-0015 fmt="%1d";
pos=20,47  val=YELLOW_ALM_TYPE  chan=t-0015 0='OFF ' 1='MASK' 5='CHNG';
pos=20,54  val=YELLOW_ALM_MASK  chan=t-0015 fmt="%#1x";
pos=20,64  val=RED_ALM_TYPE     chan=t-0015 0='OFF ' 1='MASK' 5='CHNG';
pos=20,71  val=RED_ALM_MASK     chan=t-0015 fmt="%#1x";

pos=21,04  val=CHAN_ID          chan=t-0016;
pos=21,12  val=CHAN_TITLE       chan=t-0016 fmt="%-12.12s";
pos=21,26  val=STATE_NAME       chan=t-0016 fmt="%-10.10s";
pos=21,38  val=DN               chan=t-0016 fmt="%1d";
pos=21,47  val=YELLOW_ALM_TYPE  chan=t-0016 0='OFF ' 1='MASK' 5='CHNG';
pos=21,54  val=YELLOW_ALM_MASK  chan=t-0016 fmt="%#1x";
pos=21,64  val=RED_ALM_TYPE     chan=t-0016 0='OFF ' 1='MASK' 5='CHNG';
pos=21,71  val=RED_ALM_MASK     chan=t-0016 fmt="%#1x";

pos=22,04  val=CHAN_ID          chan=t-0017;
pos=22,12  val=CHAN_TITLE       chan=t-0017 fmt="%-12.12s";
pos=22,26  val=STATE_NAME       chan=t-0017 fmt="%-10.10s";
pos=22,38  val=DN               chan=t-0017 fmt="%1d";
pos=22,47  val=YELLOW_ALM_TYPE  chan=t-0017 0='OFF ' 1='MASK' 5='CHNG';
pos=22,54  val=YELLOW_ALM_MASK  chan=t-0017 fmt="%#1x";
pos=22,64  val=RED_ALM_TYPE     chan=t-0017 0='OFF ' 1='MASK' 5='CHNG';
pos=22,71  val=RED_ALM_MASK     chan=t-0017 fmt="%#1x";

pos=23,04  val=CHAN_ID          chan=t-0018;
pos=23,12  val=CHAN_TITLE       chan=t-0018 fmt="%-12.12s";
pos=23,26  val=STATE_NAME       chan=t-0018 fmt="%-10.10s";
pos=23,38  val=DN               chan=t-0018 fmt="%1d";
pos=23,47  val=YELLOW_ALM_TYPE  chan=t-0018 0='OFF ' 1='MASK' 5='CHNG';
pos=23,54  val=YELLOW_ALM_MASK  chan=t-0018 fmt="%#1x";
pos=23,64  val=RED_ALM_TYPE     chan=t-0018 0='OFF ' 1='MASK' 5='CHNG';
pos=23,71  val=RED_ALM_MASK     chan=t-0018 fmt="%#1x";

pos=24,04  val=CHAN_ID          chan=t-0019;
pos=24,12  val=CHAN_TITLE       chan=t-0019 fmt="%-12.12s";
pos=24,26  val=STATE_NAME       chan=t-0019 fmt="%-10.10s";
pos=24,38  val=DN               chan=t-0019 fmt="%1d";
pos=24,47  val=YELLOW_ALM_TYPE  chan=t-0019 0='OFF ' 1='MASK' 5='CHNG';
pos=24,54  val=YELLOW_ALM_MASK  chan=t-0019 fmt="%#1x";
pos=24,64  val=RED_ALM_TYPE     chan=t-0019 0='OFF ' 1='MASK' 5='CHNG';
pos=24,71  val=RED_ALM_MASK     chan=t-0019 fmt="%#1x";

pos=25,04  val=CHAN_ID          chan=t-0020;
pos=25,12  val=CHAN_TITLE       chan=t-0020 fmt="%-12.12s";
pos=25,26  val=STATE_NAME       chan=t-0020 fmt="%-10.10s";
pos=25,38  val=DN               chan=t-0020 fmt="%1d";
pos=25,47  val=YELLOW_ALM_TYPE  chan=t-0020 0='OFF ' 1='MASK' 5='CHNG';
pos=25,54  val=YELLOW_ALM_MASK  chan=t-0020 fmt="%#1x";
pos=25,64  val=RED_ALM_TYPE     chan=t-0020 0='OFF ' 1='MASK' 5='CHNG';
pos=25,71  val=RED_ALM_MASK     chan=t-0020 fmt="%#1x";

pos=26,04  val=CHAN_ID          chan=t-0021;
pos=26,12  val=CHAN_TITLE       chan=t-0021 fmt="%-12.12s";
pos=26,26  val=STATE_NAME       chan=t-0021 fmt="%-10.10s";
pos=26,38  val=DN               chan=t-0021 fmt="%1d";
pos=26,47  val=YELLOW_ALM_TYPE  chan=t-0021 0='OFF ' 1='MASK' 5='CHNG';
pos=26,54  val=YELLOW_ALM_MASK  chan=t-0021 fmt="%#1x";
pos=26,64  val=RED_ALM_TYPE     chan=t-0021 0='OFF ' 1='MASK' 5='CHNG';
pos=26,71  val=RED_ALM_MASK     chan=t-0021 fmt="%#1x";

pos=27,04  val=CHAN_ID          chan=t-0022;
pos=27,12  val=CHAN_TITLE       chan=t-0022 fmt="%-12.12s";
pos=27,26  val=STATE_NAME       chan=t-0022 fmt="%-10.10s";
pos=27,38  val=DN               chan=t-0022 fmt="%1d";
pos=27,47  val=YELLOW_ALM_TYPE  chan=t-0022 0='OFF ' 1='MASK' 5='CHNG';
pos=27,54  val=YELLOW_ALM_MASK  chan=t-0022 fmt="%#1x";
pos=27,64  val=RED_ALM_TYPE     chan=t-0022 0='OFF ' 1='MASK' 5='CHNG';
pos=27,71  val=RED_ALM_MASK     chan=t-0022 fmt="%#1x";

pos=28,04  val=CHAN_ID          chan=t-0023;
pos=28,12  val=CHAN_TITLE       chan=t-0023 fmt="%-12.12s";
pos=28,26  val=STATE_NAME       chan=t-0023 fmt="%-10.10s";
pos=28,38  val=DN               chan=t-0023 fmt="%1d";
pos=28,47  val=YELLOW_ALM_TYPE  chan=t-0023 0='OFF ' 1='MASK' 5='CHNG';
pos=28,54  val=YELLOW_ALM_MASK  chan=t-0023 fmt="%#1x";
pos=28,64  val=RED_ALM_TYPE     chan=t-0023 0='OFF ' 1='MASK' 5='CHNG';
pos=28,71  val=RED_ALM_MASK     chan=t-0023 fmt="%#1x";

pos=29,04  val=CHAN_ID          chan=t-0030;
pos=29,12  val=CHAN_TITLE       chan=t-0030 fmt="%-12.12s";
pos=29,26  val=STATE_NAME       chan=t-0030 fmt="%-10.10s";
pos=29,38  val=DN               chan=t-0030 fmt="%1d";
pos=29,47  val=YELLOW_ALM_TYPE  chan=t-0030 0='OFF ' 1='MASK' 5='CHNG';
pos=29,54  val=YELLOW_ALM_MASK  chan=t-0030 fmt="%#1x";
pos=29,64  val=RED_ALM_TYPE     chan=t-0030 0='OFF ' 1='MASK' 5='CHNG';
pos=29,71  val=RED_ALM_MASK     chan=t-0030 fmt="%#1x";

pos=30,04  val=CHAN_ID          chan=t-0031;
pos=30,12  val=CHAN_TITLE       chan=t-0031 fmt="%-12.12s";
pos=30,26  val=STATE_NAME       chan=t-0031 fmt="%-10.10s";
pos=30,38  val=DN               chan=t-0031 fmt="%1d";
pos=30,47  val=YELLOW_ALM_TYPE  chan=t-0031 0='OFF ' 1='MASK' 5='CHNG';
pos=30,54  val=YELLOW_ALM_MASK  chan=t-0031 fmt="%#1x";
pos=30,64  val=RED_ALM_TYPE     chan=t-0031 0='OFF ' 1='MASK' 5='CHNG';
pos=30,71  val=RED_ALM_MASK     chan=t-0031 fmt="%#1x";

pos=31,04  val=CHAN_ID          chan=t-0032;
pos=31,12  val=CHAN_TITLE       chan=t-0032 fmt="%-12.12s";
pos=31,26  val=STATE_NAME       chan=t-0032 fmt="%-10.10s";
pos=31,38  val=DN               chan=t-0032 fmt="%1d";
pos=31,47  val=YELLOW_ALM_TYPE  chan=t-0032 0='OFF ' 1='MASK' 5='CHNG';
pos=31,54  val=YELLOW_ALM_MASK  chan=t-0032 fmt="%#1x";
pos=31,64  val=RED_ALM_TYPE     chan=t-0032 0='OFF ' 1='MASK' 5='CHNG';
pos=31,71  val=RED_ALM_MASK     chan=t-0032 fmt="%#1x";

pos=32,04  val=CHAN_ID          chan=t-0033;
pos=32,12  val=CHAN_TITLE       chan=t-0033 fmt="%-12.12s";
pos=32,26  val=STATE_NAME       chan=t-0033 fmt="%-10.10s";
pos=32,38  val=DN               chan=t-0033 fmt="%1d";
pos=32,47  val=YELLOW_ALM_TYPE  chan=t-0033 0='OFF ' 1='MASK' 5='CHNG';
pos=32,54  val=YELLOW_ALM_MASK  chan=t-0033 fmt="%#1x";
pos=32,64  val=RED_ALM_TYPE     chan=t-0033 0='OFF ' 1='MASK' 5='CHNG';
pos=32,71  val=RED_ALM_MASK     chan=t-0033 fmt="%#1x";

#pos=31,04  val=CHAN_ID          chan=t-0034;
#pos=31,12  val=CHAN_TITLE       chan=t-0034 fmt="%-12.12s";
#pos=31,26  val=STATE_NAME       chan=t-0034 fmt="%-10.10s";
#pos=31,38  val=DN               chan=t-0034 fmt="%1d";
#pos=31,47  val=YELLOW_ALM_TYPE  chan=t-0034 0='OFF ' 1='MASK' 5='CHNG';
#pos=31,54  val=YELLOW_ALM_MASK  chan=t-0034 fmt="%#1x";
#pos=31,64  val=RED_ALM_TYPE     chan=t-0034 0='OFF ' 1='MASK' 5='CHNG';
#pos=31,71  val=RED_ALM_MASK     chan=t-0034 fmt="%#1x";

#pos=32,04  val=CHAN_ID          chan=t-0035;
#pos=32,12  val=CHAN_TITLE       chan=t-0035 fmt="%-12.12s";
#pos=32,26  val=STATE_NAME       chan=t-0035 fmt="%-10.10s";
#pos=32,38  val=DN               chan=t-0035 fmt="%1d";
#pos=32,47  val=YELLOW_ALM_TYPE  chan=t-0035 0='OFF ' 1='MASK' 5='CHNG';
#pos=32,54  val=YELLOW_ALM_MASK  chan=t-0035 fmt="%#1x";
#pos=32,64  val=RED_ALM_TYPE     chan=t-0035 0='OFF ' 1='MASK' 5='CHNG';
#pos=32,71  val=RED_ALM_MASK     chan=t-0035 fmt="%#1x";

pos=33,04  val=CHAN_ID          chan=t-0036;
pos=33,12  val=CHAN_TITLE       chan=t-0036 fmt="%-12.12s";
pos=33,26  val=STATE_NAME       chan=t-0036 fmt="%-10.10s";
pos=33,38  val=DN               chan=t-0036 fmt="%1d";
pos=33,47  val=YELLOW_ALM_TYPE  chan=t-0036 0='OFF ' 1='MASK' 5='CHNG';
pos=33,54  val=YELLOW_ALM_MASK  chan=t-0036 fmt="%#1x";
pos=33,64  val=RED_ALM_TYPE     chan=t-0036 0='OFF ' 1='MASK' 5='CHNG';
pos=33,71  val=RED_ALM_MASK     chan=t-0036 fmt="%#1x";

pos=34,04  val=CHAN_ID          chan=t-0037;
pos=34,12  val=CHAN_TITLE       chan=t-0037 fmt="%-12.12s";
pos=34,26  val=STATE_NAME       chan=t-0037 fmt="%-10.10s";
pos=34,38  val=DN               chan=t-0037 fmt="%1d";
pos=34,47  val=YELLOW_ALM_TYPE  chan=t-0037 0='OFF ' 1='MASK' 5='CHNG';
pos=34,54  val=YELLOW_ALM_MASK  chan=t-0037 fmt="%#1x";
pos=34,64  val=RED_ALM_TYPE     chan=t-0037 0='OFF ' 1='MASK' 5='CHNG';
pos=34,71  val=RED_ALM_MASK     chan=t-0037 fmt="%#1x";


rule=static
pos=36,1   val='  --- POWER HEATERS --------------------------------------------------------- ';
pos=37,1   val=' |                                                                           |';
pos=38,1   val=' |                                                                           |';
pos=39,1   val='  --------------------------------------------------------------------------- ';

rule=dynamic

pos=37,04  val=CHAN_ID          chan=t-0040;
pos=37,12  val=CHAN_TITLE       chan=t-0040 fmt="%-12.12s";
pos=37,26  val=STATE_NAME       chan=t-0040 fmt="%-10.10s";
pos=37,38  val=DN               chan=t-0040 fmt="%1d";
pos=37,47  val=YELLOW_ALM_TYPE  chan=t-0040 0='OFF ' 1='MASK' 5='CHNG';
pos=37,54  val=YELLOW_ALM_MASK  chan=t-0040 fmt="%#1x";
pos=37,64  val=RED_ALM_TYPE     chan=t-0040 0='OFF ' 1='MASK' 5='CHNG';
pos=37,71  val=RED_ALM_MASK     chan=t-0040 fmt="%#1x";

pos=38,04  val=CHAN_ID          chan=t-0041;
pos=38,12  val=CHAN_TITLE       chan=t-0041 fmt="%-12.12s";
pos=38,26  val=STATE_NAME       chan=t-0041 fmt="%-10.10s";
pos=38,38  val=DN               chan=t-0041 fmt="%1d";
pos=38,47  val=YELLOW_ALM_TYPE  chan=t-0041 0='OFF ' 1='MASK' 5='CHNG';
pos=38,54  val=YELLOW_ALM_MASK  chan=t-0041 fmt="%#1x";
pos=38,64  val=RED_ALM_TYPE     chan=t-0041 0='OFF ' 1='MASK' 5='CHNG';
pos=38,71  val=RED_ALM_MASK     chan=t-0041 fmt="%#1x";



rule=static
pos=40,1   val='  --- PAYLOAD HEATERS ------------------------------------------------------- ';
pos=41,1   val=' |                                                                           |';
pos=42,1   val=' |                                                                           |';
pos=43,1   val=' |                                                                           |';
pos=44,1   val=' |                                                                           |';
pos=45,1   val=' |                                                                           |';
pos=46,1   val=' |                                                                           |';
pos=47,1   val=' |                                                                           |';
pos=48,1   val=' |                                                                           |';
pos=49,1   val='  --------------------------------------------------------------------------- ';

rule=dynamic

pos=41,04  val=CHAN_ID          chan=t-0050;
pos=41,12  val=CHAN_TITLE       chan=t-0050 fmt="%-12.12s";
pos=41,26  val=STATE_NAME       chan=t-0050 fmt="%-10.10s";
pos=41,38  val=DN               chan=t-0050 fmt="%1d";
pos=41,47  val=YELLOW_ALM_TYPE  chan=t-0050 0='OFF ' 1='MASK' 5='CHNG';
pos=41,54  val=YELLOW_ALM_MASK  chan=t-0050 fmt="%#1x";
pos=41,64  val=RED_ALM_TYPE     chan=t-0050 0='OFF ' 1='MASK' 5='CHNG';
pos=41,71  val=RED_ALM_MASK     chan=t-0050 fmt="%#1x";

pos=42,04  val=CHAN_ID          chan=t-0051;
pos=42,12  val=CHAN_TITLE       chan=t-0051 fmt="%-12.12s";
pos=42,26  val=STATE_NAME       chan=t-0051 fmt="%-10.10s";
pos=42,38  val=DN               chan=t-0051 fmt="%1d";
pos=42,47  val=YELLOW_ALM_TYPE  chan=t-0051 0='OFF ' 1='MASK' 5='CHNG';
pos=42,54  val=YELLOW_ALM_MASK  chan=t-0051 fmt="%#1x";
pos=42,64  val=RED_ALM_TYPE     chan=t-0051 0='OFF ' 1='MASK' 5='CHNG';
pos=42,71  val=RED_ALM_MASK     chan=t-0051 fmt="%#1x";

pos=43,04  val=CHAN_ID          chan=t-0052;
pos=43,12  val=CHAN_TITLE       chan=t-0052 fmt="%-12.12s";
pos=43,26  val=STATE_NAME       chan=t-0052 fmt="%-10.10s";
pos=43,38  val=DN               chan=t-0052 fmt="%1d";
pos=43,47  val=YELLOW_ALM_TYPE  chan=t-0052 0='OFF ' 1='MASK' 5='CHNG';
pos=43,54  val=YELLOW_ALM_MASK  chan=t-0052 fmt="%#1x";
pos=43,64  val=RED_ALM_TYPE     chan=t-0052 0='OFF ' 1='MASK' 5='CHNG';
pos=43,71  val=RED_ALM_MASK     chan=t-0052 fmt="%#1x";

pos=44,04  val=CHAN_ID          chan=t-0053;
pos=44,12  val=CHAN_TITLE       chan=t-0053 fmt="%-12.12s";
pos=44,26  val=STATE_NAME       chan=t-0053 fmt="%-10.10s";
pos=44,38  val=DN               chan=t-0053 fmt="%1d";
pos=44,47  val=YELLOW_ALM_TYPE  chan=t-0053 0='OFF ' 1='MASK' 5='CHNG';
pos=44,54  val=YELLOW_ALM_MASK  chan=t-0053 fmt="%#1x";
pos=44,64  val=RED_ALM_TYPE     chan=t-0053 0='OFF ' 1='MASK' 5='CHNG';
pos=44,71  val=RED_ALM_MASK     chan=t-0053 fmt="%#1x";

pos=45,04  val=CHAN_ID          chan=t-0054;
pos=45,12  val=CHAN_TITLE       chan=t-0054 fmt="%-12.12s";
pos=45,26  val=STATE_NAME       chan=t-0054 fmt="%-10.10s";
pos=45,38  val=DN               chan=t-0054 fmt="%1d";
pos=45,47  val=YELLOW_ALM_TYPE  chan=t-0054 0='OFF ' 1='MASK' 5='CHNG';
pos=45,54  val=YELLOW_ALM_MASK  chan=t-0054 fmt="%#1x";
pos=45,64  val=RED_ALM_TYPE     chan=t-0054 0='OFF ' 1='MASK' 5='CHNG';
pos=45,71  val=RED_ALM_MASK     chan=t-0054 fmt="%#1x";

pos=46,04  val=CHAN_ID          chan=t-0055;
pos=46,12  val=CHAN_TITLE       chan=t-0055 fmt="%-12.12s";
pos=46,26  val=STATE_NAME       chan=t-0055 fmt="%-10.10s";
pos=46,38  val=DN               chan=t-0055 fmt="%1d";
pos=46,47  val=YELLOW_ALM_TYPE  chan=t-0055 0='OFF ' 1='MASK' 5='CHNG';
pos=46,54  val=YELLOW_ALM_MASK  chan=t-0055 fmt="%#1x";
pos=46,64  val=RED_ALM_TYPE     chan=t-0055 0='OFF ' 1='MASK' 5='CHNG';
pos=46,71  val=RED_ALM_MASK     chan=t-0055 fmt="%#1x";

pos=47,04  val=CHAN_ID          chan=t-0056;
pos=47,12  val=CHAN_TITLE       chan=t-0056 fmt="%-12.12s";
pos=47,26  val=STATE_NAME       chan=t-0056 fmt="%-10.10s";
pos=47,38  val=DN               chan=t-0056 fmt="%1d";
pos=47,47  val=YELLOW_ALM_TYPE  chan=t-0056 0='OFF ' 1='MASK' 5='CHNG';
pos=47,54  val=YELLOW_ALM_MASK  chan=t-0056 fmt="%#1x";
pos=47,64  val=RED_ALM_TYPE     chan=t-0056 0='OFF ' 1='MASK' 5='CHNG';
pos=47,71  val=RED_ALM_MASK     chan=t-0056 fmt="%#1x";

pos=48,04  val=CHAN_ID          chan=t-0057;
pos=48,12  val=CHAN_TITLE       chan=t-0057 fmt="%-12.12s";
pos=48,26  val=STATE_NAME       chan=t-0057 fmt="%-10.10s";
pos=48,38  val=DN               chan=t-0057 fmt="%1d";
pos=48,47  val=YELLOW_ALM_TYPE  chan=t-0057 0='OFF ' 1='MASK' 5='CHNG';
pos=48,54  val=YELLOW_ALM_MASK  chan=t-0057 fmt="%#1x";
pos=48,64  val=RED_ALM_TYPE     chan=t-0057 0='OFF ' 1='MASK' 5='CHNG';
pos=48,71  val=RED_ALM_MASK     chan=t-0057 fmt="%#1x";


rule=static
pos=50,1   val='  --- STRUCTURE HEATERS ----------------------------------------------------- ';
pos=51,1   val=' |                                                                           |';
pos=52,1   val=' |                                                                           |';
pos=53,1   val=' |                                                                           |';
pos=54,1   val=' |                                                                           |';
pos=55,1   val=' |                                                                           |';
pos=56,1   val=' |                                                                           |';
pos=57,1   val=' |                                                                           |';
pos=58,1   val=' |                                                                           |';
pos=59,1   val='  --------------------------------------------------------------------------- ';

rule=dynamic

pos=51,04  val=CHAN_ID          chan=t-0062;
pos=51,12  val=CHAN_TITLE       chan=t-0062 fmt="%-12.12s";
pos=51,26  val=STATE_NAME       chan=t-0062 fmt="%-10.10s";
pos=51,38  val=DN               chan=t-0062 fmt="%1d";
pos=51,47  val=YELLOW_ALM_TYPE  chan=t-0062 0='OFF ' 1='MASK' 5='CHNG';
pos=51,54  val=YELLOW_ALM_MASK  chan=t-0062 fmt="%#1x";
pos=51,64  val=RED_ALM_TYPE     chan=t-0062 0='OFF ' 1='MASK' 5='CHNG';
pos=51,71  val=RED_ALM_MASK     chan=t-0062 fmt="%#1x";

pos=52,04  val=CHAN_ID          chan=t-0063;
pos=52,12  val=CHAN_TITLE       chan=t-0063 fmt="%-12.12s";
pos=52,26  val=STATE_NAME       chan=t-0063 fmt="%-10.10s";
pos=52,38  val=DN               chan=t-0063 fmt="%1d";
pos=52,47  val=YELLOW_ALM_TYPE  chan=t-0063 0='OFF ' 1='MASK' 5='CHNG';
pos=52,54  val=YELLOW_ALM_MASK  chan=t-0063 fmt="%#1x";
pos=52,64  val=RED_ALM_TYPE     chan=t-0063 0='OFF ' 1='MASK' 5='CHNG';
pos=52,71  val=RED_ALM_MASK     chan=t-0063 fmt="%#1x";

pos=53,04  val=CHAN_ID          chan=t-0064;
pos=53,12  val=CHAN_TITLE       chan=t-0064 fmt="%-12.12s";
pos=53,26  val=STATE_NAME       chan=t-0064 fmt="%-10.10s";
pos=53,38  val=DN               chan=t-0064 fmt="%1d";
pos=53,47  val=YELLOW_ALM_TYPE  chan=t-0064 0='OFF ' 1='MASK' 5='CHNG';
pos=53,54  val=YELLOW_ALM_MASK  chan=t-0064 fmt="%#1x";
pos=53,64  val=RED_ALM_TYPE     chan=t-0064 0='OFF ' 1='MASK' 5='CHNG';
pos=53,71  val=RED_ALM_MASK     chan=t-0064 fmt="%#1x";

pos=54,04  val=CHAN_ID          chan=t-0065;
pos=54,12  val=CHAN_TITLE       chan=t-0065 fmt="%-12.12s";
pos=54,26  val=STATE_NAME       chan=t-0065 fmt="%-10.10s";
pos=54,38  val=DN               chan=t-0065 fmt="%1d";
pos=54,47  val=YELLOW_ALM_TYPE  chan=t-0065 0='OFF ' 1='MASK' 5='CHNG';
pos=54,54  val=YELLOW_ALM_MASK  chan=t-0065 fmt="%#1x";
pos=54,64  val=RED_ALM_TYPE     chan=t-0065 0='OFF ' 1='MASK' 5='CHNG';
pos=54,71  val=RED_ALM_MASK     chan=t-0065 fmt="%#1x";

pos=55,04  val=CHAN_ID          chan=t-0070;
pos=55,12  val=CHAN_TITLE       chan=t-0070 fmt="%-12.12s";
pos=55,26  val=STATE_NAME       chan=t-0070 fmt="%-10.10s";
pos=55,38  val=DN               chan=t-0070 fmt="%1d";
pos=55,47  val=YELLOW_ALM_TYPE  chan=t-0070 0='OFF ' 1='MASK' 5='CHNG';
pos=55,54  val=YELLOW_ALM_MASK  chan=t-0070 fmt="%#1x";
pos=55,64  val=RED_ALM_TYPE     chan=t-0070 0='OFF ' 1='MASK' 5='CHNG';
pos=55,71  val=RED_ALM_MASK     chan=t-0070 fmt="%#1x";

pos=56,04  val=CHAN_ID          chan=t-0071;
pos=56,12  val=CHAN_TITLE       chan=t-0071 fmt="%-12.12s";
pos=56,26  val=STATE_NAME       chan=t-0071 fmt="%-10.10s";
pos=56,38  val=DN               chan=t-0071 fmt="%1d";
pos=56,47  val=YELLOW_ALM_TYPE  chan=t-0071 0='OFF ' 1='MASK' 5='CHNG';
pos=56,54  val=YELLOW_ALM_MASK  chan=t-0071 fmt="%#1x";
pos=56,64  val=RED_ALM_TYPE     chan=t-0071 0='OFF ' 1='MASK' 5='CHNG';
pos=56,71  val=RED_ALM_MASK     chan=t-0071 fmt="%#1x";

pos=57,04  val=CHAN_ID          chan=t-0072;
pos=57,12  val=CHAN_TITLE       chan=t-0072 fmt="%-12.12s";
pos=57,26  val=STATE_NAME       chan=t-0072 fmt="%-10.10s";
pos=57,38  val=DN               chan=t-0072 fmt="%1d";
pos=57,47  val=YELLOW_ALM_TYPE  chan=t-0072 0='OFF ' 1='MASK' 5='CHNG';
pos=57,54  val=YELLOW_ALM_MASK  chan=t-0072 fmt="%#1x";
pos=57,64  val=RED_ALM_TYPE     chan=t-0072 0='OFF ' 1='MASK' 5='CHNG';
pos=57,71  val=RED_ALM_MASK     chan=t-0072 fmt="%#1x";

pos=58,04  val=CHAN_ID          chan=t-0073;
pos=58,12  val=CHAN_TITLE       chan=t-0073 fmt="%-12.12s";
pos=58,26  val=STATE_NAME       chan=t-0073 fmt="%-10.10s";
pos=58,38  val=DN               chan=t-0073 fmt="%1d";
pos=58,47  val=YELLOW_ALM_TYPE  chan=t-0073 0='OFF ' 1='MASK' 5='CHNG';
pos=58,54  val=YELLOW_ALM_MASK  chan=t-0073 fmt="%#1x";
pos=58,64  val=RED_ALM_TYPE     chan=t-0073 0='OFF ' 1='MASK' 5='CHNG';
pos=58,71  val=RED_ALM_MASK     chan=t-0073 fmt="%#1x";

rule=static
pos=60,1   val='  --- THERMAL HEATERS ------------------------------------------------------- ';
pos=61,1   val=' |                                                                           |';
pos=62,1   val=' |                                                                           |';
pos=63,1   val=' |                                                                           |';
pos=64,1   val=' |                                                                           |';
pos=65,1   val=' |                                                                           |';
pos=66,1   val=' |                                                                           |';
pos=67,1   val=' |                                                                           |';
pos=68,1   val=' |                                                                           |';
pos=69,1   val='  --------------------------------------------------------------------------- ';

rule=dynamic

pos=61,04  val=CHAN_ID          chan=t-0080;
pos=61,12  val=CHAN_TITLE       chan=t-0080 fmt="%-12.12s";
pos=61,26  val=STATE_NAME       chan=t-0080 fmt="%-10.10s";
pos=61,38  val=DN               chan=t-0080 fmt="%1d";
pos=61,47  val=YELLOW_ALM_TYPE  chan=t-0080 0='OFF ' 1='MASK' 5='CHNG';
pos=61,54  val=YELLOW_ALM_MASK  chan=t-0080 fmt="%#1x";
pos=61,64  val=RED_ALM_TYPE     chan=t-0080 0='OFF ' 1='MASK' 5='CHNG';
pos=61,71  val=RED_ALM_MASK     chan=t-0080 fmt="%#1x";

pos=62,04  val=CHAN_ID          chan=t-0081;
pos=62,12  val=CHAN_TITLE       chan=t-0081 fmt="%-12.12s";
pos=62,26  val=STATE_NAME       chan=t-0081 fmt="%-10.10s";
pos=62,38  val=DN               chan=t-0081 fmt="%1d";
pos=62,47  val=YELLOW_ALM_TYPE  chan=t-0081 0='OFF ' 1='MASK' 5='CHNG';
pos=62,54  val=YELLOW_ALM_MASK  chan=t-0081 fmt="%#1x";
pos=62,64  val=RED_ALM_TYPE     chan=t-0081 0='OFF ' 1='MASK' 5='CHNG';
pos=62,71  val=RED_ALM_MASK     chan=t-0081 fmt="%#1x";

pos=63,04  val=CHAN_ID          chan=t-0082;
pos=63,12  val=CHAN_TITLE       chan=t-0082 fmt="%-12.12s";
pos=63,26  val=STATE_NAME       chan=t-0082 fmt="%-10.10s";
pos=63,38  val=DN               chan=t-0082 fmt="%1d";
pos=63,47  val=YELLOW_ALM_TYPE  chan=t-0082 0='OFF ' 1='MASK' 5='CHNG';
pos=63,54  val=YELLOW_ALM_MASK  chan=t-0082 fmt="%#1x";
pos=63,64  val=RED_ALM_TYPE     chan=t-0082 0='OFF ' 1='MASK' 5='CHNG';
pos=63,71  val=RED_ALM_MASK     chan=t-0082 fmt="%#1x";

pos=64,04  val=CHAN_ID          chan=t-0083;
pos=64,12  val=CHAN_TITLE       chan=t-0083 fmt="%-12.12s";
pos=64,26  val=STATE_NAME       chan=t-0083 fmt="%-10.10s";
pos=64,38  val=DN               chan=t-0083 fmt="%1d";
pos=64,47  val=YELLOW_ALM_TYPE  chan=t-0083 0='OFF ' 1='MASK' 5='CHNG';
pos=64,54  val=YELLOW_ALM_MASK  chan=t-0083 fmt="%#1x";
pos=64,64  val=RED_ALM_TYPE     chan=t-0083 0='OFF ' 1='MASK' 5='CHNG';
pos=64,71  val=RED_ALM_MASK     chan=t-0083 fmt="%#1x";

pos=65,04  val=CHAN_ID          chan=t-0084;
pos=65,12  val=CHAN_TITLE       chan=t-0084 fmt="%-12.12s";
pos=65,26  val=STATE_NAME       chan=t-0084 fmt="%-10.10s";
pos=65,38  val=DN               chan=t-0084 fmt="%1d";
pos=65,47  val=YELLOW_ALM_TYPE  chan=t-0084 0='OFF ' 1='MASK' 5='CHNG';
pos=65,54  val=YELLOW_ALM_MASK  chan=t-0084 fmt="%#1x";
pos=65,64  val=RED_ALM_TYPE     chan=t-0084 0='OFF ' 1='MASK' 5='CHNG';
pos=65,71  val=RED_ALM_MASK     chan=t-0084 fmt="%#1x";

pos=66,04  val=CHAN_ID          chan=t-0085;
pos=66,12  val=CHAN_TITLE       chan=t-0085 fmt="%-12.12s";
pos=66,26  val=STATE_NAME       chan=t-0085 fmt="%-10.10s";
pos=66,38  val=DN               chan=t-0085 fmt="%1d";
pos=66,47  val=YELLOW_ALM_TYPE  chan=t-0085 0='OFF ' 1='MASK' 5='CHNG';
pos=66,54  val=YELLOW_ALM_MASK  chan=t-0085 fmt="%#1x";
pos=66,64  val=RED_ALM_TYPE     chan=t-0085 0='OFF ' 1='MASK' 5='CHNG';
pos=66,71  val=RED_ALM_MASK     chan=t-0085 fmt="%#1x";

pos=67,04  val=CHAN_ID          chan=t-0088;
pos=67,12  val=CHAN_TITLE       chan=t-0088 fmt="%-12.12s";
pos=67,26  val=STATE_NAME       chan=t-0088 fmt="%-10.10s";
pos=67,38  val=DN               chan=t-0088 fmt="%1d";
pos=67,47  val=YELLOW_ALM_TYPE  chan=t-0088 0='OFF ' 1='MASK' 5='CHNG';
pos=67,54  val=YELLOW_ALM_MASK  chan=t-0088 fmt="%#1x";
pos=67,64  val=RED_ALM_TYPE     chan=t-0088 0='OFF ' 1='MASK' 5='CHNG';
pos=67,71  val=RED_ALM_MASK     chan=t-0088 fmt="%#1x";

pos=68,04  val=CHAN_ID          chan=t-0089;
pos=68,12  val=CHAN_TITLE       chan=t-0089 fmt="%-12.12s";
pos=68,26  val=STATE_NAME       chan=t-0089 fmt="%-10.10s";
pos=68,38  val=DN               chan=t-0089 fmt="%1d";
pos=68,47  val=YELLOW_ALM_TYPE  chan=t-0089 0='OFF ' 1='MASK' 5='CHNG';
pos=68,54  val=YELLOW_ALM_MASK  chan=t-0089 fmt="%#1x";
pos=68,64  val=RED_ALM_TYPE     chan=t-0089 0='OFF ' 1='MASK' 5='CHNG';
pos=68,71  val=RED_ALM_MASK     chan=t-0089 fmt="%#1x";

ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_scp_safe_mode.tdl                                            #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: SCP Safe Mode Telemetry Frame Data                                #
# BASELINED: OGS 07-19-95                                                     #
#                                                                             #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=70,174  pos=4,1 # mgs_scp_safe_mode.tdl
TEXTREGION

rule=static
pos=02,1   val='MARS GLOBAL SURVEYOR SCP SAFE MODE TELEMETRY      ';
pos=03,1   val='                                                  ';
pos=04,1   val='| CHAN   MNEMONIC         DN    EU/STATUS UNITS  |';
pos=05,1   val='                                                  ';
pos=06,1   val=' -- AACS CHANNELS ------------------------------- ';
pos=07,1   val='|                                                |';
pos=08,1   val='|                                                |';
pos=09,1   val='|                                                |';
pos=10,1   val='|                                                |';
pos=11,1   val='|                                                |';
pos=12,1   val='|                                                |';
pos=13,1   val='|                                                |';
pos=14,1   val='|                                                |';
pos=15,1   val='|                                                |';
pos=16,1   val='|                                                |';
pos=17,1   val='|                                                |';
pos=18,1   val='|                                                |';
pos=19,1   val='|                                                |';
pos=20,1   val='|                                                |';
pos=21,1   val='|                                                |';
pos=22,1   val='|                                                |';
pos=23,1   val='|                                                |';
pos=24,1   val='|                                                |';
pos=25,1   val='|                                                |';
pos=26,1   val='|                                                |';
pos=27,1   val='|                                                |';
pos=28,1   val='|                                                |';
pos=29,1   val='|                                                |';
pos=30,1   val='|                                                |';
pos=31,1   val='|                                                |';
pos=32,1   val='|                                                |';
pos=33,1   val='|                                                |';
pos=34,1   val='|                                                |';
pos=35,1   val='|                                                |';
pos=36,1   val='|                                                |';
pos=37,1   val='|                                                |';
pos=38,1   val='|                                                |';
pos=39,1   val=' ------------------------------------------------ ';
pos=40,1   val='                                                  ';
pos=41,1   val=' -- C&DH CHANNELS ------------------------------- ';
pos=42,1   val='|                                                |';
pos=43,1   val='|                                                |';
pos=44,1   val='|                                                |';
pos=45,1   val='|                                                |';
pos=46,1   val='|                                                |';
pos=47,1   val='|                                                |';
pos=48,1   val='|                                                |';
pos=49,1   val='|                                                |';
pos=50,1   val=' ------------------------------------------------ ';
pos=51,1   val='                                                  ';
pos=52,1   val=' -- POWER CHANNELS ------------------------------ ';
pos=53,1   val='|                                                |';
pos=54,1   val='|                                                |';
pos=55,1   val='|                                                |';
pos=56,1   val='|                                                |';
pos=57,1   val='|                                                |';
pos=58,1   val=' ------------------------------------------------ ';
pos=59,1   val='                                                  ';
pos=60,1   val=' -- THERMAL CHANNELS ---------------------------- ';
pos=61,1   val='|                                                |';
pos=62,1   val='|                                                |';
pos=63,1   val=' ------------------------------------------------ ';
pos=64,1   val='                                                  ';
pos=65,1   val=' -- TELECOM CHANNELS ---------------------------- ';
pos=66,1   val='|                                                |';
pos=67,1   val='|                                                |';
pos=68,1   val='|                                                |';
pos=69,1   val=' ------------------------------------------------ ';



rule=dynamic

pos=08,03 val=CHAN_ID     chan=f-0210;
pos=08,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=08,23 val=DN          fmt="%#4.4x";

pos=10,03 val=CHAN_ID     chan=f-0290;
pos=10,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=10,23 val=DN          fmt="%6d";
pos=10,30 val=EU          fmt="%12.5f";
pos=10,43 val=EU_UNITS    fmt="%-6.6s";

pos=11,03 val=CHAN_ID     chan=f-0291;
pos=11,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=11,23 val=DN          fmt="%6d";
pos=11,30 val=EU          fmt="%12.5f";
pos=11,43 val=EU_UNITS    fmt="%-6.6s";

pos=12,03 val=CHAN_ID     chan=f-0292;
pos=12,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=12,23 val=DN          fmt="%6d";
pos=12,30 val=EU          fmt="%12.5f";
pos=12,43 val=EU_UNITS    fmt="%-6.6s";

pos=14,03 val=CHAN_ID     chan=f-0297;
pos=14,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=14,23 val=DN          fmt="%6d";
pos=14,30 val=EU          fmt="%12.5f";
pos=14,43 val=EU_UNITS    fmt="%-6.6s";

pos=15,03 val=CHAN_ID     chan=f-0298;
pos=15,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=15,23 val=DN          fmt="%6d";
pos=15,30 val=EU          fmt="%12.5f";
pos=15,43 val=EU_UNITS    fmt="%-6.6s";

pos=16,03 val=CHAN_ID     chan=f-0299;
pos=16,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=16,23 val=DN          fmt="%6d";
pos=16,30 val=EU          fmt="%12.5f";
pos=16,43 val=EU_UNITS    fmt="%-6.6s";

pos=18,03 val=CHAN_ID     chan=f-0327;
pos=18,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=18,23 val=DN          fmt="%6d";
pos=18,30 val=EU          fmt="%12.5f";
pos=18,43 val=EU_UNITS    fmt="%-6.6s";

pos=19,03 val=CHAN_ID     chan=f-0328;
pos=19,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=19,23 val=DN          fmt="%6d";
pos=19,30 val=EU          fmt="%12.5f";
pos=19,43 val=EU_UNITS    fmt="%-6.6s";

pos=20,03 val=CHAN_ID     chan=f-0329;
pos=20,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=20,23 val=DN          fmt="%6d";
pos=20,30 val=EU          fmt="%12.5f";
pos=20,43 val=EU_UNITS    fmt="%-6.6s";

pos=22,03 val=CHAN_ID     chan=f-0362;
pos=22,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=22,23 val=DN          fmt="%6d";
pos=22,30 val=EU          fmt="%12.5f";
pos=22,43 val=EU_UNITS    fmt="%-6.6s";

pos=23,03 val=CHAN_ID     chan=f-0379;
pos=23,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=23,23 val=DN          fmt="%6d";
pos=23,30 val=EU          fmt="%12.5f";
pos=23,43 val=EU_UNITS    fmt="%-6.6s";

pos=24,03 val=CHAN_ID     chan=f-0392;
pos=24,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=24,23 val=DN          fmt="%6d";
pos=24,30 val=EU          fmt="%12.5f";
pos=24,43 val=EU_UNITS    fmt="%-6.6s";

pos=25,03 val=CHAN_ID     chan=f-0409;
pos=25,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=25,23 val=DN          fmt="%6d";
pos=25,30 val=EU          fmt="%12.5f";
pos=25,43 val=EU_UNITS    fmt="%-6.6s";

pos=27,03 val=CHAN_ID     chan=f-0440;
pos=27,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=27,23 val=DN          fmt="%#4.4x";

pos=28,03 val=CHAN_ID     chan=f-0442;
pos=28,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=28,23 val=DN          fmt="%#4.4x";

pos=30,03 val=CHAN_ID     chan=f-0444;
pos=30,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=30,23 val=DN          fmt="%6d";
pos=30,30 val=STATE_NAME  fmt="%12.12s";

pos=31,03 val=CHAN_ID     chan=f-0477;
pos=31,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=31,23 val=DN          fmt="%6d";
pos=31,30 val=STATE_NAME  fmt="%12.12s";

pos=33,03 val=CHAN_ID     chan=f-0514;
pos=33,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=33,23 val=DN          fmt="%6d";
pos=33,30 val=EU          fmt="%12.2f";
pos=33,43 val=EU_UNITS    fmt="%-6.6s";

pos=34,03 val=CHAN_ID     chan=f-0515;
pos=34,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=34,23 val=DN          fmt="%6d";
pos=34,30 val=EU          fmt="%12.2f";
pos=34,43 val=EU_UNITS    fmt="%-6.6s";

pos=35,03 val=CHAN_ID     chan=f-0516;
pos=35,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=35,23 val=DN          fmt="%6d";
pos=35,30 val=EU          fmt="%12.2f";
pos=35,43 val=EU_UNITS    fmt="%-6.6s";

pos=36,03 val=CHAN_ID     chan=f-0517;
pos=36,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=36,23 val=DN          fmt="%6d";
pos=36,30 val=EU          fmt="%12.2f";
pos=36,43 val=EU_UNITS    fmt="%-6.6s";

pos=37,03 val=CHAN_ID     chan=f-0518;
pos=37,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=37,23 val=DN          fmt="%6d";
pos=37,30 val=EU          fmt="%12.2f";
pos=37,43 val=EU_UNITS    fmt="%-6.6s";

pos=38,03 val=CHAN_ID     chan=f-0519;
pos=38,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=38,23 val=DN          fmt="%6d";
pos=38,30 val=EU          fmt="%12.2f";
pos=38,43 val=EU_UNITS    fmt="%-6.6s";

pos=43,03 val=CHAN_ID     chan=f-1024;
pos=43,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=43,23 val=DN          fmt="%#4.4x";

pos=44,03 val=CHAN_ID     chan=f-1030;
pos=44,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=44,23 val=DN          fmt="%#4.4x";

pos=45,03 val=CHAN_ID     chan=f-1034;
pos=45,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=45,23 val=DN          fmt="%#4.4x";

pos=46,03 val=CHAN_ID     chan=f-1092;
pos=46,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=46,23 val=DN          fmt="%#4.4x";

pos=47,03 val=CHAN_ID     chan=f-1094;
pos=47,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=47,23 val=DN          fmt="%#4.4x";

pos=48,03 val=CHAN_ID     chan=f-1110;
pos=48,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=48,23 val=DN          fmt="%#4.4x";

pos=49,03 val=CHAN_ID     chan=f-1348;
pos=49,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=49,23 val=DN          fmt="%#4.4x";

pos=54,03 val=CHAN_ID     chan=f-2002;
pos=54,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=54,23 val=DN          fmt="%6d";
pos=54,30 val=EU          fmt="%12.2f";
pos=54,43 val=EU_UNITS    fmt="%-6.6s";

pos=55,03 val=CHAN_ID     chan=f-2052;
pos=55,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=55,23 val=DN          fmt="%6d";
pos=55,30 val=EU          fmt="%12.2f";
pos=55,43 val=EU_UNITS    fmt="%-6.6s";

pos=57,03 val=CHAN_ID     chan=f-2150;
pos=57,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=57,23 val=DN          fmt="%#4.4x";

pos=62,03 val=CHAN_ID     chan=f-2565;
pos=62,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=62,23 val=DN          fmt="%#4.4x";

pos=67,03 val=CHAN_ID     chan=f-3021;
pos=67,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=67,23 val=DN          fmt="%6d";
pos=67,30 val=EU          fmt="%12.0f";
pos=67,43 val=EU_UNITS    fmt="%-6.6s";

pos=68,03 val=CHAN_ID     chan=f-3040;
pos=68,10 val=CHAN_TITLE  fmt="%-12.12s";
pos=68,23 val=DN          fmt="%#4.4x";


rule=static

pos=04,52  val='| CHAN   MNEMONIC      DN    EU/STATUS |';
pos=05,52  val='                                        ';
pos=06,52  val=' - F-0440 SSA_RAW_RET CHILD CHANNELS -- ';
pos=07,52  val='|                                      |';
pos=08,52  val='|                                      |';
pos=09,52  val='|                                      |';
pos=10,52  val=' -------------------------------------- ';

rule=dynamic

pos=08,54 val=CHAN_ID     chan=f-0840;
pos=08,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=08,74 val=DN          fmt="%3d";
pos=08,78 val=EU          fmt="%12.2f";

pos=09,54 val=CHAN_ID     chan=f-0848;
pos=09,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=09,74 val=DN          fmt="%3d";
pos=09,78 val=EU          fmt="%12.2f";


rule=static

pos=12,52  val=' - F-0442 SSA_RAW_DET CHILD CHANNELS -- ';
pos=13,52  val='|                                      |';
pos=14,52  val='|                                      |';
pos=15,52  val='|                                      |';
pos=16,52  val='|                                      |';
pos=17,52  val='|                                      |';
pos=18,52  val='|                                      |';
pos=19,52  val='|                                      |';
pos=20,52  val='|                                      |';
pos=21,52  val='|                                      |';
pos=22,52  val='|                                      |';
pos=23,52  val='|                                      |';
pos=24,52  val=' -------------------------------------- ';

rule=dynamic

pos=14,54 val=CHAN_ID     chan=f-0860;
pos=14,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=14,74 val=DN          fmt="%3d";
pos=14,78 val=EU          fmt="%12.4f";

pos=16,54 val=CHAN_ID     chan=f-0868;
pos=16,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=16,74 val=DN          fmt="%3d";
pos=16,78 val=STATE_NAME  fmt="%12.12s";

pos=17,54 val=CHAN_ID     chan=f-0869;
pos=17,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=17,74 val=DN          fmt="%3d";
pos=17,78 val=STATE_NAME  fmt="%12.12s";

pos=18,54 val=CHAN_ID     chan=f-0870;
pos=18,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=18,74 val=DN          fmt="%3d";
pos=18,78 val=STATE_NAME  fmt="%12.12s";

pos=21,54 val=CHAN_ID     chan=f-0873;
pos=21,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=21,74 val=DN          fmt="%3d";
pos=21,78 val=STATE_NAME  fmt="%12.12s";


rule=static

pos=29,52  val=' - F-1024 CIU_FLAGS CHILD CHANNELS ---- ';
pos=30,52  val='|                                      |';
pos=31,52  val='|                                      |';
pos=32,52  val='|                                      |';
pos=33,52  val='|                                      |';
pos=34,52  val='|                                      |';
pos=35,52  val='|                                      |';
pos=36,52  val='|                                      |';
pos=37,52  val='|                                      |';
pos=38,52  val='|                                      |';
pos=39,52  val='|                                      |';
pos=40,52  val='|                                      |';
pos=41,52  val='|                                      |';
pos=42,52  val='|                                      |';
pos=43,52  val='|                                      |';
pos=44,52  val='|                                      |';
pos=45,52  val='|                                      |';
pos=46,52  val='|                                      |';
pos=47,52  val=' -------------------------------------- ';

rule=dynamic

pos=31,54 val=CHAN_ID     chan=f-1520;
pos=31,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=31,74 val=DN          fmt="%3d";
pos=31,78 val=STATE_NAME  fmt="%12.12s";

pos=32,54 val=CHAN_ID     chan=f-1521;
pos=32,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=32,74 val=DN          fmt="%3d";
pos=32,78 val=STATE_NAME  fmt="%12.12s";

pos=33,54 val=CHAN_ID     chan=f-1522;
pos=33,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=33,74 val=DN          fmt="%3d";
pos=33,78 val=STATE_NAME  fmt="%12.12s";

pos=34,54 val=CHAN_ID     chan=f-1523;
pos=34,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=34,74 val=DN          fmt="%3d";
pos=34,78 val=STATE_NAME  fmt="%12.12s";

pos=35,54 val=CHAN_ID     chan=f-1524;
pos=35,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=35,74 val=DN          fmt="%3d";
pos=35,78 val=STATE_NAME  fmt="%12.12s";

pos=36,54 val=CHAN_ID     chan=f-1525;
pos=36,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=36,74 val=DN          fmt="%3d";
pos=36,78 val=STATE_NAME  fmt="%12.12s";

pos=37,54 val=CHAN_ID     chan=f-1526;
pos=37,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=37,74 val=DN          fmt="%3d";
pos=37,78 val=STATE_NAME  fmt="%12.12s";

pos=38,54 val=CHAN_ID     chan=f-1527;
pos=38,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=38,74 val=DN          fmt="%3d";
pos=38,78 val=STATE_NAME  fmt="%12.12s";

pos=39,54 val=CHAN_ID     chan=f-1528;
pos=39,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=39,74 val=DN          fmt="%3d";
pos=39,78 val=STATE_NAME  fmt="%12.12s";

pos=40,54 val=CHAN_ID     chan=f-1529;
pos=40,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=40,74 val=DN          fmt="%3d";
pos=40,78 val=STATE_NAME  fmt="%12.12s";

pos=41,54 val=CHAN_ID     chan=f-1530;
pos=41,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=41,74 val=DN          fmt="%3d";
pos=41,78 val=STATE_NAME  fmt="%12.12s";

pos=42,54 val=CHAN_ID     chan=f-1531;
pos=42,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=42,74 val=DN          fmt="%3d";
pos=42,78 val=STATE_NAME  fmt="%12.12s";

pos=43,54 val=CHAN_ID     chan=f-1532;
pos=43,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=43,74 val=DN          fmt="%3d";
pos=43,78 val=STATE_NAME  fmt="%12.12s";

pos=44,54 val=CHAN_ID     chan=f-1533;
pos=44,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=44,74 val=DN          fmt="%3d";
pos=44,78 val=STATE_NAME  fmt="%12.12s";

pos=45,54 val=CHAN_ID     chan=f-1534;
pos=45,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=45,74 val=DN          fmt="%3d";
pos=45,78 val=STATE_NAME  fmt="%12.12s";

pos=46,54 val=CHAN_ID     chan=f-1535;
pos=46,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=46,74 val=DN          fmt="%3d";
pos=46,78 val=STATE_NAME  fmt="%12.12s";


rule=static

pos=51,52  val=' - F-1034 DEVDEAD CHILD CHANNELS ------ ';
pos=52,52  val='|                                      |';
pos=53,52  val='|                                      |';
pos=54,52  val='|                                      |';
pos=55,52  val='|                                      |';
pos=56,52  val='|                                      |';
pos=57,52  val='|                                      |';
pos=58,52  val='|                                      |';
pos=59,52  val='|                                      |';
pos=60,52  val='|                                      |';
pos=61,52  val='|                                      |';
pos=62,52  val='|                                      |';
pos=63,52  val='|                                      |';
pos=64,52  val='|                                      |';
pos=65,52  val='|                                      |';
pos=66,52  val='|                                      |';
pos=67,52  val='|                                      |';
pos=68,52  val='|                                      |';
pos=69,52  val=' -------------------------------------- ';

rule=dynamic

pos=53,54 val=CHAN_ID     chan=f-1560;
pos=53,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=53,74 val=DN          fmt="%3d";
pos=53,78 val=STATE_NAME  fmt="%12.12s";

pos=54,54 val=CHAN_ID     chan=f-1561;
pos=54,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=54,74 val=DN          fmt="%3d";
pos=54,78 val=STATE_NAME  fmt="%12.12s";

pos=55,54 val=CHAN_ID     chan=f-1562;
pos=55,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=55,74 val=DN          fmt="%3d";
pos=55,78 val=STATE_NAME  fmt="%12.12s";

pos=56,54 val=CHAN_ID     chan=f-1563;
pos=56,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=56,74 val=DN          fmt="%3d";
pos=56,78 val=STATE_NAME  fmt="%12.12s";

pos=57,54 val=CHAN_ID     chan=f-1564;
pos=57,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=57,74 val=DN          fmt="%3d";
pos=57,78 val=STATE_NAME  fmt="%12.12s";

pos=58,54 val=CHAN_ID     chan=f-1565;
pos=58,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=58,74 val=DN          fmt="%3d";
pos=58,78 val=STATE_NAME  fmt="%12.12s";

pos=59,54 val=CHAN_ID     chan=f-1566;
pos=59,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=59,74 val=DN          fmt="%3d";
pos=59,78 val=STATE_NAME  fmt="%12.12s";

pos=60,54 val=CHAN_ID     chan=f-1567;
pos=60,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=60,74 val=DN          fmt="%3d";
pos=60,78 val=STATE_NAME  fmt="%12.12s";

pos=61,54 val=CHAN_ID     chan=f-1568;
pos=61,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=61,74 val=DN          fmt="%3d";
pos=61,78 val=STATE_NAME  fmt="%12.12s";

pos=62,54 val=CHAN_ID     chan=f-1569;
pos=62,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=62,74 val=DN          fmt="%3d";
pos=62,78 val=STATE_NAME  fmt="%12.12s";

pos=63,54 val=CHAN_ID     chan=f-1570;
pos=63,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=63,74 val=DN          fmt="%3d";
pos=63,78 val=STATE_NAME  fmt="%12.12s";

pos=64,54 val=CHAN_ID     chan=f-1571;
pos=64,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=64,74 val=DN          fmt="%3d";
pos=64,78 val=STATE_NAME  fmt="%12.12s";

pos=65,54 val=CHAN_ID     chan=f-1572;
pos=65,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=65,74 val=DN          fmt="%3d";
pos=65,78 val=STATE_NAME  fmt="%12.12s";

pos=66,54 val=CHAN_ID     chan=f-1573;
pos=66,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=66,74 val=DN          fmt="%3d";
pos=66,78 val=STATE_NAME  fmt="%12.12s";

pos=67,54 val=CHAN_ID     chan=f-1574;
pos=67,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=67,74 val=DN          fmt="%3d";
pos=67,78 val=STATE_NAME  fmt="%12.12s";

pos=68,54 val=CHAN_ID     chan=f-1575;
pos=68,61 val=CHAN_TITLE  fmt="%-12.12s";
pos=68,74 val=DN          fmt="%3d";
pos=68,78 val=STATE_NAME  fmt="%12.12s";


rule=static

pos=04,93  val='| CHAN   MNEMONIC      DN    EU/STATUS |';
pos=05,93  val='                                        ';
pos=06,93  val=' - F-1092 MEOK_WORD CHILD CHANNELS ---- ';
pos=07,93  val='|                                      |';
pos=08,93  val='|                                      |';
pos=09,93  val='|                                      |';
pos=10,93  val='|                                      |';
pos=11,93  val='|                                      |';
pos=12,93  val='|                                      |';
pos=13,93  val='|                                      |';
pos=14,93  val='|                                      |';
pos=15,93  val='|                                      |';
pos=16,93  val='|                                      |';
pos=17,93  val='|                                      |';
pos=18,93  val='|                                      |';
pos=19,93  val='|                                      |';
pos=20,93  val='|                                      |';
pos=21,93  val='|                                      |';
pos=22,93  val='|                                      |';
pos=23,93  val='|                                      |';
pos=24,93  val=' -------------------------------------- ';

rule=dynamic

pos=08,95  val=CHAN_ID     chan=f-1580;
pos=08,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=08,115 val=DN          fmt="%3d";
pos=08,119 val=STATE_NAME  fmt="%12.12s";

pos=09,95  val=CHAN_ID     chan=f-1581;
pos=09,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=09,115 val=DN          fmt="%3d";
pos=09,119 val=STATE_NAME  fmt="%12.12s";

pos=10,95  val=CHAN_ID     chan=f-1582;
pos=10,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=10,115 val=DN          fmt="%3d";
pos=10,119 val=STATE_NAME  fmt="%12.12s";

pos=11,95  val=CHAN_ID     chan=f-1583;
pos=11,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=11,115 val=DN          fmt="%3d";
pos=11,119 val=STATE_NAME  fmt="%12.12s";

pos=12,95  val=CHAN_ID     chan=f-1584;
pos=12,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=12,115 val=DN          fmt="%3d";
pos=12,119 val=STATE_NAME  fmt="%12.12s";

pos=13,95  val=CHAN_ID     chan=f-1585;
pos=13,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=13,115 val=DN          fmt="%3d";
pos=13,119 val=STATE_NAME  fmt="%12.12s";

pos=14,95  val=CHAN_ID     chan=f-1586;
pos=14,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=14,115 val=DN          fmt="%3d";
pos=14,119 val=STATE_NAME  fmt="%12.12s";

pos=15,95  val=CHAN_ID     chan=f-1587;
pos=15,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=15,115 val=DN          fmt="%3d";
pos=15,119 val=STATE_NAME  fmt="%12.12s";

pos=16,95  val=CHAN_ID     chan=f-1588;
pos=16,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=16,115 val=DN          fmt="%3d";
pos=16,119 val=STATE_NAME  fmt="%12.12s";

pos=17,95  val=CHAN_ID     chan=f-1589;
pos=17,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=17,115 val=DN          fmt="%3d";
pos=17,119 val=STATE_NAME  fmt="%12.12s";

pos=18,95  val=CHAN_ID     chan=f-1590;
pos=18,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=18,115 val=DN          fmt="%3d";


rule=static

pos=29,93  val=' - F-1094 MINSEQ_STAT CHILD CHANNELS -- ';
pos=30,93  val='|                                      |';
pos=31,93  val='|                                      |';
pos=32,93  val='|                                      |';
pos=33,93  val='|                                      |';
pos=34,93  val='|                                      |';
pos=35,93  val='|                                      |';
pos=36,93  val='|                                      |';
pos=37,93  val='|                                      |';
pos=38,93  val='|                                      |';
pos=39,93  val='|                                      |';
pos=40,93  val='|                                      |';
pos=41,93  val='|                                      |';
pos=42,93  val='|                                      |';
pos=43,93  val='|                                      |';
pos=44,93  val='|                                      |';
pos=45,93  val='|                                      |';
pos=46,93  val='|                                      |';
pos=47,93  val=' -------------------------------------- ';

rule=dynamic

pos=31,95  val=CHAN_ID     chan=f-1600;
pos=31,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=31,115 val=DN          fmt="%3d";
pos=31,119 val=STATE_NAME  fmt="%12.12s";

pos=32,95  val=CHAN_ID     chan=f-1601;
pos=32,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=32,115 val=DN          fmt="%3d";
pos=32,119 val=STATE_NAME  fmt="%12.12s";

pos=33,95  val=CHAN_ID     chan=f-1602;
pos=33,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=33,115 val=DN          fmt="%3d";
pos=33,119 val=STATE_NAME  fmt="%12.12s";

pos=34,95  val=CHAN_ID     chan=f-1603;
pos=34,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=34,115 val=DN          fmt="%3d";
pos=34,119 val=STATE_NAME  fmt="%12.12s";

pos=35,95  val=CHAN_ID     chan=f-1604;
pos=35,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=35,115 val=DN          fmt="%3d";
pos=35,119 val=STATE_NAME  fmt="%12.12s";

pos=36,95  val=CHAN_ID     chan=f-1605;
pos=36,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=36,115 val=DN          fmt="%3d";

pos=39,95  val=CHAN_ID     chan=f-1608;
pos=39,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=39,115 val=DN          fmt="%3d";


rule=static

pos=51,93  val=' - F-1348 RDMN_SW_SUM CHILD CHANNELS -- ';
pos=52,93  val='|                                      |';
pos=53,93  val='|                                      |';
pos=54,93  val='|                                      |';
pos=55,93  val='|                                      |';
pos=56,93  val='|                                      |';
pos=57,93  val='|                                      |';
pos=58,93  val='|                                      |';
pos=59,93  val='|                                      |';
pos=60,93  val='|                                      |';
pos=61,93  val='|                                      |';
pos=62,93  val='|                                      |';
pos=63,93  val='|                                      |';
pos=64,93  val='|                                      |';
pos=65,93  val='|                                      |';
pos=66,93  val='|                                      |';
pos=67,93  val='|                                      |';
pos=68,93  val='|                                      |';
pos=69,93  val=' -------------------------------------- ';

rule=dynamic

pos=53,95  val=CHAN_ID     chan=f-1640;
pos=53,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=53,115 val=DN          fmt="%3d";
pos=53,119 val=STATE_NAME  fmt="%12.12s";

pos=54,95  val=CHAN_ID     chan=f-1641;
pos=54,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=54,115 val=DN          fmt="%3d";
pos=54,119 val=STATE_NAME  fmt="%12.12s";

pos=55,95  val=CHAN_ID     chan=f-1642;
pos=55,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=55,115 val=DN          fmt="%3d";
pos=55,119 val=STATE_NAME  fmt="%12.12s";

pos=56,95  val=CHAN_ID     chan=f-1643;
pos=56,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=56,115 val=DN          fmt="%3d";
pos=56,119 val=STATE_NAME  fmt="%12.12s";

pos=57,95  val=CHAN_ID     chan=f-1644;
pos=57,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=57,115 val=DN          fmt="%3d";
pos=57,119 val=STATE_NAME  fmt="%12.12s";

pos=58,95  val=CHAN_ID     chan=f-1645;
pos=58,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=58,115 val=DN          fmt="%3d";
pos=58,119 val=STATE_NAME  fmt="%12.12s";

pos=59,95  val=CHAN_ID     chan=f-1646;
pos=59,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=59,115 val=DN          fmt="%3d";
pos=59,119 val=STATE_NAME  fmt="%12.12s";

pos=60,95  val=CHAN_ID     chan=f-1647;
pos=60,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=60,115 val=DN          fmt="%3d";
pos=60,119 val=STATE_NAME  fmt="%12.12s";

pos=61,95  val=CHAN_ID     chan=f-1648;
pos=61,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=61,115 val=DN          fmt="%3d";
pos=61,119 val=STATE_NAME  fmt="%12.12s";

pos=62,95  val=CHAN_ID     chan=f-1649;
pos=62,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=62,115 val=DN          fmt="%3d";
pos=62,119 val=STATE_NAME  fmt="%12.12s";

pos=63,95  val=CHAN_ID     chan=f-1650;
pos=63,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=63,115 val=DN          fmt="%3d";
pos=63,119 val=STATE_NAME  fmt="%12.12s";

pos=64,95  val=CHAN_ID     chan=f-1651;
pos=64,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=64,115 val=DN          fmt="%3d";
pos=64,119 val=STATE_NAME  fmt="%12.12s";

pos=65,95  val=CHAN_ID     chan=f-1652;
pos=65,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=65,115 val=DN          fmt="%3d";
pos=65,119 val=STATE_NAME  fmt="%12.12s";

pos=66,95  val=CHAN_ID     chan=f-1653;
pos=66,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=66,115 val=DN          fmt="%3d";
pos=66,119 val=STATE_NAME  fmt="%12.12s";

pos=67,95  val=CHAN_ID     chan=f-1654;
pos=67,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=67,115 val=DN          fmt="%3d";
pos=67,119 val=STATE_NAME  fmt="%12.12s";

pos=68,95  val=CHAN_ID     chan=f-1655;
pos=68,102 val=CHAN_TITLE  fmt="%-12.12s";
pos=68,115 val=DN          fmt="%3d";
pos=68,119 val=STATE_NAME  fmt="%12.12s";


rule=static

pos=04,134  val='| CHAN   MNEMONIC      DN    EU/STATUS |';
pos=05,134  val='                                        ';
pos=06,134  val=' - F-2150 PWR_STAT_WRD CHILD CHANNELS - ';
pos=07,134  val='|                                      |';
pos=08,134  val='|                                      |';
pos=09,134  val='|                                      |';
pos=10,134  val='|                                      |';
pos=11,134  val='|                                      |';
pos=12,134  val='|                                      |';
pos=13,134  val='|                                      |';
pos=14,134  val='|                                      |';
pos=15,134  val='|                                      |';
pos=16,134  val='|                                      |';
pos=17,134  val='|                                      |';
pos=18,134  val='|                                      |';
pos=19,134  val='|                                      |';
pos=20,134  val='|                                      |';
pos=21,134  val='|                                      |';
pos=22,134  val='|                                      |';
pos=23,134  val='|                                      |';
pos=24,134  val=' -------------------------------------- ';

rule=dynamic

pos=08,136 val=CHAN_ID     chan=f-2240;
pos=08,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=08,156 val=DN          fmt="%3d";
pos=08,160 val=STATE_NAME  fmt="%12.12s";

pos=09,136 val=CHAN_ID     chan=f-2241;
pos=09,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=09,156 val=DN          fmt="%3d";
pos=09,160 val=STATE_NAME  fmt="%12.12s";

pos=10,136 val=CHAN_ID     chan=f-2242;
pos=10,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=10,156 val=DN          fmt="%3d";
pos=10,160 val=STATE_NAME  fmt="%12.12s";

pos=11,136 val=CHAN_ID     chan=f-2243;
pos=11,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=11,156 val=DN          fmt="%3d";
pos=11,160 val=STATE_NAME  fmt="%12.12s";

pos=12,136 val=CHAN_ID     chan=f-2244;
pos=12,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=12,156 val=DN          fmt="%3d";
pos=12,160 val=STATE_NAME  fmt="%12.12s";

pos=13,136 val=CHAN_ID     chan=f-2245;
pos=13,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=13,156 val=DN          fmt="%3d";
pos=13,160 val=STATE_NAME  fmt="%12.12s";

pos=14,136 val=CHAN_ID     chan=f-2246;
pos=14,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=14,156 val=DN          fmt="%3d";
pos=14,160 val=STATE_NAME  fmt="%12.12s";

pos=15,136 val=CHAN_ID     chan=f-2247;
pos=15,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=15,156 val=DN          fmt="%3d";
pos=15,160 val=STATE_NAME  fmt="%12.12s";

pos=16,136 val=CHAN_ID     chan=f-2248;
pos=16,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=16,156 val=DN          fmt="%3d";
pos=16,160 val=STATE_NAME  fmt="%12.12s";

pos=17,136 val=CHAN_ID     chan=f-2249;
pos=17,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=17,156 val=DN          fmt="%3d";
pos=17,160 val=STATE_NAME  fmt="%12.12s";

pos=18,136 val=CHAN_ID     chan=f-2250;
pos=18,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=18,156 val=DN          fmt="%3d";
pos=18,160 val=STATE_NAME  fmt="%12.12s";

pos=19,136 val=CHAN_ID     chan=f-2251;
pos=19,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=19,156 val=DN          fmt="%3d";
pos=19,160 val=STATE_NAME  fmt="%12.12s";

pos=20,136 val=CHAN_ID     chan=f-2252;
pos=20,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=20,156 val=DN          fmt="%3d";
pos=20,160 val=STATE_NAME  fmt="%12.12s";

pos=21,136 val=CHAN_ID     chan=f-2253;
pos=21,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=21,156 val=DN          fmt="%3d";
pos=21,160 val=STATE_NAME  fmt="%12.12s";

pos=22,136 val=CHAN_ID     chan=f-2254;
pos=22,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=22,156 val=DN          fmt="%3d";
pos=22,160 val=STATE_NAME  fmt="%12.12s";

pos=23,136 val=CHAN_ID     chan=f-2255;
pos=23,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=23,156 val=DN          fmt="%3d";
pos=23,160 val=STATE_NAME  fmt="%12.12s";



rule=static

pos=29,134  val=' - F-2565 DTC_PRI_STAT CHILD CHANNELS - ';
pos=30,134  val='|                                      |';
pos=31,134  val='|                                      |';
pos=32,134  val='|                                      |';
pos=33,134  val='|                                      |';
pos=34,134  val='|                                      |';
pos=35,134  val='|                                      |';
pos=36,134  val='|                                      |';
pos=37,134  val='|                                      |';
pos=38,134  val='|                                      |';
pos=39,134  val='|                                      |';
pos=40,134  val='|                                      |';
pos=41,134  val='|                                      |';
pos=42,134  val='|                                      |';
pos=43,134  val='|                                      |';
pos=44,134  val='|                                      |';
pos=45,134  val='|                                      |';
pos=46,134  val='|                                      |';
pos=47,134  val=' -------------------------------------- ';

rule=dynamic

pos=31,136 val=CHAN_ID     chan=f-2720;
pos=31,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=31,156 val=DN          fmt="%3d";
pos=31,160 val=STATE_NAME  fmt="%12.12s";

pos=32,136 val=CHAN_ID     chan=f-2721;
pos=32,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=32,156 val=DN          fmt="%3d";
pos=32,160 val=STATE_NAME  fmt="%12.12s";

pos=33,136 val=CHAN_ID     chan=f-2722;
pos=33,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=33,156 val=DN          fmt="%3d";
pos=33,160 val=STATE_NAME  fmt="%12.12s";

pos=34,136 val=CHAN_ID     chan=f-2723;
pos=34,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=34,156 val=DN          fmt="%3d";
pos=34,160 val=STATE_NAME  fmt="%12.12s";

pos=35,136 val=CHAN_ID     chan=f-2724;
pos=35,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=35,156 val=DN          fmt="%3d";
pos=35,160 val=STATE_NAME  fmt="%12.12s";

pos=36,136 val=CHAN_ID     chan=f-2725;
pos=36,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=36,156 val=DN          fmt="%3d";
pos=36,160 val=STATE_NAME  fmt="%12.12s";

pos=37,136 val=CHAN_ID     chan=f-2726;
pos=37,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=37,156 val=DN          fmt="%3d";
pos=37,160 val=STATE_NAME  fmt="%12.12s";

pos=38,136 val=CHAN_ID     chan=f-2727;
pos=38,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=38,156 val=DN          fmt="%3d";
pos=38,160 val=STATE_NAME  fmt="%12.12s";

pos=39,136 val=CHAN_ID     chan=f-2728;
pos=39,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=39,156 val=DN          fmt="%3d";
pos=39,160 val=STATE_NAME  fmt="%12.12s";

pos=40,136 val=CHAN_ID     chan=f-2729;
pos=40,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=40,156 val=DN          fmt="%3d";
pos=40,160 val=STATE_NAME  fmt="%12.12s";

pos=41,136 val=CHAN_ID     chan=f-2730;
pos=41,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=41,156 val=DN          fmt="%3d";
pos=41,160 val=STATE_NAME  fmt="%12.12s";

pos=42,136 val=CHAN_ID     chan=f-2731;
pos=42,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=42,156 val=DN          fmt="%3d";
pos=42,160 val=STATE_NAME  fmt="%12.12s";

pos=43,136 val=CHAN_ID     chan=f-2732;
pos=43,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=43,156 val=DN          fmt="%3d";
pos=43,160 val=STATE_NAME  fmt="%12.12s";

pos=44,136 val=CHAN_ID     chan=f-2733;
pos=44,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=44,156 val=DN          fmt="%3d";
pos=44,160 val=STATE_NAME  fmt="%12.12s";

pos=45,136 val=CHAN_ID     chan=f-2734;
pos=45,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=45,156 val=DN          fmt="%3d";
pos=45,160 val=STATE_NAME  fmt="%12.12s";

pos=46,136 val=CHAN_ID     chan=f-2735;
pos=46,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=46,156 val=DN          fmt="%3d";
pos=46,160 val=STATE_NAME  fmt="%12.12s";


rule=static

pos=51,134  val=' - F-3040 TLCM_DSW1 CHILD CHANNELS ---- ';
pos=52,134  val='|                                      |';
pos=53,134  val='|                                      |';
pos=54,134  val='|                                      |';
pos=55,134  val='|                                      |';
pos=56,134  val='|                                      |';
pos=57,134  val='|                                      |';
pos=58,134  val='|                                      |';
pos=59,134  val='|                                      |';
pos=60,134  val='|                                      |';
pos=61,134  val='|                                      |';
pos=62,134  val='|                                      |';
pos=63,134  val='|                                      |';
pos=64,134  val='|                                      |';
pos=65,134  val='|                                      |';
pos=66,134  val='|                                      |';
pos=67,134  val='|                                      |';
pos=68,134  val='|                                      |';
pos=69,134  val=' -------------------------------------- ';

rule=dynamic

pos=53,136 val=CHAN_ID     chan=f-3200;
pos=53,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=53,156 val=DN          fmt="%3d";
pos=53,160 val=STATE_NAME  fmt="%12.12s";

pos=54,136 val=CHAN_ID     chan=f-3201;
pos=54,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=54,156 val=DN          fmt="%3d";
pos=54,160 val=STATE_NAME  fmt="%12.12s";

pos=55,136 val=CHAN_ID     chan=f-3202;
pos=55,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=55,156 val=DN          fmt="%3d";
pos=55,160 val=STATE_NAME  fmt="%12.12s";

pos=56,136 val=CHAN_ID     chan=f-3203;
pos=56,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=56,156 val=DN          fmt="%3d";
pos=56,160 val=STATE_NAME  fmt="%12.12s";

pos=57,136 val=CHAN_ID     chan=f-3204;
pos=57,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=57,156 val=DN          fmt="%3d";
pos=57,160 val=STATE_NAME  fmt="%12.12s";

pos=58,136 val=CHAN_ID     chan=f-3205;
pos=58,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=58,156 val=DN          fmt="%3d";
pos=58,160 val=STATE_NAME  fmt="%12.12s";

pos=59,136 val=CHAN_ID     chan=f-3206;
pos=59,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=59,156 val=DN          fmt="%3d";
pos=59,160 val=STATE_NAME  fmt="%12.12s";

pos=60,136 val=CHAN_ID     chan=f-3207;
pos=60,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=60,156 val=DN          fmt="%3d";
pos=60,160 val=STATE_NAME  fmt="%12.12s";

pos=61,136 val=CHAN_ID     chan=f-3208;
pos=61,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=61,156 val=DN          fmt="%3d";
pos=61,160 val=STATE_NAME  fmt="%12.12s";

pos=62,136 val=CHAN_ID     chan=f-3209;
pos=62,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=62,156 val=DN          fmt="%3d";
pos=62,160 val=STATE_NAME  fmt="%12.12s";

pos=63,136 val=CHAN_ID     chan=f-3210;
pos=63,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=63,156 val=DN          fmt="%3d";
pos=63,160 val=STATE_NAME  fmt="%12.12s";

pos=64,136 val=CHAN_ID     chan=f-3211;
pos=64,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=64,156 val=DN          fmt="%3d";
pos=64,160 val=STATE_NAME  fmt="%12.12s";

pos=65,136 val=CHAN_ID     chan=f-3212;
pos=65,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=65,156 val=DN          fmt="%3d";
pos=65,160 val=STATE_NAME  fmt="%12.12s";

pos=66,136 val=CHAN_ID     chan=f-3213;
pos=66,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=66,156 val=DN          fmt="%3d";
pos=66,160 val=STATE_NAME  fmt="%12.12s";

pos=67,136 val=CHAN_ID     chan=f-3214;
pos=67,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=67,156 val=DN          fmt="%3d";
#pos=67,160 val=STATE_NAME  fmt="%12.12s";

pos=68,136 val=CHAN_ID     chan=f-3215;
pos=68,143 val=CHAN_TITLE  fmt="%-12.12s";
pos=68,156 val=DN          fmt="%3d";
#pos=68,160 val=STATE_NAME  fmt="%12.12s";


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_power_fix1.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Power Subsystem Fixed Page #1 (Summary Schematic)                 #
# BASELINED: OGS 07-20-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################


TEMPLATE type=FIXED size=72,190 pos=4,1 # mgs_power_fix1.tdl

TEXTREGION

rule=static
pos=1,1    val='                                                                                              ';
pos=2,1    val='   MARS GLOBAL SURVEYOR POWER SUBSYSTEM  (POWER FIXED PAGE #1)          PSE+28_BUS_V  xxxx.xx ';
pos=3,1    val='                              ________________________________________  PSE+28_BUS_I  xxxx.xx ';
pos=4,1    val='                             |                  |     TOTAL S/A       | PSE+28_BUS_P  xxxx.xx ';
pos=5,1    val='               ___________   |    ___________   |   xxxx.xx amps      |                       ';
pos=6,1    val='              |           |__|   |           |__|   xxxx.xx watts     |  HEAT_SINK_T  xxxx.xx ';
pos=7,1    val='              |           |      |           |                        | PSE_CMD_SIDE xxxxxxxx ';
pos=8,1    val='              |   SOLAR   |      |   SOLAR   |                        |             _________ ';
pos=9,1    val='              |   ARRAY   |      |   ARRAY   |                        |____________|         |';
pos=10,1   val='              |  +Y WING  |      |  -Y WING  |                                     |   PSE   |';
pos=11,1   val='              |           |___   |           |__________________                   |_________|';
pos=12,1   val='              |___________|   |  |___________|                  |          ______       |';
pos=13,1   val='                              |_____________________________    |         |      |      |';
pos=14,1   val='                                                            |   |      ___| MODE |      |';
pos=15,1   val='                                                         ___|___|___  |   |CONTLR|      |';
pos=16,1   val='       CURRENT  xxxx.xx amps       xxxx.xx amps         |           | |   |______|      |';
pos=17,1   val='                                                        |  PARTIAL  |_|                 |';
pos=18,1   val='        Si_Isc  xxxx.xx mamps      xxxx.xx mamps        |   SHUNT   |  STATUS xxxxxxxx  |';
pos=19,1   val='        Si_Voc  xxxx.xx volts      xxxx.xx volts        |___________|                   |';
pos=20,1   val='                                                                                        |';
pos=21,1   val=' INR_FRNT_TEMP  xxxx.xx deg C      xxxx.xx deg C    VOLTAGE xxxx.xx volts               |';
pos=22,1   val=' INR_BACK_TEMP  xxxx.xx deg C      xxxx.xx deg C    CURRENT xxxx.xx amps                |';
pos=23,1   val='OUTR_FRNT_TEMP  xxxx.xx deg C      xxxx.xx deg C      POWER xxxx.xx watts               |';
pos=24,1   val='OUTR_BACK_TEMP  xxxx.xx deg C      xxxx.xx deg C                                        |';
pos=25,1   val='                                                     TEMP_1 xxxx.xx deg C               |';
pos=26,1   val='     SUN_ANGLE  xxxx.xx deg        xxxx.xx deg       TEMP_2 xxxx.xx deg C               |';
pos=27,1   val='                                                                                        |';
pos=28,1   val='                                ________________________________________________________|';
pos=29,1   val='Q1_TRNSTR_TEMP  xxxx.xx deg C  |   xxxx.xx deg C  |                       TOTAL_CHARGE  |';
pos=30,1   val='Q3_TRNSTR_TEMP  xxxx.xx deg C  |   xxxx.xx deg C  |                      xxxx.xx amps   |';
pos=31,1   val='HEAT_SINK_TEMP  xxxx.xx deg C  |   xxxx.xx deg C  |                                     |';
pos=32,1   val='                 ___________   |    ___________   |                                     |';
pos=33,1   val='                |           |__|   |           |__|                                     |';
pos=34,1   val='                |   BCR 1   |      |   BCR 2   |                                        |';
pos=35,1   val='                |___________|      |___________|                      ___________       |';
pos=36,1   val='                          |                  |_______________________|           |______|';
pos=37,1   val='                          |__________________|_____|   TOTAL_DSCHRG  |    BVR    |       ';
pos=38,1   val='                 _________|_        _________|_       xxxx.xx amps   |___________|       ';
pos=39,1   val='                |           |      |           |                                         ';
pos=40,1   val='                |  BATTERY  |      |  BATTERY  |                CHANNELS  xxxx.xx nCHAN  ';
pos=41,1   val='                |     1     |      |     2     |                  STATUS xxxxxxxx        ';
pos=42,1   val='                |___________|      |___________|              EFFICIENCY  xxxx.xx %      ';
pos=43,1   val='                                                                                         ';
pos=44,1   val='  HIGH_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=45,1   val='   LOW_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=46,1   val='HALF_1_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=47,1   val='HALF_2_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=48,1   val='CELL_IMBALANCE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=49,1   val='                                                                                         ';
pos=50,1   val='CHARGE_CURRENT  xxxx.xx amps       xxxx.xx amps         PYRO ARM&ENABLE INDICATORS       ';
pos=51,1   val='DSCHRG_CURRENT  xxxx.xx amps       xxxx.xx amps         --------------------------       ';
pos=52,1   val='                                                                                         ';
pos=53,1   val=' TEMPERATURE_1  xxxx.xx deg C      xxxx.xx deg C                                         ';
pos=54,1   val=' TEMPERATURE_2  xxxx.xx deg C      xxxx.xx deg C                                         ';
pos=55,1   val='                                                                                         ';
pos=56,1   val='    PRESSURE_1  xxxx.xx psi        xxxx.xx psi                                           ';
pos=57,1   val='    PRESSURE_2  xxxx.xx psi        xxxx.xx psi                                           ';
pos=58,1   val='                                                                                         ';
pos=59,1   val=' PRESS_AVE_SOC  xxxx.xx %          xxxx.xx %                                             ';
pos=60,1   val='                                                                                         ';
pos=61,1   val='      SCP_ASOC  xxxx.xx %          xxxx.xx %                                             ';
pos=62,1   val='      SCP_TSOC  xxxx.xx %          xxxx.xx %                                             ';
pos=63,1   val='                                                                                         ';
pos=64,1   val='CHRG RATE_STAT  xxxx.xx amps       xxxx.xx amps                                          ';
pos=65,1   val=' VT_LIMIT_STAT  xxxxxxx            xxxxxxx                                               ';
pos=66,1   val='      VT_SHIFT  xxxxxxx            xxxxxxx                                               ';
pos=67,1   val='PRIMARY_CHARGE  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=68,1   val=' BACKUP_CHARGE  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=69,1   val=' CHARGE_CONFIG  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=70,1   val='    TRICKLE_EN  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=71,1   val='    TRICKLE_ON  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=71,1   val='    TRICKLE ON  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';



pos=2,95   val=' volts                                                                                         ';
pos=3,95   val=' amps   ________________________________________________________                               ';
pos=4,95   val=' watts |                _________                               |               _________      ';
pos=5,95   val='       |               |         |                              |              |         |     ';
pos=6,95   val=' deg C |_______________| S/C BUS |                              |______________| PAYLOAD |     ';
pos=7,95   val='       |               |_________|                                             |_________|     ';
pos=8,95   val='       |                                                                                       ';
pos=9,95   val='_______| S/C_BUS_CURRENT  xxxx.xx amps                           PAYLOAD_CURRENT  xxxx.xx amps ';
pos=10,95  val='           S/C_BUS_POWER  xxxx.xx watts                            PAYLOAD_POWER  xxxx.xx watts';
pos=11,95  val='         S/C_BUS_HTR_EST  xxxx.xx amps                           PAYLOAD_HTR_EST  xxxx.xx amps ';


rule=dynamic
rule=dynamic

pos=16,17   val=EU chan=e-0131 fmt="%7.2f"; pos=16,36  val=EU chan=e-0132 fmt="%7.2f";

pos=18,17   val=EU chan=e-0133 fmt="%7.2f"; pos=18,36  val=EU chan=e-0134 fmt="%7.2f";
pos=19,17   val=EU chan=e-0135 fmt="%7.2f"; pos=19,36  val=EU chan=e-0136 fmt="%7.2f";

pos=21,17   val=EU chan=t-0210 fmt="%7.2f"; pos=21,36  val=EU chan=t-0214 fmt="%7.2f";
pos=22,17   val=EU chan=t-0211 fmt="%7.2f"; pos=22,36  val=EU chan=t-0215 fmt="%7.2f";
pos=23,17   val=EU chan=t-0212 fmt="%7.2f"; pos=23,36  val=EU chan=t-0216 fmt="%7.2f";
pos=24,17   val=EU chan=t-0213 fmt="%7.2f"; pos=24,36  val=EU chan=t-0217 fmt="%7.2f";

# Solar Array Sun Angle Channels go here

pos=29,17   val=EU chan=t-0196 fmt="%7.2f"; pos=29,36  val=EU chan=t-0198 fmt="%7.2f";
pos=30,17   val=EU chan=t-0197 fmt="%7.2f"; pos=30,36  val=EU chan=t-0199 fmt="%7.2f";
pos=31,17   val=EU chan=t-0205 fmt="%7.2f"; pos=31,36  val=EU chan=t-0206 fmt="%7.2f";

pos=44,17   val=EU chan=e-0101 fmt="%7.2f"; pos=44,36  val=EU chan=e-0111 fmt="%7.2f";
pos=45,17   val=EU chan=e-0102 fmt="%7.2f"; pos=45,36  val=EU chan=e-0112 fmt="%7.2f";
pos=46,17   val=EU chan=e-0103 fmt="%7.2f"; pos=46,36  val=EU chan=e-0113 fmt="%7.2f";
pos=47,17   val=DN chan=v-2150 fmt="%7.2f"; pos=47,36  val=DN chan=v-2151 fmt="%7.2f";
pos=48,17   val=DN chan=v-2152 fmt="%7.2f"; pos=48,36  val=DN chan=v-2153 fmt="%7.2f";

pos=50,17   val=EU chan=e-0105 fmt="%7.2f"; pos=50,36  val=EU chan=e-0115 fmt="%7.2f";
pos=51,17   val=EU chan=e-0106 fmt="%7.2f"; pos=51,36  val=EU chan=e-0116 fmt="%7.2f";

pos=53,17   val=EU chan=t-0200 fmt="%7.2f"; pos=53,36  val=EU chan=t-0202 fmt="%7.2f";
pos=54,17   val=EU chan=t-0201 fmt="%7.2f"; pos=54,36  val=EU chan=t-0203 fmt="%7.2f";

pos=56,17   val=EU chan=e-0108 fmt="%7.2f"; pos=56,36  val=EU chan=e-0118 fmt="%7.2f";
pos=57,17   val=EU chan=e-0109 fmt="%7.2f"; pos=57,36  val=EU chan=e-0119 fmt="%7.2f";

pos=59,17   val=DN chan=v-2211 fmt="%7.2f"; pos=59,36  val=DN chan=v-2212 fmt="%7.2f";

pos=61,17   val=DN chan=v-2205 fmt="%7.2f"; pos=61,36  val=DN chan=v-2207 fmt="%7.2f";
pos=62,17   val=DN chan=v-2206 fmt="%7.2f"; pos=62,36  val=DN chan=v-2208 fmt="%7.2f";

pos=64,17   val=EU chan=e-0104 fmt="%7.2f"; pos=64,36  val=EU chan=e-0114 fmt="%7.2f";
pos=65,17   val=EU chan=e-0107 fmt="%7.0f"; pos=65,36  val=EU chan=e-0117 fmt="%7.0f";
pos=66,17   val=STATE_NAME chan=e-0006 fmt="%12.12s"; pos=66,36  val=STATE_NAME chan=e-0016 fmt="%12.12s";
pos=67,17   val=STATE_NAME chan=e-0001 fmt="%12.12s"; pos=67,36  val=STATE_NAME chan=e-0011 fmt="%12.12s";
pos=68,17   val=STATE_NAME chan=e-0002 fmt="%12.12s"; pos=68,36  val=STATE_NAME chan=e-0012 fmt="%12.12s";
pos=69,17   val=STATE_NAME chan=e-0003 fmt="%12.12s"; pos=69,36  val=STATE_NAME chan=e-0013 fmt="%12.12s";
pos=70,17   val=STATE_NAME chan=e-0004 fmt="%12.12s"; pos=70,36  val=STATE_NAME chan=e-0014 fmt="%12.12s";
pos=71,17   val=STATE_NAME chan=e-0005 fmt="%12.12s"; pos=71,36  val=STATE_NAME chan=e-0015 fmt="%12.12s";


pos=05,53   val=EU chan=e-0130 fmt="%7.2f";
pos=06,53   val=DN chan=v-2164 fmt="%7.2f";

pos=21,61   val=EU chan=e-0137 fmt="%7.2f";
pos=22,61   val=DN chan=v-2180 fmt="%7.2f";
pos=23,61   val=DN chan=v-2181 fmt="%7.2f";
# Partial Shunt derived current
# Partial Shunt derived power

pos=25,61   val=EU chan=t-0207 fmt="%7.2f";
pos=26,61   val=EU chan=t-0208 fmt="%7.2f";

pos=40,75   val=EU chan=e-0143 fmt="%7.2f";
pos=41,74   val=STATE_NAME chan=e-0020 fmt="%8.8s";
pos=42,75   val=DN chan=v-2000 fmt="%7.2f";

pos=18,79   val=STATE_NAME chan=e-0022 fmt="%8.8s";

pos=30,74   val=DN chan=v-2170 fmt="%7.2f";
pos=38,55   val=DN chan=v-2171 fmt="%7.2f";

pos=02,87   val=EU chan=e-0140 fmt="%7.2f";
pos=03,87   val=EU chan=e-0141 fmt="%7.2f";
pos=04,87   val=DN chan=v-2160 fmt="%7.2f";

pos=06,87   val=EU chan=t-0209 fmt="%7.2f";
pos=07,86   val=STATE_NAME chan=e-0021 fmt="%8.8s";

pos=06,87   val=EU chan=t-0209 fmt="%7.2f";

pos=09,121  val=DN chan=v-2161 fmt="%7.2f";
pos=10,121  val=DN chan=v-2162 fmt="%7.2f";
pos=11,121  val=DN chan=v-2119 fmt="%7.2f";

pos=09,177  val=EU chan=e-0142 fmt="%7.2f";
pos=10,177  val=DN chan=v-2163 fmt="%7.2f";
pos=11,177  val=DN chan=v-2121 fmt="%7.2f";


pos=52,57   val=CHAN_TITLE chan=p-0060 fmt="%-12.12s"; pos=52,71 val=DN fmt="%3d";  pos=52,76 val=EU fmt="%5.2f"; pos=52,82 val='v';
pos=53,57   val=CHAN_TITLE chan=p-0062 fmt="%-12.12s"; pos=53,71 val=DN fmt="%3d";  pos=53,76 val=EU fmt="%5.2f"; pos=53,82 val='v';
pos=54,57   val=CHAN_TITLE chan=p-0064 fmt="%-12.12s"; pos=54,71 val=DN fmt="%3d";  pos=54,76 val=EU fmt="%5.2f"; pos=54,82 val='v';
pos=55,57   val=CHAN_TITLE chan=p-0066 fmt="%-12.12s"; pos=55,71 val=DN fmt="%3d";  pos=55,76 val=EU fmt="%5.2f"; pos=55,82 val='v';
pos=56,57   val=CHAN_TITLE chan=p-0072 fmt="%-12.12s"; pos=56,71 val=DN fmt="%3d";  pos=56,76 val=EU fmt="%5.2f"; pos=56,82 val='v';
pos=57,57   val=CHAN_TITLE chan=p-0073 fmt="%-12.12s"; pos=57,71 val=DN fmt="%3d";  pos=57,76 val=EU fmt="%5.2f"; pos=57,82 val='v';
pos=58,57   val=CHAN_TITLE chan=p-0068 fmt="%-12.12s"; pos=58,71 val=DN fmt="%3d";  pos=58,76 val=STATE_NAME fmt="%-8.8s";
pos=59,57   val=CHAN_TITLE chan=p-0070 fmt="%-12.12s"; pos=59,71 val=DN fmt="%3d";  pos=59,76 val=STATE_NAME fmt="%-8.8s";
pos=60,57   val=CHAN_TITLE chan=p-0061 fmt="%-12.12s"; pos=60,71 val=DN fmt="%3d";  pos=60,76 val=STATE_NAME fmt="%-8.8s";
pos=61,57   val=CHAN_TITLE chan=p-0063 fmt="%-12.12s"; pos=61,71 val=DN fmt="%3d";  pos=61,76 val=STATE_NAME fmt="%-8.8s";
pos=62,57   val=CHAN_TITLE chan=p-0065 fmt="%-12.12s"; pos=62,71 val=DN fmt="%3d";  pos=62,76 val=STATE_NAME fmt="%-8.8s";
pos=63,57   val=CHAN_TITLE chan=p-0067 fmt="%-12.12s"; pos=63,71 val=DN fmt="%3d";  pos=63,76 val=STATE_NAME fmt="%-8.8s";
pos=64,57   val=CHAN_TITLE chan=p-0069 fmt="%-12.12s"; pos=64,71 val=DN fmt="%3d";  pos=64,76 val=STATE_NAME fmt="%-8.8s";
pos=65,57   val=CHAN_TITLE chan=p-0071 fmt="%-12.12s"; pos=65,71 val=DN fmt="%3d";  pos=65,76 val=STATE_NAME fmt="%-8.8s";
pos=66,57   val=CHAN_TITLE chan=p-0074 fmt="%-12.12s"; pos=66,71 val=DN fmt="%3d";  pos=66,76 val=STATE_NAME fmt="%-8.8s";
pos=67,57   val=CHAN_TITLE chan=p-0075 fmt="%-12.12s"; pos=67,71 val=DN fmt="%3d";  pos=67,76 val=STATE_NAME fmt="%-8.8s";
pos=68,57   val=CHAN_TITLE chan=p-0076 fmt="%-12.12s"; pos=68,71 val=DN fmt="%3d";  pos=68,76 val=STATE_NAME fmt="%-8.8s";
pos=69,57   val=CHAN_TITLE chan=p-0077 fmt="%-12.12s"; pos=69,71 val=DN fmt="%3d";  pos=69,76 val=STATE_NAME fmt="%-8.8s";
pos=70,57   val=CHAN_TITLE chan=p-0078 fmt="%-12.12s"; pos=70,71 val=DN fmt="%3d";  pos=70,76 val=STATE_NAME fmt="%-8.8s";
pos=71,57   val=CHAN_TITLE chan=p-0079 fmt="%-12.12s"; pos=71,71 val=DN fmt="%3d";  pos=71,76 val=STATE_NAME fmt="%-8.8s";

rule=static

pos=13,92  val='AACS LOADS  STAT  PWR ESTIMATE    MECH LOADS  STAT  PWR ESTIMATE    PYLD LOADS  STAT  PWR ESTIMATE';
pos=14,92  val='------------------------------    ------------------------------    ------------------------------';
pos=15,92  val=' IMU_AC/DC  AON    30.81 watts       HGA_GDE               watts         MAG_A               watts';
pos=16,92  val='CS_TRIAD_A               watts       HGA_MTR               watts         MAG_B               watts';
pos=17,92  val='CS_TRIAD_B               watts       HGA_ENC               watts        MR_ENA                    ';
pos=18,92  val='GYRO_MTR_1               watts       -SA_GDE               watts        MR_PWR               watts';
pos=19,92  val='GYRO_MTR_2               watts       -SA_MTR               watts         MOC_A               watts';
pos=20,92  val='GYRO_MTR_3               watts       -SA_ENC               watts         MOC_B               watts';
pos=21,92  val='    MHSA_1               watts       +SA_GDE               watts     MOC_BKOUT               watts';
pos=22,92  val='    MHSA_2               watts       +SA_MTR               watts      MOLA_ARM                    ';
pos=23,92  val='     SSA_1               watts       +SA_ENC               watts      MOLA_ENA                    ';
pos=24,92  val='     SSA_2               watts    ------------------------------      MOLA_PWR               watts';
pos=25,92  val='     RWA_X               watts    EST_MECH_P               watts           TES               watts';
pos=26,92  val='     RWA_Y               watts    EST_MECH_I                amps           USO               watts';
pos=27,92  val='     RWA_Z               watts                                      ------------------------------';
pos=28,92  val='     RWA_S               watts                                      EST_PYLD_P               watts';
pos=29,92  val='------------------------------                                      EST_PYLD_I                amps';
pos=30,92  val='EST_AACS_P               watts                                                                    ';
pos=31,92  val='EST_AACS_I                amps    TLCM LOADS  STAT  PWR ESTIMATE                                  ';
pos=32,92  val='                                  ------------------------------                                  ';
pos=33,92  val='                                    MOT1_EXC               watts                                  ';
pos=34,92  val='C&DH LOADS  STAT  PWR ESTIMATE      MOT2_EXC               watts                                  ';
pos=35,92  val='------------------------------     MOT1_RCVR  AON     9.20 watts                                  ';
pos=36,92  val='       CIU  AON     6.80 watts     MOT2_RCVR  AON     9.20 watts                                  ';
pos=37,92  val='       CIX  AON     1.37 watts     TWTA1_FIL               watts                                  ';
pos=38,92  val='       RXO  AON     5.54 watts     TWTA2_FIL               watts                                  ';
pos=39,92  val='     EDF_1               watts      TWTA1_HV               watts                                  ';
pos=40,92  val='     EDF_2               watts      TWTA2_HV               watts                                  ';
pos=41,92  val='     SCP_1               watts    KaBLE_STAT                                                      ';
pos=42,92  val='     SCP_2               watts    KaBLE_ENAB               watts                                  ';
pos=43,92  val='     XSU_1               watts    ------------------------------                                  ';
pos=44,92  val='     XSU_2               watts    EST_TLCM_P               watts                                  ';
pos=45,92  val='    SSR_1A               watts    EST_TLCM_I                amps                                  ';
pos=46,92  val='    SSR_1B               watts                                                                    ';
pos=47,92  val='    SSR_2A               watts                                                                    ';
pos=48,92  val='    SSR_2B               watts    PROP LOADS  STAT  PWR ESTIMATE                                  ';
pos=49,92  val='     PDS_A               watts    ------------------------------                                  ';
pos=50,92  val='     PDS_B               watts    PRESS_XDCR  AON     1.10 watts                                  ';
pos=51,92  val='------------------------------    THR_01_CBH               watts                                  ';
pos=52,92  val='EST_C&DH_P               watts    THR_02_CBH               watts                                  ';
pos=53,92  val='EST_C&DH_I                amps    THR_03_CBH               watts                                  ';
pos=54,92  val='                                  THR_04_CBH               watts                                  ';
pos=55,92  val='                                  THR_05_CBH               watts                                  ';
pos=56,92  val='                                  THR_06_CBH               watts                                  ';
pos=57,92  val=' PWR LOADS  STAT  PWR ESTIMATE    THR_07_CBH               watts                                  ';
pos=58,92  val='------------------------------    THR_08_CBH               watts                                  ';
pos=59,92  val='BAT1_TRK_E                        THR_09_CBH               watts                                  ';
pos=60,92  val='BAT1_TRK_O               watts    THR_10_CBH               watts                                  ';
pos=61,92  val='BAT2_TRK_E                        THR_11_CBH               watts                                  ';
pos=62,92  val='BAT2_TRK_O               watts    THR_12_CBH               watts                                  ';
pos=63,92  val='PSE_(+BCA)  AON     8.10 watts    EV_CBH_S_E                                                      ';
pos=64,92  val='------------------------------    OD_CBH_S_E                                                      ';
pos=65,92  val=' EST_PWR_P               watts    ME_FL_A_EN                                                      ';
pos=66,92  val=' EST_PWR_I                amps    ME_FL_A_ON               watts                                  ';
pos=67,92  val='                                  ME_FL_B_EN                                                      ';
pos=68,92  val='                                  ME_FL_B_ON               watts                                  ';
pos=69,92  val='                                  ------------------------------                                  ';
pos=70,92  val='                                  EST_PROP_P               watts                                  ';
pos=71,92  val='                                  EST_PROP_I                amps                                  ';

rule=dynamic



pos=16,104  val=STATE_NAME chan=a-0001  fmt="%-3.3s";
pos=16,110  val=DN         chan=v-2001  fmt="%6.2f";

pos=17,104  val=STATE_NAME chan=a-0002  fmt="%-3.3s";
pos=17,110  val=DN         chan=v-2002  fmt="%6.2f";

pos=18,104  val=STATE_NAME chan=a-0003  fmt="%-3.3s";
pos=18,110  val=DN         chan=v-2003  fmt="%6.2f";

pos=19,104  val=STATE_NAME chan=a-0004  fmt="%-3.3s";
pos=19,110  val=DN         chan=v-2004  fmt="%6.2f";

pos=20,104  val=STATE_NAME chan=a-0005  fmt="%-3.3s";
pos=20,110  val=DN         chan=v-2005  fmt="%6.2f";

pos=21,104  val=STATE_NAME chan=a-0013  fmt="%-3.3s";
pos=21,110  val=DN         chan=v-2006  fmt="%6.2f";

pos=22,104  val=STATE_NAME chan=a-0014  fmt="%-3.3s";
pos=22,110  val=DN         chan=v-2007  fmt="%6.2f";

if DN of chan=a-0120>110
    pos=23,104  val='ON ';
else
    pos=23,104  val='OFF';
endif
pos=23,110  val=DN   chan=v-2008  fmt="%6.2f";

if DN of chan=a-0121>110
    pos=24,104  val='ON ';
else
    pos=24,104  val='OFF';
endif
pos=24,110  val=DN   chan=v-2009  fmt="%6.2f";

#pos=25,104  val=DN   chan=xxxxxx
pos=25,110  val=DN   chan=v-2010  fmt="%6.2f";

#pos=26,104  val=DN   chan=xxxxxx
pos=26,110  val=DN   chan=v-2011  fmt="%6.2f";

#pos=27,104  val=DN   chan=xxxxxx
pos=27,110  val=DN   chan=v-2012  fmt="%6.2f";

#pos=28,104  val=DN   chan=xxxxxx
pos=28,110  val=DN   chan=v-2013  fmt="%6.2f";

pos=30,110  val=DN   chan=v-2102  fmt="%6.2f";
pos=31,110  val=DN   chan=v-2101  fmt="%6.2f";




pos=39,104  val=STATE_NAME chan=c-0011  fmt="%-3.3s";
pos=39,110  val=DN         chan=v-2015  fmt="%6.2f";

pos=40,104  val=STATE_NAME chan=c-0012  fmt="%-3.3s";
pos=40,110  val=DN         chan=v-2016  fmt="%6.2f";

pos=41,104  val=STATE_NAME chan=v-1001  fmt="%-3.3s";
pos=41,110  val=DN         chan=v-2017  fmt="%6.2f";

pos=42,104  val=STATE_NAME chan=v-1002  fmt="%-3.3s";
pos=42,110  val=DN         chan=v-2018  fmt="%6.2f";

pos=43,104  val=STATE_NAME chan=c-0080  fmt="%-3.3s";
pos=43,110  val=DN         chan=v-2019  fmt="%6.2f";

pos=44,104  val=STATE_NAME chan=c-0081  fmt="%-3.3s";
pos=44,110  val=DN         chan=v-2020  fmt="%6.2f";

pos=45,104  val=STATE_NAME chan=c-0043  fmt="%-3.3s";
pos=45,110  val=DN         chan=v-2021  fmt="%6.2f";

pos=46,104  val=STATE_NAME chan=c-0053  fmt="%-3.3s";
pos=46,110  val=DN         chan=v-2022  fmt="%6.2f";

pos=47,104  val=STATE_NAME chan=c-0063  fmt="%-3.3s";
pos=47,110  val=DN         chan=v-2023  fmt="%6.2f";

pos=48,104  val=STATE_NAME chan=c-0073  fmt="%-3.3s";
pos=48,110  val=DN         chan=v-2024  fmt="%6.2f";

pos=49,104  val=STATE_NAME chan=c-0024  fmt="%-3.3s";
pos=49,110  val=DN         chan=v-2025  fmt="%6.2f";

pos=50,104  val=STATE_NAME chan=c-0025  fmt="%-3.3s";
pos=50,110  val=DN         chan=v-2026  fmt="%6.2f";

pos=52,110  val=DN   chan=v-2104  fmt="%6.2f";
pos=53,110  val=DN   chan=v-2103  fmt="%6.2f";



pos=59,104  val=STATE_NAME chan=e-0004  fmt="%-3.3s";
pos=60,104  val=STATE_NAME chan=e-0005  fmt="%-3.3s";
pos=60,110  val=DN         chan=v-2028  fmt="%6.2f";

pos=61,104  val=STATE_NAME chan=e-0014  fmt="%-3.3s";
pos=62,104  val=STATE_NAME chan=e-0015  fmt="%-3.3s";
pos=62,110  val=DN         chan=v-2029  fmt="%6.2f";

pos=65,110  val=DN   chan=v-2106  fmt="%6.2f";
pos=66,110  val=DN   chan=v-2105  fmt="%6.2f";


if DN of chan=f-0201=1
    pos=15,138  val='OFF';
else
    pos=15,138  val='   ';
endif
pos=15,144  val=DN         chan=v-2070  fmt="%6.2f";
pos=16,144  val=DN         chan=v-2071  fmt="%6.2f";
pos=17,144  val=DN         chan=v-2072  fmt="%6.2f";

if DN of chan=f-0388=1
    pos=18,138  val='OFF';
else
    pos=18,138  val='   ';
endif
pos=18,144  val=DN         chan=v-2073  fmt="%6.2f";
pos=19,144  val=DN         chan=v-2074  fmt="%6.2f";
pos=20,144  val=DN         chan=v-2075  fmt="%6.2f";

if DN of chan=f-0418=1
    pos=21,138  val='OFF';
else
    pos=21,138  val='   ';
endif
pos=21,144  val=DN         chan=v-2076  fmt="%6.2f";
pos=22,144  val=DN         chan=v-2077  fmt="%6.2f";
pos=23,144  val=DN         chan=v-2078  fmt="%6.2f";

pos=25,144  val=DN   chan=v-2112  fmt="%6.2f";
pos=26,144  val=DN   chan=v-2111  fmt="%6.2f";



pos=33,138  val=STATE_NAME chan=l-0032  fmt="%-3.3s";
pos=33,144  val=DN         chan=v-2030  fmt="%6.2f";

pos=34,138  val=STATE_NAME chan=l-0042  fmt="%-3.3s";
pos=34,144  val=DN         chan=v-2031  fmt="%6.2f";

pos=37,138  val=STATE_NAME chan=l-0060  fmt="%-3.3s";
pos=37,144  val=DN         chan=v-2032  fmt="%6.2f";

pos=38,138  val=STATE_NAME chan=l-0070  fmt="%-3.3s";
pos=38,144  val=DN         chan=v-2034  fmt="%6.2f";

pos=39,138  val=STATE_NAME chan=l-0061  fmt="%-3.3s";
pos=39,144  val=DN         chan=v-2033  fmt="%6.2f";

pos=40,138  val=STATE_NAME chan=l-0071  fmt="%-3.3s";
pos=40,144  val=DN         chan=v-2035  fmt="%6.2f";

pos=41,138  val=STATE_NAME chan=l-0090  fmt="%-3.3s";
pos=42,138  val=STATE_NAME chan=l-0091  fmt="%-3.3s";
pos=42,144  val=DN         chan=v-2036  fmt="%6.2f";

pos=44,144  val=DN   chan=v-2108  fmt="%6.2f";
pos=45,144  val=DN   chan=v-2107  fmt="%6.2f";




pos=51,138  val=STATE_NAME chan=p-0031  fmt="%-3.3s";
pos=51,144  val=DN         chan=v-2051  fmt="%6.2f";

pos=52,138  val=STATE_NAME chan=p-0032  fmt="%-3.3s";
pos=52,144  val=DN         chan=v-2052  fmt="%6.2f";

pos=53,138  val=STATE_NAME chan=p-0033  fmt="%-3.3s";
pos=53,144  val=DN         chan=v-2053  fmt="%6.2f";

pos=54,138  val=STATE_NAME chan=p-0034  fmt="%-3.3s";
pos=54,144  val=DN         chan=v-2054  fmt="%6.2f";

pos=55,138  val=STATE_NAME chan=p-0035  fmt="%-3.3s";
pos=55,144  val=DN         chan=v-2055  fmt="%6.2f";

pos=56,138  val=STATE_NAME chan=p-0036  fmt="%-3.3s";
pos=56,144  val=DN         chan=v-2056  fmt="%6.2f";

pos=57,138  val=STATE_NAME chan=p-0037  fmt="%-3.3s";
pos=57,144  val=DN         chan=v-2057  fmt="%6.2f";

pos=58,138  val=STATE_NAME chan=p-0038  fmt="%-3.3s";
pos=58,144  val=DN         chan=v-2058  fmt="%6.2f";

pos=59,138  val=STATE_NAME chan=p-0039  fmt="%-3.3s";
pos=59,144  val=DN         chan=v-2059  fmt="%6.2f";

pos=60,138  val=STATE_NAME chan=p-0040  fmt="%-3.3s";
pos=60,144  val=DN         chan=v-2060  fmt="%6.2f";

pos=61,138  val=STATE_NAME chan=p-0041  fmt="%-3.3s";
pos=61,144  val=DN         chan=v-2061  fmt="%6.2f";

pos=62,138  val=STATE_NAME chan=p-0042  fmt="%-3.3s";
pos=62,144  val=DN         chan=v-2062  fmt="%6.2f";

pos=63,138  val=STATE_NAME chan=p-0043  fmt="%-3.3s";
pos=64,138  val=STATE_NAME chan=p-0044  fmt="%-3.3s";

pos=65,138  val=STATE_NAME chan=p-0024  fmt="%-3.3s";
pos=66,138  val=STATE_NAME chan=p-0025  fmt="%-3.3s";
pos=66,144  val=DN         chan=v-2063  fmt="%6.2f";

pos=67,138  val=STATE_NAME chan=p-0026  fmt="%-3.3s";
pos=68,138  val=STATE_NAME chan=p-0027  fmt="%-3.3s";
pos=68,144  val=DN         chan=v-2064  fmt="%6.2f";

pos=70,144  val=DN   chan=v-2110  fmt="%6.2f";
pos=71,144  val=DN   chan=v-2109  fmt="%6.2f";




pos=15,172  val=STATE_NAME chan=i-0003  fmt="%-3.3s";
pos=15,177  val=DN         chan=v-2040  fmt="%6.2f";

pos=16,172  val=STATE_NAME chan=i-0004  fmt="%-3.3s";
pos=16,177  val=DN         chan=v-2041  fmt="%6.2f";

pos=17,172  val=STATE_NAME chan=i-0005  fmt="%-3.3s";
pos=18,172  val=STATE_NAME chan=i-0006  fmt="%-3.3s";
pos=18,177  val=DN         chan=v-2042  fmt="%6.2f";

pos=19,172  val=STATE_NAME chan=i-0010  fmt="%-3.3s";
pos=19,177  val=DN         chan=v-2043  fmt="%6.2f";

pos=20,172  val=STATE_NAME chan=i-0011  fmt="%-3.3s";
pos=20,177  val=DN         chan=v-2044  fmt="%6.2f";

pos=21,172  val=STATE_NAME chan=v-2501  fmt="%-3.3s";
pos=21,177  val=DN         chan=v-2045  fmt="%6.2f";

pos=22,172  val=STATE_NAME chan=i-0012  fmt="%-3.3s";
pos=23,172  val=STATE_NAME chan=i-0013  fmt="%-3.3s";
pos=24,172  val=STATE_NAME chan=i-0014  fmt="%-3.3s";
pos=24,177  val=DN         chan=v-2046  fmt="%6.2f";

pos=25,172  val=STATE_NAME chan=i-0015  fmt="%-3.3s";
pos=25,177  val=DN         chan=v-2047  fmt="%6.2f";

pos=26,172  val=STATE_NAME chan=l-0080  fmt="%-3.3s";
pos=26,177  val=DN         chan=v-2048  fmt="%6.2f";

pos=28,177  val=DN   chan=v-2116  fmt="%6.2f";
pos=29,177  val=DN   chan=v-2115  fmt="%6.2f";



ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_cv_mon_fix1.tdl                                              #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: CV Monitor Fixed Page                                             #
# BASELINED: OGS 10-18-95                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=10,120 pos=4,1 # mgs_cv_mon_fix1.tdl

TEXTREGION

rule=static
pos=2,1    val='   MARS GLOBAL SURVEYOR CV MONITOR PAGE (CV MON FIXED PAGE #1)               ';
pos=3,1    val='                                        ';
pos=4,1    val='CV_MON_VAL                              ';
pos=5,1    val='                                        ';

rule=dynamic
pos=06,1    val=DN              chan=f-1030  fmt="%#4.4X";
pos=06,8    val=DN              chan=v-1011  fmt="%-12.12s";
pos=06,22   val=DN              chan=v-1013  fmt="%-12.12s";
pos=06,36   val=DN              chan=v-1022  fmt="%-12.12s";
pos=06,56   val=DN              chan=v-1015  fmt="%-12.12s";
pos=06,68   val=DN              chan=v-1016  fmt="%-12.12s";
pos=06,80   val=DN              chan=v-1017  fmt="%-12.12s";
pos=06,92   val=DN              chan=v-1018  fmt="%-12.12s";
pos=06,104  val=DN              chan=v-1019  fmt="%-12.12s";


ENDREGION
ENDTEMPLATE



###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_aacs_hw_fix1.tdl                                             #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: AACS Subsystem Fixed Page #1 (Hardware Summary)                   #
# BASELINED: OGS 10-18-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=57,140 pos=4,1 # mgs_aacs_hw_fix1.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR AACS SUBSYSTEM HARDWARE (AACS FIXED PAGE #1)                          ';
pos=03,1   val=' ';

pos=05,1   val='   CELESETIAL SENSOR ASSEMBLY -----';
pos=06,1   val='                                   ';
pos=07,1   val='   CS_TRI_A_PWR    X  XXXXXX       ';
pos=08,1   val='   CS_TRI_B_PWR    X  XXXXXX       ';
pos=09,1   val='   CSA_TRA+14_V  XXX  xxx.xx VOLTS ';
pos=10,1   val='   CSA_TRA-14_V  XXX  xxx.xx VOLTS ';
pos=11,1   val='   CSA_TRB+14_V  XXX  xxx.xx VOLTS ';
pos=12,1   val='   CSA_TRB-14_V  XXX  xxx.xx VOLTS ';
pos=13,1   val='                                   ';
pos=14,1   val='   CSAwdNONZERO    0xXXXX          ';
pos=15,1   val='   CSAslit_BITS    XXXXXX          ';
pos=16,1   val='   CSAslit_TIME  xxxx.xxx mSEC     ';
pos=17,1   val='   CSAslit_XING  XXXXXXXX          ';
pos=18,1   val='                                   ';
pos=19,1   val='             B2 ----- B3           ';
pos=20,1   val='               | \ / |             ';
pos=21,1   val='             B1|-- --|A1           ';
pos=22,1   val='               | / \ |             ';
pos=23,1   val='             A3 ----- A2           ';
pos=24,1   val='                                   ';
pos=25,1   val='   CSA_P_HTR       X  XXXXXX       ';
pos=26,1   val='   CSA_S_HTR       X  XXXXXX       ';
pos=27,1   val='   CSA_T         XXX  xxx.xx DEG_C ';

rule=dynamic

pos=07,20  val=DN chan=a-0001 fmt="%1d";   pos=07,23  val=STATE_NAME chan=a-0001 fmt="%6.6s";
pos=08,20  val=DN chan=a-0002 fmt="%1d";   pos=08,23  val=STATE_NAME chan=a-0002 fmt="%6.6s";
pos=09,18  val=DN chan=a-0100 fmt="%3d";   pos=09,23  val=EU         chan=a-0100 fmt="%6.2f";
pos=10,18  val=DN chan=a-0101 fmt="%3d";   pos=10,23  val=EU         chan=a-0101 fmt="%6.2f";
pos=11,18  val=DN chan=a-0102 fmt="%3d";   pos=11,23  val=EU         chan=a-0102 fmt="%6.2f";
pos=12,18  val=DN chan=a-0103 fmt="%3d";   pos=12,23  val=EU         chan=a-0103 fmt="%6.2f";
pos=14,20  val=DN chan=f-0051 fmt="%#4.4X";
pos=15,18  val=DN chan=v-0001 fmt=BIN8; pos=15,18 val='  ';
pos=16,18  val=DN chan=v-0002 fmt="%8.3f";
pos=17,18  val=DN chan=v-0003 fmt="%8.8s";

if     DN of chan=v-0001=31
    pos=20,18 val='\' ;
    pos=20,20 val='/' ;
    pos=21,17 val='--' ;
    pos=21,20 val='--';
    pos=22,18 val='/' ;
    pos=22,20 val='\' BOLD;
elseif DN of chan=v-0001=47
    pos=20,18 val='\' ;
    pos=20,20 val='/' ;
    pos=21,17 val='--' ;
    pos=21,20 val='--' BOLD;
    pos=22,18 val='/' ;
    pos=22,20 val='\' ;
elseif DN of chan=v-0001=55
    pos=20,18 val='\' ;
    pos=20,20 val='/' BOLD;
    pos=21,17 val='--' ;
    pos=21,20 val='--' ;
    pos=22,18 val='/' ;
    pos=22,20 val='\' ;
elseif DN of chan=v-0001=59
    pos=20,18 val='\' BOLD;
    pos=20,20 val='/' ;
    pos=21,17 val='--' ;
    pos=21,20 val='--' ;
    pos=22,18 val='/' ;
    pos=22,20 val='\' ;
elseif DN of chan=v-0001=61
    pos=20,18 val='\' ;
    pos=20,20 val='/' ;
    pos=21,17 val='--' BOLD;
    pos=21,20 val='--' ;
    pos=22,18 val='/' ;
    pos=22,20 val='\' ;
elseif DN of chan=v-0001=62
    pos=20,18 val='\' ;
    pos=20,20 val='/' ;
    pos=21,17 val='--' ;
    pos=21,20 val='--' ;
    pos=22,18 val='/' BOLD;
    pos=22,20 val='\' ;
else
    pos=20,18 val='\' ;
    pos=20,20 val='/' ;
    pos=21,17 val='--' ;
    pos=21,20 val='--' ;
    pos=22,18 val='/' ;
    pos=22,20 val='\' ;
endif

pos=25,20  val=DN chan=t-0001 fmt="%1d";   pos=25,23  val=STATE_NAME chan=t-0001 fmt="%6.6s";
pos=26,20  val=DN chan=t-0002 fmt="%1d";   pos=26,23  val=STATE_NAME chan=t-0002 fmt="%6.6s";
pos=27,18  val=DN chan=t-0100 fmt="%3d";   pos=27,23  val=EU         chan=t-0100 fmt="%6.2f";

rule=static

pos=29,1   val='   SUN SENSOR UNIT ----------------';
pos=30,1   val='                                   ';
pos=31,1   val='   SS1_DC_CNV_V  XXX  xxx.xx VOLTS ';
pos=32,1   val='   SS2_DC_CNV_V  XXX  xxx.xx VOLTS ';
pos=33,1   val='   SS1_ATA_I     XXX  xxx.xx uAMPS ';
pos=34,1   val='   SS2_ATA_I     XXX  xxx.xx uAMPS ';
pos=35,1   val='                                   ';
pos=36,1   val='   SSA_STATUS     XX  XXXXXXXXXXXX ';
pos=37,1   val='                                   ';
pos=38,1   val='   SSA_RET_A_GC 0xXX  Gray Code    ';
pos=39,1   val='   SSA_RET_B_GC 0xXX  Gray Code    ';
pos=40,1   val='   SSA_RET_A     XXX  Counts       ';
pos=41,1   val='   SSA_RET_B     XXX  Counts       ';
pos=42,1   val='                                   ';
pos=43,1   val='   SSA_RAW_DET        0xXXXX       ';
pos=44,1   val='   SSA_MODE_SEL    X  XXXXXXXXXXXX ';
pos=45,1   val='   SSA_SUN_SEEN    X  XXXXXXXXXXXX ';
pos=46,1   val='   SSA_CMD_DET     X  XXXXXXXXXXXX ';
pos=47,1   val='   SSA_AUTO_DET    X  XXXXXXXXXXXX ';
pos=48,1   val='                                   ';
pos=49,1   val='   RDM_SIDE_SSA    X  XXXXXXXXXXXX ';

rule=dynamic

pos=31,18  val=DN chan=a-0120 fmt="%3d";   pos=31,23  val=EU         chan=a-0120 fmt="%6.2f";
pos=32,18  val=DN chan=a-0121 fmt="%3d";   pos=32,23  val=EU         chan=a-0121 fmt="%6.2f";
pos=33,18  val=DN chan=a-0122 fmt="%3d";   pos=33,23  val=EU         chan=a-0122 fmt="%6.2f";
pos=34,18  val=DN chan=a-0123 fmt="%3d";   pos=34,23  val=EU         chan=a-0123 fmt="%6.2f";
pos=36,19  val=DN chan=f-0444 fmt="%2d";   pos=36,23  val=STATE_NAME chan=f-0444 fmt="%-12.12s";
pos=38,17  val=DN chan=f-0840 fmt="%#2.2x";
pos=39,17  val=DN chan=f-0848 fmt="%#2.2x";
pos=40,18  val=DN chan=v-0061 fmt="%3d";
pos=41,18  val=DN chan=v-0062 fmt="%3d";
pos=43,23  val=DN chan=f-0442 fmt="%#4.4x";
pos=44,20  val=DN chan=f-0868 fmt="%1d";   pos=44,23  val=STATE_NAME chan=f-0868 fmt="%-12.12s";
pos=45,20  val=DN chan=f-0869 fmt="%1d";   pos=45,23  val=STATE_NAME chan=f-0869 fmt="%-12.12s";
pos=46,20  val=DN chan=f-0870 fmt="%1d";   pos=46,23  val=STATE_NAME chan=f-0870 fmt="%-12.12s";
pos=47,20  val=DN chan=f-0873 fmt="%1d";   pos=47,23  val=STATE_NAME chan=f-0873 fmt="%-12.12s";
pos=49,19  val=DN chan=f-1720 fmt="%2d";   pos=49,23  val=STATE_NAME chan=f-1720 fmt="%-12.12s";

rule=static

pos=51,1   val='   ACCELEROMETER -------------------';
pos=52,1   val='                                    ';
pos=53,1   val='   ACCEL_-X      XXX  x.xxxx Gs     ';
pos=54,1   val='   ACCEL_-Y      XXX  x.xxxx Gs     ';
pos=55,1   val='   ACCEL_+Z      XXX  x.xxxx Gs     ';
pos=56,1   val='   ACCEL_+S      XXX  x.xxxx Gs     ';

rule=dynamic

pos=53,18  val=DN chan=a-0180 fmt="%3d";   pos=53,23  val=EU         chan=a-0180 fmt="%6.3f";
pos=54,18  val=DN chan=a-0181 fmt="%3d";   pos=54,23  val=EU         chan=a-0181 fmt="%6.3f";
pos=55,18  val=DN chan=a-0182 fmt="%3d";   pos=55,23  val=EU         chan=a-0182 fmt="%6.3f";
pos=56,18  val=DN chan=a-0183 fmt="%3d";   pos=56,23  val=EU         chan=a-0183 fmt="%6.3f";

rule=static
pos=5,36   val='   INERTIAL MEASUREMENT UNIT -------';
pos=6,36   val='                                    ';
pos=7,36   val='   GYRO1_SP_MTR    X  XXXXXXXX      ';
pos=8,36   val='   GYRO2_SP_MTR    X  XXXXXXXX      ';
pos=9,36   val='   GYRO3_SP_MTR    X  XXXXXXXX      ';
pos=10,36  val='   GYRO_OVRTMP_A   X  XXXXXXXX      ';
pos=11,36  val='   GYRO_OVRTMP_B   X  XXXXXXXX      ';
pos=12,36  val='                                    ';
pos=13,36  val='   GYRO1_MTR_I   XXX  xxx.xx mAMPS  ';
pos=14,36  val='   GYRO2_MTR_I   XXX  xxx.xx mAMPS  ';
pos=15,36  val='   GYRO3_MTR_I   XXX  xxx.xx mAMPS  ';
pos=16,36  val='                                    ';
pos=17,36  val='   SPMTR_PH_A_V  XXX  xxx.xx VOLTS  ';
pos=18,36  val='   SPMTR_PH_B_V  XXX  xxx.xx VOLTS  ';
pos=19,36  val='   SPMTR_PH_C_V  XXX  xxx.xx VOLTS  ';
pos=20,36  val='                                    ';
pos=21,36  val='   IMU_ACEL_TST    X  XXXXXXXX      ';
pos=22,36  val='   IMU_DATA_CHA    X  XXXXXXXX      ';
pos=23,36  val='   IMU_DATA_CHB    X  XXXXXXXX      ';
pos=24,36  val='                                    ';
pos=25,36  val='   IMU_HI_LO_ST    X  XXXXXXXX      ';
pos=26,36  val='                                    ';
pos=27,36  val='   IMU_HI_CMDP1    X  XXXXXXXX      ';
pos=28,36  val='   IMU_LO_CMDP1    X  XXXXXXXX      ';
pos=29,36  val='   IMU_HI_CMDP2    X  XXXXXXXX      ';
pos=30,36  val='   IMU_LO_CMDP2    X  XXXXXXXX      ';
pos=31,36  val='                                    ';
pos=32,36  val='                                    ';
pos=33,36  val='   IMU_YA-X1_TQ  XXX xx.xxxx DEG/SEC';
pos=34,36  val='   IMU_YB-X3_TQ  XXX xx.xxxx DEG/SEC';
pos=35,36  val='   IMU_ZA+Y1_TQ  XXX xx.xxxx DEG/SEC';
pos=36,36  val='   IMU_ZB+Y2_TQ  XXX xx.xxxx DEG/SEC';
pos=37,36  val='   IMU_XA-Z2_TQ  XXX xx.xxxx DEG/SEC';
pos=38,36  val='   IMU_XB-Z3_TQ  XXX xx.xxxx DEG/SEC';
pos=39,36  val='                                    ';
pos=40,36  val='   IMU_+10_DC_V  XXX  xxx.xx VOLTS  ';
pos=41,36  val='   IMU_+15_DC_V  XXX  xxx.xx VOLTS  ';
pos=42,36  val='   IMU_-15_DC_V  XXX  xxx.xx VOLTS  ';
pos=43,36  val='                                    ';
pos=44,36  val='   IMU_PR_AC_V   XXX  xxx.xx VOLTS  ';
pos=45,36  val='   IMU_BU_AC_V   XXX  xxx.xx VOLTS  ';
pos=46,36  val='   IMU_PR_DC_V   XXX  xxx.xx VOLTS  ';
pos=47,36  val='   IMU_BU_DC_V   XXX  xxx.xx VOLTS  ';
pos=48,36  val='                                    ';
pos=49,36  val='                                    ';
pos=50,36  val='   IMU_TCA_STAT    X  XXXXXXXX      ';
pos=51,36  val='   IMU_TCA_PR_V  XXX  xxx.xx VOLTS  ';
pos=52,36  val='   IMU_TCA_BU_V  XXX  xxx.xx VOLTS  ';
pos=53,36  val='                                    ';
pos=54,36  val='                                    ';
pos=55,36  val='   IMU_BLOCK_T   XXX  xxx.xx DEG_C  ';
pos=56,36  val='   IMU_HSE_T     XXX  xxx.xx DEG_C  ';


rule=dynamic

pos=07,55  val=DN chan=a-0003 fmt="%1d";   pos=07,58  val=STATE_NAME chan=a-0003 fmt="%-8.8s";
pos=08,55  val=DN chan=a-0004 fmt="%1d";   pos=08,58  val=STATE_NAME chan=a-0004 fmt="%-8.8s";
pos=09,55  val=DN chan=a-0005 fmt="%1d";   pos=09,58  val=STATE_NAME chan=a-0005 fmt="%-8.8s";
pos=10,55  val=DN chan=a-0006 fmt="%1d";   pos=10,58  val=STATE_NAME chan=a-0006 fmt="%-8.8s";
pos=11,55  val=DN chan=a-0007 fmt="%1d";   pos=11,58  val=STATE_NAME chan=a-0007 fmt="%-8.8s";
pos=13,53  val=DN chan=a-0160 fmt="%3d";   pos=13,58  val=EU         chan=a-0160 fmt="%6.2f";
pos=14,53  val=DN chan=a-0161 fmt="%3d";   pos=14,58  val=EU         chan=a-0161 fmt="%6.2f";
pos=15,53  val=DN chan=a-0162 fmt="%3d";   pos=15,58  val=EU         chan=a-0162 fmt="%6.2f";
pos=17,53  val=DN chan=a-0150 fmt="%3d";   pos=17,58  val=EU         chan=a-0150 fmt="%6.2f";
pos=18,53  val=DN chan=a-0151 fmt="%3d";   pos=18,58  val=EU         chan=a-0151 fmt="%6.2f";
pos=19,53  val=DN chan=a-0152 fmt="%3d";   pos=19,58  val=EU         chan=a-0152 fmt="%6.2f";
pos=21,55  val=DN chan=a-0008 fmt="%1d";   pos=21,58  val=STATE_NAME chan=a-0008 fmt="%-8.8s";
pos=22,55  val=DN chan=a-0009 fmt="%1d";   pos=22,58  val=STATE_NAME chan=a-0009 fmt="%-8.8s";
pos=23,55  val=DN chan=a-0010 fmt="%1d";   pos=23,58  val=STATE_NAME chan=a-0010 fmt="%-8.8s";
pos=25,55  val=DN chan=a-0011 fmt="%1d";   pos=25,58  val=STATE_NAME chan=a-0011 fmt="%-8.8s";
pos=27,55  val=DN chan=a-0020 fmt="%1d";   pos=27,58  val=STATE_NAME chan=a-0020 fmt="%-8.8s";
pos=28,55  val=DN chan=a-0021 fmt="%1d";   pos=28,58  val=STATE_NAME chan=a-0021 fmt="%-8.8s";
pos=29,55  val=DN chan=a-0022 fmt="%1d";   pos=29,58  val=STATE_NAME chan=a-0022 fmt="%-8.8s";
pos=30,55  val=DN chan=a-0023 fmt="%1d";   pos=30,58  val=STATE_NAME chan=a-0023 fmt="%-8.8s";

pos=33,53  val=DN chan=a-0132 fmt="%3d";   pos=33,57  val=EU         chan=a-0132 fmt="%7.3f";
pos=34,53  val=DN chan=a-0133 fmt="%3d";   pos=34,57  val=EU         chan=a-0133 fmt="%7.3f";
pos=35,53  val=DN chan=a-0134 fmt="%3d";   pos=35,57  val=EU         chan=a-0134 fmt="%7.3f";
pos=36,53  val=DN chan=a-0135 fmt="%3d";   pos=36,57  val=EU         chan=a-0135 fmt="%7.3f";
pos=37,53  val=DN chan=a-0130 fmt="%3d";   pos=37,57  val=EU         chan=a-0130 fmt="%7.3f";
pos=38,53  val=DN chan=a-0131 fmt="%3d";   pos=38,57  val=EU         chan=a-0131 fmt="%7.3f";

pos=40,53  val=DN chan=a-0136 fmt="%3d";   pos=40,58  val=EU         chan=a-0136 fmt="%6.2f";
pos=41,53  val=DN chan=a-0137 fmt="%3d";   pos=41,58  val=EU         chan=a-0137 fmt="%6.2f";
pos=42,53  val=DN chan=a-0138 fmt="%3d";   pos=42,58  val=EU         chan=a-0138 fmt="%6.2f";

pos=44,53  val=DN chan=a-0141 fmt="%3d";   pos=44,58  val=EU         chan=a-0141 fmt="%6.2f";
pos=45,53  val=DN chan=a-0142 fmt="%3d";   pos=45,58  val=EU         chan=a-0142 fmt="%6.2f";
pos=46,53  val=DN chan=a-0143 fmt="%3d";   pos=46,58  val=EU         chan=a-0143 fmt="%6.2f";
pos=47,53  val=DN chan=a-0144 fmt="%3d";   pos=47,58  val=EU         chan=a-0144 fmt="%6.2f";

pos=50,55  val=DN chan=a-0012 fmt="%1d";   pos=50,58  val=STATE_NAME chan=a-0012 fmt="%-8.8s";
pos=51,53  val=DN chan=a-0139 fmt="%3d";   pos=51,58  val=EU         chan=a-0139 fmt="%6.2f";
pos=52,53  val=DN chan=a-0140 fmt="%3d";   pos=52,58  val=EU         chan=a-0140 fmt="%6.2f";

pos=55,53  val=DN chan=t-0101 fmt="%3d";   pos=55,58  val=EU         chan=t-0101 fmt="%6.2f";
pos=56,53  val=DN chan=t-0102 fmt="%3d";   pos=56,58  val=EU         chan=t-0102 fmt="%6.2f";

rule=static

pos=5,72   val='   IMU STATUS ---------------';
pos=6,72   val='                             ';
pos=7,72   val='   IMU_STAT_WD1       0xXXXX ';
pos=8,72   val='                             ';
pos=9,72   val='   IMU_DCsupSEL  X  XXXXXXXX ';
pos=10,72  val='   IMU_ACsupSEL  X  XXXXXXXX ';
pos=11,72  val='   CS_TRI_B_SEL  X  XXXXXXXX ';
pos=12,72  val='   CS_TRI_A_SEL  X  XXXXXXXX ';
pos=13,72  val='   CSA_TEST_SEL  X  XXXXXXXX ';
pos=14,72  val='   IMU_RATE_SEL  X  XXXXXXXX ';
pos=15,72  val='   IMU_ST_1_06   X           ';
pos=16,72  val='   IMU_ST_1_07   X           ';
pos=17,72  val='   IMU_FORMAT    X  XXXXXXXX ';
pos=18,72  val='   IMU_Ychn_SEL  X  XXXXXXXX ';
pos=19,72  val='   IMU_Xchn_SEL  X  XXXXXXXX ';
pos=20,72  val='   IMU_Zchn_SEL  X  XXXXXXXX ';
pos=21,72  val='   IMU_DATA_SEL  X  XXXXXXXX ';
pos=22,72  val='   IMU_G3_STAT   X  XXXXXXXX ';
pos=23,72  val='   IMU_G2_STAT   X  XXXXXXXX ';
pos=24,72  val='   IMU_G1_STAT   X  XXXXXXXX ';
pos=25,72  val='                             ';
pos=26,72  val='   IMU_STW1 xxxxxxxxxxxxxxxx ';
pos=27,72  val='   IMU_MASK xxxxxxxxxxxxxxxx ';
pos=28,72  val='                             ';
pos=29,72  val='   IMU_CHK_FROZ  X  XXXXXXXX ';
pos=30,72  val='   IMU_CHK_STAT  X  XXXXXXXX ';
pos=31,72  val='                             ';

rule=dynamic

pos=07,94  val=DN chan=f-0210 fmt="%#4.4x";
pos=09,89  val=DN chan=f-0640 fmt="%1d";   pos=09,92  val=STATE_NAME chan=f-0640 fmt="%-8.8s";
pos=10,89  val=DN chan=f-0641 fmt="%1d";   pos=10,92  val=STATE_NAME chan=f-0641 fmt="%-8.8s";
pos=11,89  val=DN chan=f-0642 fmt="%1d";   pos=11,92  val=STATE_NAME chan=f-0642 fmt="%-8.8s";
pos=12,89  val=DN chan=f-0643 fmt="%1d";   pos=12,92  val=STATE_NAME chan=f-0643 fmt="%-8.8s";
pos=13,89  val=DN chan=f-0644 fmt="%1d";   pos=13,92  val=STATE_NAME chan=f-0644 fmt="%-8.8s";
pos=14,89  val=DN chan=f-0645 fmt="%1d";   pos=14,92  val=STATE_NAME chan=f-0645 fmt="%-8.8s";
pos=15,89  val=DN chan=f-0646 fmt="%1d";
pos=16,89  val=DN chan=f-0647 fmt="%1d";
pos=17,89  val=DN chan=f-0648 fmt="%1d";   pos=17,92  val=STATE_NAME chan=f-0648 fmt="%-8.8s";
pos=18,89  val=DN chan=f-0649 fmt="%1d";   pos=18,92  val=STATE_NAME chan=f-0649 fmt="%-8.8s";
pos=19,89  val=DN chan=f-0650 fmt="%1d";   pos=19,92  val=STATE_NAME chan=f-0650 fmt="%-8.8s";
pos=20,89  val=DN chan=f-0651 fmt="%1d";   pos=20,92  val=STATE_NAME chan=f-0651 fmt="%-8.8s";
pos=21,89  val=DN chan=f-0652 fmt="%1d";   pos=21,92  val=STATE_NAME chan=f-0652 fmt="%-8.8s";
pos=22,89  val=DN chan=f-0653 fmt="%1d";   pos=22,92  val=STATE_NAME chan=f-0653 fmt="%-8.8s";
pos=23,89  val=DN chan=f-0654 fmt="%1d";   pos=23,92  val=STATE_NAME chan=f-0654 fmt="%-8.8s";
pos=24,89  val=DN chan=f-0655 fmt="%1d";   pos=24,92  val=STATE_NAME chan=f-0655 fmt="%-8.8s";
pos=26,84  val=DN chan=f-0210 fmt=BIN16;
pos=27,84  val=DN chan=f-0220 fmt=BIN16;
pos=29,89  val=DN chan=f-0205 fmt="%1d";   pos=29,92  val=STATE_NAME chan=f-0205 fmt="%-8.8s";
pos=30,89  val=DN chan=f-0206 fmt="%1d";   pos=30,92  val=STATE_NAME chan=f-0206 fmt="%-8.8s";

rule=static

pos=05,102 val='   MARS HORIZON SENSOR -------------';
pos=06,102 val='                                    ';
pos=07,102 val='   MHSA1_PWR       X  XXXXXX        ';
pos=08,102 val='   MHSA2_PWR       X  XXXXXX        ';
pos=09,102 val='                                    ';
pos=10,102 val='   MHSA_DET1_V   XXX  xxx.xx VOLTS  ';
pos=11,102 val='   MHSA_DET2_V   XXX  xxx.xx VOLTS  ';
pos=12,102 val='   MHSA_VOI1_V   XXX  xxx.xx VOLTS  ';
pos=13,102 val='   MHSA_VOI2_V   XXX  xxx.xx VOLTS  ';
pos=14,102 val='   MHSA_VOII1_V  XXX  xxx.xx VOLTS  ';
pos=15,102 val='   MHSA_VOII2_V  XXX  xxx.xx VOLTS  ';
pos=16,102 val='                                    ';
pos=17,102 val='   MHSA_A1_VOLT  XXXXXX             ';
pos=18,102 val='   MHSA_B1_VOLT  XXXXXX             ';
pos=19,102 val='   MHSA_S1_VOLT  XXXXXX             ';
pos=20,102 val='   MHSA_A2_VOLT  XXXXXX             ';
pos=21,102 val='   MHSA_B2_VOLT  XXXXXX             ';
pos=22,102 val='   MHSA_S2_VOLT  XXXXXX             ';
pos=23,102 val='   MHSA_A3_VOLT  XXXXXX             ';
pos=24,102 val='   MHSA_B3_VOLT  XXXXXX             ';
pos=25,102 val='   MHSA_S3_VOLT  XXXXXX             ';
pos=26,102 val='   MHSA_A4_VOLT  XXXXXX             ';
pos=27,102 val='   MHSA_B4_VOLT  XXXXXX             ';
pos=28,102 val='   MHSA_S4_VOLT  XXXXXX             ';
pos=29,102 val='                                    ';
pos=30,102 val='   MHSA_P_HTR      X  XXXXXX        ';
pos=31,102 val='   MHSA_S_HTR      X  XXXXXX        ';
pos=32,102 val='   MHSA_S1_T     XXX  xxx.xx DEG_C  ';
pos=33,102 val='   MHSA_S2_T     XXX  xxx.xx DEG_C  ';
pos=34,102 val='   MHSA_HSE_T    XXX  xxx.xx DEG_C  ';
pos=35,102 val='                                    ';
pos=36,102 val='   RDM_SIDE_MHS    X  XXXXXX        ';

rule=dynamic

pos=07,121 val=DN chan=a-0013 fmt="%1d";   pos=07,124 val=STATE_NAME chan=a-0013 fmt="%-6.6s";
pos=08,121 val=DN chan=a-0014 fmt="%1d";   pos=08,124 val=STATE_NAME chan=a-0014 fmt="%-6.6s";
pos=10,119 val=DN chan=a-0110 fmt="%3d";   pos=10,124 val=EU         chan=a-0110 fmt="%6.2f";
pos=11,119 val=DN chan=a-0111 fmt="%3d";   pos=11,124 val=EU         chan=a-0111 fmt="%6.2f";
pos=12,119 val=DN chan=a-0112 fmt="%3d";   pos=12,124 val=EU         chan=a-0112 fmt="%6.2f";
pos=13,119 val=DN chan=a-0113 fmt="%3d";   pos=13,124 val=EU         chan=a-0113 fmt="%6.2f";
pos=14,119 val=DN chan=a-0114 fmt="%3d";   pos=14,124 val=EU         chan=a-0114 fmt="%6.2f";
pos=15,119 val=DN chan=a-0115 fmt="%3d";   pos=15,124 val=EU         chan=a-0115 fmt="%6.2f";

pos=17,118 val=DN chan=v-0010 fmt="%7d";
if DN of chan=v-0011=1
    pos=17,126 val='OVER_RANGE' BOLD;
else
    pos=17,126 val='          ' ;
endif

pos=18,118 val=DN chan=v-0018 fmt="%7d";
if DN of chan=v-0019=1
    pos=18,126 val='OVER_RANGE' BOLD;
else
    pos=18,126 val='          ' ;
endif

pos=19,118 val=DN chan=v-0026 fmt="%7d";
if DN of chan=v-0027=1
    pos=19,126 val='OVER_RANGE' BOLD;
else
    pos=19,126 val='          ' ;
endif

pos=20,118 val=DN chan=v-0012 fmt="%7d";
if DN of chan=v-0013=1
    pos=20,126 val='OVER_RANGE' BOLD;
else
    pos=20,126 val='          ' ;
endif

pos=21,118 val=DN chan=v-0020 fmt="%7d";
if DN of chan=v-0021=1
    pos=21,126 val='OVER_RANGE' BOLD;
else
    pos=21,126 val='          ' ;
endif

pos=22,118 val=DN chan=v-0028 fmt="%7d";
if DN of chan=v-0029=1
    pos=22,126 val='OVER_RANGE' BOLD;
else
    pos=22,126 val='          ' ;
endif

pos=23,118 val=DN chan=v-0014 fmt="%7d";
if DN of chan=v-0015=1
    pos=23,126 val='OVER_RANGE' BOLD;
else
    pos=23,126 val='          ' ;
endif

pos=24,118 val=DN chan=v-0022 fmt="%7d";
if DN of chan=v-0023=1
    pos=24,126 val='OVER_RANGE' BOLD;
else
    pos=24,126 val='          ' ;
endif

pos=25,118 val=DN chan=v-0030 fmt="%7d";
if DN of chan=v-0031=1
    pos=25,126 val='OVER_RANGE' BOLD;
else
    pos=25,126 val='          ' ;
endif

pos=26,118 val=DN chan=v-0016 fmt="%7d";
if DN of chan=v-0017=1
    pos=26,126 val='OVER_RANGE' BOLD;
else
    pos=26,126 val='          ' ;
endif

pos=27,118 val=DN chan=v-0024 fmt="%7d";
if DN of chan=v-0025=1
    pos=27,126 val='OVER_RANGE' BOLD;
else
    pos=27,126 val='          ' ;
endif

pos=28,118 val=DN chan=v-0032 fmt="%7d";
if DN of chan=v-0033=1
    pos=28,126 val='OVER_RANGE' BOLD;
else
    pos=28,126 val='          ' ;
endif

pos=30,121 val=DN chan=t-0003 fmt="%1d";   pos=30,124 val=STATE_NAME chan=t-0003 fmt="%-6.6s";
pos=31,121 val=DN chan=t-0004 fmt="%1d";   pos=31,124 val=STATE_NAME chan=t-0004 fmt="%-6.6s";
pos=32,119 val=DN chan=t-0103 fmt="%3d";   pos=32,124 val=EU         chan=t-0103 fmt="%6.2f";
pos=33,119 val=DN chan=t-0104 fmt="%3d";   pos=33,124 val=EU         chan=t-0104 fmt="%6.2f";
pos=34,119 val=DN chan=t-0105 fmt="%3d";   pos=34,124 val=EU         chan=t-0105 fmt="%6.2f";
pos=36,121 val=DN chan=f-1728 fmt="%1d";   pos=36,124 val=STATE_NAME chan=f-1728 fmt="%-6.6s";


rule=static

pos=32,72  val='   REACTION WHEELS ----------';
pos=33,72  val='                             ';
pos=34,72  val='   RWA_X_POWER    X   XXXXXX ';
pos=35,72  val='   RWA_Y_POWER    X   XXXXXX ';
pos=36,72  val='   RWA_Z_POWER    X   XXXXXX ';
pos=37,72  val='   RWA_S_POWER    X   XXXXXX ';
pos=38,72  val='   RDM_RWA_CNFG  XX   XXXXXX ';
pos=39,72  val='                             ';
pos=40,72  val='   X_WHEEL------------------------  Z_WHEEL------------------------';
pos=41,72  val='   RWA_X_MTR_I   XXX  xxx.xx AMPS   RWA_Z_MTR_I   XXX  xxx.xx AMPS ';
pos=42,72  val='   RWA_X_BRG_T   XXX  xxx.xx DEG_C  RWA_Z_BRG_T   XXX  xxx.xx DEG_C';
pos=43,72  val='                                                                   ';
pos=44,72  val='   RWA_WHLTRQ  XXXXX xxx.xxx Nm     RWA_WHLTRQ  XXXXX xxx.xxx Nm   ';
pos=45,72  val='                                                                   ';
pos=46,72  val='   RWA_X_D_SPD      xxxxxxxx RPM    RWA_Z_D_SPD      xxxxxxxx RPM  ';
pos=47,72  val='   RWA_X_P_LMT XXXXXXXXXXXX         RWA_Z_P_LMT XXXXXXXXXXXX      ';
pos=48,72  val='                             ';
pos=49,72  val='   Y_WHEEL------------------------  S_WHEEL------------------------';
pos=50,72  val='   RWA_Y_MTR_I   XXX  xxx.xx AMPS   RWA_S_MTR_I   XXX  xxx.xx AMPS ';
pos=51,72  val='   RWA_Y_BRG_T   XXX  xxx.xx DEG_C  RWA_S_BRG_T   XXX  xxx.xx DEG_C';
pos=52,72  val='                                                                   ';
pos=53,72  val='   RWA_WHLTRQ  XXXXX xxx.xxx Nm     RWA_WHLTRQ  XXXXX xxx.xxx Nm   ';
pos=54,72  val='                                                                   ';
pos=55,72  val='   RWA_Y_D_SPD      xxxxxxxx RPM    RWA_S_D_SPD      xxxxxxxx RPM  ';
pos=56,72  val='   RWA_Y_P_LMT XXXXXXXXXXXX         RWA_S_P_LMT XXXXXXXXXXXX      ';

rule=dynamic

pos=34,90  val=DN chan=v-0041 fmt="%1d";   pos=34,94  val=STATE_NAME chan=v-0041 fmt="%-6.6s";
pos=35,90  val=DN chan=v-0045 fmt="%1d";   pos=35,94  val=STATE_NAME chan=v-0045 fmt="%-6.6s";
pos=36,90  val=DN chan=v-0049 fmt="%1d";   pos=36,94  val=STATE_NAME chan=v-0049 fmt="%-6.6s";
pos=37,90  val=DN chan=v-0053 fmt="%1d";   pos=37,94  val=STATE_NAME chan=v-0053 fmt="%-6.6s";
pos=38,89  val=DN chan=f-1743 fmt="%2d";   pos=38,94  val=STATE_NAME chan=f-1743 fmt="%-6.6s";

pos=41,89  val=DN chan=a-0170 fmt="%3d";   pos=41,94  val=EU         chan=a-0170 fmt="%6.2f";
pos=42,89  val=DN chan=t-0106 fmt="%3d";   pos=42,94  val=EU         chan=t-0106 fmt="%6.2f";
pos=44,87  val=DN chan=f-0356 fmt="%5d";   pos=44,93  val=EU         chan=f-0356 fmt="%7.3f";
pos=46,92  val=DN         chan=v-0040 fmt="%8d";
pos=47,87  val=STATE_NAME chan=v-0042 fmt="%-12.12s";

pos=50,89  val=DN chan=a-0171 fmt="%3d";   pos=50,94  val=EU         chan=a-0171 fmt="%6.2f";
pos=51,89  val=DN chan=t-0107 fmt="%3d";   pos=51,94  val=EU         chan=t-0107 fmt="%6.2f";
pos=53,87  val=DN chan=f-0357 fmt="%5d";   pos=53,93  val=EU         chan=f-0357 fmt="%7.3f";
pos=55,92  val=DN         chan=v-0044 fmt="%8d";
pos=56,87  val=STATE_NAME chan=v-0046 fmt="%-12.12s";

pos=41,122 val=DN chan=a-0172 fmt="%3d";   pos=41,127 val=EU         chan=a-0172 fmt="%6.2f";
pos=42,122 val=DN chan=t-0108 fmt="%3d";   pos=42,127 val=EU         chan=t-0108 fmt="%6.2f";
pos=44,120 val=DN chan=f-0358 fmt="%5d";   pos=44,126 val=EU         chan=f-0358 fmt="%7.3f";
pos=46,125 val=DN         chan=v-0048 fmt="%8d";
pos=47,120 val=STATE_NAME chan=v-0050 fmt="%-12.12s";

pos=50,122 val=DN chan=a-0173 fmt="%3d";   pos=50,127 val=EU         chan=a-0173 fmt="%6.2f";
pos=51,122 val=DN chan=t-0109 fmt="%3d";   pos=51,127 val=EU         chan=t-0109 fmt="%6.2f";
pos=53,120 val=DN chan=f-0355 fmt="%5d";   pos=53,126 val=EU         chan=f-0355 fmt="%7.3f";
pos=55,125 val=DN         chan=v-0052 fmt="%8d";
pos=56,120 val=STATE_NAME chan=v-0054 fmt="%-12.12s";




ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_cdh_hw_fix.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: C&DH Subsystem Fixed Page #1 (Hardware Summary)                   #
# BASELINED: OGS 10-25-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=57,148 pos=4,1 # mgs_cdh_hw_fix.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR C&DH SUBSYSTEM HARDWARE (C&DH FIXED PAGE #1)                          ';
pos=03,1   val=' ';
pos=04,1   val='  _CIU______________________________';
pos=05,1   val=' |                                  |';
pos=06,1   val=' | CIU_BUS_SLCT    X XXXXXXXX       |';
pos=07,1   val=' | CIU_IO_X_ST     X XXXXXXXX       |';
pos=08,1   val=' |                                  |';
pos=09,1   val=' | CIU_DESR_BUS    X XXXXXXXX       |';
pos=10,1   val=' |                                  |';
pos=11,1   val=' | CIU_CLOCK_SL    X XXXXXXXX       |';
pos=12,1   val=' | CIU_RXO_SLCT    X XXXXXXXX       |';
pos=13,1   val=' |                                  |';
pos=14,1   val=' | CIU_CNTR_SCP    X XXXXXXXX       |';
pos=15,1   val=' |                                  |';
pos=16,1   val=' | CIU_SCP1_NOK    X XXXXXXXX       |';
pos=17,1   val=' | CIU_SCP2_NOK    X XXXXXXXX       |';
pos=18,1   val=' |                                  |';
pos=19,1   val=' | CIU_ACEdaA_V  XXX xxxxx.xx volts |';
pos=20,1   val=' | CIU_ACEdaB_V  XXX xxxxx.xx volts |';
pos=21,1   val=' |                                  |';
pos=22,1   val=' | CIU_ACE_A_RV  XXX xxxxx.xx volts |';
pos=23,1   val=' | CIU_ACE_B_RV  XXX xxxxx.xx volts |';
pos=24,1   val=' |                                  |';
pos=25,1   val=' | CIU_EPC+10AV  XXX xxxxx.xx volts |';
pos=26,1   val=' | CIU_EPC+10BV  XXX xxxxx.xx volts |';
pos=27,1   val=' | CIU_EPC-10AV  XXX xxxxx.xx volts |';
pos=28,1   val=' | CIU_EPC-10BV  XXX xxxxx.xx volts |';
pos=29,1   val=' |                                  |';
pos=30,1   val=' | CIU_T         XXX xxxxx.xx degC  |';
pos=31,1   val=' |__________________________________|';

rule=dynamic
pos=06,20  val=DN chan=c-0001 fmt="%1d";   pos=06,22  val=STATE_NAME chan=c-0001 fmt="%8.8s";
pos=07,20  val=DN chan=c-0004 fmt="%1d";   pos=07,22  val=STATE_NAME chan=c-0004 fmt="%8.8s";
pos=09,20  val=DN chan=c-0003 fmt="%1d";   pos=09,22  val=STATE_NAME chan=c-0003 fmt="%8.8s";
pos=11,20  val=DN chan=c-0008 fmt="%1d";   pos=11,22  val=STATE_NAME chan=c-0008 fmt="%8.8s";
pos=12,20  val=DN chan=c-0005 fmt="%1d";   pos=12,22  val=STATE_NAME chan=c-0005 fmt="%8.8s";
pos=14,20  val=DN chan=c-0002 fmt="%1d";   pos=14,22  val=STATE_NAME chan=c-0002 fmt="%8.8s";
pos=16,20  val=DN chan=c-0006 fmt="%1d";   pos=16,22  val=STATE_NAME chan=c-0006 fmt="%8.8s";
pos=17,20  val=DN chan=c-0007 fmt="%1d";   pos=17,22  val=STATE_NAME chan=c-0007 fmt="%8.8s";
pos=19,18  val=DN chan=c-0109 fmt="%3d";   pos=19,22  val=EU         chan=c-0109 fmt="%8.2f";
pos=20,18  val=DN chan=c-0110 fmt="%3d";   pos=20,22  val=EU         chan=c-0110 fmt="%8.2f";
pos=22,18  val=DN chan=c-0111 fmt="%3d";   pos=22,22  val=EU         chan=c-0111 fmt="%8.2f";
pos=23,18  val=DN chan=c-0112 fmt="%3d";   pos=23,22  val=EU         chan=c-0112 fmt="%8.2f";
pos=25,18  val=DN chan=c-0113 fmt="%3d";   pos=25,22  val=EU         chan=c-0113 fmt="%8.2f";
pos=26,18  val=DN chan=c-0114 fmt="%3d";   pos=26,22  val=EU         chan=c-0114 fmt="%8.2f";
pos=27,18  val=DN chan=c-0115 fmt="%3d";   pos=27,22  val=EU         chan=c-0115 fmt="%8.2f";
pos=28,18  val=DN chan=c-0116 fmt="%3d";   pos=28,22  val=EU         chan=c-0116 fmt="%8.2f";
pos=30,18  val=DN chan=t-0114 fmt="%3d";   pos=30,22  val=EU         chan=t-0114 fmt="%8.2f";

rule=static
pos=33,1   val='  _CIX______________________________';
pos=34,1   val=' |                                  |';
pos=35,1   val=' | CIX_BUS_SLCT    X XXXXXXXX       |';
pos=36,1   val=' | CIX_IO_X_ST     X XXXXXXXX       |';
pos=37,1   val=' |                                  |';
pos=38,1   val=' | CIX_T         XXX xxxxx.xx degC  |';
pos=39,1   val=' |__________________________________|';

rule=dynamic

pos=35,20  val=DN chan=c-0009 fmt="%1d";   pos=35,22  val=STATE_NAME chan=c-0009 fmt="%8.8s";
pos=36,20  val=DN chan=c-0010 fmt="%1d";   pos=36,22  val=STATE_NAME chan=c-0010 fmt="%8.8s";
pos=38,18  val=DN chan=t-0115 fmt="%3d";   pos=38,22  val=EU         chan=t-0115 fmt="%8.2f";


rule=static
pos=41,1   val='  _RXO______________________________';
pos=42,1   val=' |                                  |';
pos=43,1   val=' | RXO_MODE_STA    X XXXXXXXX       |';
pos=44,1   val=' |                                  |';
pos=45,1   val=' | RXO_PR_OVN_T  XXX xxxxx.xx degC  |';
pos=46,1   val=' | RXO_BU_OVN_T  XXX xxxxx.xx degC  |';
pos=47,1   val=' | RXO_BOX_T     XXX xxxxx.xx degC  |';
pos=48,1   val=' |__________________________________|';

rule=dynamic
pos=43,20  val=DN chan=c-0029 fmt="%1d";   pos=43,22  val=STATE_NAME chan=c-0029 fmt="%8.8s";
pos=45,18  val=DN chan=t-0121 fmt="%3d";   pos=45,22  val=EU         chan=t-0121 fmt="%8.2f";
pos=46,18  val=DN chan=t-0122 fmt="%3d";   pos=46,22  val=EU         chan=t-0122 fmt="%8.2f";
pos=47,18  val=DN chan=t-0123 fmt="%3d";   pos=47,22  val=EU         chan=t-0123 fmt="%8.2f";

rule=static
pos=50,1   val='  _MISSION_PHASE_RELAYS_SCU1________';
pos=51,1   val=' |                                  |';
pos=52,1   val=' | M_PHASE_R1S1    X XXXXXXXX       |';
pos=53,1   val=' | M_PHASE_R2S1    X XXXXXXXX       |';
pos=54,1   val=' | M_PHASE_R3S1    X XXXXXXXX       |';
pos=55,1   val=' | MSN_PHS_SCU1    X XXXXXXXX       |';
pos=56,1   val=' |__________________________________|';

rule=dynamic
pos=52,20  val=DN chan=c-0013 fmt="%1d";   pos=52,22  val=STATE_NAME chan=c-0013 fmt="%8.8s";
pos=53,20  val=DN chan=c-0015 fmt="%1d";   pos=53,22  val=STATE_NAME chan=c-0015 fmt="%8.8s";
pos=54,20  val=DN chan=c-0017 fmt="%1d";   pos=54,22  val=STATE_NAME chan=c-0017 fmt="%8.8s";
pos=55,20  val=DN chan=v-1007 fmt="%1d";   pos=55,22  val=STATE_NAME chan=v-1007 fmt="%8.8s";

rule=static
pos=04,40  val='  _EDF______________________________';
pos=05,40  val=' |                                  |';
pos=06,40  val=' | EDF_SIDE1_ST    X XXXXXXXX       |';
pos=07,40  val=' | EDF_SIDE2_ST    X XXXXXXXX       |';
pos=08,40  val=' |                                  |';
pos=09,40  val=' | A_CAL1_1.28V  XXX xxxxx.xx volts |';
pos=10,40  val=' | A_CAL2_1.28V  XXX xxxxx.xx volts |';
pos=11,40  val=' | A_CAL1_2.56V  XXX xxxxx.xx volts |';
pos=12,40  val=' | A_CAL2_2.56V  XXX xxxxx.xx volts |';
pos=13,40  val=' | A_CAL1_3.84V  XXX xxxxx.xx volts |';
pos=14,40  val=' | A_CAL2_3.84V  XXX xxxxx.xx volts |';
pos=15,40  val=' | A_CAL1_5.12V  XXX xxxxx.xx volts |';
pos=16,40  val=' | A_CAL2_5.12V  XXX xxxxx.xx volts |';
pos=17,40  val=' | EDF1_CNV_V    XXX xxxxx.xx volts |';
pos=18,40  val=' | EDF2_CNV_V    XXX xxxxx.xx volts |';
pos=19,40  val=' |                                  |';
pos=20,40  val=' | EDF1_CAL_I    XXX xxxxx.xx mAmps |';
pos=21,40  val=' | EDF2_CAL_I    XXX xxxxx.xx mAmps |';
pos=22,40  val=' |                                  |';
pos=23,40  val=' | EDF_BOX_T     XXX xxxxx.xx degC  |';
pos=24,40  val=' |__________________________________|';

rule=dynamic
pos=06,59  val=DN chan=c-0011 fmt="%1d";   pos=06,61  val=STATE_NAME chan=c-0011 fmt="%8.8s";
pos=07,59  val=DN chan=c-0012 fmt="%1d";   pos=07,61  val=STATE_NAME chan=c-0012 fmt="%8.8s";
pos=09,57  val=DN chan=c-0101 fmt="%3d";   pos=09,61  val=EU         chan=c-0101 fmt="%8.2f";
pos=10,57  val=DN chan=c-0102 fmt="%3d";   pos=10,61  val=EU         chan=c-0102 fmt="%8.2f";
pos=11,57  val=DN chan=c-0103 fmt="%3d";   pos=11,61  val=EU         chan=c-0103 fmt="%8.2f";
pos=12,57  val=DN chan=c-0104 fmt="%3d";   pos=12,61  val=EU         chan=c-0104 fmt="%8.2f";
pos=13,57  val=DN chan=c-0105 fmt="%3d";   pos=13,61  val=EU         chan=c-0105 fmt="%8.2f";
pos=14,57  val=DN chan=c-0106 fmt="%3d";   pos=14,61  val=EU         chan=c-0106 fmt="%8.2f";
pos=15,57  val=DN chan=c-0107 fmt="%3d";   pos=15,61  val=EU         chan=c-0107 fmt="%8.2f";
pos=16,57  val=DN chan=c-0108 fmt="%3d";   pos=16,61  val=EU         chan=c-0108 fmt="%8.2f";
pos=17,57  val=DN chan=c-0117 fmt="%3d";   pos=17,61  val=EU         chan=c-0117 fmt="%8.2f";
pos=18,57  val=DN chan=c-0119 fmt="%3d";   pos=18,61  val=EU         chan=c-0119 fmt="%8.2f";
pos=20,57  val=DN chan=c-0118 fmt="%3d";   pos=20,61  val=EU         chan=c-0118 fmt="%8.2f";
pos=21,57  val=DN chan=c-0120 fmt="%3d";   pos=21,61  val=EU         chan=c-0120 fmt="%8.2f";
pos=23,57  val=DN chan=t-0116 fmt="%3d";   pos=23,61  val=EU         chan=t-0116 fmt="%8.2f";


rule=static
pos=26,40  val='  _SCP______________________________';
pos=27,40  val=' |                                  |';
pos=28,40  val=' | SCU1_SCPK1_ST   X                |';
pos=29,40  val=' | SCU1_SCPK2_ST   X                |';
pos=30,40  val=' | SCU2_SCPK1_ST   X                |';
pos=31,40  val=' | SCU2_SCPK2_ST   X                |';
pos=32,40  val=' |                                  |';
pos=33,40  val=' | SCU1SCP1_ST     X v-1001XX       |';
pos=34,40  val=' | SCU1SCP2_ST     X v-1002XX       |';
pos=35,40  val=' | SCU2SCP1_ST     X v-1003XX       |';
pos=36,40  val=' | SCU2SCP2_ST     X v-1004XX       |';
pos=37,40  val=' |                                  |';
pos=38,40  val=' | SCP1_ALO_ERR    X XXXXXXXX       |';
pos=39,40  val=' | SCP2_ALO_ERR    X XXXXXXXX       |';
pos=40,40  val=' | SCP1_NRM_SWP    X XXXXXXXX       |';
pos=41,40  val=' | SCP2_NRM_SWP    X XXXXXXXX       |';
pos=42,40  val=' |                                  |';
pos=43,40  val=' | SCP1_+5_V     XXX xxxxx.xx volts |';
pos=44,40  val=' | SCP2_+5_V     XXX xxxxx.xx volts |';
pos=45,40  val=' |                                  |';
pos=46,40  val=' | SCP1_INTRN_T  XXX xxxxx.xx degC  |';
pos=47,40  val=' | SCP2_INTRN_T  XXX xxxxx.xx degC  |';
pos=48,40  val=' |__________________________________|';

rule=dynamic
pos=28,59  val=DN chan=c-0034 fmt="%1d";
pos=29,59  val=DN chan=c-0035 fmt="%1d";
pos=30,59  val=DN chan=c-0036 fmt="%1d";
pos=31,59  val=DN chan=c-0037 fmt="%1d";
pos=33,59  val=DN chan=v-1001 fmt="%1d";   pos=33,61  val=STATE_NAME chan=v-1001 fmt="%8.8s";
pos=34,59  val=DN chan=v-1002 fmt="%1d";   pos=34,61  val=STATE_NAME chan=v-1002 fmt="%8.8s";
pos=35,59  val=DN chan=v-1003 fmt="%1d";   pos=35,61  val=STATE_NAME chan=v-1003 fmt="%8.8s";
pos=36,59  val=DN chan=v-1004 fmt="%1d";   pos=36,61  val=STATE_NAME chan=v-1004 fmt="%8.8s";
pos=38,59  val=DN chan=c-0030 fmt="%1d";   pos=38,61  val=STATE_NAME chan=c-0030 fmt="%8.8s";
pos=39,59  val=DN chan=c-0031 fmt="%1d";   pos=39,61  val=STATE_NAME chan=c-0031 fmt="%8.8s";
pos=40,59  val=DN chan=c-0032 fmt="%1d";   pos=40,61  val=STATE_NAME chan=c-0032 fmt="%8.8s";
pos=41,59  val=DN chan=c-0033 fmt="%1d";   pos=41,61  val=STATE_NAME chan=c-0033 fmt="%8.8s";
pos=43,57  val=DN chan=c-0131 fmt="%3d";   pos=43,61  val=EU         chan=c-0131 fmt="%8.2f";
pos=44,57  val=DN chan=c-0132 fmt="%3d";   pos=44,61  val=EU         chan=c-0132 fmt="%8.2f";
pos=46,57  val=DN chan=t-0124 fmt="%3d";   pos=46,61  val=EU         chan=t-0124 fmt="%8.2f";
pos=47,57  val=DN chan=t-0125 fmt="%3d";   pos=47,61  val=EU         chan=t-0125 fmt="%8.2f";

rule=static
pos=50,40  val='  _MISSION_PHASE_RELAYS_SCU2________';
pos=51,40  val=' |                                  |';
pos=52,40  val=' | M_PHASE_R1S2    X XXXXXXXX       |';
pos=53,40  val=' | M_PHASE_R2S2    X XXXXXXXX       |';
pos=54,40  val=' | M_PHASE_R3S2    X XXXXXXXX       |';
pos=55,40  val=' | MSN_PHS_SCU2    X XXXXXXXX       |';
pos=56,40  val=' |__________________________________|';

rule=dynamic
pos=52,59  val=DN chan=c-0014 fmt="%1d";   pos=52,61  val=STATE_NAME chan=c-0014 fmt="%8.8s";
pos=53,59  val=DN chan=c-0016 fmt="%1d";   pos=53,61  val=STATE_NAME chan=c-0016 fmt="%8.8s";
pos=54,59  val=DN chan=c-0018 fmt="%1d";   pos=54,61  val=STATE_NAME chan=c-0018 fmt="%8.8s";
pos=55,59  val=DN chan=v-1008 fmt="%1d";   pos=55,61  val=STATE_NAME chan=v-1008 fmt="%8.8s";

rule=static
pos=04,79  val='  _PDS______________________________';
pos=05,79  val=' |                                  |';
pos=06,79  val=' | PDS_A_PWR       X XXXXXXXX       |';
pos=07,79  val=' | PDS_B_PWR       X XXXXXXXX       |';
pos=08,79  val=' |                                  |';
pos=09,79  val=' | PDS_A_OK        X XXXXXXXX       |';
pos=10,79  val=' | PDS_B_OK        X XXXXXXXX       |';
pos=11,79  val=' |                                  |';
pos=12,79  val=' | PDS_A_+5_V    XXX xxxxx.xx volts |';
pos=13,79  val=' | PDS_B_+5_V    XXX xxxxx.xx volts |';
pos=14,79  val=' |                                  |';
pos=15,79  val=' | PDS_BOX_T     XXX xxxxx.xx degC  |';
pos=16,79  val=' |__________________________________|';

rule=dynamic
pos=06,98  val=DN chan=c-0024 fmt="%1d";   pos=06,100 val=STATE_NAME chan=c-0024 fmt="%8.8s";
pos=07,98  val=DN chan=c-0025 fmt="%1d";   pos=07,100 val=STATE_NAME chan=c-0025 fmt="%8.8s";
pos=09,98  val=DN chan=c-0022 fmt="%1d";   pos=09,100 val=STATE_NAME chan=c-0022 fmt="%8.8s";
pos=10,98  val=DN chan=c-0023 fmt="%1d";   pos=10,100 val=STATE_NAME chan=c-0023 fmt="%8.8s";
pos=12,96  val=DN chan=c-0125 fmt="%3d";   pos=12,100 val=EU         chan=c-0125 fmt="%8.2f";
pos=13,96  val=DN chan=c-0126 fmt="%3d";   pos=13,100 val=EU         chan=c-0126 fmt="%8.2f";
pos=15,96  val=DN chan=t-0120 fmt="%3d";   pos=15,100 val=EU         chan=t-0120 fmt="%8.2f";

rule=static
pos=19,79  val='  _XSU______________________________';
pos=20,79  val=' |                                  |';
pos=21,79  val=' | MOTCROSS        X XXXXXXXX       |';
pos=22,79  val=' |                                  |';
pos=23,79  val=' | XSUSIDE1        X XXXXXXXX       |';
pos=24,79  val=' | XSUSIDE2        X XXXXXXXX       |';
pos=25,79  val=' |                                  |';
pos=26,79  val=' | XSU1_SRC       XX XXXXXXXX       |';
pos=27,79  val=' | XSU2_SRC       XX XXXXXXXX       |';
pos=28,79  val=' |                                  |';
pos=29,79  val=' | XSU1_PGC       XX XXXXXXXX       |';
pos=30,79  val=' | XSU2_PGC       XX XXXXXXXX       |';
pos=31,79  val=' |                                  |';
pos=32,79  val=' | XSU1_CNV_V    XXX xxxxx.xx volts |';
pos=33,79  val=' | XSU2_CNV_V    XXX xxxxx.xx volts |';
pos=34,79  val=' |                                  |';
pos=35,79  val=' | XSU_INTRN_T   XXX xxxxx.xx degC  |';
pos=36,79  val=' |__________________________________|';

rule=dynamic
pos=21,98  val=DN chan=c-0020 fmt="%1d";   pos=21,100 val=STATE_NAME chan=c-0020 fmt="%8.8s";
pos=23,98  val=DN chan=c-0080 fmt="%1d";   pos=23,100 val=STATE_NAME chan=c-0080 fmt="%8.8s";
pos=24,98  val=DN chan=c-0081 fmt="%1d";   pos=24,100 val=STATE_NAME chan=c-0081 fmt="%8.8s";
pos=26,97  val=DN chan=c-0087 fmt="%2d";   pos=26,100 val=STATE_NAME chan=c-0087 fmt="%8.8s";
pos=27,97  val=DN chan=c-0088 fmt="%2d";   pos=27,100 val=STATE_NAME chan=c-0088 fmt="%8.8s";
pos=29,97  val=DN chan=c-0085 fmt="%2d";   pos=29,100 val=STATE_NAME chan=c-0085 fmt="%8.8s";
pos=30,97  val=DN chan=c-0086 fmt="%2d";   pos=30,100 val=STATE_NAME chan=c-0086 fmt="%8.8s";
pos=32,96  val=DN chan=c-0151 fmt="%3d";   pos=32,100 val=EU         chan=c-0151 fmt="%8.2f";
pos=33,96  val=DN chan=c-0152 fmt="%3d";   pos=33,100 val=EU         chan=c-0152 fmt="%8.2f";
pos=35,96  val=DN chan=t-0130 fmt="%3d";   pos=35,100 val=EU         chan=t-0130 fmt="%8.2f";

rule=static
pos=39,79  val='  _SSR_ANALOG_______________________';
pos=40,79  val=' |                                  |';
pos=41,79  val=' | SSR_1A_-5V    XXX xxxxx.xx volts |';
pos=42,79  val=' | SSR_1B_-5V    XXX xxxxx.xx volts |';
pos=43,79  val=' | SSR_2A_-5V    XXX xxxxx.xx volts |';
pos=44,79  val=' | SSR_2B_-5V    XXX xxxxx.xx volts |';
pos=45,79  val=' |                                  |';
pos=46,79  val=' | SSR_1A_I      XXX xxxxx.xx mAmps |';
pos=47,79  val=' | SSR_1B_I      XXX xxxxx.xx mAmps |';
pos=48,79  val=' | SSR_2A_I      XXX xxxxx.xx mAmps |';
pos=49,79  val=' | SSR_2B_I      XXX xxxxx.xx mAmps |';
pos=50,79  val=' |                                  |';
pos=51,79  val=' | SSR_1A_T      XXX xxxxx.xx degC  |';
pos=52,79  val=' | SSR_1B_T      XXX xxxxx.xx degC  |';
pos=53,79  val=' | SSR_2A_T      XXX xxxxx.xx degC  |';
pos=54,79  val=' | SSR_2B_T      XXX xxxxx.xx degC  |';
pos=55,79  val=' |__________________________________|';

rule=dynamic
pos=41,96  val=DN chan=c-0141 fmt="%3d";   pos=41,100 val=EU         chan=c-0141 fmt="%8.2f";
pos=42,96  val=DN chan=c-0143 fmt="%3d";   pos=42,100 val=EU         chan=c-0143 fmt="%8.2f";
pos=43,96  val=DN chan=c-0145 fmt="%3d";   pos=43,100 val=EU         chan=c-0145 fmt="%8.2f";
pos=44,96  val=DN chan=c-0147 fmt="%3d";   pos=44,100 val=EU         chan=c-0147 fmt="%8.2f";
pos=46,96  val=DN chan=c-0142 fmt="%3d";   pos=46,100 val=EU         chan=c-0142 fmt="%8.2f";
pos=47,96  val=DN chan=c-0144 fmt="%3d";   pos=47,100 val=EU         chan=c-0144 fmt="%8.2f";
pos=48,96  val=DN chan=c-0146 fmt="%3d";   pos=48,100 val=EU         chan=c-0146 fmt="%8.2f";
pos=49,96  val=DN chan=c-0148 fmt="%3d";   pos=49,100 val=EU         chan=c-0148 fmt="%8.2f";
pos=51,96  val=DN chan=t-0126 fmt="%3d";   pos=51,100 val=EU         chan=t-0126 fmt="%8.2f";
pos=52,96  val=DN chan=t-0127 fmt="%3d";   pos=52,100 val=EU         chan=t-0127 fmt="%8.2f";
pos=53,96  val=DN chan=t-0128 fmt="%3d";   pos=53,100 val=EU         chan=t-0128 fmt="%8.2f";
pos=54,96  val=DN chan=t-0129 fmt="%3d";   pos=54,100 val=EU         chan=t-0129 fmt="%8.2f";

rule=static
pos=04,118 val='  _SSR_1A_DIGITAL___________';
pos=05,118 val=' |                          |';
pos=06,118 val=' | SSR_1A_PWR   XX XXXXXXXX |';
pos=07,118 val=' | SSR_1A_MODE  XX XXXXXXXX |';
pos=08,118 val=' | SSR_1A_PART  XX XXXXXXXX |';
pos=09,118 val=' | SSR_1A_CLOCK XX XXXXXXXX |';
pos=10,118 val=' | SSR_1A_READY XX XXXXXXXX |';
pos=11,118 val=' | SSR_1A_DENA  XX XXXXXXXX |';
pos=12,118 val=' | SSR_1A_EOM   XX XXXXXXXX |';
pos=13,118 val=' | SSR_1A_EOP   XX XXXXXXXX |';
pos=14,118 val=' | SSR_1A_REOP  XX XXXXXXXX |';
pos=15,118 val=' |__________________________|';
pos=16,118 val='                             ';
pos=17,118 val='  _SSR_1B_DIGITAL___________ ';
pos=18,118 val=' |                          |';
pos=19,118 val=' | SSR_1B_PWR   XX XXXXXXXX |';
pos=20,118 val=' | SSR_1B_MODE  XX XXXXXXXX |';
pos=21,118 val=' | SSR_1B_PART  XX XXXXXXXX |';
pos=22,118 val=' | SSR_1B_CLOCK XX XXXXXXXX |';
pos=23,118 val=' | SSR_1B_READY XX XXXXXXXX |';
pos=24,118 val=' | SSR_1B_DENA  XX XXXXXXXX |';
pos=25,118 val=' | SSR_1B_EOM   XX XXXXXXXX |';
pos=26,118 val=' | SSR_1B_EOP   XX XXXXXXXX |';
pos=27,118 val=' | SSR_1B_REOP  XX XXXXXXXX |';
pos=28,118 val=' |__________________________|';
pos=29,118 val='                             ';
pos=30,118 val='  _SSR_2A_DIGITAL___________ ';
pos=31,118 val=' |                          |';
pos=32,118 val=' | SSR_2A_PWR   XX XXXXXXXX |';
pos=33,118 val=' | SSR_2A_MODE  XX XXXXXXXX |';
pos=34,118 val=' | SSR_2A_PART  XX XXXXXXXX |';
pos=35,118 val=' | SSR_2A_CLOCK XX XXXXXXXX |';
pos=36,118 val=' | SSR_2A_READY XX XXXXXXXX |';
pos=37,118 val=' | SSR_2A_DENA  XX XXXXXXXX |';
pos=38,118 val=' | SSR_2A_EOM   XX XXXXXXXX |';
pos=39,118 val=' | SSR_2A_EOP   XX XXXXXXXX |';
pos=40,118 val=' | SSR_2A_REOP  XX XXXXXXXX |';
pos=41,118 val=' |__________________________|';
pos=42,118 val='                             ';
pos=43,118 val='  _SSR_2B_DIGITAL___________ ';
pos=44,118 val=' |                          |';
pos=45,118 val=' | SSR_2B_PWR   XX XXXXXXXX |';
pos=46,118 val=' | SSR_2B_MODE  XX XXXXXXXX |';
pos=47,118 val=' | SSR_2B_PART  XX XXXXXXXX |';
pos=48,118 val=' | SSR_2A_CLOCK XX XXXXXXXX |';
pos=49,118 val=' | SSR_2B_READY XX XXXXXXXX |';
pos=50,118 val=' | SSR_2B_DENA  XX XXXXXXXX |';
pos=51,118 val=' | SSR_2B_EOM   XX XXXXXXXX |';
pos=52,118 val=' | SSR_2B_EOP   XX XXXXXXXX |';
pos=53,118 val=' | SSR_2B_REOP  XX XXXXXXXX |';
pos=54,118 val=' |__________________________|';

rule=dynamic
pos=06,134 val=DN chan=c-0043 fmt="%2d";   pos=06,137 val=STATE_NAME chan=c-0043 fmt="%8.8s";
pos=07,134 val=DN chan=c-0041 fmt="%2d";   pos=07,137 val=STATE_NAME chan=c-0041 fmt="%8.8s";
pos=08,134 val=DN chan=c-0042 fmt="%2d";   pos=08,137 val=STATE_NAME chan=c-0042 fmt="%8.8s";
pos=09,134 val=DN chan=c-0040 fmt="%2d";   pos=09,137 val=STATE_NAME chan=c-0040 fmt="%8.8s";
pos=10,134 val=DN chan=c-0044 fmt="%2d";   pos=10,137 val=STATE_NAME chan=c-0044 fmt="%8.8s";
pos=11,134 val=DN chan=c-0048 fmt="%2d";   pos=11,137 val=STATE_NAME chan=c-0048 fmt="%8.8s";
pos=12,134 val=DN chan=c-0045 fmt="%2d";   pos=12,137 val=STATE_NAME chan=c-0045 fmt="%8.8s";
pos=13,134 val=DN chan=c-0046 fmt="%2d";   pos=13,137 val=STATE_NAME chan=c-0046 fmt="%8.8s";
pos=14,134 val=DN chan=c-0047 fmt="%2d";   pos=14,137 val=STATE_NAME chan=c-0047 fmt="%8.8s";

pos=19,134 val=DN chan=c-0053 fmt="%2d";   pos=19,137 val=STATE_NAME chan=c-0053 fmt="%8.8s";
pos=20,134 val=DN chan=c-0051 fmt="%2d";   pos=20,137 val=STATE_NAME chan=c-0051 fmt="%8.8s";
pos=21,134 val=DN chan=c-0052 fmt="%2d";   pos=21,137 val=STATE_NAME chan=c-0052 fmt="%8.8s";
pos=22,134 val=DN chan=c-0050 fmt="%2d";   pos=22,137 val=STATE_NAME chan=c-0050 fmt="%8.8s";
pos=23,134 val=DN chan=c-0054 fmt="%2d";   pos=23,137 val=STATE_NAME chan=c-0054 fmt="%8.8s";
pos=24,134 val=DN chan=c-0058 fmt="%2d";   pos=24,137 val=STATE_NAME chan=c-0058 fmt="%8.8s";
pos=25,134 val=DN chan=c-0055 fmt="%2d";   pos=25,137 val=STATE_NAME chan=c-0055 fmt="%8.8s";
pos=26,134 val=DN chan=c-0056 fmt="%2d";   pos=26,137 val=STATE_NAME chan=c-0056 fmt="%8.8s";
pos=27,134 val=DN chan=c-0057 fmt="%2d";   pos=27,137 val=STATE_NAME chan=c-0057 fmt="%8.8s";

pos=32,134 val=DN chan=c-0063 fmt="%2d";   pos=32,137 val=STATE_NAME chan=c-0063 fmt="%8.8s";
pos=33,134 val=DN chan=c-0061 fmt="%2d";   pos=33,137 val=STATE_NAME chan=c-0061 fmt="%8.8s";
pos=34,134 val=DN chan=c-0062 fmt="%2d";   pos=34,137 val=STATE_NAME chan=c-0062 fmt="%8.8s";
pos=35,134 val=DN chan=c-0060 fmt="%2d";   pos=35,137 val=STATE_NAME chan=c-0060 fmt="%8.8s";
pos=36,134 val=DN chan=c-0064 fmt="%2d";   pos=36,137 val=STATE_NAME chan=c-0064 fmt="%8.8s";
pos=37,134 val=DN chan=c-0068 fmt="%2d";   pos=37,137 val=STATE_NAME chan=c-0068 fmt="%8.8s";
pos=38,134 val=DN chan=c-0065 fmt="%2d";   pos=38,137 val=STATE_NAME chan=c-0065 fmt="%8.8s";
pos=39,134 val=DN chan=c-0066 fmt="%2d";   pos=39,137 val=STATE_NAME chan=c-0066 fmt="%8.8s";
pos=40,134 val=DN chan=c-0067 fmt="%2d";   pos=40,137 val=STATE_NAME chan=c-0067 fmt="%8.8s";

pos=45,134 val=DN chan=c-0073 fmt="%2d";   pos=45,137 val=STATE_NAME chan=c-0073 fmt="%8.8s";
pos=46,134 val=DN chan=c-0071 fmt="%2d";   pos=46,137 val=STATE_NAME chan=c-0071 fmt="%8.8s";
pos=47,134 val=DN chan=c-0072 fmt="%2d";   pos=47,137 val=STATE_NAME chan=c-0072 fmt="%8.8s";
# Note, SSR 2B gets clock from 2A
pos=48,134 val=DN chan=c-0060 fmt="%2d";   pos=48,137 val=STATE_NAME chan=c-0060 fmt="%8.8s";
pos=49,134 val=DN chan=c-0074 fmt="%2d";   pos=49,137 val=STATE_NAME chan=c-0074 fmt="%8.8s";
pos=50,134 val=DN chan=c-0078 fmt="%2d";   pos=50,137 val=STATE_NAME chan=c-0078 fmt="%8.8s";
pos=51,134 val=DN chan=c-0075 fmt="%2d";   pos=51,137 val=STATE_NAME chan=c-0075 fmt="%8.8s";
pos=52,134 val=DN chan=c-0076 fmt="%2d";   pos=52,137 val=STATE_NAME chan=c-0076 fmt="%8.8s";
pos=53,134 val=DN chan=c-0077 fmt="%2d";   pos=53,137 val=STATE_NAME chan=c-0077 fmt="%8.8s";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_cdh_parents.tdl                                              #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: C&DH Parent/Child Telemetry                                       #
# BASELINED: OGS 10-24-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=67,130  pos=4,1 # mgs_cdh_parents.tdl
TEXTREGION

rule=static

pos=02,02  val=' _CIU_FLAGS_______________Control____________Non-Control______';
pos=03,02  val='|                       |                  |                  |';
pos=04,02  val='| F/N-                  |                  |                  |';
pos=05,02  val='|                       |                  |                  |';
pos=06,02  val='| F/N-                  |                  |                  |';
pos=07,02  val='| F/N-                  |                  |                  |';
pos=08,02  val='| F/N-                  |                  |                  |';
pos=09,02  val='| F/N-                  |                  |                  |';
pos=10,02  val='| F/N-                  |                  |                  |';
pos=11,02  val='| F/N-                  |                  |                  |';
pos=12,02  val='| F/N-                  |                  |                  |';
pos=13,02  val='| F/N-                  |                  |                  |';
pos=14,02  val='| F/N-                  |                  |                  |';
pos=15,02  val='| F/N-                  |                  |                  |';
pos=16,02  val='| F/N-                  |                  |                  |';
pos=17,02  val='| F/N-                  |                  |                  |';
pos=18,02  val='| F/N-                  |                  |                  |';
pos=19,02  val='| F/N-                  |                  |                  |';
pos=20,02  val='| F/N-                  |                  |                  |';
pos=21,02  val='| F/N-                  |                  |                  |';
pos=22,02  val='|_______________________|__________________|__________________|';

rule=dynamic

pos=04,08 val=CHAN_INDEX chan=f-1024 fmt="%4d";
pos=04,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=04,28 val=DN                     fmt="%#4.4x";
pos=04,47 val=DN         chan=n-1024 fmt="%#4.4x";

pos=06,08 val=CHAN_INDEX chan=f-1520 fmt="%4d";
pos=06,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=06,28 val=DN                     fmt="%3d";
pos=06,32 val=STATE_NAME             fmt="%12.12s";
pos=06,47 val=DN         chan=n-1520 fmt="%3d";
pos=06,51 val=STATE_NAME             fmt="%12.12s";

pos=07,08 val=CHAN_INDEX chan=f-1521 fmt="%4d";
pos=07,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=07,28 val=DN                     fmt="%3d";
pos=07,32 val=STATE_NAME             fmt="%12.12s";
pos=07,47 val=DN         chan=n-1521 fmt="%3d";
pos=07,51 val=STATE_NAME             fmt="%12.12s";

pos=08,08 val=CHAN_INDEX chan=f-1522 fmt="%4d";
pos=08,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=08,28 val=DN                     fmt="%3d";
pos=08,32 val=STATE_NAME             fmt="%12.12s";
pos=08,47 val=DN         chan=n-1522 fmt="%3d";
pos=08,51 val=STATE_NAME             fmt="%12.12s";

pos=09,08 val=CHAN_INDEX chan=f-1523 fmt="%4d";
pos=09,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=09,28 val=DN                     fmt="%3d";
pos=09,32 val=STATE_NAME             fmt="%12.12s";
pos=09,47 val=DN         chan=n-1523 fmt="%3d";
pos=09,51 val=STATE_NAME             fmt="%12.12s";

pos=10,08 val=CHAN_INDEX chan=f-1524 fmt="%4d";
pos=10,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=10,28 val=DN                     fmt="%3d";
pos=10,32 val=STATE_NAME             fmt="%12.12s";
pos=10,47 val=DN         chan=n-1524 fmt="%3d";
pos=10,51 val=STATE_NAME             fmt="%12.12s";

pos=11,08 val=CHAN_INDEX chan=f-1525 fmt="%4d";
pos=11,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=11,28 val=DN                     fmt="%3d";
pos=11,32 val=STATE_NAME             fmt="%12.12s";
pos=11,47 val=DN         chan=n-1525 fmt="%3d";
pos=11,51 val=STATE_NAME             fmt="%12.12s";

pos=12,08 val=CHAN_INDEX chan=f-1526 fmt="%4d";
pos=12,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=12,28 val=DN                     fmt="%3d";
pos=12,32 val=STATE_NAME             fmt="%12.12s";
pos=12,47 val=DN         chan=n-1526 fmt="%3d";
pos=12,51 val=STATE_NAME             fmt="%12.12s";

pos=13,08 val=CHAN_INDEX chan=f-1527 fmt="%4d";
pos=13,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=13,28 val=DN                     fmt="%3d";
pos=13,32 val=STATE_NAME             fmt="%12.12s";
pos=13,47 val=DN         chan=n-1527 fmt="%3d";
pos=13,51 val=STATE_NAME             fmt="%12.12s";

pos=14,08 val=CHAN_INDEX chan=f-1528 fmt="%4d";
pos=14,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=14,28 val=DN                     fmt="%3d";
pos=14,32 val=STATE_NAME             fmt="%12.12s";
pos=14,47 val=DN         chan=n-1528 fmt="%3d";
pos=14,51 val=STATE_NAME             fmt="%12.12s";

pos=15,08 val=CHAN_INDEX chan=f-1529 fmt="%4d";
pos=15,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=15,28 val=DN                     fmt="%3d";
pos=15,32 val=STATE_NAME             fmt="%12.12s";
pos=15,47 val=DN         chan=n-1529 fmt="%3d";
pos=15,51 val=STATE_NAME             fmt="%12.12s";

pos=16,08 val=CHAN_INDEX chan=f-1530 fmt="%4d";
pos=16,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=16,28 val=DN                     fmt="%3d";
pos=16,32 val=STATE_NAME             fmt="%12.12s";
pos=16,47 val=DN         chan=n-1530 fmt="%3d";
pos=16,51 val=STATE_NAME             fmt="%12.12s";

pos=17,08 val=CHAN_INDEX chan=f-1531 fmt="%4d";
pos=17,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=17,28 val=DN                     fmt="%3d";
pos=17,32 val=STATE_NAME             fmt="%12.12s";
pos=17,47 val=DN         chan=n-1531 fmt="%3d";
pos=17,51 val=STATE_NAME             fmt="%12.12s";

pos=18,08 val=CHAN_INDEX chan=f-1532 fmt="%4d";
pos=18,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=18,28 val=DN                     fmt="%3d";
pos=18,32 val=STATE_NAME             fmt="%12.12s";
pos=18,47 val=DN         chan=n-1532 fmt="%3d";
pos=18,51 val=STATE_NAME             fmt="%12.12s";

pos=19,08 val=CHAN_INDEX chan=f-1533 fmt="%4d";
pos=19,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=19,28 val=DN                     fmt="%3d";
pos=19,32 val=STATE_NAME             fmt="%12.12s";
pos=19,47 val=DN         chan=n-1533 fmt="%3d";
pos=19,51 val=STATE_NAME             fmt="%12.12s";

pos=20,08 val=CHAN_INDEX chan=f-1534 fmt="%4d";
pos=20,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=20,28 val=DN                     fmt="%3d";
pos=20,32 val=STATE_NAME             fmt="%12.12s";
pos=20,47 val=DN         chan=n-1534 fmt="%3d";
pos=20,51 val=STATE_NAME             fmt="%12.12s";

pos=21,08 val=CHAN_INDEX chan=f-1535 fmt="%4d";
pos=21,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=21,28 val=DN                     fmt="%3d";
pos=21,32 val=STATE_NAME             fmt="%12.12s";
pos=21,47 val=DN         chan=n-1535 fmt="%3d";
pos=21,51 val=STATE_NAME             fmt="%12.12s";


rule=static

pos=24,02  val=' _CIX_FLAGS_______________Control____________Non-Control______';
pos=25,02  val='|                       |                  |                  |';
pos=26,02  val='| F/N-                  |                  |                  |';
pos=27,02  val='|                       |                  |                  |';
pos=28,02  val='| F/N-                  |                  |                  |';
pos=29,02  val='| F/N-                  |                  |                  |';
pos=30,02  val='| F/N-                  |                  |                  |';
pos=31,02  val='| F/N-                  |                  |                  |';
pos=32,02  val='| F/N-                  |                  |                  |';
pos=33,02  val='| F/N-                  |                  |                  |';
pos=34,02  val='| F/N-                  |                  |                  |';
pos=35,02  val='| F/N-                  |                  |                  |';
pos=36,02  val='| F/N-                  |                  |                  |';
pos=37,02  val='| F/N-                  |                  |                  |';
pos=38,02  val='| F/N-                  |                  |                  |';
pos=39,02  val='| F/N-                  |                  |                  |';
pos=40,02  val='| F/N-                  |                  |                  |';
pos=41,02  val='| F/N-                  |                  |                  |';
pos=42,02  val='| F/N-                  |                  |                  |';
pos=43,02  val='| F/N-                  |                  |                  |';
pos=44,02  val='|_______________________|__________________|__________________|';

rule=dynamic

pos=26,08 val=CHAN_INDEX chan=f-1026 fmt="%4d";
pos=26,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=26,28 val=DN                     fmt="%#4.4x";
pos=26,47 val=DN         chan=n-1026 fmt="%#4.4x";

pos=28,08 val=CHAN_INDEX chan=f-1540 fmt="%4d";
pos=28,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=28,28 val=DN                     fmt="%3d";
pos=28,32 val=STATE_NAME             fmt="%12.12s";
pos=28,47 val=DN         chan=n-1540 fmt="%3d";
pos=28,51 val=STATE_NAME             fmt="%12.12s";

pos=29,08 val=CHAN_INDEX chan=f-1541 fmt="%4d";
pos=29,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=29,28 val=DN                     fmt="%3d";
pos=29,32 val=STATE_NAME             fmt="%12.12s";
pos=29,47 val=DN         chan=n-1541 fmt="%3d";
pos=29,51 val=STATE_NAME             fmt="%12.12s";

pos=30,08 val=CHAN_INDEX chan=f-1542 fmt="%4d";
pos=30,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=30,28 val=DN                     fmt="%3d";
pos=30,32 val=STATE_NAME             fmt="%12.12s";
pos=30,47 val=DN         chan=n-1542 fmt="%3d";
pos=30,51 val=STATE_NAME             fmt="%12.12s";

pos=31,08 val=CHAN_INDEX chan=f-1543 fmt="%4d";
pos=31,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=31,28 val=DN                     fmt="%3d";
pos=31,32 val=STATE_NAME             fmt="%12.12s";
pos=31,47 val=DN         chan=n-1543 fmt="%3d";
pos=31,51 val=STATE_NAME             fmt="%12.12s";

pos=32,08 val=CHAN_INDEX chan=f-1544 fmt="%4d";
pos=32,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=32,28 val=DN                     fmt="%3d";
pos=32,32 val=STATE_NAME             fmt="%12.12s";
pos=32,47 val=DN         chan=n-1544 fmt="%3d";
pos=32,51 val=STATE_NAME             fmt="%12.12s";

pos=33,08 val=CHAN_INDEX chan=f-1545 fmt="%4d";
pos=33,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=33,28 val=DN                     fmt="%3d";
pos=33,32 val=STATE_NAME             fmt="%12.12s";
pos=33,47 val=DN         chan=n-1545 fmt="%3d";
pos=33,51 val=STATE_NAME             fmt="%12.12s";

pos=34,08 val=CHAN_INDEX chan=f-1546 fmt="%4d";
pos=34,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=34,28 val=DN                     fmt="%3d";
pos=34,32 val=STATE_NAME             fmt="%12.12s";
pos=34,47 val=DN         chan=n-1546 fmt="%3d";
pos=34,51 val=STATE_NAME             fmt="%12.12s";

pos=35,08 val=CHAN_INDEX chan=f-1547 fmt="%4d";
pos=35,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=35,28 val=DN                     fmt="%3d";
pos=35,32 val=STATE_NAME             fmt="%12.12s";
pos=35,47 val=DN         chan=n-1547 fmt="%3d";
pos=35,51 val=STATE_NAME             fmt="%12.12s";

pos=36,08 val=CHAN_INDEX chan=f-1548 fmt="%4d";
pos=36,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=36,28 val=DN                     fmt="%3d";
pos=36,32 val=STATE_NAME             fmt="%12.12s";
pos=36,47 val=DN         chan=n-1548 fmt="%3d";
pos=36,51 val=STATE_NAME             fmt="%12.12s";

pos=37,08 val=CHAN_INDEX chan=f-1549 fmt="%4d";
pos=37,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=37,28 val=DN                     fmt="%3d";
pos=37,32 val=STATE_NAME             fmt="%12.12s";
pos=37,47 val=DN         chan=n-1549 fmt="%3d";
pos=37,51 val=STATE_NAME             fmt="%12.12s";

pos=38,08 val=CHAN_INDEX chan=f-1550 fmt="%4d";
pos=38,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=38,28 val=DN                     fmt="%3d";
pos=38,32 val=STATE_NAME             fmt="%12.12s";
pos=38,47 val=DN         chan=n-1550 fmt="%3d";
pos=38,51 val=STATE_NAME             fmt="%12.12s";

pos=39,08 val=CHAN_INDEX chan=f-1551 fmt="%4d";
pos=39,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=39,28 val=DN                     fmt="%3d";
pos=39,32 val=STATE_NAME             fmt="%12.12s";
pos=39,47 val=DN         chan=n-1551 fmt="%3d";
pos=39,51 val=STATE_NAME             fmt="%12.12s";

pos=40,08 val=CHAN_INDEX chan=f-1552 fmt="%4d";
pos=40,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=40,28 val=DN                     fmt="%3d";
pos=40,32 val=STATE_NAME             fmt="%12.12s";
pos=40,47 val=DN         chan=n-1552 fmt="%3d";
pos=40,51 val=STATE_NAME             fmt="%12.12s";

pos=41,08 val=CHAN_INDEX chan=f-1553 fmt="%4d";
pos=41,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=41,28 val=DN                     fmt="%3d";
pos=41,32 val=STATE_NAME             fmt="%12.12s";
pos=41,47 val=DN         chan=n-1553 fmt="%3d";
pos=41,51 val=STATE_NAME             fmt="%12.12s";

pos=42,08 val=CHAN_INDEX chan=f-1554 fmt="%4d";
pos=42,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=42,28 val=DN                     fmt="%3d";
pos=42,32 val=STATE_NAME             fmt="%12.12s";
pos=42,47 val=DN         chan=n-1554 fmt="%3d";
pos=42,51 val=STATE_NAME             fmt="%12.12s";

pos=43,08 val=CHAN_INDEX chan=f-1555 fmt="%4d";
pos=43,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=43,28 val=DN                     fmt="%3d";
pos=43,32 val=STATE_NAME             fmt="%12.12s";
pos=43,47 val=DN         chan=n-1555 fmt="%3d";
pos=43,51 val=STATE_NAME             fmt="%12.12s";


rule=static

pos=46,02  val=' _DEVICE_DEAD_____________Control____________Non-Control______';
pos=47,02  val='|                       |                  |                  |';
pos=48,02  val='| F/N-                  |                  |                  |';
pos=49,02  val='|                       |                  |                  |';
pos=50,02  val='| F/N-                  |                  |                  |';
pos=51,02  val='| F/N-                  |                  |                  |';
pos=52,02  val='| F/N-                  |                  |                  |';
pos=53,02  val='| F/N-                  |                  |                  |';
pos=54,02  val='| F/N-                  |                  |                  |';
pos=55,02  val='| F/N-                  |                  |                  |';
pos=56,02  val='| F/N-                  |                  |                  |';
pos=57,02  val='| F/N-                  |                  |                  |';
pos=58,02  val='| F/N-                  |                  |                  |';
pos=59,02  val='| F/N-                  |                  |                  |';
pos=60,02  val='| F/N-                  |                  |                  |';
pos=61,02  val='| F/N-                  |                  |                  |';
pos=62,02  val='| F/N-                  |                  |                  |';
pos=63,02  val='| F/N-                  |                  |                  |';
pos=64,02  val='| F/N-                  |                  |                  |';
pos=65,02  val='| F/N-                  |                  |                  |';
pos=66,02  val='|_______________________|__________________|__________________|';

rule=dynamic

pos=48,08 val=CHAN_INDEX chan=f-1034 fmt="%4d";
pos=48,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=48,28 val=DN                     fmt="%#4.4x";
pos=48,47 val=DN         chan=n-1034 fmt="%#4.4x";

pos=50,08 val=CHAN_INDEX chan=f-1560 fmt="%4d";
pos=50,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=50,28 val=DN                     fmt="%3d";
pos=50,32 val=STATE_NAME             fmt="%12.12s";
pos=50,47 val=DN         chan=n-1560 fmt="%3d";
pos=50,51 val=STATE_NAME             fmt="%12.12s";

pos=51,08 val=CHAN_INDEX chan=f-1561 fmt="%4d";
pos=51,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=51,28 val=DN                     fmt="%3d";
pos=51,32 val=STATE_NAME             fmt="%12.12s";
pos=51,47 val=DN         chan=n-1561 fmt="%3d";
pos=51,51 val=STATE_NAME             fmt="%12.12s";

pos=52,08 val=CHAN_INDEX chan=f-1562 fmt="%4d";
pos=52,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=52,28 val=DN                     fmt="%3d";
pos=52,32 val=STATE_NAME             fmt="%12.12s";
pos=52,47 val=DN         chan=n-1562 fmt="%3d";
pos=52,51 val=STATE_NAME             fmt="%12.12s";

pos=53,08 val=CHAN_INDEX chan=f-1563 fmt="%4d";
pos=53,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=53,28 val=DN                     fmt="%3d";
pos=53,32 val=STATE_NAME             fmt="%12.12s";
pos=53,47 val=DN         chan=n-1563 fmt="%3d";
pos=53,51 val=STATE_NAME             fmt="%12.12s";

pos=54,08 val=CHAN_INDEX chan=f-1564 fmt="%4d";
pos=54,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=54,28 val=DN                     fmt="%3d";
pos=54,32 val=STATE_NAME             fmt="%12.12s";
pos=54,47 val=DN         chan=n-1564 fmt="%3d";
pos=54,51 val=STATE_NAME             fmt="%12.12s";

pos=55,08 val=CHAN_INDEX chan=f-1565 fmt="%4d";
pos=55,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=55,28 val=DN                     fmt="%3d";
pos=55,32 val=STATE_NAME             fmt="%12.12s";
pos=55,47 val=DN         chan=n-1565 fmt="%3d";
pos=55,51 val=STATE_NAME             fmt="%12.12s";

pos=56,08 val=CHAN_INDEX chan=f-1566 fmt="%4d";
pos=56,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=56,28 val=DN                     fmt="%3d";
pos=56,32 val=STATE_NAME             fmt="%12.12s";
pos=56,47 val=DN         chan=n-1566 fmt="%3d";
pos=56,51 val=STATE_NAME             fmt="%12.12s";

pos=57,08 val=CHAN_INDEX chan=f-1567 fmt="%4d";
pos=57,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=57,28 val=DN                     fmt="%3d";
pos=57,32 val=STATE_NAME             fmt="%12.12s";
pos=57,47 val=DN         chan=n-1567 fmt="%3d";
pos=57,51 val=STATE_NAME             fmt="%12.12s";

pos=58,08 val=CHAN_INDEX chan=f-1568 fmt="%4d";
pos=58,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=58,28 val=DN                     fmt="%3d";
pos=58,32 val=STATE_NAME             fmt="%12.12s";
pos=58,47 val=DN         chan=n-1568 fmt="%3d";
pos=58,51 val=STATE_NAME             fmt="%12.12s";

pos=59,08 val=CHAN_INDEX chan=f-1569 fmt="%4d";
pos=59,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=59,28 val=DN                     fmt="%3d";
pos=59,32 val=STATE_NAME             fmt="%12.12s";
pos=59,47 val=DN         chan=n-1569 fmt="%3d";
pos=59,51 val=STATE_NAME             fmt="%12.12s";

pos=60,08 val=CHAN_INDEX chan=f-1570 fmt="%4d";
pos=60,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=60,28 val=DN                     fmt="%3d";
pos=60,32 val=STATE_NAME             fmt="%12.12s";
pos=60,47 val=DN         chan=n-1570 fmt="%3d";
pos=60,51 val=STATE_NAME             fmt="%12.12s";

pos=61,08 val=CHAN_INDEX chan=f-1571 fmt="%4d";
pos=61,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=61,28 val=DN                     fmt="%3d";
pos=61,32 val=STATE_NAME             fmt="%12.12s";
pos=61,47 val=DN         chan=n-1571 fmt="%3d";
pos=61,51 val=STATE_NAME             fmt="%12.12s";

pos=62,08 val=CHAN_INDEX chan=f-1572 fmt="%4d";
pos=62,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=62,28 val=DN                     fmt="%3d";
pos=62,32 val=STATE_NAME             fmt="%12.12s";
pos=62,47 val=DN         chan=n-1572 fmt="%3d";
pos=62,51 val=STATE_NAME             fmt="%12.12s";

pos=63,08 val=CHAN_INDEX chan=f-1573 fmt="%4d";
pos=63,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=63,28 val=DN                     fmt="%3d";
pos=63,32 val=STATE_NAME             fmt="%12.12s";
pos=63,47 val=DN         chan=n-1573 fmt="%3d";
pos=63,51 val=STATE_NAME             fmt="%12.12s";

pos=64,08 val=CHAN_INDEX chan=f-1574 fmt="%4d";
pos=64,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=64,28 val=DN                     fmt="%3d";
pos=64,32 val=STATE_NAME             fmt="%12.12s";
pos=64,47 val=DN         chan=n-1574 fmt="%3d";
pos=64,51 val=STATE_NAME             fmt="%12.12s";

pos=65,08 val=CHAN_INDEX chan=f-1575 fmt="%4d";
pos=65,13 val=CHAN_TITLE             fmt="%-12.12s";
pos=65,28 val=DN                     fmt="%3d";
pos=65,32 val=STATE_NAME             fmt="%12.12s";
pos=65,47 val=DN         chan=n-1575 fmt="%3d";
pos=65,51 val=STATE_NAME             fmt="%12.12s";


rule=static

pos=02,67  val=' _MEOK_WORD_______________Control____________Non-Control______';
pos=03,67  val='|                       |                  |                  |';
pos=04,67  val='| F/N-                  |                  |                  |';
pos=05,67  val='|                       |                  |                  |';
pos=06,67  val='| F/N-                  |                  |                  |';
pos=07,67  val='| F/N-                  |                  |                  |';
pos=08,67  val='| F/N-                  |                  |                  |';
pos=09,67  val='| F/N-                  |                  |                  |';
pos=10,67  val='| F/N-                  |                  |                  |';
pos=11,67  val='| F/N-                  |                  |                  |';
pos=12,67  val='| F/N-                  |                  |                  |';
pos=13,67  val='| F/N-                  |                  |                  |';
pos=14,67  val='| F/N-                  |                  |                  |';
pos=15,67  val='| F/N-                  |                  |                  |';
pos=16,67  val='| F/N-                  |                  |                  |';
pos=17,67  val='|                       |                  |                  |';
pos=18,67  val='|                       |                  |                  |';
pos=19,67  val='|                       |                  |                  |';
pos=20,67  val='|                       |                  |                  |';
pos=21,67  val='|                       |                  |                  |';
pos=22,67  val='|_______________________|__________________|__________________|';

rule=dynamic

pos=04,73  val=CHAN_INDEX chan=f-1092 fmt="%4d";
pos=04,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=04,93  val=DN                     fmt="%#4.4x";
pos=04,112 val=DN         chan=n-1092 fmt="%#4.4x";

pos=06,73  val=CHAN_INDEX chan=f-1580 fmt="%4d";
pos=06,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=06,93  val=DN                     fmt="%3d";
pos=06,97  val=STATE_NAME             fmt="%12.12s";
pos=06,112 val=DN         chan=n-1580 fmt="%3d";
pos=06,116 val=STATE_NAME             fmt="%12.12s";

pos=07,73  val=CHAN_INDEX chan=f-1581 fmt="%4d";
pos=07,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=07,93  val=DN                     fmt="%3d";
pos=07,97  val=STATE_NAME             fmt="%12.12s";
pos=07,112 val=DN         chan=n-1581 fmt="%3d";
pos=07,116 val=STATE_NAME             fmt="%12.12s";

pos=08,73  val=CHAN_INDEX chan=f-1582 fmt="%4d";
pos=08,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=08,93  val=DN                     fmt="%3d";
pos=08,97  val=STATE_NAME             fmt="%12.12s";
pos=08,112 val=DN         chan=n-1582 fmt="%3d";
pos=08,116 val=STATE_NAME             fmt="%12.12s";

pos=09,73  val=CHAN_INDEX chan=f-1583 fmt="%4d";
pos=09,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=09,93  val=DN                     fmt="%3d";
pos=09,97  val=STATE_NAME             fmt="%12.12s";
pos=09,112 val=DN         chan=n-1583 fmt="%3d";
pos=09,116 val=STATE_NAME             fmt="%12.12s";

pos=10,73  val=CHAN_INDEX chan=f-1584 fmt="%4d";
pos=10,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=10,93  val=DN                     fmt="%3d";
pos=10,97  val=STATE_NAME             fmt="%12.12s";
pos=10,112 val=DN         chan=n-1584 fmt="%3d";
pos=10,116 val=STATE_NAME             fmt="%12.12s";

pos=11,73  val=CHAN_INDEX chan=f-1585 fmt="%4d";
pos=11,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=11,93  val=DN                     fmt="%3d";
pos=11,97  val=STATE_NAME             fmt="%12.12s";
pos=11,112 val=DN         chan=n-1585 fmt="%3d";
pos=11,116 val=STATE_NAME             fmt="%12.12s";

pos=12,73  val=CHAN_INDEX chan=f-1586 fmt="%4d";
pos=12,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=12,93  val=DN                     fmt="%3d";
pos=12,97  val=STATE_NAME             fmt="%12.12s";
pos=12,112 val=DN         chan=n-1586 fmt="%3d";
pos=12,116 val=STATE_NAME             fmt="%12.12s";

pos=13,73  val=CHAN_INDEX chan=f-1587 fmt="%4d";
pos=13,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=13,93  val=DN                     fmt="%3d";
pos=13,97  val=STATE_NAME             fmt="%12.12s";
pos=13,112 val=DN         chan=n-1587 fmt="%3d";
pos=13,116 val=STATE_NAME             fmt="%12.12s";

pos=14,73  val=CHAN_INDEX chan=f-1588 fmt="%4d";
pos=14,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=14,93  val=DN                     fmt="%3d";
pos=14,97  val=STATE_NAME             fmt="%12.12s";
pos=14,112 val=DN         chan=n-1588 fmt="%3d";
pos=14,116 val=STATE_NAME             fmt="%12.12s";

pos=15,73  val=CHAN_INDEX chan=f-1589 fmt="%4d";
pos=15,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=15,93  val=DN                     fmt="%3d";
pos=15,97  val=STATE_NAME             fmt="%12.12s";
pos=15,112 val=DN         chan=n-1589 fmt="%3d";
pos=15,116 val=STATE_NAME             fmt="%12.12s";

pos=16,73  val=CHAN_INDEX chan=f-1590 fmt="%4d";
pos=16,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=16,93  val=DN                     fmt="%3d";
pos=16,112 val=DN         chan=n-1590 fmt="%3d";



rule=static

pos=24,67   val=' _AUTOENAB________________Control____________Non-Control______';
pos=25,67   val='|                       |                  |                  |';
pos=26,67   val='| F/N-                  |                  |                  |';
pos=27,67   val='|                       |                  |                  |';
pos=28,67   val='| F/N-                  |                  |                  |';
pos=29,67   val='| F/N-                  |                  |                  |';
pos=30,67   val='| F/N-                  |                  |                  |';
pos=31,67   val='| F/N-                  |                  |                  |';
pos=32,67   val='| F/N-                  |                  |                  |';
pos=33,67   val='| F/N-                  |                  |                  |';
pos=34,67   val='| F/N-                  |                  |                  |';
pos=35,67   val='| F/N-                  |                  |                  |';
pos=36,67   val='| F/N-                  |                  |                  |';
pos=37,67   val='| F/N-                  |                  |                  |';
pos=38,67   val='| F/N-                  |                  |                  |';
pos=39,67   val='| F/N-                  |                  |                  |';
pos=40,67   val='| F/N-                  |                  |                  |';
pos=41,67   val='| F/N-                  |                  |                  |';
pos=42,67   val='| F/N-                  |                  |                  |';
pos=43,67   val='| F/N-                  |                  |                  |';
pos=44,67   val='|_______________________|__________________|__________________|';

rule=dynamic

pos=26,73  val=CHAN_INDEX chan=f-1008 fmt="%4d";
pos=26,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=26,93  val=DN                     fmt="%#4.4x";
pos=26,112 val=DN         chan=n-1008 fmt="%#4.4x";

pos=28,73  val=CHAN_INDEX chan=f-1500 fmt="%4d";
pos=28,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=28,93  val=DN                     fmt="%3d";
pos=28,97  val=STATE_NAME             fmt="%12.12s";
pos=28,112 val=DN         chan=n-1500 fmt="%3d";
pos=28,116 val=STATE_NAME             fmt="%12.12s";

pos=29,73  val=CHAN_INDEX chan=f-1501 fmt="%4d";
pos=29,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=29,93  val=DN                     fmt="%3d";
pos=29,97  val=STATE_NAME             fmt="%12.12s";
pos=29,112 val=DN         chan=n-1501 fmt="%3d";
pos=29,116 val=STATE_NAME             fmt="%12.12s";

pos=30,73  val=CHAN_INDEX chan=f-1502 fmt="%4d";
pos=30,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=30,93  val=DN                     fmt="%3d";
pos=30,97  val=STATE_NAME             fmt="%12.12s";
pos=30,112 val=DN         chan=n-1502 fmt="%3d";
pos=30,116 val=STATE_NAME             fmt="%12.12s";

pos=31,73  val=CHAN_INDEX chan=f-1503 fmt="%4d";
pos=31,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=31,93  val=DN                     fmt="%3d";
pos=31,97  val=STATE_NAME             fmt="%12.12s";
pos=31,112 val=DN         chan=n-1503 fmt="%3d";
pos=31,116 val=STATE_NAME             fmt="%12.12s";

pos=32,73  val=CHAN_INDEX chan=f-1504 fmt="%4d";
pos=32,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=32,93  val=DN                     fmt="%3d";
pos=32,97  val=STATE_NAME             fmt="%12.12s";
pos=32,112 val=DN         chan=n-1504 fmt="%3d";
pos=32,116 val=STATE_NAME             fmt="%12.12s";

pos=33,73  val=CHAN_INDEX chan=f-1505 fmt="%4d";
pos=33,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=33,93  val=DN                     fmt="%3d";
pos=33,97  val=STATE_NAME             fmt="%12.12s";
pos=33,112 val=DN         chan=n-1505 fmt="%3d";
pos=33,116 val=STATE_NAME             fmt="%12.12s";

pos=34,73  val=CHAN_INDEX chan=f-1506 fmt="%4d";
pos=34,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=34,93  val=DN                     fmt="%3d";
pos=34,97  val=STATE_NAME             fmt="%12.12s";
pos=34,112 val=DN         chan=n-1506 fmt="%3d";
pos=34,116 val=STATE_NAME             fmt="%12.12s";

pos=35,73  val=CHAN_INDEX chan=f-1507 fmt="%4d";
pos=35,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=35,93  val=DN                     fmt="%3d";
pos=35,97  val=STATE_NAME             fmt="%12.12s";
pos=35,112 val=DN         chan=n-1507 fmt="%3d";
pos=35,116 val=STATE_NAME             fmt="%12.12s";

pos=36,73  val=CHAN_INDEX chan=f-1508 fmt="%4d";
pos=36,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=36,93  val=DN                     fmt="%3d";
pos=36,97  val=STATE_NAME             fmt="%12.12s";
pos=36,112 val=DN         chan=n-1508 fmt="%3d";
pos=36,116 val=STATE_NAME             fmt="%12.12s";

pos=37,73  val=CHAN_INDEX chan=f-1509 fmt="%4d";
pos=37,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=37,93  val=DN                     fmt="%3d";
pos=37,97  val=STATE_NAME             fmt="%12.12s";
pos=37,112 val=DN         chan=n-1509 fmt="%3d";
pos=37,116 val=STATE_NAME             fmt="%12.12s";

pos=38,73  val=CHAN_INDEX chan=f-1510 fmt="%4d";
pos=38,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=38,93  val=DN                     fmt="%3d";
pos=38,97  val=STATE_NAME             fmt="%12.12s";
pos=38,112 val=DN         chan=n-1510 fmt="%3d";
pos=38,116 val=STATE_NAME             fmt="%12.12s";

pos=39,73  val=CHAN_INDEX chan=f-1511 fmt="%4d";
pos=39,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=39,93  val=DN                     fmt="%3d";
pos=39,97  val=STATE_NAME             fmt="%12.12s";
pos=39,112 val=DN         chan=n-1511 fmt="%3d";
pos=39,116 val=STATE_NAME             fmt="%12.12s";

pos=40,73  val=CHAN_INDEX chan=f-1512 fmt="%4d";
pos=40,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=40,93  val=DN                     fmt="%3d";
pos=40,97  val=STATE_NAME             fmt="%12.12s";
pos=40,112 val=DN         chan=n-1512 fmt="%3d";
pos=40,116 val=STATE_NAME             fmt="%12.12s";

pos=41,73  val=CHAN_INDEX chan=f-1513 fmt="%4d";
pos=41,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=41,93  val=DN                     fmt="%3d";
pos=41,97  val=STATE_NAME             fmt="%12.12s";
pos=41,112 val=DN         chan=n-1513 fmt="%3d";
pos=41,116 val=STATE_NAME             fmt="%12.12s";

pos=42,73  val=CHAN_INDEX chan=f-1514 fmt="%4d";
pos=42,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=42,93  val=DN                     fmt="%3d";
pos=42,97  val=STATE_NAME             fmt="%12.12s";
pos=42,112 val=DN         chan=n-1514 fmt="%3d";
pos=42,116 val=STATE_NAME             fmt="%12.12s";

pos=43,73  val=CHAN_INDEX chan=f-1515 fmt="%4d";
pos=43,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=43,93  val=DN                     fmt="%3d";
pos=43,97  val=STATE_NAME             fmt="%12.12s";
pos=43,112 val=DN         chan=n-1515 fmt="%3d";
pos=43,116 val=STATE_NAME             fmt="%12.12s";


rule=static

pos=46,67   val=' _REDMAN_SWITCH_SUM_______Control____________Non-Control______';
pos=47,67   val='|                       |                  |                  |';
pos=48,67   val='| F/N-                  |                  |                  |';
pos=49,67   val='|                       |                  |                  |';
pos=50,67   val='| F/N-                  |                  |                  |';
pos=51,67   val='| F/N-                  |                  |                  |';
pos=52,67   val='| F/N-                  |                  |                  |';
pos=53,67   val='| F/N-                  |                  |                  |';
pos=54,67   val='| F/N-                  |                  |                  |';
pos=55,67   val='| F/N-                  |                  |                  |';
pos=56,67   val='| F/N-                  |                  |                  |';
pos=57,67   val='| F/N-                  |                  |                  |';
pos=58,67   val='| F/N-                  |                  |                  |';
pos=59,67   val='| F/N-                  |                  |                  |';
pos=60,67   val='| F/N-                  |                  |                  |';
pos=61,67   val='| F/N-                  |                  |                  |';
pos=62,67   val='| F/N-                  |                  |                  |';
pos=63,67   val='| F/N-                  |                  |                  |';
pos=64,67   val='| F/N-                  |                  |                  |';
pos=65,67   val='| F/N-                  |                  |                  |';
pos=66,67   val='|_______________________|__________________|__________________|';

rule=dynamic

pos=48,73  val=CHAN_INDEX chan=f-1348 fmt="%4d";
pos=48,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=48,93  val=DN                     fmt="%#4.4x";
pos=48,112 val=DN         chan=n-1348 fmt="%#4.4x";

pos=50,73  val=CHAN_INDEX chan=f-1640 fmt="%4d";
pos=50,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=50,93  val=DN                     fmt="%3d";
pos=50,97  val=STATE_NAME             fmt="%12.12s";
pos=50,112 val=DN         chan=n-1640 fmt="%3d";
pos=50,116 val=STATE_NAME             fmt="%12.12s";

pos=51,73  val=CHAN_INDEX chan=f-1641 fmt="%4d";
pos=51,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=51,93  val=DN                     fmt="%3d";
pos=51,97  val=STATE_NAME             fmt="%12.12s";
pos=51,112 val=DN         chan=n-1641 fmt="%3d";
pos=51,116 val=STATE_NAME             fmt="%12.12s";

pos=52,73  val=CHAN_INDEX chan=f-1642 fmt="%4d";
pos=52,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=52,93  val=DN                     fmt="%3d";
pos=52,97  val=STATE_NAME             fmt="%12.12s";
pos=52,112 val=DN         chan=n-1642 fmt="%3d";
pos=52,116 val=STATE_NAME             fmt="%12.12s";

pos=53,73  val=CHAN_INDEX chan=f-1643 fmt="%4d";
pos=53,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=53,93  val=DN                     fmt="%3d";
pos=53,97  val=STATE_NAME             fmt="%12.12s";
pos=53,112 val=DN         chan=n-1643 fmt="%3d";
pos=53,116 val=STATE_NAME             fmt="%12.12s";

pos=54,73  val=CHAN_INDEX chan=f-1644 fmt="%4d";
pos=54,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=54,93  val=DN                     fmt="%3d";
pos=54,97  val=STATE_NAME             fmt="%12.12s";
pos=54,112 val=DN         chan=n-1644 fmt="%3d";
pos=54,116 val=STATE_NAME             fmt="%12.12s";

pos=55,73  val=CHAN_INDEX chan=f-1645 fmt="%4d";
pos=55,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=55,93  val=DN                     fmt="%3d";
pos=55,97  val=STATE_NAME             fmt="%12.12s";
pos=55,112 val=DN         chan=n-1645 fmt="%3d";
pos=55,116 val=STATE_NAME             fmt="%12.12s";

pos=56,73  val=CHAN_INDEX chan=f-1646 fmt="%4d";
pos=56,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=56,93  val=DN                     fmt="%3d";
pos=56,97  val=STATE_NAME             fmt="%12.12s";
pos=56,112 val=DN         chan=n-1646 fmt="%3d";
pos=56,116 val=STATE_NAME             fmt="%12.12s";

pos=57,73  val=CHAN_INDEX chan=f-1647 fmt="%4d";
pos=57,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=57,93  val=DN                     fmt="%3d";
pos=57,97  val=STATE_NAME             fmt="%12.12s";
pos=57,112 val=DN         chan=n-1647 fmt="%3d";
pos=57,116 val=STATE_NAME             fmt="%12.12s";

pos=58,73  val=CHAN_INDEX chan=f-1648 fmt="%4d";
pos=58,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=58,93  val=DN                     fmt="%3d";
pos=58,97  val=STATE_NAME             fmt="%12.12s";
pos=58,112 val=DN         chan=n-1648 fmt="%3d";
pos=58,116 val=STATE_NAME             fmt="%12.12s";

pos=59,73  val=CHAN_INDEX chan=f-1649 fmt="%4d";
pos=59,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=59,93  val=DN                     fmt="%3d";
pos=59,97  val=STATE_NAME             fmt="%12.12s";
pos=59,112 val=DN         chan=n-1649 fmt="%3d";
pos=59,116 val=STATE_NAME             fmt="%12.12s";

pos=60,73  val=CHAN_INDEX chan=f-1650 fmt="%4d";
pos=60,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=60,93  val=DN                     fmt="%3d";
pos=60,97  val=STATE_NAME             fmt="%12.12s";
pos=60,112 val=DN         chan=n-1650 fmt="%3d";
pos=60,116 val=STATE_NAME             fmt="%12.12s";

pos=61,73  val=CHAN_INDEX chan=f-1651 fmt="%4d";
pos=61,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=61,93  val=DN                     fmt="%3d";
pos=61,97  val=STATE_NAME             fmt="%12.12s";
pos=61,112 val=DN         chan=n-1651 fmt="%3d";
pos=61,116 val=STATE_NAME             fmt="%12.12s";

pos=62,73  val=CHAN_INDEX chan=f-1652 fmt="%4d";
pos=62,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=62,93  val=DN                     fmt="%3d";
pos=62,97  val=STATE_NAME             fmt="%12.12s";
pos=62,112 val=DN         chan=n-1652 fmt="%3d";
pos=62,116 val=STATE_NAME             fmt="%12.12s";

pos=63,73  val=CHAN_INDEX chan=f-1653 fmt="%4d";
pos=63,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=63,93  val=DN                     fmt="%3d";
pos=63,97  val=STATE_NAME             fmt="%12.12s";
pos=63,112 val=DN         chan=n-1653 fmt="%3d";
pos=63,116 val=STATE_NAME             fmt="%12.12s";

pos=64,73  val=CHAN_INDEX chan=f-1654 fmt="%4d";
pos=64,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=64,93  val=DN                     fmt="%3d";
pos=64,97  val=STATE_NAME             fmt="%12.12s";
pos=64,112 val=DN         chan=n-1654 fmt="%3d";
pos=64,116 val=STATE_NAME             fmt="%12.12s";

pos=65,73  val=CHAN_INDEX chan=f-1655 fmt="%4d";
pos=65,78  val=CHAN_TITLE             fmt="%-12.12s";
pos=65,93  val=DN                     fmt="%3d";
pos=65,97  val=STATE_NAME             fmt="%12.12s";
pos=65,112 val=DN         chan=n-1655 fmt="%3d";
pos=65,116 val=STATE_NAME             fmt="%12.12s";


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_cdh_msn_phase_fix.tdl                                        #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: C&DH Mission Phase Buffer Telemetry                               #
# BASELINED: OGS 10-25-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=21,80   pos=4,1 # mgs_cdh_msn_phase_fix.tdl
TEXTREGION

rule=static

pos=02,09  val=' _MISSION_PHASE_BUFFER____Control____________Non-Control______';
pos=03,09  val='|                       |                  |                  |';
pos=04,09  val='| F/N-                  |                  |                  |';
pos=05,09  val='|                       |                  |                  |';
pos=06,09  val='| F/N-                  |                  |                  |';
pos=07,09  val='| F/N-                  |                  |                  |';
pos=08,09  val='| F/N-                  |                  |                  |';
pos=09,09  val='| F/N-                  |                  |                  |';
pos=10,09  val='| F/N-                  |                  |                  |';
pos=11,09  val='| F/N-                  |                  |                  |';
pos=12,09  val='| F/N-                  |                  |                  |';
pos=13,09  val='| F/N-                  |                  |                  |';
pos=14,09  val='| F/N-                  |                  |                  |';
pos=15,09  val='| F/N-                  |                  |                  |';
pos=16,09  val='| F/N-                  |                  |                  |';
pos=17,09  val='| F/N-                  |                  |                  |';
pos=18,09  val='| F/N-                  |                  |                  |';
pos=19,09  val='| F/N-                  |                  |                  |';
pos=20,09  val='|_______________________|__________________|__________________|';

rule=dynamic

pos=04,15 val=CHAN_INDEX chan=f-1096 fmt="%4d";
pos=04,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=04,35 val=DN                     fmt="%#4.4x";
pos=04,54 val=DN         chan=n-1096 fmt="%#4.4x";

pos=06,15 val=CHAN_INDEX chan=f-1620 fmt="%4d";
pos=06,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=06,35 val=DN                     fmt="%3d";
pos=06,39 val=STATE_NAME             fmt="%12.12s";
pos=06,54 val=DN         chan=n-1620 fmt="%3d";
pos=06,58 val=STATE_NAME             fmt="%12.12s";

pos=07,15 val=CHAN_INDEX chan=f-1621 fmt="%4d";
pos=07,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=07,35 val=DN                     fmt="%3d";
pos=07,39 val=STATE_NAME             fmt="%12.12s";
pos=07,54 val=DN         chan=n-1621 fmt="%3d";
pos=07,58 val=STATE_NAME             fmt="%12.12s";

pos=08,15 val=CHAN_INDEX chan=f-1622 fmt="%4d";
pos=08,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=08,35 val=DN                     fmt="%3d";
pos=08,39 val=STATE_NAME             fmt="%12.12s";
pos=08,54 val=DN         chan=n-1622 fmt="%3d";
pos=08,58 val=STATE_NAME             fmt="%12.12s";

pos=09,15 val=CHAN_INDEX chan=f-1623 fmt="%4d";
pos=09,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=09,35 val=DN                     fmt="%3d";
pos=09,39 val=STATE_NAME             fmt="%12.12s";
pos=09,54 val=DN         chan=n-1623 fmt="%3d";
pos=09,58 val=STATE_NAME             fmt="%12.12s";

pos=10,15 val=CHAN_INDEX chan=f-1624 fmt="%4d";
pos=10,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=10,35 val=DN                     fmt="%3d";
pos=10,39 val=STATE_NAME             fmt="%12.12s";
pos=10,54 val=DN         chan=n-1624 fmt="%3d";
pos=10,58 val=STATE_NAME             fmt="%12.12s";

pos=11,15 val=CHAN_INDEX chan=f-1625 fmt="%4d";
pos=11,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=11,35 val=DN                     fmt="%3d";
pos=11,39 val=STATE_NAME             fmt="%12.12s";
pos=11,54 val=DN         chan=n-1625 fmt="%3d";
pos=11,58 val=STATE_NAME             fmt="%12.12s";

pos=12,15 val=CHAN_INDEX chan=f-1626 fmt="%4d";
pos=12,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=12,35 val=DN                     fmt="%3d";
pos=12,39 val=STATE_NAME             fmt="%12.12s";
pos=12,54 val=DN         chan=n-1626 fmt="%3d";
pos=12,58 val=STATE_NAME             fmt="%12.12s";

pos=13,15 val=CHAN_INDEX chan=f-1627 fmt="%4d";
pos=13,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=13,35 val=DN                     fmt="%3d";
pos=13,39 val=STATE_NAME             fmt="%12.12s";
pos=13,54 val=DN         chan=n-1627 fmt="%3d";
pos=13,58 val=STATE_NAME             fmt="%12.12s";

pos=14,15 val=CHAN_INDEX chan=f-1628 fmt="%4d";
pos=14,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=14,35 val=DN                     fmt="%3d";
pos=14,39 val=STATE_NAME             fmt="%12.12s";
pos=14,54 val=DN         chan=n-1628 fmt="%3d";
pos=14,58 val=STATE_NAME             fmt="%12.12s";

pos=15,15 val=CHAN_INDEX chan=f-1629 fmt="%4d";
pos=15,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=15,35 val=DN                     fmt="%3d";
pos=15,39 val=STATE_NAME             fmt="%12.12s";
pos=15,54 val=DN         chan=n-1629 fmt="%3d";
pos=15,58 val=STATE_NAME             fmt="%12.12s";

pos=16,15 val=CHAN_INDEX chan=f-1630 fmt="%4d";
pos=16,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=16,35 val=DN                     fmt="%3d";
pos=16,39 val=STATE_NAME             fmt="%12.12s";
pos=16,54 val=DN         chan=n-1630 fmt="%3d";
pos=16,58 val=STATE_NAME             fmt="%12.12s";

pos=17,15 val=CHAN_INDEX chan=f-1631 fmt="%4d";
pos=17,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=17,35 val=DN                     fmt="%3d";
pos=17,39 val=STATE_NAME             fmt="%12.12s";
pos=17,54 val=DN         chan=n-1631 fmt="%3d";
pos=17,58 val=STATE_NAME             fmt="%12.12s";

pos=18,15 val=CHAN_INDEX chan=f-1632 fmt="%4d";
pos=18,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=18,35 val=DN                     fmt="%3d";
pos=18,39 val=STATE_NAME             fmt="%12.12s";
pos=18,54 val=DN         chan=n-1632 fmt="%3d";
pos=18,58 val=STATE_NAME             fmt="%12.12s";

pos=19,15 val=CHAN_INDEX chan=f-1633 fmt="%4d";
pos=19,20 val=CHAN_TITLE             fmt="%-12.12s";
pos=19,35 val=DN                     fmt="%3d";
pos=19,39 val=STATE_NAME             fmt="%12.12s";
pos=19,54 val=DN         chan=n-1633 fmt="%3d";
pos=19,58 val=STATE_NAME             fmt="%12.12s";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_cdh_pobs_fix.tdl                                             #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: C&DH Subsystem Fixed Page #  (POB Images)                         #
# BASELINED: OGS 10-24-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=21,90  pos=4,1 # mgs_cdh_pobs_fix.tdl

TEXTREGION

rule=static
pos=02,03  val='CIU POBs     F-chan N-chan';

rule=dynamic
pos=04,03  val=CHAN_TITLE chan=f-1110 fmt="%-12.12s"; pos=04,16 val=DN chan=f-1110 fmt="%#4.4x"; pos=04,23 val=DN chan=n-1110 fmt="%#4.4x";
pos=05,03  val=CHAN_TITLE chan=f-1111 fmt="%-12.12s"; pos=05,16 val=DN chan=f-1111 fmt="%#4.4x"; pos=05,23 val=DN chan=n-1111 fmt="%#4.4x";
pos=06,03  val=CHAN_TITLE chan=f-1112 fmt="%-12.12s"; pos=06,16 val=DN chan=f-1112 fmt="%#4.4x"; pos=06,23 val=DN chan=n-1112 fmt="%#4.4x";
pos=07,03  val=CHAN_TITLE chan=f-1113 fmt="%-12.12s"; pos=07,16 val=DN chan=f-1113 fmt="%#4.4x"; pos=07,23 val=DN chan=n-1113 fmt="%#4.4x";
pos=08,03  val=CHAN_TITLE chan=f-1114 fmt="%-12.12s"; pos=08,16 val=DN chan=f-1114 fmt="%#4.4x"; pos=08,23 val=DN chan=n-1114 fmt="%#4.4x";
pos=09,03  val=CHAN_TITLE chan=f-1115 fmt="%-12.12s"; pos=09,16 val=DN chan=f-1115 fmt="%#4.4x"; pos=09,23 val=DN chan=n-1115 fmt="%#4.4x";
pos=10,03  val=CHAN_TITLE chan=f-1116 fmt="%-12.12s"; pos=10,16 val=DN chan=f-1116 fmt="%#4.4x"; pos=10,23 val=DN chan=n-1116 fmt="%#4.4x";
pos=11,03  val=CHAN_TITLE chan=f-1117 fmt="%-12.12s"; pos=11,16 val=DN chan=f-1117 fmt="%#4.4x"; pos=11,23 val=DN chan=n-1117 fmt="%#4.4x";
pos=12,03  val=CHAN_TITLE chan=f-1118 fmt="%-12.12s"; pos=12,16 val=DN chan=f-1118 fmt="%#4.4x"; pos=12,23 val=DN chan=n-1118 fmt="%#4.4x";
pos=13,03  val=CHAN_TITLE chan=f-1119 fmt="%-12.12s"; pos=13,16 val=DN chan=f-1119 fmt="%#4.4x"; pos=13,23 val=DN chan=n-1119 fmt="%#4.4x";
pos=14,03  val=CHAN_TITLE chan=f-1120 fmt="%-12.12s"; pos=14,16 val=DN chan=f-1120 fmt="%#4.4x"; pos=14,23 val=DN chan=n-1120 fmt="%#4.4x";
pos=15,03  val=CHAN_TITLE chan=f-1121 fmt="%-12.12s"; pos=15,16 val=DN chan=f-1121 fmt="%#4.4x"; pos=15,23 val=DN chan=n-1121 fmt="%#4.4x";
pos=16,03  val=CHAN_TITLE chan=f-1122 fmt="%-12.12s"; pos=16,16 val=DN chan=f-1122 fmt="%#4.4x"; pos=16,23 val=DN chan=n-1122 fmt="%#4.4x";
pos=17,03  val=CHAN_TITLE chan=f-1123 fmt="%-12.12s"; pos=17,16 val=DN chan=f-1123 fmt="%#4.4x"; pos=17,23 val=DN chan=n-1123 fmt="%#4.4x";
pos=18,03  val=CHAN_TITLE chan=f-1124 fmt="%-12.12s"; pos=18,16 val=DN chan=f-1124 fmt="%#4.4x"; pos=18,23 val=DN chan=n-1124 fmt="%#4.4x";


rule=static
pos=02,33  val='CIX POBs     F-chan N-chan';

rule=dynamic
pos=04,33  val=CHAN_TITLE chan=f-1130 fmt="%-12.12s"; pos=04,46 val=DN chan=f-1130 fmt="%#4.4x"; pos=04,53 val=DN chan=n-1130 fmt="%#4.4x";
pos=05,33  val=CHAN_TITLE chan=f-1131 fmt="%-12.12s"; pos=05,46 val=DN chan=f-1131 fmt="%#4.4x"; pos=05,53 val=DN chan=n-1131 fmt="%#4.4x";
pos=06,33  val=CHAN_TITLE chan=f-1132 fmt="%-12.12s"; pos=06,46 val=DN chan=f-1132 fmt="%#4.4x"; pos=06,53 val=DN chan=n-1132 fmt="%#4.4x";
pos=07,33  val=CHAN_TITLE chan=f-1133 fmt="%-12.12s"; pos=07,46 val=DN chan=f-1133 fmt="%#4.4x"; pos=07,53 val=DN chan=n-1133 fmt="%#4.4x";
pos=08,33  val=CHAN_TITLE chan=f-1134 fmt="%-12.12s"; pos=08,46 val=DN chan=f-1134 fmt="%#4.4x"; pos=08,53 val=DN chan=n-1134 fmt="%#4.4x";
pos=09,33  val=CHAN_TITLE chan=f-1135 fmt="%-12.12s"; pos=09,46 val=DN chan=f-1135 fmt="%#4.4x"; pos=09,53 val=DN chan=n-1135 fmt="%#4.4x";
pos=10,33  val=CHAN_TITLE chan=f-1136 fmt="%-12.12s"; pos=10,46 val=DN chan=f-1136 fmt="%#4.4x"; pos=10,53 val=DN chan=n-1136 fmt="%#4.4x";
pos=11,33  val=CHAN_TITLE chan=f-1137 fmt="%-12.12s"; pos=11,46 val=DN chan=f-1137 fmt="%#4.4x"; pos=11,53 val=DN chan=n-1137 fmt="%#4.4x";
pos=12,33  val=CHAN_TITLE chan=f-1138 fmt="%-12.12s"; pos=12,46 val=DN chan=f-1138 fmt="%#4.4x"; pos=12,53 val=DN chan=n-1138 fmt="%#4.4x";
pos=13,33  val=CHAN_TITLE chan=f-1139 fmt="%-12.12s"; pos=13,46 val=DN chan=f-1139 fmt="%#4.4x"; pos=13,53 val=DN chan=n-1139 fmt="%#4.4x";
pos=14,33  val=CHAN_TITLE chan=f-1140 fmt="%-12.12s"; pos=14,46 val=DN chan=f-1140 fmt="%#4.4x"; pos=14,53 val=DN chan=n-1140 fmt="%#4.4x";
pos=15,33  val=CHAN_TITLE chan=f-1141 fmt="%-12.12s"; pos=15,46 val=DN chan=f-1141 fmt="%#4.4x"; pos=15,53 val=DN chan=n-1141 fmt="%#4.4x";
pos=16,33  val=CHAN_TITLE chan=f-1142 fmt="%-12.12s"; pos=16,46 val=DN chan=f-1142 fmt="%#4.4x"; pos=16,53 val=DN chan=n-1142 fmt="%#4.4x";
pos=17,33  val=CHAN_TITLE chan=f-1143 fmt="%-12.12s"; pos=17,46 val=DN chan=f-1143 fmt="%#4.4x"; pos=17,53 val=DN chan=n-1143 fmt="%#4.4x";
pos=18,33  val=CHAN_TITLE chan=f-1144 fmt="%-12.12s"; pos=18,46 val=DN chan=f-1144 fmt="%#4.4x"; pos=18,53 val=DN chan=n-1144 fmt="%#4.4x";
pos=19,33  val=CHAN_TITLE chan=f-1145 fmt="%-12.12s"; pos=19,46 val=DN chan=f-1145 fmt="%#4.4x"; pos=19,53 val=DN chan=n-1145 fmt="%#4.4x";
pos=20,33  val=CHAN_TITLE chan=f-1146 fmt="%-12.12s"; pos=20,46 val=DN chan=f-1146 fmt="%#4.4x"; pos=20,53 val=DN chan=n-1146 fmt="%#4.4x";


rule=static
pos=02,63  val='CIX POBs     F-chan N-chan';

rule=dynamic
pos=04,63  val=CHAN_TITLE chan=f-1147 fmt="%-12.12s"; pos=04,76 val=DN chan=f-1147 fmt="%#4.4x"; pos=04,83 val=DN chan=n-1147 fmt="%#4.4x";
pos=05,63  val=CHAN_TITLE chan=f-1148 fmt="%-12.12s"; pos=05,76 val=DN chan=f-1148 fmt="%#4.4x"; pos=05,83 val=DN chan=n-1148 fmt="%#4.4x";
pos=06,63  val=CHAN_TITLE chan=f-1149 fmt="%-12.12s"; pos=06,76 val=DN chan=f-1149 fmt="%#4.4x"; pos=06,83 val=DN chan=n-1149 fmt="%#4.4x";
pos=07,63  val=CHAN_TITLE chan=f-1150 fmt="%-12.12s"; pos=07,76 val=DN chan=f-1150 fmt="%#4.4x"; pos=07,83 val=DN chan=n-1150 fmt="%#4.4x";
pos=08,63  val=CHAN_TITLE chan=f-1151 fmt="%-12.12s"; pos=08,76 val=DN chan=f-1151 fmt="%#4.4x"; pos=08,83 val=DN chan=n-1151 fmt="%#4.4x";
pos=09,63  val=CHAN_TITLE chan=f-1152 fmt="%-12.12s"; pos=09,76 val=DN chan=f-1152 fmt="%#4.4x"; pos=09,83 val=DN chan=n-1152 fmt="%#4.4x";
pos=10,63  val=CHAN_TITLE chan=f-1153 fmt="%-12.12s"; pos=10,76 val=DN chan=f-1153 fmt="%#4.4x"; pos=10,83 val=DN chan=n-1153 fmt="%#4.4x";
pos=11,63  val=CHAN_TITLE chan=f-1154 fmt="%-12.12s"; pos=11,76 val=DN chan=f-1154 fmt="%#4.4x"; pos=11,83 val=DN chan=n-1154 fmt="%#4.4x";
pos=12,63  val=CHAN_TITLE chan=f-1155 fmt="%-12.12s"; pos=12,76 val=DN chan=f-1155 fmt="%#4.4x"; pos=12,83 val=DN chan=n-1155 fmt="%#4.4x";
pos=13,63  val=CHAN_TITLE chan=f-1156 fmt="%-12.12s"; pos=13,76 val=DN chan=f-1156 fmt="%#4.4x"; pos=13,83 val=DN chan=n-1156 fmt="%#4.4x";
pos=14,63  val=CHAN_TITLE chan=f-1157 fmt="%-12.12s"; pos=14,76 val=DN chan=f-1157 fmt="%#4.4x"; pos=14,83 val=DN chan=n-1157 fmt="%#4.4x";
pos=15,63  val=CHAN_TITLE chan=f-1158 fmt="%-12.12s"; pos=15,76 val=DN chan=f-1158 fmt="%#4.4x"; pos=15,83 val=DN chan=n-1158 fmt="%#4.4x";
pos=16,63  val=CHAN_TITLE chan=f-1159 fmt="%-12.12s"; pos=16,76 val=DN chan=f-1159 fmt="%#4.4x"; pos=16,83 val=DN chan=n-1159 fmt="%#4.4x";
pos=17,63  val=CHAN_TITLE chan=f-1160 fmt="%-12.12s"; pos=17,76 val=DN chan=f-1160 fmt="%#4.4x"; pos=17,83 val=DN chan=n-1160 fmt="%#4.4x";
pos=18,63  val=CHAN_TITLE chan=f-1161 fmt="%-12.12s"; pos=18,76 val=DN chan=f-1161 fmt="%#4.4x"; pos=18,83 val=DN chan=n-1161 fmt="%#4.4x";
pos=19,63  val=CHAN_TITLE chan=f-1162 fmt="%-12.12s"; pos=19,76 val=DN chan=f-1162 fmt="%#4.4x"; pos=19,83 val=DN chan=n-1162 fmt="%#4.4x";
pos=20,63  val=CHAN_TITLE chan=f-1163 fmt="%-12.12s"; pos=20,76 val=DN chan=f-1163 fmt="%#4.4x"; pos=20,83 val=DN chan=n-1163 fmt="%#4.4x";






ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_tlcm_hw_fix.tdl                                              #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: TELECOM Subsystem Fixed Page #1 (Hardware Summary)                #
# BASELINED: OGS 11-14-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=52,116 pos=4,1 # mgs_tlcm_hw_fix.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR TELECOM SUBSYSTEM HARDWARE (TLCM FIXED PAGE #1)                          ';
pos=03,1   val=' ';
pos=04,1   val='  _MOT1_____________________________';
pos=05,1   val=' |                                  |';
pos=06,1   val=' | MOT1_EXCITER    X XXXXXXXX       |';
pos=07,1   val=' | MOT1_TWNC       X XXXXXXXX       |';
pos=08,1   val=' | MOT1_USO_ENA    X XXXXXXXX       |';
pos=09,1   val=' | MOT1_TLM_MOD    X XXXXXXXX       |';
pos=10,1   val=' | MOT1_RANGING    X XXXXXXXX       |';
pos=11,1   val=' | MOT1_DOR        X XXXXXXXX       |';
pos=12,1   val=' | MOT1_RCVRLCK    X XXXXXXXX       |';
pos=13,1   val=' |                                  |';
pos=14,1   val=' | MOT1_RCV_AGC  XXX xxxxx.xx dBm   |';
pos=15,1   val=' | MOT1_RNG_AGC  XXX xxxxx.xx dBm   |';
pos=16,1   val=' | MOT1_RCV_SPE  XXX xxxxx.xx Khz   |';
pos=17,1   val=' | MOT1_RCV_I    XXX xxxxx.xx amps  |';
pos=18,1   val=' | MOT1_EX_RF    XXX xxxxx.xx dBm   |';
pos=19,1   val=' |                                  |';
pos=20,1   val=' | MOT1_AUX_T    XXX xxxxx.xx degC  |';
pos=21,1   val=' | MOT1_VCO_T    XXX xxxxx.xx degC  |';
pos=22,1   val=' |__________________________________|';

rule=dynamic
pos=06,20  val=DN chan=l-0032 fmt="%1d";   pos=06,22  val=STATE_NAME chan=l-0032 fmt="%8.8s";
pos=07,20  val=DN chan=l-0033 fmt="%1d";   pos=07,22  val=STATE_NAME chan=l-0033 fmt="%8.8s";
pos=08,20  val=DN chan=l-0037 fmt="%1d";   pos=08,22  val=STATE_NAME chan=l-0037 fmt="%8.8s";
pos=09,20  val=DN chan=l-0036 fmt="%1d";   pos=09,22  val=STATE_NAME chan=l-0036 fmt="%8.8s";
pos=10,20  val=DN chan=l-0034 fmt="%1d";   pos=10,22  val=STATE_NAME chan=l-0034 fmt="%8.8s";
pos=11,20  val=DN chan=l-0031 fmt="%1d";   pos=11,22  val=STATE_NAME chan=l-0031 fmt="%8.8s";
pos=12,20  val=DN chan=l-0035 fmt="%1d";   pos=12,22  val=STATE_NAME chan=l-0035 fmt="%8.8s";
pos=14,18  val=DN chan=l-0111 fmt="%3d";   pos=14,22  val=EU         chan=l-0111 fmt="%8.2f";
pos=15,18  val=DN chan=l-0114 fmt="%3d";   pos=15,22  val=EU         chan=l-0114 fmt="%8.2f";
pos=16,18  val=DN chan=l-0113 fmt="%3d";   pos=16,22  val=EU         chan=l-0113 fmt="%8.2f";
pos=17,18  val=DN chan=l-0112 fmt="%3d";   pos=17,22  val=EU         chan=l-0112 fmt="%8.2f";
pos=18,18  val=DN chan=l-0110 fmt="%3d";   pos=18,22  val=EU         chan=l-0110 fmt="%8.2f";
pos=20,18  val=DN chan=t-0304 fmt="%3d";   pos=20,22  val=EU         chan=t-0304 fmt="%8.2f";
pos=21,18  val=DN chan=t-0305 fmt="%3d";   pos=21,22  val=EU         chan=t-0305 fmt="%8.2f";



rule=static
pos=04,40  val='  _MOT2_____________________________';
pos=05,40  val=' |                                  |';
pos=06,40  val=' | MOT2_EXCITER    X XXXXXXXX       |';
pos=07,40  val=' | MOT2_TWNC       X XXXXXXXX       |';
pos=08,40  val=' | MOT2_USO_ENA    X XXXXXXXX       |';
pos=09,40  val=' | MOT2_TLM_MOD    X XXXXXXXX       |';
pos=10,40  val=' | MOT2_RANGING    X XXXXXXXX       |';
pos=11,40  val=' | MOT2_DOR        X XXXXXXXX       |';
pos=12,40  val=' | MOT2_RCVRLCK    X XXXXXXXX       |';
pos=13,40  val=' |                                  |';
pos=14,40  val=' | MOT2_RCV_AGC  XXX xxxxx.xx dBm   |';
pos=15,40  val=' | MOT2_RNG_AGC  XXX xxxxx.xx dBm   |';
pos=16,40  val=' | MOT2_RCV_SPE  XXX xxxxx.xx Khz   |';
pos=17,40  val=' | MOT2_RCV_I    XXX xxxxx.xx amps  |';
pos=18,40  val=' | MOT2_EX_RF    XXX xxxxx.xx dBm   |';
pos=19,40  val=' |                                  |';
pos=20,40  val=' | MOT2_AUX_T    XXX xxxxx.xx degC  |';
pos=21,40  val=' | MOT2_VCO_T    XXX xxxxx.xx degC  |';
pos=22,40  val=' |__________________________________|';

rule=dynamic
pos=06,59  val=DN chan=l-0042 fmt="%1d";   pos=06,61  val=STATE_NAME chan=l-0042 fmt="%8.8s";
pos=07,59  val=DN chan=l-0043 fmt="%1d";   pos=07,61  val=STATE_NAME chan=l-0043 fmt="%8.8s";
pos=08,59  val=DN chan=l-0047 fmt="%1d";   pos=08,61  val=STATE_NAME chan=l-0047 fmt="%8.8s";
pos=09,59  val=DN chan=l-0046 fmt="%1d";   pos=09,61  val=STATE_NAME chan=l-0046 fmt="%8.8s";
pos=10,59  val=DN chan=l-0044 fmt="%1d";   pos=10,61  val=STATE_NAME chan=l-0044 fmt="%8.8s";
pos=11,59  val=DN chan=l-0041 fmt="%1d";   pos=11,61  val=STATE_NAME chan=l-0041 fmt="%8.8s";
pos=12,59  val=DN chan=l-0045 fmt="%1d";   pos=12,61  val=STATE_NAME chan=l-0045 fmt="%8.8s";
pos=14,57  val=DN chan=l-0121 fmt="%3d";   pos=14,61  val=EU         chan=l-0121 fmt="%8.2f";
pos=15,57  val=DN chan=l-0124 fmt="%3d";   pos=15,61  val=EU         chan=l-0124 fmt="%8.2f";
pos=16,57  val=DN chan=l-0123 fmt="%3d";   pos=16,61  val=EU         chan=l-0123 fmt="%8.2f";
pos=17,57  val=DN chan=l-0122 fmt="%3d";   pos=17,61  val=EU         chan=l-0122 fmt="%8.2f";
pos=18,57  val=DN chan=l-0120 fmt="%3d";   pos=18,61  val=EU         chan=l-0120 fmt="%8.2f";
pos=20,57  val=DN chan=t-0307 fmt="%3d";   pos=20,61  val=EU         chan=t-0307 fmt="%8.2f";
pos=21,57  val=DN chan=t-0308 fmt="%3d";   pos=21,61  val=EU         chan=t-0308 fmt="%8.2f";


rule=static
pos=24,1   val='  _TWTA1____________________________';
pos=25,1   val=' |                                  |';
pos=26,1   val=' | TWTA1_FILMNT    X XXXXXXXX       |';
pos=27,1   val=' | TWTA1_HV        X XXXXXXXX       |';
pos=28,1   val=' |                                  |';
pos=29,1   val=' | TWTA1_HLX_I   XXX xxxxx.xx mAmps |';
pos=30,1   val=' | TWTA1_ANOD_V  XXX xxxxx.xx volts |';
pos=31,1   val=' |                                  |';
pos=32,1   val=' | TWT1_T        XXX xxxxx.xx degC  |';
pos=33,1   val=' | EPC1_T        XXX xxxxx.xx degC  |';
pos=34,1   val=' | RF_ISOLTR1_T  XXX xxxxx.xx degC  |';
pos=35,1   val=' |__________________________________|';

rule=dynamic
pos=26,20  val=DN chan=l-0060 fmt="%1d";   pos=26,22  val=STATE_NAME chan=l-0060 fmt="%8.8s";
pos=27,20  val=DN chan=l-0061 fmt="%1d";   pos=27,22  val=STATE_NAME chan=l-0061 fmt="%8.8s";
pos=29,18  val=DN chan=l-0131 fmt="%3d";   pos=29,22  val=EU         chan=l-0131 fmt="%8.2f";
pos=30,18  val=DN chan=l-0132 fmt="%3d";   pos=30,22  val=EU         chan=l-0132 fmt="%8.2f";
pos=32,18  val=DN chan=t-0312 fmt="%3d";   pos=32,22  val=EU         chan=t-0312 fmt="%8.2f";
pos=33,18  val=DN chan=t-0302 fmt="%3d";   pos=33,22  val=EU         chan=t-0302 fmt="%8.2f";
pos=34,18  val=DN chan=t-0310 fmt="%3d";   pos=34,22  val=EU         chan=t-0310 fmt="%8.2f";


rule=static
pos=24,40  val='  _TWTA2____________________________';
pos=25,40  val=' |                                  |';
pos=26,40  val=' | TWTA2_FILMNT    X XXXXXXXX       |';
pos=27,40  val=' | TWTA2_HV        X XXXXXXXX       |';
pos=28,40  val=' |                                  |';
pos=29,40  val=' | TWTA2_HLX_I   XXX xxxxx.xx mAmps |';
pos=30,40  val=' | TWTA2_ANOD_V  XXX xxxxx.xx volts |';
pos=31,40  val=' |                                  |';
pos=32,40  val=' | TWT2_T        XXX xxxxx.xx degC  |';
pos=33,40  val=' | EPC2_T        XXX xxxxx.xx degC  |';
pos=34,40  val=' | RF_ISOLTR2_T  XXX xxxxx.xx degC  |';
pos=35,40  val=' |__________________________________|';

rule=dynamic
pos=26,59  val=DN chan=l-0070 fmt="%1d";   pos=26,61  val=STATE_NAME chan=l-0070 fmt="%8.8s";
pos=27,59  val=DN chan=l-0071 fmt="%1d";   pos=27,61  val=STATE_NAME chan=l-0071 fmt="%8.8s";
pos=29,57  val=DN chan=l-0141 fmt="%3d";   pos=29,61  val=EU         chan=l-0141 fmt="%8.2f";
pos=30,57  val=DN chan=l-0142 fmt="%3d";   pos=30,61  val=EU         chan=l-0142 fmt="%8.2f";
pos=32,57  val=DN chan=t-0313 fmt="%3d";   pos=32,61  val=EU         chan=t-0313 fmt="%8.2f";
pos=33,57  val=DN chan=t-0303 fmt="%3d";   pos=33,61  val=EU         chan=t-0303 fmt="%8.2f";
pos=34,57  val=DN chan=t-0311 fmt="%3d";   pos=34,61  val=EU         chan=t-0311 fmt="%8.2f";


rule=static
pos=37,1   val='  _CDU1_____________________________';
pos=38,1   val=' |                                  |';
pos=39,1   val=' | CDU1_LOCK       X XXXXXXXX       |';
pos=40,1   val=' | CDU1_BITRATE    X XXXXXXXX       |';
pos=41,1   val=' | CDU1_OSC_OFL    X XXXXXXXX       |';
pos=42,1   val=' | CDU1_SEU        X XXXXXXXX       |';
pos=43,1   val=' |                                  |';
pos=44,1   val=' | CDU1_SNR      XXX                |';
pos=45,1   val=' | CDU1_OSC_DRF  XXX xxxxx.xx ppm   |';
pos=46,1   val=' | CDU1_T        XXX xxxxx.xx degC  |';
pos=47,1   val=' |__________________________________|';

rule=dynamic
pos=39,20  val=DN chan=l-0013 fmt="%1d";   pos=39,22  val=STATE_NAME chan=l-0013 fmt="%8.8s";
pos=40,20  val=DN chan=l-0012 fmt="%1d";   pos=40,22  val=STATE_NAME chan=l-0012 fmt="%8.8s";
pos=41,20  val=DN chan=l-0011 fmt="%1d";   pos=41,22  val=STATE_NAME chan=l-0011 fmt="%8.8s";
pos=42,20  val=DN chan=l-0014 fmt="%1d";   pos=42,22  val=STATE_NAME chan=l-0014 fmt="%8.8s";
pos=44,18  val=DN chan=l-0101 fmt="%3d"; #  pos=44,22  val=EU         chan=l-0101 fmt="%8.2f";
pos=45,18  val=DN chan=l-0100 fmt="%3d";   pos=45,22  val=EU         chan=l-0100 fmt="%8.2f";
pos=46,18  val=DN chan=t-0300 fmt="%3d";   pos=46,22  val=EU         chan=t-0300 fmt="%8.2f";


rule=static
pos=37,40  val='  _CDU2_____________________________';
pos=38,40  val=' |                                  |';
pos=39,40  val=' | CDU2_LOCK       X XXXXXXXX       |';
pos=40,40  val=' | CDU2_BITRATE    X XXXXXXXX       |';
pos=41,40  val=' | CDU2_OSC_OFL    X XXXXXXXX       |';
pos=42,40  val=' | CDU2_SEU        X XXXXXXXX       |';
pos=43,40  val=' |                                  |';
pos=44,40  val=' | CDU2_SNR      XXX                |';
pos=45,40  val=' | CDU2_OSC_DRF  XXX xxxxx.xx ppm   |';
pos=46,40  val=' | CDU2_T        XXX xxxxx.xx degC  |';
pos=47,40  val=' |__________________________________|';

rule=dynamic
pos=39,59  val=DN chan=l-0023 fmt="%1d";   pos=39,61  val=STATE_NAME chan=l-0023 fmt="%8.8s";
pos=40,59  val=DN chan=l-0022 fmt="%1d";   pos=40,61  val=STATE_NAME chan=l-0022 fmt="%8.8s";
pos=41,59  val=DN chan=l-0021 fmt="%1d";   pos=41,61  val=STATE_NAME chan=l-0021 fmt="%8.8s";
pos=42,59  val=DN chan=l-0024 fmt="%1d";   pos=42,61  val=STATE_NAME chan=l-0024 fmt="%8.8s";
pos=44,57  val=DN chan=l-0103 fmt="%3d"; #  pos=44,61  val=EU         chan=l-0103 fmt="%8.2f";
pos=45,57  val=DN chan=l-0102 fmt="%3d";   pos=45,61  val=EU         chan=l-0102 fmt="%8.2f";
pos=46,57  val=DN chan=t-0301 fmt="%3d";   pos=46,61  val=EU         chan=t-0301 fmt="%8.2f";


rule=static
pos=48,1   val='  __________________________________';
pos=49,1   val=' |                                  |';
pos=50,1   val=' | UPLINK_PROC_1   X XXXXXXXX       |';
pos=51,1   val=' |__________________________________|';

rule=dynamic
pos=50,20  val=DN chan=v-3001 fmt="%1d";   pos=50,22  val=STATE_NAME chan=v-3001 fmt="%8.8s";


rule=static
pos=48,40  val='  __________________________________';
pos=49,40  val=' |                                  |';
pos=50,40  val=' | UPLINK_PROC_2   X XXXXXXXX       |';
pos=51,40  val=' |__________________________________|';

rule=dynamic
pos=50,59  val=DN chan=v-3002 fmt="%1d";   pos=50,61  val=STATE_NAME chan=v-3002 fmt="%8.8s";


rule=static
pos=01,79  val='  _USO______________________________';
pos=02,79  val=' |                                  |';
pos=03,79  val=' | USO_PWR         X XXXXXXXX       |';
pos=04,79  val=' | MOT1_USO_ENA    X XXXXXXXX       |';
pos=05,79  val=' | MOT2_USO_ENA    X XXXXXXXX       |';
pos=06,79  val=' | USO_REG_V     XXX xxxxx.xx volts |';
pos=07,79  val=' | USO_OVEN_V    XXX xxxxx.xx volts |';
pos=08,79  val=' | USO_T         XXX xxxxx.xx degC  |';
pos=09,79  val=' |__________________________________|';

rule=dynamic
pos=03,98  val=DN chan=l-0080 fmt="%1d";   pos=03,100 val=STATE_NAME chan=l-0080 fmt="%8.8s";
pos=04,98  val=DN chan=l-0037 fmt="%1d";   pos=04,100 val=STATE_NAME chan=l-0037 fmt="%8.8s";
pos=05,98  val=DN chan=l-0047 fmt="%1d";   pos=05,100 val=STATE_NAME chan=l-0047 fmt="%8.8s";
pos=06,96  val=DN chan=l-0200 fmt="%3d";   pos=06,100 val=EU         chan=l-0200 fmt="%8.2f";
pos=07,96  val=DN chan=l-0201 fmt="%3d";   pos=07,100 val=EU         chan=l-0201 fmt="%8.2f";
pos=08,96  val=DN chan=t-0315 fmt="%3d";   pos=08,100 val=EU         chan=t-0315 fmt="%8.2f";

rule=static
pos=11,79  val='  _RXO______________________________';
pos=12,79  val=' |                                  |';
pos=13,79  val=' | CIU_RXO_SLCT    X XXXXXXXX       |';
pos=14,79  val=' | RXO_MODE_STA    X XXXXXXXX       |';
pos=15,79  val=' | RXO_PR_OVN_T  XXX xxxxx.xx degC  |';
pos=16,79  val=' | RXO_BU_OVN_T  XXX xxxxx.xx degC  |';
pos=17,79  val=' | RXO_BOX_T     XXX xxxxx.xx degC  |';
pos=18,79  val=' |__________________________________|';

rule=dynamic
pos=13,98  val=DN chan=c-0005 fmt="%1d";   pos=13,100 val=STATE_NAME chan=c-0005 fmt="%8.8s";
pos=14,98  val=DN chan=c-0029 fmt="%1d";   pos=14,100 val=STATE_NAME chan=c-0029 fmt="%8.8s";
pos=15,96  val=DN chan=t-0121 fmt="%3d";   pos=15,100 val=EU         chan=t-0121 fmt="%8.2f";
pos=16,96  val=DN chan=t-0122 fmt="%3d";   pos=16,100 val=EU         chan=t-0122 fmt="%8.2f";
pos=17,96  val=DN chan=t-0123 fmt="%3d";   pos=17,100 val=EU         chan=t-0123 fmt="%8.2f";


rule=static
pos=20,79  val='  _KABLE____________________________';
pos=21,79  val=' |                                  |';
pos=22,79  val=' | KABLE_STAT      X XXXXXXXX       |';
pos=23,79  val=' | KABLE_ENABLE    X XXXXXXXX       |';
pos=24,79  val=' | KA_AMP_T      XXX xxxxx.xx degC  |';
pos=25,79  val=' |__________________________________|';

rule=dynamic
pos=22,98  val=DN chan=l-0090 fmt="%1d";   pos=22,100 val=STATE_NAME chan=l-0090 fmt="%8.8s";
pos=23,98  val=DN chan=l-0091 fmt="%1d";   pos=23,100 val=STATE_NAME chan=l-0091 fmt="%8.8s";
pos=24,96  val=DN chan=t-0316 fmt="%3d";   pos=24,100 val=EU         chan=t-0316 fmt="%8.2f";


rule=static
pos=27,79  val='  _XSU______________________________';
pos=28,79  val=' |                                  |';
pos=29,79  val=' | MOTCROSS        X XXXXXXXX       |';
pos=30,79  val=' | XSUSIDE1        X XXXXXXXX       |';
pos=31,79  val=' | XSUSIDE2        X XXXXXXXX       |';
pos=32,79  val=' | XSU1_SRC       XX XXXXXXXX       |';
pos=33,79  val=' | XSU2_SRC       XX XXXXXXXX       |';
pos=34,79  val=' | XSU1_PGC       XX XXXXXXXX       |';
pos=35,79  val=' | XSU2_PGC       XX XXXXXXXX       |';
pos=36,79  val=' |__________________________________|';

rule=dynamic
pos=29,98  val=DN chan=c-0020 fmt="%1d";   pos=29,100 val=STATE_NAME chan=c-0020 fmt="%8.8s";
pos=30,98  val=DN chan=c-0080 fmt="%1d";   pos=30,100 val=STATE_NAME chan=c-0080 fmt="%8.8s";
pos=31,98  val=DN chan=c-0081 fmt="%1d";   pos=31,100 val=STATE_NAME chan=c-0081 fmt="%8.8s";
pos=32,97  val=DN chan=c-0087 fmt="%2d";   pos=32,100 val=STATE_NAME chan=c-0087 fmt="%8.8s";
pos=33,97  val=DN chan=c-0088 fmt="%2d";   pos=33,100 val=STATE_NAME chan=c-0088 fmt="%8.8s";
pos=34,97  val=DN chan=c-0085 fmt="%2d";   pos=34,100 val=STATE_NAME chan=c-0085 fmt="%8.8s";
pos=35,97  val=DN chan=c-0086 fmt="%2d";   pos=35,100 val=STATE_NAME chan=c-0086 fmt="%8.8s";


rule=static
pos=38,79  val='  _RF_SWITCH_STATUS_________________';
pos=39,79  val=' |                                  |';
pos=40,79  val=' | RF_SW_INPUT     X XXXXXXXX       |';
pos=41,79  val=' | RF_SW_OUTPUT    X XXXXXXXX       |';
pos=42,79  val=' | RF_SW_LGT       X XXXXXXXX       |';
pos=43,79  val=' | RF_SW_OSC       X XXXXXXXX       |';
pos=44,79  val=' | RF_SW_23_INH    X XXXXXXXX       |';
pos=45,79  val=' |__________________________________|';

rule=dynamic
pos=40,98  val=DN chan=l-0050 fmt="%1d";   pos=40,100 val=STATE_NAME chan=l-0050 fmt="%8.8s";
pos=41,98  val=DN chan=l-0051 fmt="%1d";   pos=41,100 val=STATE_NAME chan=l-0051 fmt="%8.8s";
pos=42,98  val=DN chan=l-0052 fmt="%1d";   pos=42,100 val=STATE_NAME chan=l-0052 fmt="%8.8s";
pos=43,98  val=DN chan=l-0053 fmt="%1d";   pos=43,100 val=STATE_NAME chan=l-0053 fmt="%8.8s";
pos=44,98  val=DN chan=l-0058 fmt="%1d";   pos=44,100 val=STATE_NAME chan=l-0058 fmt="%8.8s";


rule=static
pos=47,79  val='  _PICK_BIT_STATUS__________________';
pos=48,79  val=' |              CONTROL  NON_CNT    |';
pos=49,79  val=' | UPLS_PICK_A     X        X       |';
pos=50,79  val=' | UPLS_PICK_B     X        X       |';
pos=51,79  val=' |__________________________________|';

rule=dynamic
pos=49,98  val=DN chan=f-1775 fmt="%1d";   pos=49,107 val=DN chan=n-1775 fmt="%1d";
pos=50,98  val=DN chan=f-1774 fmt="%1d";   pos=50,107 val=DN chan=n-1774 fmt="%1d";


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_power_sw_fix3.tdl                                            #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: POWER Subsystem Fixed Page #3 (S/W Summary Page)                  #
# BASELINED: OGS 05-28-96                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=79,95  pos=4,1 # mgs_power_sw_fix3.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR POWER SOFTWARE SUMMARY PAGE  ';
pos=03,1   val=' ';
pos=04,1   val='  _BATTERY_1_S/W_STATUS_________________________';
pos=05,1   val=' |                             |                |';
pos=06,1   val=' | BAT1_ASOC    XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=07,1   val=' | BAT1_TSOC    XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=08,1   val=' |                             |                |';
pos=09,1   val=' | BAT1_CDRATIO XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=10,1   val=' | BAT1_CDR_DN  XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=11,1   val=' |                             |                |';
pos=12,1   val=' | BAT1_INT_CHG XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=13,1   val=' | BAT1_INT_DCH XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=14,1   val=' |                             |                |';
pos=15,1   val=' | BAT1_CHG_I   XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=16,1   val=' | BAT1_DCH_I   XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=17,1   val=' |                             |                |';
pos=18,1   val=' | BAT1_TMP_AVE XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=19,1   val=' | BAT1_TMP_GRD XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=20,1   val=' |                             |                |';
pos=21,1   val=' | BAT1_BD_I_CT XXXXX          | XXXXX          |';
pos=22,1   val=' | BAT1_BD_T_CT XXXXX          | XXXXX          |';
pos=23,1   val=' | BAT1_HI_D_CT XXXXX          | XXXXX          |';
pos=24,1   val=' | BAT1_HI_T_CT XXXXX          | XXXXX          |';
pos=25,1   val=' | BAT1_HI_V_CT XXXXX          | XXXXX          |';
pos=26,1   val=' |                             |                |';
pos=27,1   val=' | BAT1_CP_CMD  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=28,1   val=' | BAT1_CP_TLM  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=29,1   val=' | BAT1_CR_CMD  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=30,1   val=' | BAT1_CR_TLM  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=31,1   val=' | BAT1_VTS_CMD XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=32,1   val=' | BAT1_VTS_TLM XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=33,1   val=' | BAT1_VT_CMD  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=34,1   val=' | BAT1_VT_TLM  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=35,1   val=' |_____________________________|________________|';


rule=dynamic
pos=06,17  val=DN chan=f-2001 fmt="%5d";  pos=06,23 val=EU chan=f-2001 fmt="%8.2f";
pos=07,17  val=DN chan=f-2002 fmt="%5d";  pos=07,23 val=EU chan=f-2002 fmt="%8.2f";
pos=09,17  val=DN chan=f-2003 fmt="%5d";  pos=09,23 val=EU chan=f-2003 fmt="%8.2f";
pos=10,17  val=DN chan=f-2004 fmt="%5d";  pos=10,23 val=EU chan=f-2004 fmt="%8.2f";
pos=12,17  val=DN chan=f-2005 fmt="%5d";  pos=12,23 val=EU chan=f-2005 fmt="%8.2f";
pos=13,17  val=DN chan=f-2006 fmt="%5d";  pos=13,23 val=EU chan=f-2006 fmt="%8.2f";
pos=15,17  val=DN chan=f-2007 fmt="%5d";  pos=15,23 val=EU chan=f-2007 fmt="%8.2f";
pos=16,17  val=DN chan=f-2009 fmt="%5d";  pos=16,23 val=EU chan=f-2009 fmt="%8.2f";
pos=18,17  val=DN chan=f-2013 fmt="%5d";  pos=18,23 val=EU chan=f-2013 fmt="%8.2f";
pos=19,17  val=DN chan=f-2014 fmt="%5d";  pos=19,23 val=EU chan=f-2014 fmt="%8.2f";
pos=21,17  val=DN chan=f-2020 fmt="%5d";
pos=22,17  val=DN chan=f-2021 fmt="%5d";
pos=23,17  val=DN chan=f-2022 fmt="%5d";
pos=24,17  val=DN chan=f-2023 fmt="%5d";
pos=25,17  val=DN chan=f-2024 fmt="%5d";
pos=27,17  val=DN chan=f-2030 fmt="%5d";  pos=27,23 val=STATE_NAME chan=f-2030 fmt="%8.8s";
pos=28,17  val=DN chan=f-2031 fmt="%5d";  pos=28,23 val=STATE_NAME chan=f-2031 fmt="%8.8s";
pos=29,17  val=DN chan=f-2032 fmt="%5d";  pos=29,23 val=STATE_NAME chan=f-2032 fmt="%8.8s";
pos=30,17  val=DN chan=f-2033 fmt="%5d";  pos=30,23 val=STATE_NAME chan=f-2033 fmt="%8.8s";
pos=31,17  val=DN chan=f-2034 fmt="%5d";  pos=31,23 val=STATE_NAME chan=f-2034 fmt="%8.8s";
pos=32,17  val=DN chan=f-2035 fmt="%5d";  pos=32,23 val=STATE_NAME chan=f-2035 fmt="%8.8s";
pos=33,17  val=DN chan=f-2036 fmt="%5d";  pos=33,23 val=STATE_NAME chan=f-2036 fmt="%8.8s";
pos=34,17  val=DN chan=f-2037 fmt="%5d";  pos=34,23 val=STATE_NAME chan=f-2037 fmt="%8.8s";

pos=06,34  val=DN chan=n-2001 fmt="%5d";  pos=06,40 val=EU chan=n-2001 fmt="%8.2f";
pos=07,34  val=DN chan=n-2002 fmt="%5d";  pos=07,40 val=EU chan=n-2002 fmt="%8.2f";
pos=09,34  val=DN chan=n-2003 fmt="%5d";  pos=09,40 val=EU chan=n-2003 fmt="%8.2f";
pos=10,34  val=DN chan=n-2004 fmt="%5d";  pos=10,40 val=EU chan=n-2004 fmt="%8.2f";
pos=12,34  val=DN chan=n-2005 fmt="%5d";  pos=12,40 val=EU chan=n-2005 fmt="%8.2f";
pos=13,34  val=DN chan=n-2006 fmt="%5d";  pos=13,40 val=EU chan=n-2006 fmt="%8.2f";
pos=15,34  val=DN chan=n-2007 fmt="%5d";  pos=15,40 val=EU chan=n-2007 fmt="%8.2f";
pos=16,34  val=DN chan=n-2009 fmt="%5d";  pos=16,40 val=EU chan=n-2009 fmt="%8.2f";
pos=18,34  val=DN chan=n-2013 fmt="%5d";  pos=18,40 val=EU chan=n-2013 fmt="%8.2f";
pos=19,34  val=DN chan=n-2014 fmt="%5d";  pos=19,40 val=EU chan=n-2014 fmt="%8.2f";
pos=21,34  val=DN chan=n-2020 fmt="%5d";
pos=22,34  val=DN chan=n-2021 fmt="%5d";
pos=23,34  val=DN chan=n-2022 fmt="%5d";
pos=24,34  val=DN chan=n-2023 fmt="%5d";
pos=25,34  val=DN chan=n-2024 fmt="%5d";
pos=27,34  val=DN chan=n-2030 fmt="%5d";  pos=27,40 val=STATE_NAME chan=n-2030 fmt="%8.8s";
pos=28,34  val=DN chan=n-2031 fmt="%5d";  pos=28,40 val=STATE_NAME chan=n-2031 fmt="%8.8s";
pos=29,34  val=DN chan=n-2032 fmt="%5d";  pos=29,40 val=STATE_NAME chan=n-2032 fmt="%8.8s";
pos=30,34  val=DN chan=n-2033 fmt="%5d";  pos=30,40 val=STATE_NAME chan=n-2033 fmt="%8.8s";
pos=31,34  val=DN chan=n-2034 fmt="%5d";  pos=31,40 val=STATE_NAME chan=n-2034 fmt="%8.8s";
pos=32,34  val=DN chan=n-2035 fmt="%5d";  pos=32,40 val=STATE_NAME chan=n-2035 fmt="%8.8s";
pos=33,34  val=DN chan=n-2036 fmt="%5d";  pos=33,40 val=STATE_NAME chan=n-2036 fmt="%8.8s";
pos=34,34  val=DN chan=n-2037 fmt="%5d";  pos=34,40 val=STATE_NAME chan=n-2037 fmt="%8.8s";


rule=static
pos=38,1   val='  _BATTERY_2_S/W_STATUS_________________________';
pos=39,1   val=' |                             |                |';
pos=40,1   val=' | BAT2_ASOC    XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=41,1   val=' | BAT2_TSOC    XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=42,1   val=' |                             |                |';
pos=43,1   val=' | BAT2_CDRATIO XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=44,1   val=' | BAT2_CDR_DN  XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=45,1   val=' |                             |                |';
pos=46,1   val=' | BAT2_INT_CHG XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=47,1   val=' | BAT2_INT_DCH XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=48,1   val=' |                             |                |';
pos=49,1   val=' | BAT2_CHG_I   XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=50,1   val=' | BAT2_DCH_I   XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=51,1   val=' |                             |                |';
pos=52,1   val=' | BAT2_TMP_AVE XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=53,1   val=' | BAT2_TMP_GRD XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=54,1   val=' |                             |                |';
pos=55,1   val=' | BAT2_BD_I_CT XXXXX          | XXXXX          |';
pos=56,1   val=' | BAT2_BD_T_CT XXXXX          | XXXXX          |';
pos=57,1   val=' | BAT2_HI_D_CT XXXXX          | XXXXX          |';
pos=58,1   val=' | BAT2_HI_T_CT XXXXX          | XXXXX          |';
pos=59,1   val=' | BAT2_HI_V_CT XXXXX          | XXXXX          |';
pos=60,1   val=' |                             |                |';
pos=61,1   val=' | BAT2_CP_CMD  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=62,1   val=' | BAT2_CP_TLM  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=63,1   val=' | BAT2_CR_CMD  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=64,1   val=' | BAT2_CR_TLM  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=65,1   val=' | BAT2_VTS_CMD XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=66,1   val=' | BAT2_VTS_TLM XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=67,1   val=' | BAT2_VT_CMD  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=68,1   val=' | BAT2_VT_TLM  XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=69,1   val=' |_____________________________|________________|';


rule=dynamic
pos=40,17  val=DN chan=f-2051 fmt="%5d";  pos=40,23 val=EU chan=f-2051 fmt="%8.2f";
pos=41,17  val=DN chan=f-2052 fmt="%5d";  pos=41,23 val=EU chan=f-2052 fmt="%8.2f";
pos=43,17  val=DN chan=f-2053 fmt="%5d";  pos=43,23 val=EU chan=f-2053 fmt="%8.2f";
pos=44,17  val=DN chan=f-2054 fmt="%5d";  pos=44,23 val=EU chan=f-2054 fmt="%8.2f";
pos=46,17  val=DN chan=f-2055 fmt="%5d";  pos=46,23 val=EU chan=f-2055 fmt="%8.2f";
pos=47,17  val=DN chan=f-2056 fmt="%5d";  pos=47,23 val=EU chan=f-2056 fmt="%8.2f";
pos=49,17  val=DN chan=f-2057 fmt="%5d";  pos=49,23 val=EU chan=f-2057 fmt="%8.2f";
pos=50,17  val=DN chan=f-2059 fmt="%5d";  pos=50,23 val=EU chan=f-2059 fmt="%8.2f";
pos=52,17  val=DN chan=f-2063 fmt="%5d";  pos=52,23 val=EU chan=f-2063 fmt="%8.2f";
pos=53,17  val=DN chan=f-2064 fmt="%5d";  pos=53,23 val=EU chan=f-2064 fmt="%8.2f";
pos=55,17  val=DN chan=f-2070 fmt="%5d";
pos=56,17  val=DN chan=f-2071 fmt="%5d";
pos=57,17  val=DN chan=f-2072 fmt="%5d";
pos=58,17  val=DN chan=f-2073 fmt="%5d";
pos=59,17  val=DN chan=f-2074 fmt="%5d";
pos=61,17  val=DN chan=f-2080 fmt="%5d";  pos=61,23 val=STATE_NAME chan=f-2080 fmt="%8.8s";
pos=62,17  val=DN chan=f-2081 fmt="%5d";  pos=62,23 val=STATE_NAME chan=f-2081 fmt="%8.8s";
pos=63,17  val=DN chan=f-2082 fmt="%5d";  pos=63,23 val=STATE_NAME chan=f-2082 fmt="%8.8s";
pos=64,17  val=DN chan=f-2083 fmt="%5d";  pos=64,23 val=STATE_NAME chan=f-2083 fmt="%8.8s";
pos=65,17  val=DN chan=f-2084 fmt="%5d";  pos=65,23 val=STATE_NAME chan=f-2084 fmt="%8.8s";
pos=66,17  val=DN chan=f-2085 fmt="%5d";  pos=66,23 val=STATE_NAME chan=f-2085 fmt="%8.8s";
pos=67,17  val=DN chan=f-2086 fmt="%5d";  pos=67,23 val=STATE_NAME chan=f-2086 fmt="%8.8s";
pos=68,17  val=DN chan=f-2087 fmt="%5d";  pos=68,23 val=STATE_NAME chan=f-2087 fmt="%8.8s";


pos=40,34  val=DN chan=n-2051 fmt="%5d";  pos=40,40 val=EU chan=n-2051 fmt="%8.2f";
pos=41,34  val=DN chan=n-2052 fmt="%5d";  pos=41,40 val=EU chan=n-2052 fmt="%8.2f";
pos=43,34  val=DN chan=n-2053 fmt="%5d";  pos=43,40 val=EU chan=n-2053 fmt="%8.2f";
pos=44,34  val=DN chan=n-2054 fmt="%5d";  pos=44,40 val=EU chan=n-2054 fmt="%8.2f";
pos=46,34  val=DN chan=n-2055 fmt="%5d";  pos=46,40 val=EU chan=n-2055 fmt="%8.2f";
pos=47,34  val=DN chan=n-2056 fmt="%5d";  pos=47,40 val=EU chan=n-2056 fmt="%8.2f";
pos=49,34  val=DN chan=n-2057 fmt="%5d";  pos=49,40 val=EU chan=n-2057 fmt="%8.2f";
pos=50,34  val=DN chan=n-2059 fmt="%5d";  pos=50,40 val=EU chan=n-2059 fmt="%8.2f";
pos=52,34  val=DN chan=n-2063 fmt="%5d";  pos=52,40 val=EU chan=n-2063 fmt="%8.2f";
pos=53,34  val=DN chan=n-2064 fmt="%5d";  pos=53,40 val=EU chan=n-2064 fmt="%8.2f";
pos=55,34  val=DN chan=n-2070 fmt="%5d";
pos=56,34  val=DN chan=n-2071 fmt="%5d";
pos=57,34  val=DN chan=n-2072 fmt="%5d";
pos=58,34  val=DN chan=n-2073 fmt="%5d";
pos=59,34  val=DN chan=n-2074 fmt="%5d";
pos=61,34  val=DN chan=n-2080 fmt="%5d";  pos=61,40 val=STATE_NAME chan=n-2080 fmt="%8.8s";
pos=62,34  val=DN chan=n-2081 fmt="%5d";  pos=62,40 val=STATE_NAME chan=n-2081 fmt="%8.8s";
pos=63,34  val=DN chan=n-2082 fmt="%5d";  pos=63,40 val=STATE_NAME chan=n-2082 fmt="%8.8s";
pos=64,34  val=DN chan=n-2083 fmt="%5d";  pos=64,40 val=STATE_NAME chan=n-2083 fmt="%8.8s";
pos=65,34  val=DN chan=n-2084 fmt="%5d";  pos=65,40 val=STATE_NAME chan=n-2084 fmt="%8.8s";
pos=66,34  val=DN chan=n-2085 fmt="%5d";  pos=66,40 val=STATE_NAME chan=n-2085 fmt="%8.8s";
pos=67,34  val=DN chan=n-2086 fmt="%5d";  pos=67,40 val=STATE_NAME chan=n-2086 fmt="%8.8s";
pos=68,34  val=DN chan=n-2087 fmt="%5d";  pos=68,40 val=STATE_NAME chan=n-2087 fmt="%8.8s";


rule=static
pos=73,1   val='  _PSE_COMMAND_STATUS___________________________';
pos=74,1   val=' |                             |                |';
pos=75,1   val=' | PSE_LAST_CMD         0xXXXX |         0xXXXX |';
pos=76,1   val=' | PSE_QFULL_CT         XXXXXX |         XXXXXX |';
pos=77,1   val=' | VERIFY_STAT          0xXXXX |         0xXXXX |';
pos=78,1   val=' |_____________________________|________________|';

rule=dynamic
pos=75,25 val=DN  chan=f-2110 fmt="%#4.4x";
pos=76,25 val=DN  chan=f-2111 fmt="%6d";
pos=77,25 val=DN  chan=f-2155 fmt="%#4.4x";
pos=75,42 val=DN  chan=n-2110 fmt="%#4.4x";
pos=76,42 val=DN  chan=n-2111 fmt="%6d";
pos=77,42 val=DN  chan=n-2155 fmt="%#4.4x";


rule=static
pos=04,51  val='  _DAY/NIGHT_COUNTERS______________________';
pos=05,51  val=' |                           |             |';
pos=06,51  val=' | BAT1_DAY_CT         XXXXX |       XXXXX |';
pos=07,51  val=' | BAT2_DAY_CT         XXXXX |       XXXXX |';
pos=08,51  val=' | SCSC_DAY_CT         XXXXX |       XXXXX |';
pos=09,51  val=' | SOLAR_DAY_CT        XXXXX |       XXXXX |';
pos=10,51  val=' |                           |             |';
pos=11,51  val=' | BAT1_NTE_CT         XXXXX |       XXXXX |';
pos=12,51  val=' | BAT2_NTE_CT         XXXXX |       XXXXX |';
pos=13,51  val=' | SCSC_NTE_CT         XXXXX |       XXXXX |';
pos=14,51  val=' | SOLAR_NTE_CT        XXXXX |       XXXXX |';
pos=15,51  val=' |___________________________|_____________|';

rule=dynamic
pos=06,74  val=DN chan=f-2025 fmt="%5d";
pos=07,74  val=DN chan=f-2075 fmt="%5d";
pos=08,74  val=DN chan=f-2121 fmt="%5d";
pos=09,74  val=DN chan=f-2123 fmt="%5d";
pos=11,74  val=DN chan=f-2026 fmt="%5d";
pos=12,74  val=DN chan=f-2076 fmt="%5d";
pos=13,74  val=DN chan=f-2122 fmt="%5d";
pos=14,74  val=DN chan=f-2124 fmt="%5d";

pos=06,88  val=DN chan=n-2025 fmt="%5d";
pos=07,88  val=DN chan=n-2075 fmt="%5d";
pos=08,88  val=DN chan=n-2121 fmt="%5d";
pos=09,88  val=DN chan=n-2123 fmt="%5d";
pos=11,88  val=DN chan=n-2026 fmt="%5d";
pos=12,88  val=DN chan=n-2076 fmt="%5d";
pos=13,88  val=DN chan=n-2122 fmt="%5d";
pos=14,88  val=DN chan=n-2124 fmt="%5d";


rule=static
pos=17,51  val='  _POWER_ENABLE_WORD_______________________';
pos=18,51  val=' |                           |             |';
pos=19,51  val=' |                    XXXXXX |      XXXXXX |';
pos=20,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=21,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=22,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=23,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=24,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=25,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=26,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=27,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=28,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=29,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=30,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=31,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=32,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=33,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=34,51  val=' | SPARE                     |             |';
pos=35,51  val=' | SPARE                     |             |';
pos=36,51  val=' |___________________________|_____________|';

rule=dynamic

pos=19,54  val=CHAN_TITLE chan=f-2140 fmt="%-12.12s";                                            pos=19,73 val=DN         chan=f-2140 fmt="%#4.4x";
pos=20,54  val=CHAN_TITLE chan=f-2200 fmt="%-12.12s";  pos=20,68  val=DN chan=f-2200 fmt="%1d";  pos=20,71 val=STATE_NAME chan=f-2200 fmt="%8.8s";
pos=21,54  val=CHAN_TITLE chan=f-2201 fmt="%-12.12s";  pos=21,68  val=DN chan=f-2201 fmt="%1d";  pos=21,71 val=STATE_NAME chan=f-2201 fmt="%8.8s";
pos=22,54  val=CHAN_TITLE chan=f-2202 fmt="%-12.12s";  pos=22,68  val=DN chan=f-2202 fmt="%1d";  pos=22,71 val=STATE_NAME chan=f-2202 fmt="%8.8s";
pos=23,54  val=CHAN_TITLE chan=f-2203 fmt="%-12.12s";  pos=23,68  val=DN chan=f-2203 fmt="%1d";  pos=23,71 val=STATE_NAME chan=f-2203 fmt="%8.8s";
pos=24,54  val=CHAN_TITLE chan=f-2204 fmt="%-12.12s";  pos=24,68  val=DN chan=f-2204 fmt="%1d";  pos=24,71 val=STATE_NAME chan=f-2204 fmt="%8.8s";
pos=25,54  val=CHAN_TITLE chan=f-2205 fmt="%-12.12s";  pos=25,68  val=DN chan=f-2205 fmt="%1d";  pos=25,71 val=STATE_NAME chan=f-2205 fmt="%8.8s";
pos=26,54  val=CHAN_TITLE chan=f-2206 fmt="%-12.12s";  pos=26,68  val=DN chan=f-2206 fmt="%1d";  pos=26,71 val=STATE_NAME chan=f-2206 fmt="%8.8s";
pos=27,54  val=CHAN_TITLE chan=f-2207 fmt="%-12.12s";  pos=27,68  val=DN chan=f-2207 fmt="%1d";  pos=27,71 val=STATE_NAME chan=f-2207 fmt="%8.8s";
pos=28,54  val=CHAN_TITLE chan=f-2208 fmt="%-12.12s";  pos=28,68  val=DN chan=f-2208 fmt="%1d";  pos=28,71 val=STATE_NAME chan=f-2208 fmt="%8.8s";
pos=29,54  val=CHAN_TITLE chan=f-2209 fmt="%-12.12s";  pos=29,68  val=DN chan=f-2209 fmt="%1d";  pos=29,71 val=STATE_NAME chan=f-2209 fmt="%8.8s";
pos=30,54  val=CHAN_TITLE chan=f-2210 fmt="%-12.12s";  pos=30,68  val=DN chan=f-2210 fmt="%1d";  pos=30,71 val=STATE_NAME chan=f-2210 fmt="%8.8s";
pos=31,54  val=CHAN_TITLE chan=f-2211 fmt="%-12.12s";  pos=31,68  val=DN chan=f-2211 fmt="%1d";  pos=31,71 val=STATE_NAME chan=f-2211 fmt="%8.8s";
pos=32,54  val=CHAN_TITLE chan=f-2212 fmt="%-12.12s";  pos=32,68  val=DN chan=f-2212 fmt="%1d";  pos=32,71 val=STATE_NAME chan=f-2212 fmt="%8.8s";
pos=33,54  val=CHAN_TITLE chan=f-2213 fmt="%-12.12s";  pos=33,68  val=DN chan=f-2213 fmt="%1d";  pos=33,71 val=STATE_NAME chan=f-2213 fmt="%8.8s";

                                          pos=19,87 val=DN         chan=n-2140 fmt="%#4.4x";
pos=20,82  val=DN chan=n-2200 fmt="%1d";  pos=20,85 val=STATE_NAME chan=n-2200 fmt="%8.8s";
pos=21,82  val=DN chan=n-2201 fmt="%1d";  pos=21,85 val=STATE_NAME chan=n-2201 fmt="%8.8s";
pos=22,82  val=DN chan=n-2202 fmt="%1d";  pos=22,85 val=STATE_NAME chan=n-2202 fmt="%8.8s";
pos=23,82  val=DN chan=n-2203 fmt="%1d";  pos=23,85 val=STATE_NAME chan=n-2203 fmt="%8.8s";
pos=24,82  val=DN chan=n-2204 fmt="%1d";  pos=24,85 val=STATE_NAME chan=n-2204 fmt="%8.8s";
pos=25,82  val=DN chan=n-2205 fmt="%1d";  pos=25,85 val=STATE_NAME chan=n-2205 fmt="%8.8s";
pos=26,82  val=DN chan=n-2206 fmt="%1d";  pos=26,85 val=STATE_NAME chan=n-2206 fmt="%8.8s";
pos=27,82  val=DN chan=n-2207 fmt="%1d";  pos=27,85 val=STATE_NAME chan=n-2207 fmt="%8.8s";
pos=28,82  val=DN chan=n-2208 fmt="%1d";  pos=28,85 val=STATE_NAME chan=n-2208 fmt="%8.8s";
pos=29,82  val=DN chan=n-2209 fmt="%1d";  pos=29,85 val=STATE_NAME chan=n-2209 fmt="%8.8s";
pos=30,82  val=DN chan=n-2210 fmt="%1d";  pos=30,85 val=STATE_NAME chan=n-2210 fmt="%8.8s";
pos=31,82  val=DN chan=n-2211 fmt="%1d";  pos=31,85 val=STATE_NAME chan=n-2211 fmt="%8.8s";
pos=32,82  val=DN chan=n-2212 fmt="%1d";  pos=32,85 val=STATE_NAME chan=n-2212 fmt="%8.8s";
pos=33,82  val=DN chan=n-2213 fmt="%1d";  pos=33,85 val=STATE_NAME chan=n-2213 fmt="%8.8s";


rule=static
pos=38,51  val='  _POWER_FLAGS_WORD________________________';
pos=39,51  val=' |                           |             |';
pos=40,51  val=' |                    XXXXXX |      XXXXXX |';
pos=41,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=42,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=43,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=44,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=45,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=46,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=47,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=48,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=49,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=50,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=51,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=52,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=53,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=54,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=55,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=56,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=57,51  val=' |___________________________|_____________|';

rule=dynamic

pos=40,54  val=CHAN_TITLE chan=f-2145 fmt="%-12.12s";                                            pos=40,73 val=DN         chan=f-2145 fmt="%#4.4x";
pos=41,54  val=CHAN_TITLE chan=f-2220 fmt="%-12.12s";  pos=41,68  val=DN chan=f-2220 fmt="%1d";  pos=41,71 val=STATE_NAME chan=f-2220 fmt="%8.8s";
pos=42,54  val=CHAN_TITLE chan=f-2221 fmt="%-12.12s";  pos=42,68  val=DN chan=f-2221 fmt="%1d";  pos=42,71 val=STATE_NAME chan=f-2221 fmt="%8.8s";
pos=43,54  val=CHAN_TITLE chan=f-2222 fmt="%-12.12s";  pos=43,68  val=DN chan=f-2222 fmt="%1d";  pos=43,71 val=STATE_NAME chan=f-2222 fmt="%8.8s";
pos=44,54  val=CHAN_TITLE chan=f-2223 fmt="%-12.12s";  pos=44,68  val=DN chan=f-2223 fmt="%1d";  pos=44,71 val=STATE_NAME chan=f-2223 fmt="%8.8s";
pos=45,54  val=CHAN_TITLE chan=f-2224 fmt="%-12.12s";  pos=45,68  val=DN chan=f-2224 fmt="%1d";  pos=45,71 val=STATE_NAME chan=f-2224 fmt="%8.8s";
pos=46,54  val=CHAN_TITLE chan=f-2225 fmt="%-12.12s";  pos=46,68  val=DN chan=f-2225 fmt="%1d";  pos=46,71 val=STATE_NAME chan=f-2225 fmt="%8.8s";
pos=47,54  val=CHAN_TITLE chan=f-2226 fmt="%-12.12s";  pos=47,68  val=DN chan=f-2226 fmt="%1d";  pos=47,71 val=STATE_NAME chan=f-2226 fmt="%8.8s";
pos=48,54  val=CHAN_TITLE chan=f-2227 fmt="%-12.12s";  pos=48,68  val=DN chan=f-2227 fmt="%1d";  pos=48,71 val=STATE_NAME chan=f-2227 fmt="%8.8s";
pos=49,54  val=CHAN_TITLE chan=f-2228 fmt="%-12.12s";  pos=49,68  val=DN chan=f-2228 fmt="%1d";  pos=49,71 val=STATE_NAME chan=f-2228 fmt="%8.8s";
pos=50,54  val=CHAN_TITLE chan=f-2229 fmt="%-12.12s";  pos=50,68  val=DN chan=f-2229 fmt="%1d";  pos=50,71 val=STATE_NAME chan=f-2229 fmt="%8.8s";
pos=51,54  val=CHAN_TITLE chan=f-2230 fmt="%-12.12s";  pos=51,68  val=DN chan=f-2230 fmt="%1d";  pos=51,71 val=STATE_NAME chan=f-2230 fmt="%8.8s";
pos=52,54  val=CHAN_TITLE chan=f-2231 fmt="%-12.12s";  pos=52,68  val=DN chan=f-2231 fmt="%1d";  pos=52,71 val=STATE_NAME chan=f-2231 fmt="%8.8s";
pos=53,54  val=CHAN_TITLE chan=f-2232 fmt="%-12.12s";  pos=53,68  val=DN chan=f-2232 fmt="%1d";  pos=53,71 val=STATE_NAME chan=f-2232 fmt="%8.8s";
pos=54,54  val=CHAN_TITLE chan=f-2233 fmt="%-12.12s";  pos=54,68  val=DN chan=f-2233 fmt="%1d";  pos=54,71 val=STATE_NAME chan=f-2233 fmt="%8.8s";
pos=55,54  val=CHAN_TITLE chan=f-2234 fmt="%-12.12s";  pos=55,68  val=DN chan=f-2234 fmt="%1d";  pos=55,71 val=STATE_NAME chan=f-2234 fmt="%8.8s";
pos=56,54  val=CHAN_TITLE chan=f-2235 fmt="%-12.12s";  pos=56,68  val=DN chan=f-2235 fmt="%1d";  pos=56,71 val=STATE_NAME chan=f-2235 fmt="%8.8s";

                                          pos=40,87 val=DN         chan=n-2145 fmt="%#4.4x";
pos=41,82  val=DN chan=n-2220 fmt="%1d";  pos=41,85 val=STATE_NAME chan=n-2220 fmt="%8.8s";
pos=42,82  val=DN chan=n-2221 fmt="%1d";  pos=42,85 val=STATE_NAME chan=n-2221 fmt="%8.8s";
pos=43,82  val=DN chan=n-2222 fmt="%1d";  pos=43,85 val=STATE_NAME chan=n-2222 fmt="%8.8s";
pos=44,82  val=DN chan=n-2223 fmt="%1d";  pos=44,85 val=STATE_NAME chan=n-2223 fmt="%8.8s";
pos=45,82  val=DN chan=n-2224 fmt="%1d";  pos=45,85 val=STATE_NAME chan=n-2224 fmt="%8.8s";
pos=46,82  val=DN chan=n-2225 fmt="%1d";  pos=46,85 val=STATE_NAME chan=n-2225 fmt="%8.8s";
pos=47,82  val=DN chan=n-2226 fmt="%1d";  pos=47,85 val=STATE_NAME chan=n-2226 fmt="%8.8s";
pos=48,82  val=DN chan=n-2227 fmt="%1d";  pos=48,85 val=STATE_NAME chan=n-2227 fmt="%8.8s";
pos=49,82  val=DN chan=n-2228 fmt="%1d";  pos=49,85 val=STATE_NAME chan=n-2228 fmt="%8.8s";
pos=50,82  val=DN chan=n-2229 fmt="%1d";  pos=50,85 val=STATE_NAME chan=n-2229 fmt="%8.8s";
pos=51,82  val=DN chan=n-2230 fmt="%1d";  pos=51,85 val=STATE_NAME chan=n-2230 fmt="%8.8s";
pos=52,82  val=DN chan=n-2231 fmt="%1d";  pos=52,85 val=STATE_NAME chan=n-2231 fmt="%8.8s";
pos=53,82  val=DN chan=n-2232 fmt="%1d";  pos=53,85 val=STATE_NAME chan=n-2232 fmt="%8.8s";
pos=54,82  val=DN chan=n-2233 fmt="%1d";  pos=54,85 val=STATE_NAME chan=n-2233 fmt="%8.8s";
pos=55,82  val=DN chan=n-2234 fmt="%1d";  pos=55,85 val=STATE_NAME chan=n-2234 fmt="%8.8s";
pos=56,82  val=DN chan=n-2235 fmt="%1d";  pos=56,85 val=STATE_NAME chan=n-2235 fmt="%8.8s";



rule=static
pos=59,51  val='  _POWER_STAT_WORD_________________________';
pos=60,51  val=' |                           |             |';
pos=61,51  val=' |                    XXXXXX |      XXXXXX |';
pos=62,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=63,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=64,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=65,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=66,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=67,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=68,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=69,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=70,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=71,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=72,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=73,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=74,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=75,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=76,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=77,51  val=' |               X  XXXXXXXX | X  XXXXXXXX |';
pos=78,51  val=' |___________________________|_____________|';

rule=dynamic

pos=61,54  val=CHAN_TITLE chan=f-2150 fmt="%-12.12s";                                            pos=61,73 val=DN         chan=f-2150 fmt="%#4.4x";
pos=62,54  val=CHAN_TITLE chan=f-2240 fmt="%-12.12s";  pos=62,68  val=DN chan=f-2240 fmt="%1d";  pos=62,71 val=STATE_NAME chan=f-2240 fmt="%8.8s";
pos=63,54  val=CHAN_TITLE chan=f-2241 fmt="%-12.12s";  pos=63,68  val=DN chan=f-2241 fmt="%1d";  pos=63,71 val=STATE_NAME chan=f-2241 fmt="%8.8s";
pos=64,54  val=CHAN_TITLE chan=f-2242 fmt="%-12.12s";  pos=64,68  val=DN chan=f-2242 fmt="%1d";  pos=64,71 val=STATE_NAME chan=f-2242 fmt="%8.8s";
pos=65,54  val=CHAN_TITLE chan=f-2243 fmt="%-12.12s";  pos=65,68  val=DN chan=f-2243 fmt="%1d";  pos=65,71 val=STATE_NAME chan=f-2243 fmt="%8.8s";
pos=66,54  val=CHAN_TITLE chan=f-2244 fmt="%-12.12s";  pos=66,68  val=DN chan=f-2244 fmt="%1d";  pos=66,71 val=STATE_NAME chan=f-2244 fmt="%8.8s";
pos=67,54  val=CHAN_TITLE chan=f-2245 fmt="%-12.12s";  pos=67,68  val=DN chan=f-2245 fmt="%1d";  pos=67,71 val=STATE_NAME chan=f-2245 fmt="%8.8s";
pos=68,54  val=CHAN_TITLE chan=f-2246 fmt="%-12.12s";  pos=68,68  val=DN chan=f-2246 fmt="%1d";  pos=68,71 val=STATE_NAME chan=f-2246 fmt="%8.8s";
pos=69,54  val=CHAN_TITLE chan=f-2247 fmt="%-12.12s";  pos=69,68  val=DN chan=f-2247 fmt="%1d";  pos=69,71 val=STATE_NAME chan=f-2247 fmt="%8.8s";
pos=70,54  val=CHAN_TITLE chan=f-2248 fmt="%-12.12s";  pos=70,68  val=DN chan=f-2248 fmt="%1d";  pos=70,71 val=STATE_NAME chan=f-2248 fmt="%8.8s";
pos=71,54  val=CHAN_TITLE chan=f-2249 fmt="%-12.12s";  pos=71,68  val=DN chan=f-2249 fmt="%1d";  pos=71,71 val=STATE_NAME chan=f-2249 fmt="%8.8s";
pos=72,54  val=CHAN_TITLE chan=f-2250 fmt="%-12.12s";  pos=72,68  val=DN chan=f-2250 fmt="%1d";  pos=72,71 val=STATE_NAME chan=f-2250 fmt="%8.8s";
pos=73,54  val=CHAN_TITLE chan=f-2251 fmt="%-12.12s";  pos=73,68  val=DN chan=f-2251 fmt="%1d";  pos=73,71 val=STATE_NAME chan=f-2251 fmt="%8.8s";
pos=74,54  val=CHAN_TITLE chan=f-2252 fmt="%-12.12s";  pos=74,68  val=DN chan=f-2252 fmt="%1d";  pos=74,71 val=STATE_NAME chan=f-2252 fmt="%8.8s";
pos=75,54  val=CHAN_TITLE chan=f-2253 fmt="%-12.12s";  pos=75,68  val=DN chan=f-2253 fmt="%1d";  pos=75,71 val=STATE_NAME chan=f-2253 fmt="%8.8s";
pos=76,54  val=CHAN_TITLE chan=f-2254 fmt="%-12.12s";  pos=76,68  val=DN chan=f-2254 fmt="%1d";  pos=76,71 val=STATE_NAME chan=f-2254 fmt="%8.8s";
pos=77,54  val=CHAN_TITLE chan=f-2255 fmt="%-12.12s";  pos=77,68  val=DN chan=f-2255 fmt="%1d";  pos=77,71 val=STATE_NAME chan=f-2255 fmt="%8.8s";

                                          pos=61,87 val=DN         chan=n-2150 fmt="%#4.4x";
pos=62,82  val=DN chan=n-2240 fmt="%1d";  pos=62,85 val=STATE_NAME chan=n-2240 fmt="%8.8s";
pos=63,82  val=DN chan=n-2241 fmt="%1d";  pos=63,85 val=STATE_NAME chan=n-2241 fmt="%8.8s";
pos=64,82  val=DN chan=n-2242 fmt="%1d";  pos=64,85 val=STATE_NAME chan=n-2242 fmt="%8.8s";
pos=65,82  val=DN chan=n-2243 fmt="%1d";  pos=65,85 val=STATE_NAME chan=n-2243 fmt="%8.8s";
pos=66,82  val=DN chan=n-2244 fmt="%1d";  pos=66,85 val=STATE_NAME chan=n-2244 fmt="%8.8s";
pos=67,82  val=DN chan=n-2245 fmt="%1d";  pos=67,85 val=STATE_NAME chan=n-2245 fmt="%8.8s";
pos=68,82  val=DN chan=n-2246 fmt="%1d";  pos=68,85 val=STATE_NAME chan=n-2246 fmt="%8.8s";
pos=69,82  val=DN chan=n-2247 fmt="%1d";  pos=69,85 val=STATE_NAME chan=n-2247 fmt="%8.8s";
pos=70,82  val=DN chan=n-2248 fmt="%1d";  pos=70,85 val=STATE_NAME chan=n-2248 fmt="%8.8s";
pos=71,82  val=DN chan=n-2249 fmt="%1d";  pos=71,85 val=STATE_NAME chan=n-2249 fmt="%8.8s";
pos=72,82  val=DN chan=n-2250 fmt="%1d";  pos=72,85 val=STATE_NAME chan=n-2250 fmt="%8.8s";
pos=73,82  val=DN chan=n-2251 fmt="%1d";  pos=73,85 val=STATE_NAME chan=n-2251 fmt="%8.8s";
pos=74,82  val=DN chan=n-2252 fmt="%1d";  pos=74,85 val=STATE_NAME chan=n-2252 fmt="%8.8s";
pos=75,82  val=DN chan=n-2253 fmt="%1d";  pos=75,85 val=STATE_NAME chan=n-2253 fmt="%8.8s";
pos=76,82  val=DN chan=n-2254 fmt="%1d";  pos=76,85 val=STATE_NAME chan=n-2254 fmt="%8.8s";
pos=77,82  val=DN chan=n-2255 fmt="%1d";  pos=77,85 val=STATE_NAME chan=n-2255 fmt="%8.8s";



ENDREGION
ENDTEMPLATE



###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_tlcm_sw_fix.tdl                                              #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: TLCM Subsystem Fixed Page (S/W Summary Page)                      #
# BASELINED: OGS 05-28-96                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=45,100 pos=4,1 # mgs_power_sw_fix3.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR TELECOM SOFTWARE SUMMARY PAGE  ';
pos=03,1   val=' ';
pos=04,1   val='  _TELECOM_STATUS_______________________________';
pos=05,1   val=' |                             |                |';
pos=06,1   val=' | TLCM_MODE    XXXXX XXXXXXXX | XXXXX XXXXXXXX |';
pos=07,1   val=' |                             |                |';
pos=08,1   val=' | CMD_LOSS_TMR XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=09,1   val=' |                             |                |';
pos=10,1   val=' | UPLK_TIMEOUT XXXXX XXXXX.XX | XXXXX XXXXX.XX |';
pos=11,1   val=' |                             |                |';
pos=12,1   val=' | LGA_TIMER    XXXXX          | XXXXX          |';
pos=13,1   val=' |                             |                |';
pos=14,1   val=' | TLCM_SUBCOM1         0xXXXX |         0xXXXX |';
pos=15,1   val=' | TLCM_SUBCOM2         0xXXXX |         0xXXXX |';
pos=16,1   val=' | TLCM_SUBCOM3         0xXXXX |         0xXXXX |';
pos=17,1   val=' | TLCM_SUBCOM4         0xXXXX |         0xXXXX |';
pos=18,1   val=' | TLCM_SUBCOM5         0xXXXX |         0xXXXX |';
pos=19,1   val=' |_____________________________|________________|';


rule=dynamic
pos=06,17  val=DN chan=f-3044 fmt="%5d";  pos=06,23 val=STATE_NAME chan=f-3044 fmt="%8.8s";
pos=08,17  val=DN chan=f-3010 fmt="%5d";  pos=08,23 val=EU chan=f-3010 fmt="%8.2f";
pos=10,17  val=DN chan=f-3060 fmt="%5d";  pos=10,23 val=EU chan=f-3060 fmt="%8.2f";
pos=12,17  val=DN chan=f-3021 fmt="%5d";
pos=14,25 val=DN  chan=f-3051 fmt="%#4.4x";
pos=15,25 val=DN  chan=f-3052 fmt="%#4.4x";
pos=16,25 val=DN  chan=f-3053 fmt="%#4.4x";
pos=17,25 val=DN  chan=f-3054 fmt="%#4.4x";
pos=18,25 val=DN  chan=f-3055 fmt="%#4.4x";

pos=06,34  val=DN chan=f-3044 fmt="%5d";  pos=06,40 val=STATE_NAME chan=f-3044 fmt="%8.8s";
pos=08,34  val=DN chan=f-3010 fmt="%5d";  pos=08,40 val=EU chan=f-3010 fmt="%8.2f";
pos=10,34  val=DN chan=f-3060 fmt="%5d";  pos=10,40 val=EU chan=f-3060 fmt="%8.2f";
pos=12,34  val=DN chan=f-3021 fmt="%5d";
pos=14,42 val=DN  chan=f-3051 fmt="%#4.4x";
pos=15,42 val=DN  chan=f-3052 fmt="%#4.4x";
pos=16,42 val=DN  chan=f-3053 fmt="%#4.4x";
pos=17,42 val=DN  chan=f-3054 fmt="%#4.4x";
pos=18,42 val=DN  chan=f-3055 fmt="%#4.4x";

rule=static
pos=25,1   val='  _TELECOM_PARAMETERS___________________________';
pos=26,1   val=' |                             |                |';
pos=27,1   val=' |                      XXXXXX |         XXXXXX |';
pos=28,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=29,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=30,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=31,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=32,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=33,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=34,1   val=' |               X             |  X             |';
pos=35,1   val=' |               X             |  X             |';
pos=36,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=37,1   val=' |                             |                |';
pos=38,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=39,1   val=' |                             |                |';
pos=40,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=41,1   val=' |                             |                |';
pos=42,1   val=' |               X  XXXXXXXXXX |  X  XXXXXXXXXX |';
pos=43,1   val=' |                             |                |';
pos=44,1   val=' |_____________________________|________________|';

rule=dynamic

pos=27,4   val=CHAN_TITLE chan=f-3046 fmt="%-12.12s";                                            pos=27,25 val=DN         chan=f-3046 fmt="%#4.4x";
pos=28,4   val=CHAN_TITLE chan=f-3240 fmt="%-12.12s";  pos=28,18  val=DN chan=f-3240 fmt="%1d";  pos=28,21 val=STATE_NAME chan=f-3240 fmt="%10.10s";
pos=29,4   val=CHAN_TITLE chan=f-3241 fmt="%-12.12s";  pos=29,18  val=DN chan=f-3241 fmt="%1d";  pos=29,21 val=STATE_NAME chan=f-3241 fmt="%10.10s";
pos=30,4   val=CHAN_TITLE chan=f-3242 fmt="%-12.12s";  pos=30,18  val=DN chan=f-3242 fmt="%1d";  pos=30,21 val=STATE_NAME chan=f-3242 fmt="%10.10s";
pos=31,4   val=CHAN_TITLE chan=f-3243 fmt="%-12.12s";  pos=31,18  val=DN chan=f-3243 fmt="%1d";  pos=31,21 val=STATE_NAME chan=f-3243 fmt="%10.10s";
pos=32,4   val=CHAN_TITLE chan=f-3244 fmt="%-12.12s";  pos=32,18  val=DN chan=f-3244 fmt="%1d";  pos=32,21 val=STATE_NAME chan=f-3244 fmt="%10.10s";
pos=33,4   val=CHAN_TITLE chan=f-3245 fmt="%-12.12s";  pos=33,18  val=DN chan=f-3245 fmt="%1d";  pos=33,21 val=STATE_NAME chan=f-3245 fmt="%10.10s";
pos=34,4   val=CHAN_TITLE chan=f-3246 fmt="%-12.12s";  pos=34,18  val=DN chan=f-3246 fmt="%1d";
pos=35,4   val=CHAN_TITLE chan=f-3247 fmt="%-12.12s";  pos=35,18  val=DN chan=f-3247 fmt="%1d";
pos=36,4   val=CHAN_TITLE chan=f-3248 fmt="%-12.12s";  pos=36,18  val=DN chan=f-3248 fmt="%1d";  pos=36,21 val=STATE_NAME chan=f-3248 fmt="%10.10s";
pos=38,4   val=CHAN_TITLE chan=f-3250 fmt="%-12.12s";  pos=38,18  val=DN chan=f-3250 fmt="%1d";  pos=38,21 val=STATE_NAME chan=f-3250 fmt="%10.10s";
pos=40,4   val=CHAN_TITLE chan=f-3252 fmt="%-12.12s";  pos=40,18  val=DN chan=f-3252 fmt="%1d";  pos=40,21 val=STATE_NAME chan=f-3252 fmt="%10.10s";
pos=42,4   val=CHAN_TITLE chan=f-3254 fmt="%-12.12s";  pos=42,18  val=DN chan=f-3254 fmt="%1d";  pos=42,21 val=STATE_NAME chan=f-3254 fmt="%10.10s";

                                          pos=27,42 val=DN         chan=n-3046 fmt="%#4.4x";
pos=28,35  val=DN chan=n-3240 fmt="%1d";  pos=28,38 val=STATE_NAME chan=n-3240 fmt="%10.10s";
pos=29,35  val=DN chan=n-3241 fmt="%1d";  pos=29,38 val=STATE_NAME chan=n-3241 fmt="%10.10s";
pos=30,35  val=DN chan=n-3242 fmt="%1d";  pos=30,38 val=STATE_NAME chan=n-3242 fmt="%10.10s";
pos=31,35  val=DN chan=n-3243 fmt="%1d";  pos=31,38 val=STATE_NAME chan=n-3243 fmt="%10.10s";
pos=32,35  val=DN chan=n-3244 fmt="%1d";  pos=32,38 val=STATE_NAME chan=n-3244 fmt="%10.10s";
pos=33,35  val=DN chan=n-3245 fmt="%1d";  pos=33,38 val=STATE_NAME chan=n-3245 fmt="%10.10s";
pos=34,35  val=DN chan=n-3246 fmt="%1d";
pos=35,35  val=DN chan=n-3247 fmt="%1d";
pos=36,35  val=DN chan=n-3248 fmt="%1d";  pos=36,38 val=STATE_NAME chan=n-3248 fmt="%10.10s";
pos=38,35  val=DN chan=n-3250 fmt="%1d";  pos=38,38 val=STATE_NAME chan=n-3250 fmt="%10.10s";
pos=40,35  val=DN chan=n-3252 fmt="%1d";  pos=40,38 val=STATE_NAME chan=n-3252 fmt="%10.10s";
pos=42,35  val=DN chan=n-3254 fmt="%1d";  pos=42,38 val=STATE_NAME chan=n-3254 fmt="%10.10s";




rule=static
pos=04,51  val='  _TELECOM_DISCRETE_WORD_1______________________';
pos=05,51  val=' |                             |                |';
pos=06,51  val=' |                      XXXXXX |         XXXXXX |';
pos=07,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=08,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=09,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=10,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=11,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=12,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=13,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=14,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=15,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=16,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=17,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=18,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=19,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=20,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=21,51  val=' |              X              | X              |';
pos=22,51  val=' |              X              | X              |';
pos=23,51  val=' |_____________________________|________________|';

rule=dynamic

pos=06,54  val=CHAN_TITLE chan=f-3040 fmt="%-12.12s";                                            pos=06,75 val=DN         chan=f-3040 fmt="%#4.4x";
pos=07,54  val=CHAN_TITLE chan=f-3200 fmt="%-12.12s";  pos=07,67  val=DN chan=f-3200 fmt="%1d";  pos=07,69 val=STATE_NAME chan=f-3200 fmt="%12.12s";
pos=08,54  val=CHAN_TITLE chan=f-3201 fmt="%-12.12s";  pos=08,67  val=DN chan=f-3201 fmt="%1d";  pos=08,69 val=STATE_NAME chan=f-3201 fmt="%12.12s";
pos=09,54  val=CHAN_TITLE chan=f-3202 fmt="%-12.12s";  pos=09,67  val=DN chan=f-3202 fmt="%1d";  pos=09,69 val=STATE_NAME chan=f-3202 fmt="%12.12s";
pos=10,54  val=CHAN_TITLE chan=f-3203 fmt="%-12.12s";  pos=10,67  val=DN chan=f-3203 fmt="%1d";  pos=10,69 val=STATE_NAME chan=f-3203 fmt="%12.12s";
pos=11,54  val=CHAN_TITLE chan=f-3204 fmt="%-12.12s";  pos=11,67  val=DN chan=f-3204 fmt="%1d";  pos=11,69 val=STATE_NAME chan=f-3204 fmt="%12.12s";
pos=12,54  val=CHAN_TITLE chan=f-3205 fmt="%-12.12s";  pos=12,67  val=DN chan=f-3205 fmt="%1d";  pos=12,69 val=STATE_NAME chan=f-3205 fmt="%12.12s";
pos=13,54  val=CHAN_TITLE chan=f-3206 fmt="%-12.12s";  pos=13,67  val=DN chan=f-3206 fmt="%1d";  pos=13,69 val=STATE_NAME chan=f-3206 fmt="%12.12s";
pos=14,54  val=CHAN_TITLE chan=f-3207 fmt="%-12.12s";  pos=14,67  val=DN chan=f-3207 fmt="%1d";  pos=14,69 val=STATE_NAME chan=f-3207 fmt="%12.12s";
pos=15,54  val=CHAN_TITLE chan=f-3208 fmt="%-12.12s";  pos=15,67  val=DN chan=f-3208 fmt="%1d";  pos=15,69 val=STATE_NAME chan=f-3208 fmt="%12.12s";
pos=16,54  val=CHAN_TITLE chan=f-3209 fmt="%-12.12s";  pos=16,67  val=DN chan=f-3209 fmt="%1d";  pos=16,69 val=STATE_NAME chan=f-3209 fmt="%12.12s";
pos=17,54  val=CHAN_TITLE chan=f-3210 fmt="%-12.12s";  pos=17,67  val=DN chan=f-3210 fmt="%1d";  pos=17,69 val=STATE_NAME chan=f-3210 fmt="%12.12s";
pos=18,54  val=CHAN_TITLE chan=f-3211 fmt="%-12.12s";  pos=18,67  val=DN chan=f-3211 fmt="%1d";  pos=18,69 val=STATE_NAME chan=f-3211 fmt="%12.12s";
pos=19,54  val=CHAN_TITLE chan=f-3212 fmt="%-12.12s";  pos=19,67  val=DN chan=f-3212 fmt="%1d";  pos=19,69 val=STATE_NAME chan=f-3212 fmt="%12.12s";
pos=20,54  val=CHAN_TITLE chan=f-3213 fmt="%-12.12s";  pos=20,67  val=DN chan=f-3213 fmt="%1d";  pos=20,69 val=STATE_NAME chan=f-3213 fmt="%12.12s";
pos=21,54  val=CHAN_TITLE chan=f-3214 fmt="%-12.12s";  pos=21,67  val=DN chan=f-3214 fmt="%1d";
pos=22,54  val=CHAN_TITLE chan=f-3215 fmt="%-12.12s";  pos=22,67  val=DN chan=f-3215 fmt="%1d";

                                          pos=06,92 val=DN         chan=n-3040 fmt="%#4.4x";
pos=07,84  val=DN chan=n-3200 fmt="%1d";  pos=07,86 val=STATE_NAME chan=n-3200 fmt="%12.12s";
pos=08,84  val=DN chan=n-3201 fmt="%1d";  pos=08,86 val=STATE_NAME chan=n-3201 fmt="%12.12s";
pos=09,84  val=DN chan=n-3202 fmt="%1d";  pos=09,86 val=STATE_NAME chan=n-3202 fmt="%12.12s";
pos=10,84  val=DN chan=n-3203 fmt="%1d";  pos=10,86 val=STATE_NAME chan=n-3203 fmt="%12.12s";
pos=11,84  val=DN chan=n-3204 fmt="%1d";  pos=11,86 val=STATE_NAME chan=n-3204 fmt="%12.12s";
pos=12,84  val=DN chan=n-3205 fmt="%1d";  pos=12,86 val=STATE_NAME chan=n-3205 fmt="%12.12s";
pos=13,84  val=DN chan=n-3206 fmt="%1d";  pos=13,86 val=STATE_NAME chan=n-3206 fmt="%12.12s";
pos=14,84  val=DN chan=n-3207 fmt="%1d";  pos=14,86 val=STATE_NAME chan=n-3207 fmt="%12.12s";
pos=15,84  val=DN chan=n-3208 fmt="%1d";  pos=15,86 val=STATE_NAME chan=n-3208 fmt="%12.12s";
pos=16,84  val=DN chan=n-3209 fmt="%1d";  pos=16,86 val=STATE_NAME chan=n-3209 fmt="%12.12s";
pos=17,84  val=DN chan=n-3210 fmt="%1d";  pos=17,86 val=STATE_NAME chan=n-3210 fmt="%12.12s";
pos=18,84  val=DN chan=n-3211 fmt="%1d";  pos=18,86 val=STATE_NAME chan=n-3211 fmt="%12.12s";
pos=19,84  val=DN chan=n-3212 fmt="%1d";  pos=19,86 val=STATE_NAME chan=n-3212 fmt="%12.12s";
pos=20,84  val=DN chan=n-3213 fmt="%1d";  pos=20,86 val=STATE_NAME chan=n-3213 fmt="%12.12s";
pos=21,84  val=DN chan=n-3214 fmt="%1d";
pos=22,84  val=DN chan=n-3215 fmt="%1d";


rule=static
pos=25,51  val='  _TELECOM_DISCRETE_WORD_2______________________';
pos=26,51  val=' |                             |                |';
pos=27,51  val=' |                      XXXXXX |         XXXXXX |';
pos=28,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=29,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=30,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=31,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=32,51  val=' |                             |                |';
pos=33,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=34,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=35,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=36,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=37,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=38,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=39,51  val=' |              X XXXXXXXXXXXX | X XXXXXXXXXXXX |';
pos=40,51  val=' |              X              | X              |';
pos=41,51  val=' |              X              | X              |';
pos=42,51  val=' |              X              | X              |';
pos=43,51  val=' |              X              | X              |';
pos=44,51  val=' |_____________________________|________________|';


rule=dynamic

pos=27,54  val=CHAN_TITLE chan=f-3042 fmt="%-12.12s";                                            pos=27,75 val=DN         chan=f-3042 fmt="%#4.4x";
pos=28,54  val=CHAN_TITLE chan=f-3220 fmt="%-12.12s";  pos=28,67  val=DN chan=f-3220 fmt="%1d";  pos=28,69 val=STATE_NAME chan=f-3220 fmt="%12.12s";
pos=29,54  val=CHAN_TITLE chan=f-3221 fmt="%-12.12s";  pos=29,67  val=DN chan=f-3221 fmt="%1d";  pos=29,69 val=STATE_NAME chan=f-3221 fmt="%12.12s";
pos=30,54  val=CHAN_TITLE chan=f-3222 fmt="%-12.12s";  pos=30,67  val=DN chan=f-3222 fmt="%1d";  pos=30,69 val=STATE_NAME chan=f-3222 fmt="%12.12s";
pos=31,54  val=CHAN_TITLE chan=f-3223 fmt="%-12.12s";  pos=31,67  val=DN chan=f-3223 fmt="%1d";  pos=31,69 val=STATE_NAME chan=f-3223 fmt="%12.12s";
pos=33,54  val=CHAN_TITLE chan=f-3225 fmt="%-12.12s";  pos=33,67  val=DN chan=f-3225 fmt="%1d";  pos=33,69 val=STATE_NAME chan=f-3225 fmt="%12.12s";
pos=34,54  val=CHAN_TITLE chan=f-3226 fmt="%-12.12s";  pos=34,67  val=DN chan=f-3226 fmt="%1d";  pos=34,69 val=STATE_NAME chan=f-3226 fmt="%12.12s";
pos=35,54  val=CHAN_TITLE chan=f-3227 fmt="%-12.12s";  pos=35,67  val=DN chan=f-3227 fmt="%1d";  pos=35,69 val=STATE_NAME chan=f-3227 fmt="%12.12s";
pos=36,54  val=CHAN_TITLE chan=f-3228 fmt="%-12.12s";  pos=36,67  val=DN chan=f-3228 fmt="%1d";  pos=36,69 val=STATE_NAME chan=f-3228 fmt="%12.12s";
pos=37,54  val=CHAN_TITLE chan=f-3229 fmt="%-12.12s";  pos=37,67  val=DN chan=f-3229 fmt="%1d";  pos=37,69 val=STATE_NAME chan=f-3229 fmt="%12.12s";
pos=38,54  val=CHAN_TITLE chan=f-3230 fmt="%-12.12s";  pos=38,67  val=DN chan=f-3230 fmt="%1d";  pos=38,69 val=STATE_NAME chan=f-3230 fmt="%12.12s";
pos=39,54  val=CHAN_TITLE chan=f-3231 fmt="%-12.12s";  pos=39,67  val=DN chan=f-3231 fmt="%1d";  pos=39,69 val=STATE_NAME chan=f-3231 fmt="%12.12s";
pos=40,54  val=CHAN_TITLE chan=f-3232 fmt="%-12.12s";  pos=40,67  val=DN chan=f-3232 fmt="%1d";
pos=41,54  val=CHAN_TITLE chan=f-3233 fmt="%-12.12s";  pos=41,67  val=DN chan=f-3233 fmt="%1d";
pos=42,54  val=CHAN_TITLE chan=f-3234 fmt="%-12.12s";  pos=42,67  val=DN chan=f-3234 fmt="%1d";
pos=43,54  val=CHAN_TITLE chan=f-3235 fmt="%-12.12s";  pos=43,67  val=DN chan=f-3235 fmt="%1d";

                                          pos=27,92 val=DN         chan=n-3042 fmt="%#4.4x";
pos=28,84  val=DN chan=n-3220 fmt="%1d";  pos=28,86 val=STATE_NAME chan=n-3220 fmt="%12.12s";
pos=29,84  val=DN chan=n-3221 fmt="%1d";  pos=29,86 val=STATE_NAME chan=n-3221 fmt="%12.12s";
pos=30,84  val=DN chan=n-3222 fmt="%1d";  pos=30,86 val=STATE_NAME chan=n-3222 fmt="%12.12s";
pos=31,84  val=DN chan=n-3223 fmt="%1d";  pos=31,86 val=STATE_NAME chan=n-3223 fmt="%12.12s";
pos=33,84  val=DN chan=n-3225 fmt="%1d";  pos=33,86 val=STATE_NAME chan=n-3225 fmt="%12.12s";
pos=34,84  val=DN chan=n-3226 fmt="%1d";  pos=34,86 val=STATE_NAME chan=n-3226 fmt="%12.12s";
pos=35,84  val=DN chan=n-3227 fmt="%1d";  pos=35,86 val=STATE_NAME chan=n-3227 fmt="%12.12s";
pos=36,84  val=DN chan=n-3228 fmt="%1d";  pos=36,86 val=STATE_NAME chan=n-3228 fmt="%12.12s";
pos=37,84  val=DN chan=n-3229 fmt="%1d";  pos=37,86 val=STATE_NAME chan=n-3229 fmt="%12.12s";
pos=38,84  val=DN chan=n-3230 fmt="%1d";  pos=38,86 val=STATE_NAME chan=n-3230 fmt="%12.12s";
pos=39,84  val=DN chan=n-3231 fmt="%1d";  pos=39,86 val=STATE_NAME chan=n-3231 fmt="%12.12s";
pos=40,84  val=DN chan=n-3232 fmt="%1d";
pos=41,84  val=DN chan=n-3233 fmt="%1d";
pos=42,84  val=DN chan=n-3234 fmt="%1d";
pos=43,84  val=DN chan=n-3235 fmt="%1d";


ENDREGION
ENDTEMPLATE




TEMPLATE type=FIXED size=34,60 pos=1,1
TEXTREGION


rule=static
#
#Comments: C&DH Template Input File
#2345678901234567890123456789012345678901234567890123456789012345678901234567890
#--------1---------2---------3---------4---------5---------6---------7---------8
pos=1,01  val='===========================================================';
pos=2,01  val='= MGS C&DH Analog Status Telemetry';
pos=3,01  val='===========================================================';
pos=4,01  val=' ';
pos=5,01  val='VOLTAGES                     BUS-A                BUS-B';
pos=6,01  val='                            -------              -------';
pos=7,01  val='CIU D/A Cnvrtr   (C-0109):  @r1@@@@   (C-0110):  @r2@@@@ ';
pos=8,01  val='CIU/EDF Ref Vltg (C-0111):  @r3@@@@   (C-0112):  @r4@@@@ ';
pos=9,01  val='CIU EPC +10V     (C-0113):  @r5@@@@   (C-0114):  @r6@@@@';
pos=10,01  val='CIU EPC -10V     (C-0115):  @r7@@@@   (C-0116):  @r8@@@@';
pos=11,01  val='';
pos=12,01  val='                             Side-1               Side-2';
pos=13,01  val='                            -------              -------';
pos=14,01  val='EDF Analog Cal Voltages             ';
pos=15,01  val=' 1.28V           (C-0101):  @r9@@@@   (C-0102):  @r10@@@';
pos=16,01  val=' 2.56V           (C-0103):  @r11@@@   (C-0104):  @r12@@@';
pos=17,01  val=' 3.84V           (C-0105):  @r13@@@   (C-0106):  @r14@@@';
pos=18,01  val=' 5.12V           (C-0107):  @r15@@@   (C-0108):  @r16@@@';
pos=19,01  val='';
pos=20,01  val='XSU Converter    (C-0151):  @r17@@@   (C-0152):  @r18@@@';
pos=21,01  val='EDF Converter    (C-0117):  @r19@@@   (C-0119):  @r20@@@';
pos=22,01  val='SCP   +5V        (C-0131):  @r21@@@   (C-0132):  @r22@@@';
pos=23,01  val='SSRxA +5V (x=1,2)(C-0141):  @r23@@@   (C-0143):  @r24@@@';
pos=24,01  val='SSRxB +5V (x=1,2)(C-0145):  @r25@@@   (C-0147):  @r26@@@';
pos=25,01  val='PDS   +5V        (C-0125):  @r27@@@   (C-0126):  @r28@@@';
pos=26,01  val='                            (PDS-A)              (PDS-B)';
pos=27,01  val=' ';
pos=28,01  val='CURRENTS';
pos=29,01  val='';
pos=30,01  val='EDF Cal. Crnt    (C-0118):  @r29@@@   (C-0119):  @r30@@@';
pos=31,01  val='SSRxA Crnt(x=1,2)(C-0142):  @r31@@@   (C-0144):  @r32@@@';
pos=32,01  val='SSRxB Crnt(x=1,2)(C-0146):  @r33@@@   (C-0148):  @r34@@@';
pos=33,01  val='';
pos=34,01  val='                               ';
#2345678901234567890123456789012345678901234567890123456789012345678901234567890
#--------1---------2---------3---------4---------5---------6---------7---------8
# Understandable "val"s are:
# i = Integer EU
# f = Floating Point EU
# d = Integer DN
# x = Hexidecimal DN
# s  = State Name
#
# "@@" signifies the start of the "@r" anchor definitions


rule=dynamic
#
#Data for @r1
pos=7,29  val=EU chan=c-0109 fmt="%7.7f";

#Data for @r2
pos=7,50  val=EU chan=c-0110 fmt="%7.7f";

#Data for @r3
pos=8,29  val=EU chan=c-0111 fmt="%7.7f";

#Data for @r4
pos=8,50  val=EU chan=c-0112 fmt="%7.7f";

#Data for @r5
pos=9,29  val=EU chan=c-0113 fmt="%7.7f";

#Data for @r6
pos=9,50  val=EU chan=c-0114 fmt="%7.7f";

#Data for @r7
pos=10,29  val=EU chan=c-0115 fmt="%7.7f";

#Data for @r8
pos=10,50  val=EU chan=c-0116 fmt="%7.7f";

#Data for @r9
pos=15,29  val=EU chan=c-0101 fmt="%7.7f";

#Data for @r10
pos=15,50  val=EU chan=c-0102 fmt="%7.7f";

#Data for @r11
pos=16,29  val=EU chan=c-0103 fmt="%7.7f";

#Data for @r12
pos=16,50  val=EU chan=c-0104 fmt="%7.7f";

#Data for @r13
pos=17,29  val=EU chan=c-0105 fmt="%7.7f";

#Data for @r14
pos=17,50  val=EU chan=c-0106 fmt="%7.7f";

#Data for @r15
pos=18,29  val=EU chan=c-0107 fmt="%7.7f";

#Data for @r16
pos=18,50  val=EU chan=c-0108 fmt="%7.7f";

#Data for @r17
pos=20,29  val=EU chan=c-0151 fmt="%7.7f";

#Data for @r18
pos=20,50  val=EU chan=c-0152 fmt="%7.7f";

#Data for @r19
pos=21,29  val=EU chan=c-0117 fmt="%7.7f";

#Data for @r20
pos=21,50  val=EU chan=c-0119 fmt="%7.7f";

#Data for @r21
pos=22,29  val=EU chan=c-0131 fmt="%7.7f";

#Data for @r22
pos=22,50  val=EU chan=c-0132 fmt="%7.7f";

#Data for @r23
pos=23,29  val=EU chan=c-0141 fmt="%7.7f";

#Data for @r24
pos=23,50  val=EU chan=c-0143 fmt="%7.7f";

#Data for @r25
pos=24,29  val=EU chan=c-0145 fmt="%7.7f";

#Data for @r26
pos=24,50  val=EU chan=c-0147 fmt="%7.7f";

#Data for @r27
pos=25,29  val=EU chan=c-0125 fmt="%7.7f";

#Data for @r28
pos=25,50  val=EU chan=c-0126 fmt="%7.7f";

#Data for @r29
pos=30,29  val=EU chan=c-0118 fmt="%7.7f";

#Data for @r30
pos=30,50  val=EU chan=c-0119 fmt="%7.7f";

#Data for @r31
pos=31,29  val=EU chan=c-0142 fmt="%7.7f";

#Data for @r32
pos=31,50  val=EU chan=c-0144 fmt="%7.7f";

#Data for @r33
pos=32,29  val=EU chan=c-0146 fmt="%7.7f";

#Data for @r34
pos=32,50  val=EU chan=c-0148 fmt="%7.7f";

ENDREGION
ENDTEMPLATE

TEMPLATE type=FIXED size=23,69 pos=1,1
TEXTREGION


rule=static
#
#Comments: C&DH Template Input File
#2345678901234567890123456789012345678901234567890123456789012345678901234567890
#--------1---------2---------3---------4---------5---------6---------7---------8
pos=1,01  val='===========================================================';
pos=2,01  val='= MGS C&DH Data Routing Discrete Status Telemetry';
pos=3,01  val='===========================================================';
pos=4,01  val=' ';
pos=5,01  val='                             PDS-A               PDS-B';
pos=6,01  val='                            -------             -------';
pos=7,01  val='PDS Power        (C-0024):  @r1       (C-0025): @r2 ';
pos=8,01  val='PDS OK           (C-0022):  @r3@@@    (C-0023): @r4@@@ ';
pos=9,01  val='';
pos=10,01  val='MOT X-Strap      (C-0020):  @r5@@@@@';
pos=11,01  val='';
pos=12,01  val='                             XSU-1               XSU-2';
pos=13,01  val='                            -------             -------             ';
pos=14,01  val='XSU Power State  (C-0080):  @r6       (C-0081): @r7';
pos=15,01  val='XSU Source       (C-0087):  @r8@@@@   (C-0088): @r9@@@@';
pos=16,01  val='XSU PGC/ModIndx  (C-0085):  @r10@@    (C-0086): @r11@@';
pos=17,01  val='';
pos=18,01  val='XSU TLM Status   (C-0099):  @r12@@@';
pos=19,01  val='XSU Wd2 Spare    (C-0082):  @r13@@@';
pos=20,01  val='XSU Wd4 Spare    (C-0083):  @r14@@@';
pos=21,01  val='XSU Wd6 Spare    (C-0084):  @r15@@@';
pos=22,01  val='';
pos=23,01  val='                               ';
#2345678901234567890123456789012345678901234567890123456789012345678901234567890
#--------1---------2---------3---------4---------5---------6---------7---------8
# Understandable "val"s are:
# i = Integer EU
# f = Floating Point EU
# d = Integer DN
# x = Hexidecimal DN
# s  = State Name
#
# "@@" signifies the start of the "@r" anchor definitions


rule=dynamic
#
#Data for @r1
pos=7,29  val=STATE_NAME chan=c-0024 fmt="%3.3s";

#Data for @r2
pos=7,49  val=STATE_NAME chan=c-0025 fmt="%3.3s";

#Data for @r3
pos=8,29  val=STATE_NAME chan=c-0022 fmt="%6.6s";

#Data for @r4
pos=8,49  val=STATE_NAME chan=c-0023 fmt="%6.6s";

#Data for @r5
pos=10,29  val=STATE_NAME chan=c-0020 fmt="%8.8s";

#Data for @r6
pos=14,29  val=STATE_NAME chan=c-0080 fmt="%3.3s";

#Data for @r7
pos=14,49  val=STATE_NAME chan=c-0081 fmt="%3.3s";

#Data for @r8
pos=15,29  val=STATE_NAME chan=c-0087 fmt="%7.7s";

#Data for @r9
pos=15,49  val=STATE_NAME chan=c-0088 fmt="%7.7s";

#Data for @r10
pos=16,29  val=STATE_NAME chan=c-0085 fmt="%6.6s";

#Data for @r11
pos=16,49  val=STATE_NAME chan=c-0086 fmt="%6.6s";

#Data for @r12
pos=18,29  val=STATE_NAME chan=c-0099 fmt="%7.7s";

#Data for @r13
pos=19,29  val=STATE_NAME chan=c-0082 fmt="%7.7s";

#Data for @r14
pos=20,29  val=STATE_NAME chan=c-0083 fmt="%7.7s";

#Data for @r15
pos=21,29  val=STATE_NAME chan=c-0084 fmt="%7.7s";

ENDREGION
ENDTEMPLATE

TEMPLATE type=FIXED size=41,95 pos=1,1
TEXTREGION


rule=static
#
pos=1,01  val='==========================================================';
pos=2,01  val='=  MGS AACS IMU/CSA/ACC Telemetry Display                =';
pos=3,01  val='==========================================================';
pos=4,01  val='                                                                   A                    B';
pos=5,01  val='                                                                --------             --------';
pos=6,01  val='Hi/Lo Status  (A-0011):  @r1@@      Data Chnl Output (A-0009):  @r2@@@@@  (A-0010):  @r3@@@@@ ';
pos=7,01  val='TCA Status    (A-0012):  @r4@@@@    Overtemp Status  (A-0006):  @r5@@@@@  (A-0007):  @r6@@@@@ ';
pos=8,01  val='';
pos=9,01  val='                                                                  PRI                  BUP';
pos=10,01  val='                                                                --------             --------';
pos=11,01  val='IMU +10V      (A-0136):  @r7@@@     TCA Voltage      (A-0139):  @r8@@@@@  (A-0140):  @r9@@@@@ ';
pos=12,01  val='IMU +15V      (A-0137):  @r10@@     DC Voltage       (A-0143):  @r11@@@@  (A-0144):  @r12@@@@ ';
pos=13,01  val='IMU -15V      (A-0138):  @r13@@     AC Voltage       (A-0141):  @r14@@@@  (A-0142):  @r15@@@@ ';
pos=14,01  val='';
pos=15,01  val='';
pos=16,01  val='                            Phase A                 Phase B                 Phase C';
pos=17,01  val='                           --------                --------                --------';
pos=18,01  val='Spn Mtr Vltg    (A-0150):  @r16@@@@     (A-0151):  @r17@@@@     (A-0152):  @r18@@@@';
pos=19,01  val='';
pos=20,01  val='';
pos=21,01  val='                           Gyro 1-Z                Gyro 2-X                Gyro 3-Y';
pos=22,01  val='                           --------                --------                --------';
pos=23,01  val='Spn Mtr Status  (A-0003):  @r19@@@@     (A-0004):  @r20@@@@     (A-0005):  @r21@@@@';
pos=24,01  val='Motor Current   (A-0160):  @r22@@@@     (A-0161):  @r23@@@@     (A-0162):  @r24@@@@';
pos=25,01  val='Torquer Currents:';
pos=26,01  val='(Ch. A) X(HY)   (A-0132):  @r25@@@@';
pos=27,01  val='        Y(HZ)   (A-0134):  @r26@@@@';
pos=28,01  val='        Z(HX)                           (A-0130):  @r27@@@@';
pos=29,01  val='(Ch. B) Y(HZ)                           (A-0135):  @r28@@@@';
pos=30,01  val='        Z(HX)                                                   (A-0131):  @r29@@@@';
pos=31,01  val='        X(HY)                                                   (A-0133):  @r41@@@@';
pos=32,01  val='';
pos=33,01  val='=======                             =======';
pos=34,01  val='= ACC =                             = CSA =                 Triad A               Triad B';
pos=35,01  val='=======                             =======                --------              --------';
pos=36,01  val='Test Status   (A-0008):  @r30@@     Pwr Status  (A-0001):  @r31@@@@   (A-0002):  @r32@@@@ ';
pos=37,01  val='-X-Axis       (A-0180):  @r33@@     +14V        (A-0100):  @r34@@@@   (A-0102):  @r35@@@@ ';
pos=38,01  val='-Y-Axis       (A-0181):  @r36@@     -14V        (A-0101):  @r37@@@@   (A-0103):  @r38@@@@ ';
pos=39,01  val='+Z-Axis       (A-0182):  @r39@@';
pos=40,01  val='+S-Axis       (A-0183):  @r40@@';
pos=41,01  val='';


rule=dynamic
#
#Data for @r1
pos=6,26  val=STATE_NAME chan=a-0011 fmt="%5.5s";

#Data for @r2
pos=6,65  val=STATE_NAME chan=a-0009 fmt="%8.8s";

#Data for @r3
pos=6,86  val=STATE_NAME chan=a-0010 fmt="%8.8s";

#Data for @r4
pos=7,26  val=STATE_NAME chan=a-0012 fmt="%7.7s";

#Data for @r5
pos=7,65  val=STATE_NAME chan=a-0006 fmt="%8.8s";

#Data for @r6
pos=7,86  val=STATE_NAME chan=a-0007 fmt="%8.8s";

#Data for @r7
pos=11,26  val=EU chan=a-0136 fmt="%6.6f";

#Data for @r8
pos=11,65  val=EU chan=a-0139 fmt="%8.8f";

#Data for @r9
pos=11,86  val=EU chan=a-0140 fmt="%8.8f";

#Data for @r10
pos=12,26  val=EU chan=a-0137 fmt="%6.6f";

#Data for @r11
pos=12,65  val=EU chan=a-0143 fmt="%8.8f";

#Data for @r12
pos=12,86  val=EU chan=a-0144 fmt="%8.8f";

#Data for @r13
pos=13,26  val=EU chan=a-0138 fmt="%6.6f";

#Data for @r14
pos=13,65  val=EU chan=a-0141 fmt="%8.8f";

#Data for @r15
pos=13,86  val=EU chan=a-0142 fmt="%8.8f";

#Data for @r16
pos=18,28  val=EU chan=a-0150 fmt="%8.8f";

#Data for @r17
pos=18,52  val=EU chan=a-0151 fmt="%8.8f";

#Data for @r18
pos=18,76  val=EU chan=a-0152 fmt="%8.8f";

#Data for @r19
pos=23,28  val=STATE_NAME chan=a-0003 fmt="%8.8s";

#Data for @r20
pos=23,52  val=STATE_NAME chan=a-0004 fmt="%8.8s";

#Data for @r21
pos=23,76  val=STATE_NAME chan=a-0005 fmt="%8.8s";

#Data for @r22
pos=24,28  val=EU chan=a-0160 fmt="%8.8f";

#Data for @r23
pos=24,52  val=EU chan=a-0161 fmt="%8.8f";

#Data for @r24
pos=24,76  val=EU chan=a-0162 fmt="%8.8f";

#Data for @r25
pos=26,28  val=EU chan=a-0132 fmt="%8.8f";

#Data for @r26
pos=27,28  val=EU chan=a-0134 fmt="%8.8f";

#Data for @r27
pos=28,52  val=EU chan=a-0130 fmt="%8.8f";

#Data for @r28
pos=29,52  val=EU chan=a-0135 fmt="%8.8f";

#Data for @r29
pos=30,76  val=EU chan=a-0131 fmt="%8.8f";

#Data for @r30
pos=36,26  val=STATE_NAME chan=a-0008 fmt="%6.6s";

#Data for @r31
pos=36,60  val=STATE_NAME chan=a-0001 fmt="%8.8s";

#Data for @r32
pos=36,82  val=STATE_NAME chan=a-0002 fmt="%8.8s";

#Data for @r33
pos=37,26  val=EU chan=a-0180 fmt="%6.6f";

#Data for @r34
pos=37,60  val=EU chan=a-0100 fmt="%8.8f";

#Data for @r35
pos=37,82  val=EU chan=a-0102 fmt="%8.8f";

#Data for @r36
pos=38,26  val=EU chan=a-0181 fmt="%6.6f";

#Data for @r37
pos=38,60  val=EU chan=a-0101 fmt="%8.8f";

#Data for @r38
pos=38,82  val=EU chan=a-0103 fmt="%8.8f";

#Data for @r39
pos=39,26  val=EU chan=a-0182 fmt="%6.6f";

#Data for @r40
pos=40,26  val=EU chan=a-0183 fmt="%6.6f";

#Data for @r41
pos=31,76  val=EU chan=a-0133 fmt="%8.8f";

ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_aacs_cntl.tdl                                                #
# AUTHOR: E. Dukes & Stu Spath                                                #
# COMMENTS: AACS Control Verification Parameters                              #
# BASELINED: EMD 02-22-96                                                     #
# MODIFIED:  EMD 03-29-96  Added SELTS roll,pitch,yaw error                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=82,189 pos=4,1 # mgs_aacs_cntl.tdl
TEXTREGION

rule=dynamic
pos=06,19  val=STATE_NAME chan=f-0000 fmt="%-12.12s";
pos=07,19  val=STATE_NAME chan=f-0476 fmt="%-12.12s";
pos=08,19  val=STATE_NAME chan=f-1016 fmt="%-12.12s";
pos=09,19  val=STATE_NAME chan=v-0005 fmt="%-12.12s";
pos=11,19  val=STATE_NAME chan=f-0740 fmt="%-12.12s";
pos=12,19  val=STATE_NAME chan=f-0741 fmt="%-12.12s";
pos=13,19  val=STATE_NAME chan=f-0742 fmt="%-12.12s";
pos=14,19  val=STATE_NAME chan=f-0743 fmt="%-12.12s";
pos=15,19  val=STATE_NAME chan=f-0744 fmt="%-12.12s";
pos=16,19  val=STATE_NAME chan=f-0745 fmt="%-12.12s";
pos=17,19  val=STATE_NAME chan=f-0746 fmt="%-12.12s";
pos=18,19  val=STATE_NAME chan=f-0747 fmt="%-12.12s";
pos=19,19  val=STATE_NAME chan=f-0748 fmt="%-12.12s";
pos=20,19  val=STATE_NAME chan=f-0749 fmt="%-12.12s";
pos=21,19  val=STATE_NAME chan=f-0750 fmt="%-12.12s";
pos=22,19  val=STATE_NAME chan=f-0751 fmt="%-12.12s";
pos=23,19  val=STATE_NAME chan=f-0752 fmt="%-12.12s";
pos=24,19  val=STATE_NAME chan=f-0753 fmt="%-12.12s";
pos=25,19  val=STATE_NAME chan=f-0755 fmt="%-12.12s";
pos=27,19  val=STATE_NAME chan=f-0600 fmt="%-12.12s";
pos=28,19  val=STATE_NAME chan=f-0601 fmt="%-12.12s";
pos=29,19  val=STATE_NAME chan=f-0603 fmt="%-12.12s";
pos=30,19  val=STATE_NAME chan=f-0604 fmt="%-12.12s";
pos=31,19  val=STATE_NAME chan=f-0605 fmt="%-12.12s";
pos=32,19  val=STATE_NAME chan=f-0606 fmt="%-12.12s";
pos=33,19  val=STATE_NAME chan=f-0607 fmt="%-12.12s";
pos=34,19  val=STATE_NAME chan=f-0608 fmt="%-12.12s";
pos=35,19  val=STATE_NAME chan=f-0609 fmt="%-12.12s";
pos=36,19  val=STATE_NAME chan=f-0610 fmt="%-12.12s";
pos=37,19  val=STATE_NAME chan=f-0611 fmt="%-12.12s";
pos=39,19  val=STATE_NAME chan=f-0900 fmt="%-12.12s";
pos=40,19  val=STATE_NAME chan=f-0901 fmt="%-12.12s";
pos=41,19  val=STATE_NAME chan=f-0902 fmt="%-12.12s";
pos=42,19  val=STATE_NAME chan=f-0903 fmt="%-12.12s";
pos=43,19  val=STATE_NAME chan=f-0904 fmt="%-12.12s";
pos=44,19  val=STATE_NAME chan=f-0905 fmt="%-12.12s";
pos=45,19  val=STATE_NAME chan=f-0908 fmt="%-12.12s";
pos=46,19  val=STATE_NAME chan=f-0910 fmt="%-12.12s";
pos=51,17 val=EU chan=f-0060 fmt="%10.4f";
pos=52,17 val=EU chan=f-0061 fmt="%10.4f";
pos=53,17 val=EU chan=f-0062 fmt="%10.4f";
pos=54,17 val=EU chan=f-0063 fmt="%10.4f";
pos=56,17 val=EU chan=f-0287 fmt="%10.6f";
pos=57,17 val=EU chan=f-0288 fmt="%10.6f";
pos=58,17 val=EU chan=f-0289 fmt="%10.6f";
pos=60,17 val=EU chan=f-0001 fmt="%10.7f";
pos=61,17 val=EU chan=f-0002 fmt="%10.7f";
pos=62,17 val=EU chan=f-0003 fmt="%10.7f";
pos=63,17 val=EU chan=f-0004 fmt="%10.7f";
pos=65,19  val=DN chan=f-0227 fmt="%#4.4x";
pos=66,19  val=STATE_NAME chan=f-0228 fmt="%-12.12s";
pos=67,19  val=STATE_NAME chan=f-0268 fmt="%-12.12s";

pos=08,43  val=STATE_NAME chan=p-0031 fmt="%-3.3s";    pos=08,50 val=STATE_NAME chan=p-0045 fmt="%-3.3s";  pos=08,56  val=EU chan=f-0521 fmt="%8.3f";
pos=09,43  val=STATE_NAME chan=p-0032 fmt="%-3.3s";    pos=09,50 val=STATE_NAME chan=p-0047 fmt="%-3.3s";  pos=09,56  val=EU chan=f-0522 fmt="%8.3f";
pos=10,43  val=STATE_NAME chan=p-0033 fmt="%-3.3s";    pos=10,50 val=STATE_NAME chan=p-0045 fmt="%-3.3s";  pos=10,56  val=EU chan=f-0523 fmt="%8.3f";
pos=11,43  val=STATE_NAME chan=p-0034 fmt="%-3.3s";    pos=11,50 val=STATE_NAME chan=p-0047 fmt="%-3.3s";  pos=11,56  val=EU chan=f-0524 fmt="%8.3f";
pos=12,43  val=STATE_NAME chan=p-0035 fmt="%-3.3s";    pos=12,50 val=STATE_NAME chan=p-0045 fmt="%-3.3s";  pos=12,56  val=EU chan=f-0525 fmt="%8.3f";
pos=13,43  val=STATE_NAME chan=p-0036 fmt="%-3.3s";    pos=13,50 val=STATE_NAME chan=p-0047 fmt="%-3.3s";  pos=13,56  val=EU chan=f-0526 fmt="%8.3f";
pos=14,43  val=STATE_NAME chan=p-0037 fmt="%-3.3s";    pos=14,50 val=STATE_NAME chan=p-0046 fmt="%-3.3s";  pos=14,56  val=EU chan=f-0527 fmt="%8.3f";
pos=15,43  val=STATE_NAME chan=p-0038 fmt="%-3.3s";    pos=15,50 val=STATE_NAME chan=p-0048 fmt="%-3.3s";  pos=15,56  val=EU chan=f-0528 fmt="%8.3f";
pos=16,43  val=STATE_NAME chan=p-0039 fmt="%-3.3s";    pos=16,50 val=STATE_NAME chan=p-0046 fmt="%-3.3s";  pos=16,56  val=EU chan=f-0529 fmt="%8.3f";
pos=17,43  val=STATE_NAME chan=p-0040 fmt="%-3.3s";    pos=17,50 val=STATE_NAME chan=p-0048 fmt="%-3.3s";  pos=17,56  val=EU chan=f-0530 fmt="%8.3f";
pos=18,43  val=STATE_NAME chan=p-0041 fmt="%-3.3s";    pos=18,50 val=STATE_NAME chan=p-0048 fmt="%-3.3s";  pos=18,56  val=EU chan=f-0531 fmt="%8.3f";
pos=19,43  val=STATE_NAME chan=p-0042 fmt="%-3.3s";    pos=19,50 val=STATE_NAME chan=p-0046 fmt="%-3.3s";  pos=19,56  val=EU chan=f-0532 fmt="%8.3f";
pos=20,43  val=STATE_NAME chan=p-0021 fmt="%-1.1s"; pos=20,45  val=STATE_NAME chan=p-0023 fmt="%-1.1s";    pos=20,50 val=STATE_NAME chan=p-0020 fmt="%-1.1s"; pos=20,52 val=STATE_NAME chan=p-0022 fmt="%-1.1s";  pos=20,56  val=DN chan=f-0535 fmt="%8.3f";

pos=27,43  val=STATE_NAME chan=f-1641 fmt="%-2.2s";  pos=27,54  val=STATE_NAME chan=f-1562 fmt="%-4.4s";  pos=27,61  val=STATE_NAME chan=f-1502 fmt="%-3.3s";
pos=28,43  val=STATE_NAME chan=f-1652 fmt="%-2.2s";  pos=28,54  val=STATE_NAME chan=f-1563 fmt="%-4.4s";  pos=28,61  val=STATE_NAME chan=f-1503 fmt="%-3.3s";
pos=29,43  val=STATE_NAME chan=f-1642 fmt="%-2.2s";  pos=29,54  val=STATE_NAME chan=f-1564 fmt="%-4.4s";  pos=29,61  val=STATE_NAME chan=f-1504 fmt="%-3.3s";
pos=30,54  val=STATE_NAME chan=f-1565 fmt="%-4.4s";  pos=30,61  val=STATE_NAME chan=f-1505 fmt="%-3.3s";
pos=31,43  val=STATE_NAME chan=f-1648 fmt="%-2.2s";  pos=31,54  val=STATE_NAME chan=f-1572 fmt="%-4.4s";  pos=31,61  val=STATE_NAME chan=f-1512 fmt="%-3.3s";
pos=32,43  val=STATE_NAME chan=f-1650 fmt="%-2.2s";  pos=32,54  val=STATE_NAME chan=f-1573 fmt="%-4.4s";  pos=32,61  val=STATE_NAME chan=f-1513 fmt="%-3.3s";
pos=33,43  val=STATE_NAME chan=f-1649 fmt="%-2.2s";  pos=33,54  val=STATE_NAME chan=f-1574 fmt="%-4.4s";  pos=33,61  val=STATE_NAME chan=f-1514 fmt="%-3.3s";
pos=34,43  val=STATE_NAME chan=f-1655 fmt="%-2.2s";  pos=34,54  val=STATE_NAME chan=f-1575 fmt="%-4.4s";  pos=34,61  val=STATE_NAME chan=f-1515 fmt="%-3.3s";
pos=35,43  val=STATE_NAME chan=f-1651 fmt="%-2.2s";  pos=35,54  val=STATE_NAME chan=f-1680 fmt="%-4.4s";  pos=35,61  val=STATE_NAME chan=f-1660 fmt="%-3.3s";
pos=36,54  val=STATE_NAME chan=f-1681 fmt="%-4.4s";  pos=36,61  val=STATE_NAME chan=f-1661 fmt="%-3.3s";
pos=37,54  val=STATE_NAME chan=f-1682 fmt="%-4.4s";  pos=37,61  val=STATE_NAME chan=f-1662 fmt="%-3.3s";
pos=38,54  val=STATE_NAME chan=f-1683 fmt="%-4.4s";  pos=38,61  val=STATE_NAME chan=f-1663 fmt="%-3.3s";
pos=40,61  val=STATE_NAME chan=f-0206 fmt="%-3.3s";
pos=41,61  val=STATE_NAME chan=f-0205 fmt="%-3.3s";
pos=43,58  val=DN chan=f-0056 fmt="%6d";
pos=44,58  val=DN chan=f-0057 fmt="%6d";

if DN of chan=f-1720=1
  pos=27,49  val='B';
else
  pos=27,49  val='A';
endif
if DN of chan=f-1725=1
  pos=31,49  val='B';
else
  pos=31,49  val='A';
endif
if DN of chan=f-1726=1
  pos=33,49  val='B';
else
  pos=33,49  val='A';
endif
if DN of chan=f-1727=1
  pos=32,49  val='B';
else
  pos=32,49  val='A';
endif
if DN of chan=f-1728=1
  pos=35,49  val='B';
else
  pos=35,49  val='A';
endif
if DN of chan=f-1740=0
  pos=30,48  val='323';
elseif DN of chan=f-1740=1
  pos=30,48  val='322';
elseif DN of chan=f-1740=2
  pos=30,48  val='123';
elseif DN of chan=f-1740=3
  pos=30,48  val='122';
elseif DN of chan=f-1740=4
  pos=30,48  val='313';
elseif DN of chan=f-1740=5
  pos=30,48  val='312';
elseif DN of chan=f-1740=6
  pos=30,48  val='113';
elseif DN of chan=f-1740=7
  pos=30,48  val='112';
else
  pos=30,48  val='???';
endif
if DN of chan=f-1743=7
  pos=28,48  val='YZS';
elseif DN of chan=f-1743=11
  pos=28,48  val='XZS';
elseif DN of chan=f-1743=13
  pos=28,48  val='XYS';
elseif DN of chan=f-1743=14
  pos=28,48  val='XYZ';
else
  pos=28,48  val='???';
endif
if DN of chan=f-1748=1
  pos=38,48  val=' 1  ';
elseif DN of chan=f-1748=2
  pos=38,48  val=' 2  ';
elseif DN of chan=f-1748=3
  pos=38,48  val='1,2 ';
else
  pos=38,48  val='None';
endif

if DN of chan=f-1700=1
  pos=37,43  val='SW';
elseif DN of chan=f-1701=1
  pos=37,43  val='SW';
elseif DN of chan=f-1702=1
  pos=37,43  val='SW';
elseif DN of chan=f-1700=0
  pos=37,43  val='NO';
elseif DN of chan=f-1701=0
  pos=37,43  val='NO';
elseif DN of chan=f-1702=0
  pos=37,43  val='NO';
else
  pos=37,43  val='  ';
endif
if DN of chan=f-1707=1
  pos=38,43  val='SW';
elseif DN of chan=f-1708=1
  pos=38,43  val='SW';
elseif DN of chan=f-1709=1
  pos=38,43  val='SW';
else
  pos=38,43  val='NO';
endif

pos=49,51  val=STATE_NAME chan=f-1743 fmt="%-12.12s";
pos=51,51  val=STATE_NAME chan=v-0041 fmt="%-12.12s";
pos=52,51  val=EU         chan=a-0170 fmt="%7.3f";
pos=53,51  val=EU         chan=t-0106 fmt="%7.3f";
pos=54,51  val=EU         chan=f-0356 fmt="%7.3f";
pos=55,51  val=DN         chan=v-0040 fmt="%7d";
pos=56,51  val=STATE_NAME chan=v-0042 fmt="%-12.12s";
pos=58,51  val=STATE_NAME chan=v-0045 fmt="%-12.12s";
pos=59,51  val=EU         chan=a-0171 fmt="%7.3f";
pos=60,51  val=EU         chan=t-0107 fmt="%7.3f";
pos=61,51  val=EU         chan=f-0357 fmt="%7.3f";
pos=62,51  val=DN         chan=v-0044 fmt="%7d";
pos=63,51  val=STATE_NAME chan=v-0046 fmt="%-12.12s";
pos=65,51  val=STATE_NAME chan=v-0049 fmt="%-12.12s";
pos=66,51  val=EU         chan=a-0172 fmt="%7.3f";
pos=67,51  val=EU         chan=t-0108 fmt="%7.3f";
pos=68,51  val=EU         chan=f-0358 fmt="%7.3f";
pos=69,51  val=DN         chan=v-0048 fmt="%7d";
pos=70,51  val=STATE_NAME chan=v-0050 fmt="%-12.12s";
pos=72,51  val=STATE_NAME chan=v-0053 fmt="%-12.12s";
pos=73,51  val=EU         chan=a-0173 fmt="%7.3f";
pos=74,51  val=EU         chan=t-0109 fmt="%7.3f";
pos=75,51  val=EU         chan=f-0355 fmt="%7.3f";
pos=76,51  val=DN         chan=v-0052 fmt="%7d";
pos=77,51  val=STATE_NAME chan=v-0054 fmt="%-12.12s";

pos=06,82 val=EU chan=f-0290 fmt="%10.6f";
pos=07,82 val=EU chan=f-0291 fmt="%10.6f";
pos=08,82 val=EU chan=f-0292 fmt="%10.6f";
pos=10,82 val=EU chan=f-0293 fmt="%10.6f";
pos=11,82 val=EU chan=f-0294 fmt="%10.6f";
pos=12,82 val=EU chan=f-0295 fmt="%10.6f";
pos=14,82 val=EU chan=f-0333 fmt="%10.7f";
pos=15,82 val=EU chan=f-0334 fmt="%10.7f";
pos=16,82 val=EU chan=f-0335 fmt="%10.7f";
pos=18,82 val=EU chan=f-0330 fmt="%10.7f";
pos=19,82 val=EU chan=f-0331 fmt="%10.7f";
pos=20,82 val=EU chan=f-0332 fmt="%10.7f";
pos=22,82 val=EU chan=f-0336 fmt="%10.6f";
pos=23,82 val=EU chan=f-0337 fmt="%10.6f";
pos=24,82 val=EU chan=f-0338 fmt="%10.6f";
pos=26,82 val=EU chan=f-0342 fmt="%10.6f"; pos=26,93 val=DN chan=v-0006 fmt="%-3.3s";
pos=27,82 val=EU chan=f-0343 fmt="%10.6f"; pos=27,93 val=DN chan=v-0006 fmt="%-3.3s";
pos=28,82 val=EU chan=f-0344 fmt="%10.6f"; pos=28,93 val=DN chan=v-0006 fmt="%-3.3s";
pos=30,82 val=EU chan=f-0315 fmt="%10.7f";
pos=31,82 val=EU chan=f-0316 fmt="%10.7f";
pos=32,82 val=EU chan=f-0317 fmt="%10.7f";
pos=33,82 val=EU chan=f-0318 fmt="%10.7f";

pos=38,84  val=STATE_NAME chan=f-0388 fmt="%-12.12s";
pos=39,86  val=DN chan=f-0375 fmt="%#4.4x";
pos=40,86  val=DN chan=f-0385 fmt="%#4.4x";
pos=41,86  val=STATE_NAME chan=f-0800 fmt="%-6.6s";
pos=43,84  val=DN chan=v-0072 fmt="%8.3f";
pos=44,84  val=DN chan=v-0082 fmt="%8.3f";
pos=45,84  val=EU chan=f-0363 fmt="%8.4f";
pos=46,86  val=DN chan=f-0361 fmt="%#4.4x";
pos=48,84  val=DN chan=v-0073 fmt="%8.3f";
pos=49,84  val=DN chan=v-0083 fmt="%8.3f";
pos=50,84  val=EU chan=f-0380 fmt="%8.4f";
pos=51,86  val=DN chan=f-0378 fmt="%#4.4x";
pos=53,79  val=EU chan=s-0104 fmt="%6.2f";  pos=53,86  val=EU chan=s-0105 fmt="%6.2f";
pos=54,79  val=EU chan=s-0106 fmt="%6.2f";  pos=54,86  val=EU chan=s-0107 fmt="%6.2f";
pos=59,84  val=STATE_NAME chan=f-0418 fmt="%-12.12s";
pos=60,86  val=DN chan=f-0405 fmt="%#4.4x";
pos=61,86  val=DN chan=f-0415 fmt="%#4.4x";
pos=62,86  val=STATE_NAME chan=f-0820 fmt="%-6.6s";
pos=64,84  val=DN chan=v-0074 fmt="%8.3f";
pos=65,84  val=DN chan=v-0084 fmt="%8.3f";
pos=66,84  val=EU chan=f-0393 fmt="%8.4f";
pos=67,86  val=DN chan=f-0391 fmt="%#4.4x";
pos=69,84  val=DN chan=v-0075 fmt="%8.3f";
pos=70,84  val=DN chan=v-0085 fmt="%8.3f";
pos=71,84  val=EU chan=f-0410 fmt="%8.4f";
pos=72,86  val=DN chan=f-0408 fmt="%#4.4x";
pos=74,79  val=EU chan=s-0100 fmt="%6.2f";  pos=74,86  val=EU chan=s-0101 fmt="%6.2f";
pos=75,79  val=EU chan=s-0102 fmt="%6.2f";  pos=75,86  val=EU chan=s-0103 fmt="%6.2f";

pos=06,113 val=DN chan=v-0040 fmt="%6d";
pos=07,113 val=DN chan=v-0044 fmt="%6d";
pos=08,113 val=DN chan=v-0048 fmt="%6d";
pos=09,113 val=DN chan=v-0052 fmt="%6d";
pos=11,112 val=EU chan=f-0480 fmt="%7.3f";
pos=12,112 val=EU chan=f-0481 fmt="%7.3f";
pos=13,112 val=EU chan=f-0482 fmt="%7.3f";
pos=15,113 val=STATE_NAME chan=f-0720 fmt="%-10.10s";
pos=16,113 val=STATE_NAME chan=f-0884 fmt="%-10.10s";
pos=17,113 val=STATE_NAME chan=f-0888 fmt="%-10.10s";
pos=22,113 val=EU chan=f-0470 fmt="%10.7f";
pos=23,113 val=EU chan=f-0471 fmt="%10.7f";
pos=24,113 val=EU chan=f-0472 fmt="%10.7f";
pos=26,113 val=EU chan=f-0100 fmt="%10.7f";
pos=27,113 val=EU chan=f-0101 fmt="%10.7f";
pos=28,113 val=EU chan=f-0102 fmt="%10.7f";
pos=30,113 val=EU chan=f-0438 fmt="%10.7f";
pos=31,113 val=EU chan=f-0446 fmt="%10.7f";
pos=32,113 val=EU chan=f-0447 fmt="%10.7f";
pos=34,113 val=EU chan=f-0381 fmt="%10.7f";
pos=35,113 val=EU chan=f-0382 fmt="%10.7f";
pos=36,113 val=EU chan=f-0383 fmt="%10.7f";
pos=38,113 val=EU chan=f-0411 fmt="%10.7f";
pos=39,113 val=EU chan=f-0412 fmt="%10.7f";
pos=40,113 val=EU chan=f-0413 fmt="%10.7f";

pos=45,114 val=EU         chan=a-0120 fmt="%6.2f";
pos=46,114 val=EU         chan=a-0121 fmt="%6.2f";
pos=47,114 val=EU         chan=a-0122 fmt="%6.2f";
pos=48,114 val=EU         chan=a-0123 fmt="%6.2f";
pos=50,111 val=STATE_NAME chan=f-0444 fmt="%-12.12s";
pos=52,115 val=DN chan=f-0840 fmt="%#2.2x";
pos=53,115 val=DN chan=f-0848 fmt="%#2.2x";
pos=54,115 val=DN chan=v-0061 fmt="%3d";
pos=55,115 val=DN chan=v-0062 fmt="%3d";
pos=57,114 val=DN chan=f-0442 fmt="%#4.4x";
pos=58,114 val=STATE_NAME chan=f-0868 fmt="%-9.9s";
pos=59,114 val=STATE_NAME chan=f-0869 fmt="%-9.9s";
pos=60,114 val=STATE_NAME chan=f-0870 fmt="%-9.9s";
pos=61,114 val=STATE_NAME chan=f-0873 fmt="%-9.9s";
pos=63,114 val=STATE_NAME chan=f-1720 fmt="%-9.9s";
pos=68,115 val=STATE_NAME chan=a-0001 fmt="%6.6s";
pos=69,115 val=STATE_NAME chan=a-0002 fmt="%6.6s";
pos=71,115 val=EU         chan=a-0100 fmt="%6.2f";
pos=72,115 val=EU         chan=a-0101 fmt="%6.2f";
pos=73,115 val=EU         chan=a-0102 fmt="%6.2f";
pos=74,115 val=EU         chan=a-0103 fmt="%6.2f";
pos=76,114 val=STATE_NAME chan=t-0001 fmt="%7.7s";
pos=77,114 val=STATE_NAME chan=t-0002 fmt="%7.7s";
pos=78,111 val=EU         chan=t-0100 fmt="%6.2f";

pos=06,145 val=STATE_NAME chan=f-0740 fmt="%10.10s";
pos=07,145 val=STATE_NAME chan=f-0460 fmt="%10.10s";
pos=08,149 val=DN chan=f-0464 fmt="%#4.4X";
pos=09,145 val=DN chan=f-0461 fmt="%10d";
pos=10,145 val=DN chan=f-0450 fmt="%10d";
pos=11,145 val=DN chan=f-0455 fmt="%10d";
pos=12,145 val=DN chan=f-0457 fmt="%10d";
pos=13,145 val=STATE_NAME chan=f-0605 fmt="%10.10s";
pos=14,145 val=STATE_NAME chan=f-0606 fmt="%10.10s";
pos=16,145 val=DN chan=f-0561 fmt="%10d";
pos=17,145 val=DN chan=f-0462 fmt="%10d";
pos=18,145 val=DN chan=f-0452 fmt="%10d";
pos=19,145 val=DN chan=f-0459 fmt="%10d";
pos=20,145 val=DN chan=v-0003 fmt="%10.10s";
pos=21,145 val=DN chan=v-0002 fmt="%10.4f";
pos=22,145 val=EU chan=f-0448 fmt="%10.5f";
pos=23,145 val=DN chan=f-0560 fmt="%10d";
pos=25,145 val=EU chan=f-0550 fmt="%10.5f";
pos=26,145 val=EU chan=f-0451 fmt="%10.5f";
pos=27,145 val=DN chan=f-0554 fmt="%10d";
pos=28,145 val=DN chan=f-0558 fmt="%10d";
pos=30,143 val=EU chan=f-0490 fmt="%12.9f";
pos=31,143 val=EU chan=f-0491 fmt="%12.9f";
pos=32,143 val=EU chan=f-0492 fmt="%12.9f";
pos=34,143 val=EU chan=f-0495 fmt="%12.9f";
pos=35,143 val=EU chan=f-0496 fmt="%12.9f";
pos=36,143 val=EU chan=f-0497 fmt="%12.9f";
pos=38,143 val=EU chan=f-0105 fmt="%12.9f";
pos=39,143 val=EU chan=f-0106 fmt="%12.9f";
pos=40,143 val=EU chan=f-0107 fmt="%12.9f";
pos=42,143 val=EU chan=f-0305 fmt="%12.9f";
pos=43,143 val=EU chan=f-0306 fmt="%12.9f";
pos=44,143 val=EU chan=f-0307 fmt="%12.9f";
pos=46,143 val=EU chan=f-0552 fmt="%12.9f";
pos=47,143 val=EU chan=f-0553 fmt="%12.9f";
pos=48,143 val=EU chan=f-0559 fmt="%12.9f";
pos=49,143 val=EU chan=f-0551 fmt="%12.9f";
pos=51,143 val=EU chan=f-0180 fmt="%12.9f";
pos=52,143 val=EU chan=f-0181 fmt="%12.9f";
pos=53,143 val=EU chan=f-0182 fmt="%12.9f";
pos=54,143 val=EU chan=f-0183 fmt="%12.9f";
pos=55,143 val=EU chan=f-0184 fmt="%12.9f";
pos=56,143 val=EU chan=f-0185 fmt="%12.9f";

pos=06,176 val=DN chan=f-0210 fmt="%#4.4x";
pos=07,176 val=STATE_NAME chan=f-0640 fmt="%-8.8s";
pos=08,176 val=STATE_NAME chan=f-0641 fmt="%-8.8s";
pos=09,176 val=STATE_NAME chan=f-0642 fmt="%-8.8s";
pos=10,176 val=STATE_NAME chan=f-0643 fmt="%-8.8s";
pos=11,176 val=STATE_NAME chan=f-0644 fmt="%-8.8s";
pos=12,176 val=STATE_NAME chan=f-0645 fmt="%-8.8s";
pos=13,176 val=STATE_NAME chan=f-0648 fmt="%-8.8s";
pos=14,176 val=STATE_NAME chan=f-0649 fmt="%-8.8s";
pos=15,176 val=STATE_NAME chan=f-0650 fmt="%-8.8s";
pos=16,176 val=STATE_NAME chan=f-0651 fmt="%-8.8s";
pos=17,176 val=STATE_NAME chan=f-0652 fmt="%-8.8s";
pos=18,176 val=STATE_NAME chan=f-0653 fmt="%-8.8s";
pos=19,176 val=STATE_NAME chan=f-0654 fmt="%-8.8s";
pos=20,176 val=STATE_NAME chan=f-0655 fmt="%-8.8s";
pos=22,170 val=DN chan=f-0210 fmt=BIN16;
pos=23,170 val=DN chan=f-1262 fmt=BIN16;
pos=24,170 val=DN chan=f-0220 fmt=BIN16;
pos=26,176 val=STATE_NAME chan=a-0003 fmt="%-8.8s";
pos=27,176 val=STATE_NAME chan=a-0004 fmt="%-8.8s";
pos=28,176 val=STATE_NAME chan=a-0005 fmt="%-8.8s";
pos=29,176 val=STATE_NAME chan=a-0006 fmt="%-8.8s";
pos=30,176 val=STATE_NAME chan=a-0007 fmt="%-8.8s";
pos=32,173 val=EU         chan=a-0160 fmt="%8.3f";
pos=33,173 val=EU         chan=a-0161 fmt="%8.3f";
pos=34,173 val=EU         chan=a-0162 fmt="%8.3f";
pos=36,173 val=EU         chan=a-0150 fmt="%8.3f";
pos=37,173 val=EU         chan=a-0151 fmt="%8.3f";
pos=38,173 val=EU         chan=a-0152 fmt="%8.3f";
pos=40,176 val=STATE_NAME chan=a-0008 fmt="%-8.8s";
pos=41,176 val=STATE_NAME chan=a-0009 fmt="%-8.8s";
pos=42,176 val=STATE_NAME chan=a-0010 fmt="%-8.8s";
pos=44,176 val=STATE_NAME chan=a-0011 fmt="%-8.8s";
pos=46,176 val=STATE_NAME chan=a-0020 fmt="%-8.8s";
pos=47,176 val=STATE_NAME chan=a-0021 fmt="%-8.8s";
pos=48,176 val=STATE_NAME chan=a-0022 fmt="%-8.8s";
pos=49,176 val=STATE_NAME chan=a-0023 fmt="%-8.8s";
pos=51,173 val=EU         chan=a-0132 fmt="%8.4f";
pos=52,173 val=EU         chan=a-0133 fmt="%8.4f";
pos=53,173 val=EU         chan=a-0134 fmt="%8.4f";
pos=54,173 val=EU         chan=a-0135 fmt="%8.4f";
pos=55,173 val=EU         chan=a-0130 fmt="%8.4f";
pos=56,173 val=EU         chan=a-0131 fmt="%8.4f";
pos=58,173 val=EU         chan=a-0136 fmt="%8.3f";
pos=59,173 val=EU         chan=a-0137 fmt="%8.3f";
pos=60,173 val=EU         chan=a-0138 fmt="%8.3f";
pos=62,173 val=EU         chan=a-0141 fmt="%8.3f";
pos=63,173 val=EU         chan=a-0142 fmt="%8.3f";
pos=64,173 val=EU         chan=a-0143 fmt="%8.3f";
pos=65,173 val=EU         chan=a-0144 fmt="%8.3f";
pos=67,176 val=STATE_NAME chan=a-0012 fmt="%-8.8s";
pos=68,173 val=EU         chan=a-0139 fmt="%8.3f";
pos=69,173 val=EU         chan=a-0140 fmt="%8.3f";
pos=71,173 val=EU         chan=t-0101 fmt="%8.3f";
pos=72,173 val=EU         chan=t-0102 fmt="%8.3f";

pos=61,143 val=STATE_NAME chan=f-0201 fmt="%-12.12s";
pos=62,145 val=DN chan=f-0194 fmt="%#4.4x";
pos=63,145 val=DN chan=f-0200 fmt="%#4.4x";
pos=64,145 val=STATE_NAME chan=f-0620 fmt="%-6.6s";
pos=66,143 val=DN chan=v-0070 fmt="%8.3f";
pos=67,143 val=DN chan=v-0080 fmt="%8.3f";
pos=68,143 val=EU chan=f-0193 fmt="%8.4f";
pos=69,145 val=DN chan=f-0191 fmt="%#4.4x";
pos=71,143 val=DN chan=v-0071 fmt="%8.3f";
pos=72,143 val=DN chan=v-0081 fmt="%8.3f";
pos=73,143 val=EU chan=f-0198 fmt="%8.4f";
pos=74,145 val=DN chan=f-0196 fmt="%#4.4x";
pos=76,138 val=EU chan=s-0110 fmt="%6.2f";  pos=76,145 val=EU chan=s-0111 fmt="%6.2f";

pos=77,176 val=EU         chan=a-0180 fmt="%7.4f";
pos=78,176 val=EU         chan=a-0181 fmt="%7.4f";
pos=79,176 val=EU         chan=a-0182 fmt="%7.4f";
pos=80,176 val=EU         chan=a-0183 fmt="%7.4f";

pos=72,21  val=STATE_NAME chan=a-0013 fmt="%-7.7s";
pos=73,21  val=STATE_NAME chan=a-0014 fmt="%-7.7s";
pos=74,21  val=STATE_NAME chan=f-1728 fmt="%-7.7s";
pos=76,21  val=STATE_NAME chan=t-0003 fmt="%-7.7s";
pos=77,21  val=STATE_NAME chan=t-0004 fmt="%-7.7s";
pos=78,18  val=EU         chan=t-0105 fmt="%7.2f";

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR AACS SUBSYSTEM CONTROL DATA     ';
pos=03,1   val=' ';
pos=04,1   val='  _STATUS______________________';
pos=05,1   val=' |                             |';
pos=06,1   val=' | AACS STATE     XXXXXXXXXXXX |';
pos=07,1   val=' | SUN SUBMODE    XXXXXXXXXXXX |';
pos=08,1   val=' | FSW STATE      XXXXXXXXXXXX |';
pos=09,1   val=' | CURRENT ASF    XXXXXXXXXXXX |';
pos=10,1   val=' |                             |';
pos=11,1   val=' | INERT_REF      XXXXXXXXXXXX |';
pos=12,1   val=' | BU_INERT_REF   XXXXXXXXXXXX |';
pos=13,1   val=' | MHSA_USABLE    XXXXXXXXXXXX |';
pos=14,1   val=' | SUN_MON_CHK    XXXXXXXXXXXX |';
pos=15,1   val=' | MHSA_VIEW      XXXXXXXXXXXX |';
pos=16,1   val=' | MHSA_DATA      XXXXXXXXXXXX |';
pos=17,1   val=' | SUN_FILTER     XXXXXXXXXXXX |';
pos=18,1   val=' | STAR_UPDATE    XXXXXXXXXXXX |';
pos=19,1   val=' | MNVR_ACTIVE    XXXXXXXXXXXX |';
pos=20,1   val=' | SUN_ON_ARRAY   XXXXXXXXXXXX |';
pos=21,1   val=' | NEW_MODE       XXXXXXXXXXXX |';
pos=22,1   val=' | LNCH_TACH_LK   XXXXXXXXXXXX |';
pos=23,1   val=' | SUN_MON_LIM    XXXXXXXXXXXX |';
pos=24,1   val=' | SUN_DIF_EPH    XXXXXXXXXXXX |';
pos=25,1   val=' | CM_REQ_PEND    XXXXXXXXXXXX |';
pos=26,1   val=' |                             |';
pos=27,1   val=' | BU_MODE_ENA    XXXXXXXXXXXX |';
pos=28,1   val=' | SUN_MON_EPH    XXXXXXXXXXXX |';
pos=29,1   val=' | SUN_AVOID      XXXXXXXXXXXX |';
pos=30,1   val=' | RWA_PID_INT    XXXXXXXXXXXX |';
pos=31,1   val=' | ANS_AUTO_ENA   XXXXXXXXXXXX |';
pos=32,1   val=' | SEARCH_AUTO    XXXXXXXXXXXX |';
pos=33,1   val=' | MAP_EPHEM      XXXXXXXXXXXX |';
pos=34,1   val=' | CHK_NEW_EPH    XXXXXXXXXXXX |';
pos=35,1   val=' | MHSA_DER_ATT   XXXXXXXXXXXX |';
pos=36,1   val=' | CSABU_HAS_BU   XXXXXXXXXXXX |';
pos=37,1   val=' | SSA_MODE_SW    XXXXXXXXXXXX |';
pos=38,1   val=' |                             |';
pos=39,1   val=' | CSA_OFFSET     XXXXXXXXXXXX |';
pos=40,1   val=' | NOMINAL ASF    XXXXXXXXXXXX |';
pos=41,1   val=' | C-MODE ASF     XXXXXXXXXXXX |';
pos=42,1   val=' | THRUST_LEAK    XXXXXXXXXXXX |';
pos=43,1   val=' | CONTROL_FLT    XXXXXXXXXXXX |';
pos=44,1   val=' | RWA_STICTION   XXXXXXXXXXXX |';
pos=45,1   val=' | END_OF_DRAG    XXXXXXXXXXXX |';
pos=46,1   val=' | THRUST_SEL     XXXXXXXXXXXX |';
pos=47,1   val=' |_____________________________|';
pos=48,1   val='                                ';
pos=49,1   val='  _MANEUVER PERFORMANCE________';
pos=50,1   val=' |                             |';
pos=51,1   val=' | DURATION     xxxxx.xxxx sec |';
pos=52,1   val=' | DELTA_V X    xxxxx.xxxx m/s |';
pos=53,1   val=' | DELTA_V Y    xxxxx.xxxx m/s |';
pos=54,1   val=' | DELTA_V Z    xxxxx.xxxx m/s |';
pos=55,1   val=' |                             |';
pos=56,1   val=' | DELV INT X   xxx.xxxxxx r-s |';
pos=57,1   val=' | DELV INT Y   xxx.xxxxxx r-s |';
pos=58,1   val=' | DELV INT Z   xxx.xxxxxx r-s |';
pos=59,1   val=' |                             |';
pos=60,1   val=' | ACC BIAS -X  xx.xxxxxxx m/s |';
pos=61,1   val=' | ACC BIAS -Y  xx.xxxxxxx m/s |';
pos=62,1   val=' | ACC BIAS +Z  xx.xxxxxxx m/s |';
pos=63,1   val=' | ACC BIAS  S  xx.xxxxxxx m/s |';
pos=64,1   val=' |                             |';
pos=65,1   val=' | MANUVR_FLAG    XXXXXX       |';
pos=66,1   val=' | MANUVR_STATE   XXXXXXXXXXXX |';
pos=67,1   val=' | MOI_STATUS     XXXXXXXXXXXX |';
pos=68,1   val=' |_____________________________|';

pos=04,33  val='  _THRUSTER STATUS______________';
pos=05,33  val=' |                              |';
pos=06,33  val=' | THR    ENA    ARM    ON_TIME |';
pos=07,33  val=' |                              |';
pos=08,33  val=' |  1     XXX    XXX   xxxx.xxx |';
pos=09,33  val=' |  2     XXX    XXX   xxxx.xxx |';
pos=10,33  val=' |  3     XXX    XXX   xxxx.xxx |';
pos=11,33  val=' |  4     XXX    XXX   xxxx.xxx |';
pos=12,33  val=' |  5     XXX    XXX   xxxx.xxx |';
pos=13,33  val=' |  6     XXX    XXX   xxxx.xxx |';
pos=14,33  val=' |  7     XXX    XXX   xxxx.xxx |';
pos=15,33  val=' |  8     XXX    XXX   xxxx.xxx |';
pos=16,33  val=' |  9     XXX    XXX   xxxx.xxx |';
pos=17,33  val=' |  10    XXX    XXX   xxxx.xxx |';
pos=18,33  val=' |  11    XXX    XXX   xxxx.xxx |';
pos=19,33  val=' |  12    XXX    XXX   xxxx.xxx |';
pos=20,33  val=' |  ME    X,X    X,X   xxxx.xxx |';
pos=21,33  val=' |______________________________|';
pos=22,33  val=' ';
pos=23,33  val='  _REDMAN/FAULT PROTECTION______';
pos=24,33  val=' |                              |';
pos=25,33  val=' | DEV   SWAP  SIDE  DEAD   ENA |';
pos=26,33  val=' |                              |';
pos=27,33  val=' | SSA    XX    X    XXXX   XXX |';
pos=28,33  val=' | RWA    XX    X    XXXX   XXX |';
pos=29,33  val=' | IMU    XX    -    XXXX   XXX |';
pos=30,33  val=' | GYRO   --    X    XXXX   XXX |';
pos=31,33  val=' | SAP    XX    X    XXXX   XXX |';
pos=32,33  val=' | HGA    XX    X    XXXX   XXX |';
pos=33,33  val=' | SAM    XX    X    XXXX   XXX |';
pos=34,33  val=' | ATT    XX    -    XXXX   XXX |';
pos=35,33  val=' | MHSA   XX    X    XXXX   XXX |';
pos=36,33  val=' | CSA    --    -    XXXX   XXX |';
pos=37,33  val=' | TANK   XX    -    XXXX   XXX |';
pos=38,33  val=' | REA    XX    X    XXXX   XXX |';
pos=39,33  val=' |                              |';
pos=40,33  val=' | IMU STATUS CHECK         XXX |';
pos=41,33  val=' | IMU FROZEN CHECK         XXX |';
pos=42,33  val=' |                              |';
pos=43,33  val=' | MAP LOST CTR          XXXXXX |';
pos=44,33  val=' | SUN BADCHK CTR        XXXXXX |';
pos=45,33  val=' |______________________________|';

pos=04,66  val='  _CONTROL PERFORMANCE_________';
pos=05,66  val=' |                             |';
pos=06,66  val=' | POS ERR X    xxx.xxxxxx rad |';
pos=07,66  val=' | POS ERR Y    xxx.xxxxxx rad |';
pos=08,66  val=' | POS ERR Z    xxx.xxxxxx rad |';
pos=09,66  val=' |                             |';
pos=10,66  val=' | POS INT X    xxx.xxxxxx r-s |';
pos=11,66  val=' | POS INT Y    xxx.xxxxxx r-s |';
pos=12,66  val=' | POS INT Z    xxx.xxxxxx r-s |';
pos=13,66  val=' |                             |';
pos=14,66  val=' | FILT RATE X  xx.xxxxxxx r/s |';
pos=15,66  val=' | FILT RATE Y  xx.xxxxxxx r/s |';
pos=16,66  val=' | FILT RATE Z  xx.xxxxxxx r/s |';
pos=17,66  val=' |                             |';
pos=18,66  val=' | CMD RATE X   xx.xxxxxxx r/s |';
pos=19,66  val=' | CMD RATE Y   xx.xxxxxxx r/s |';
pos=20,66  val=' | CMD RATE Z   xx.xxxxxxx r/s |';
pos=21,66  val=' |                             |';
pos=22,66  val=' | RATE INT X   xxx.xxxxxx rad |';
pos=23,66  val=' | RATE INT Y   xxx.xxxxxx rad |';
pos=24,66  val=' | RATE INT Z   xxx.xxxxxx rad |';
pos=25,66  val=' |                             |';
pos=26,66  val=' | PID TORQ X   xxx.xxxxxx xxx |';
pos=27,66  val=' | PID TORQ Y   xxx.xxxxxx xxx |';
pos=28,66  val=' | PID TORQ Z   xxx.xxxxxx xxx |';
pos=29,66  val=' |                             |';
pos=30,66  val=' | FILT QUAT 1  xx.xxxxxxx     |';
pos=31,66  val=' | FILT QUAT 2  xx.xxxxxxx     |';
pos=32,66  val=' | FILT QUAT 3  xx.xxxxxxx     |';
pos=33,66  val=' | FILT QUAT 4  xx.xxxxxxx     |';
pos=34,66  val=' |_____________________________|';
pos=35,66  val=' ' ;

pos=04,98  val='  _MOMENTUM UNLOADING_____';
pos=05,98  val=' |                        |';
pos=06,98  val=' | RWA SPD X   xxxxxx rpm |';
pos=07,98  val=' | RWA SPD Y   xxxxxx rpm |';
pos=08,98  val=' | RWA SPD Z   xxxxxx rpm |';
pos=09,98  val=' | RWA SPD S   xxxxxx rpm |';
pos=10,98  val=' |                        |';
pos=11,98  val=' | SYS MOM X  xxx.xxx Nms |';
pos=12,98  val=' | SYS MOM Y  xxx.xxx Nms |';
pos=13,98  val=' | SYS MOM Z  xxx.xxx Nms |';
pos=14,98  val=' |                        |';
pos=15,98  val=' | MOM ENABLE  XXXXXXXXXX |';
pos=16,98  val=' | MOM AXIS    XXXXXXXXXX |';
pos=17,98  val=' | MOM STATE   XXXXXXXXXX |';
pos=18,98  val=' |________________________|';
pos=19,98  val=' ';
pos=20,98  val='  _SUN STATUS_____________';
pos=21,98  val=' |                        |';
pos=22,98  val=' | RAW SUN X   xx.xxxxxxx |';
pos=23,98  val=' | RAW SUN Y   xx.xxxxxxx |';
pos=24,98  val=' | RAW SUN Z   xx.xxxxxxx |';
pos=25,98  val=' |                        |';
pos=26,98  val=' | FILT SUN X  xx.xxxxxxx |';
pos=27,98  val=' | FILT SUN Y  xx.xxxxxxx |';
pos=28,98  val=' | FILT SUN Z  xx.xxxxxxx |';
pos=29,98  val=' |                        |';
pos=30,98  val=' | SSA_DOT_PR  xx.xxxxxxx |';
pos=31,98  val=' | SSA_HDF X   xx.xxxxxxx |';
pos=32,98  val=' | SSA_HDF Y   xx.xxxxxxx |';
pos=33,98  val=' |                        |';
pos=34,98  val=' | SAM NORM X  xx.xxxxxxx |';
pos=35,98  val=' | SAM NORM Y  xx.xxxxxxx |';
pos=36,98  val=' | SAM NORM Z  xx.xxxxxxx |';
pos=37,98  val=' |                        |';
pos=38,98  val=' | SAP NORM X  xx.xxxxxxx |';
pos=39,98  val=' | SAP NORM Y  xx.xxxxxxx |';
pos=40,98  val=' | SAP NORM Z  xx.xxxxxxx |';
pos=41,98  val=' |________________________|';
pos=42,98  val=' ';

pos=04,125 val='  _STAREX______________________';
pos=05,125 val=' |                             |';
pos=06,125 val=' | INERT_REF                   |';
pos=07,125 val=' | STRX_STATE                  |';
pos=08,125 val=' | STRX_WORD                   |';
pos=09,125 val=' | STRX_S_RESET                |';
pos=10,125 val=' | STRX_CMRESET                |';
pos=11,125 val=' | STRX_MULSTAR                |';
pos=12,125 val=' | STRX_PULSECT                |';
pos=13,125 val=' | ANS_AUTO_ENA                |';
pos=14,125 val=' | SEARCH_AUTO                 |';
pos=15,125 val=' |                             |';
pos=16,125 val=' | STRX_TRANSTS                |';
pos=17,125 val=' | STRX_UNIDSTR                |';
pos=18,125 val=' | STRX_IDTRNNO                |';
pos=19,125 val=' | STRX_STAR_ID                |';
pos=20,125 val=' | SLIT_XING                   |';
pos=21,125 val=' | SLIT_TIME                   |';
pos=22,125 val=' | STIME                       |';
pos=23,125 val=' | STRX_SC_SLIT                |';
pos=24,125 val=' |                             |';
pos=25,125 val=' | STRX_CAISANG                |';
pos=26,125 val=' | STRX_HIRATIO                |';
pos=27,125 val=' | STRX_MB_CNTS                |';
pos=28,125 val=' | STRX_NB_CNTS                |';
pos=29,125 val=' |                             |';
pos=30,125 val=' | STRX_ATGAINx                |';
pos=31,125 val=' | STRX_ATGAINy                |';
pos=32,125 val=' | STRX_ATGAINz                |';
pos=33,125 val=' |                             |';
pos=34,125 val=' | STRX_BSGAINx                |';
pos=35,125 val=' | STRX_BSGAINy                |';
pos=36,125 val=' | STRX_BSGAINz                |';
pos=37,125 val=' |                             |';
pos=38,125 val=' | GYR_BI_EST_x                |';
pos=39,125 val=' | GYR_BI_EST_y                |';
pos=40,125 val=' | GYR_BI_EST_z                |';
pos=41,125 val=' |                             |';
pos=42,125 val=' | QUAT_CORR_1                 |';
pos=43,125 val=' | QUAT_CORR_2                 |';
pos=44,125 val=' | QUAT_CORR_3                 |';
pos=45,125 val=' |                             |';
pos=46,125 val=' | STRX_DOTLOS                 |';
pos=47,125 val=' | STRX_DOTPROD                |';
pos=48,125 val=' | STRX_NOIZVAR                |';
pos=49,125 val=' | STRX_CORTEST                |';
pos=50,125 val=' |                             |';
pos=51,125 val=' | GYBIASEST_xA                |';
pos=52,125 val=' | GYBIASEST_xB                |';
pos=53,125 val=' | GYBIASEST_yA                |';
pos=54,125 val=' | GYBIASEST_yB                |';
pos=55,125 val=' | GYBIASEST_zA                |';
pos=56,125 val=' | GYBIASEST_zB                |';
pos=57,125 val=' |_____________________________|';

pos=04,157 val='  _INERTIAL MEASUREMENT UNIT___';
pos=05,157 val=' |                             |';
pos=06,157 val=' | IMU_STAT_WD1    0xXXXX      |';
pos=07,157 val=' | IMU_DCsupSEL    XXXXXXXX    |';
pos=08,157 val=' | IMU_ACsupSEL    XXXXXXXX    |';
pos=09,157 val=' | CS_TRI_B_SEL    XXXXXXXX    |';
pos=10,157 val=' | CS_TRI_A_SEL    XXXXXXXX    |';
pos=11,157 val=' | CSA_TEST_SEL    XXXXXXXX    |';
pos=12,157 val=' | IMU_RATE_SEL    XXXXXXXX    |';
pos=13,157 val=' | IMU_FORMAT      XXXXXXXX    |';
pos=14,157 val=' | IMU_Ychn_SEL    XXXXXXXX    |';
pos=15,157 val=' | IMU_Xchn_SEL    XXXXXXXX    |';
pos=16,157 val=' | IMU_Zchn_SEL    XXXXXXXX    |';
pos=17,157 val=' | IMU_DATA_SEL    XXXXXXXX    |';
pos=18,157 val=' | IMU_G3_STAT     XXXXXXXX    |';
pos=19,157 val=' | IMU_G2_STAT     XXXXXXXX    |';
pos=20,157 val=' | IMU_G1_STAT     XXXXXXXX    |';
pos=21,157 val=' |                             |';
pos=22,157 val=' | IMU_STAT  xxxxxxxxxxxxxxxx  |';
pos=23,157 val=' | RDM_STAT  xxxxxxxxxxxxxxxx  |';
pos=24,157 val=' | IMU_MASK  xxxxxxxxxxxxxxxx  |';
pos=25,157 val=' |                             |';
pos=26,157 val=' | GYRO1_SP_MTR                |';
pos=27,157 val=' | GYRO2_SP_MTR                |';
pos=28,157 val=' | GYRO3_SP_MTR                |';
pos=29,157 val=' | GYR_OVRTMP_A                |';
pos=30,157 val=' | GYR_OVRTMP_B                |';
pos=31,157 val=' |                             |';
pos=32,157 val=' | GYRO1_MTR_I           mAmps |';
pos=33,157 val=' | GYRO2_MTR_I           mAmps |';
pos=34,157 val=' | GYRO3_MTR_I           mAmps |';
pos=35,157 val=' |                             |';
pos=36,157 val=' | SPMTR_PH_A_V          volts |';
pos=37,157 val=' | SPMTR_PH_B_V          volts |';
pos=38,157 val=' | SPMTR_PH_C_V          volts |';
pos=39,157 val=' |                             |';
pos=40,157 val=' | IMU_ACEL_TST    XXXXXXXX    |';
pos=41,157 val=' | IMU_DATA_CHA    XXXXXXXX    |';
pos=42,157 val=' | IMU_DATA_CHB    XXXXXXXX    |';
pos=43,157 val=' |                             |';
pos=44,157 val=' | IMU_HI_LO_ST    XXXXXXXX    |';
pos=45,157 val=' |                             |';
pos=46,157 val=' | IMU_HI_CMDP1    XXXXXXXX    |';
pos=47,157 val=' | IMU_LO_CMDP1    XXXXXXXX    |';
pos=48,157 val=' | IMU_HI_CMDP2    XXXXXXXX    |';
pos=49,157 val=' | IMU_LO_CMDP2    XXXXXXXX    |';
pos=50,157 val=' |                             |';
pos=51,157 val=' | IMU_YA-X1_TQ  xx.xxxx deg/s |';
pos=52,157 val=' | IMU_YB-X3_TQ  xx.xxxx deg/s |';
pos=53,157 val=' | IMU_ZA+Y1_TQ  xx.xxxx deg/s |';
pos=54,157 val=' | IMU_ZB+Y2_TQ  xx.xxxx deg/s |';
pos=55,157 val=' | IMU_XA-Z2_TQ  xx.xxxx deg/s |';
pos=56,157 val=' | IMU_XB-Z3_TQ  xx.xxxx deg/s |';
pos=57,157 val=' |                             |';
pos=58,157 val=' | IMU_+10_DC_V  xxx.xxx volts |';
pos=59,157 val=' | IMU_+15_DC_V  xxx.xxx volts |';
pos=60,157 val=' | IMU_-15_DC_V  xxx.xxx volts |';
pos=61,157 val=' |                             |';
pos=62,157 val=' | IMU_PR_AC_V   xxx.xxx volts |';
pos=63,157 val=' | IMU_BU_AC_V   xxx.xxx volts |';
pos=64,157 val=' | IMU_PR_DC_V   xxx.xxx volts |';
pos=65,157 val=' | IMU_BU_DC_V   xxx.xxx volts |';
pos=66,157 val=' |                             |';
pos=67,157 val=' | IMU_TCA_STAT    XXXXXXX     |';
pos=68,157 val=' | IMU_TCA_PR_V  xxx.xxx volts |';
pos=69,157 val=' | IMU_TCA_BU_V  xxx.xxx volts |';
pos=70,157 val=' |                             |';
pos=71,157 val=' | IMU_BLOCK_T   xxx.xxx deg C |';
pos=72,157 val=' | IMU_HSE_T     xxx.xxx deg C |';
pos=73,157 val=' |_____________________________|';

pos=47,33  val='  _REACTION WHEELS______________';
pos=48,33  val=' |                              |';
pos=49,33  val=' | RDM_RWA_CNFG      XXXXXX     |';
pos=50,33  val=' |                              |';
pos=51,33  val=' | RWA_X_POWER    XXXXXXXXXX    |';
pos=52,33  val=' | RWA_X_MTR_I    xxx.xxx Amps  |';
pos=53,33  val=' | RWA_X_BRG_T    xxx.xxx deg C |';
pos=54,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=55,33  val=' | RWA_X_D_SPD    xxxxxxx rpm   |';
pos=56,33  val=' | RWA_X_P_LMT    XXXXXXXXXX    |';
pos=57,33  val=' |                              |';
pos=58,33  val=' | RWA_Y_POWER    XXXXXXXXXX    |';
pos=59,33  val=' | RWA_Y_MTR_I    xxx.xxx Amps  |';
pos=60,33  val=' | RWA_Y_BRG_T    xxx.xxx deg C |';
pos=61,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=62,33  val=' | RWA_Y_D_SPD    xxxxxxx rpm   |';
pos=63,33  val=' | RWA_Y_P_LMT    XXXXXXXXXX    |';
pos=64,33  val=' |                              |';
pos=65,33  val=' | RWA_Z_POWER    XXXXXXXXXX    |';
pos=66,33  val=' | RWA_Z_MTR_I    xxx.xxx Amps  |';
pos=67,33  val=' | RWA_Z_BRG_T    xxx.xxx deg C |';
pos=68,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=69,33  val=' | RWA_Z_D_SPD    xxxxxxx rpm   |';
pos=70,33  val=' | RWA_Z_P_LMT    XXXXXXXXXX    |';
pos=71,33  val=' |                              |';
pos=72,33  val=' | RWA_S_POWER    XXXXXXXXXX    |';
pos=73,33  val=' | RWA_S_MTR_I    xxx.xxx Amps  |';
pos=74,33  val=' | RWA_S_BRG_T    xxx.xxx deg C |';
pos=75,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=76,33  val=' | RWA_S_D_SPD    xxxxxxx rpm   |';
pos=77,33  val=' | RWA_S_P_LMT    XXXXXXXXXX    |';
pos=78,33  val=' |______________________________|';

pos=59,125 val='  _HGA_STATUS__________________';
pos=60,125 val=' |                             |';
pos=61,125 val=' | HGA_TIMEOUT    xxxxxxxxxxxx |';
pos=62,125 val=' | HGA_CNTRL_ST     0xXXXX     |';
pos=63,125 val=' | HGA_STATS        0xXXXX     |';
pos=64,125 val=' | HGA_SIDE         xxxxxx     |';
pos=65,125 val=' |                             |';
pos=66,125 val=' | HGA_AZpos_CF   xxxx.xxx deg |';
pos=67,125 val=' | HGA_AZang_CF   xxxx.xxx deg |';
pos=68,125 val=' | HGA_AZ_TRG     xxx.xxxx rad |';
pos=69,125 val=' | HGA_AZ_CMD       0xXXXX     |';
pos=70,125 val=' |                             |';
pos=71,125 val=' | HGA_ELpos_CF   xxxx.xxx deg |';
pos=72,125 val=' | HGA_ELang_CF   xxxx.xxx deg |';
pos=73,125 val=' | HGA_EL_TRG     xxx.xxxx rad |';
pos=74,125 val=' | HGA_EL_CMD       0xXXXX     |';
pos=75,125 val=' |                             |';
pos=76,125 val=' | POT_A,B   xxx.xx xxx.xx deg |';
pos=77,125 val=' |_____________________________|';

pos=36,66 val='  _SAM_STATUS__________________';
pos=37,66 val=' |                             |';
pos=38,66 val=' | SAM_TIMEOUT    xxxxxxxxxxxx |';
pos=39,66 val=' | SAM_CNTRL_ST     0xXXXX     |';
pos=40,66 val=' | SAM_STATS        0xXXXX     |';
pos=41,66 val=' | SAM_SIDE         xxxxxx     |';
pos=42,66 val=' |                             |';
pos=43,66 val=' | SAM_AZpos_CF   xxxx.xxx deg |';
pos=44,66 val=' | SAM_AZang_CF   xxxx.xxx deg |';
pos=45,66 val=' | SAM_AZ_TRG     xxx.xxxx rad |';
pos=46,66 val=' | SAM_AZ_CMD       0xXXXX     |';
pos=47,66 val=' |                             |';
pos=48,66 val=' | SAM_ELpos_CF   xxxx.xxx deg |';
pos=49,66 val=' | SAM_ELang_CF   xxxx.xxx deg |';
pos=50,66 val=' | SAM_EL_TRG     xxx.xxxx rad |';
pos=51,66 val=' | SAM_EL_CMD       0xXXXX     |';
pos=52,66 val=' |                             |';
pos=53,66 val=' | INB_POTS  xxx.xx xxx.xx deg |';
pos=54,66 val=' | OUTB_POTS xxx.xx xxx.xx deg |';
pos=55,66 val=' |_____________________________|';

pos=57,66 val='  _SAP_STATUS__________________';
pos=58,66 val=' |                             |';
pos=59,66 val=' | SAP_TIMEOUT    xxxxxxxxxxxx |';
pos=60,66 val=' | SAP_CNTRL_ST     0xXXXX     |';
pos=61,66 val=' | SAP_STATS        0xXXXX     |';
pos=62,66 val=' | SAP_SIDE         xxxxxx     |';
pos=63,66 val=' |                             |';
pos=64,66 val=' | SAP_AZpos_CF   xxxx.xxx deg |';
pos=65,66 val=' | SAP_AZang_CF   xxxx.xxx deg |';
pos=66,66 val=' | SAP_AZ_TRG     xxx.xxxx rad |';
pos=67,66 val=' | SAP_AZ_CMD       0xXXXX     |';
pos=68,66 val=' |                             |';
pos=69,66 val=' | SAP_ELpos_CF   xxxx.xxx deg |';
pos=70,66 val=' | SAP_ELang_CF   xxxx.xxx deg |';
pos=71,66 val=' | SAP_EL_TRG     xxx.xxxx rad |';
pos=72,66 val=' | SAP_EL_CMD       0xXXXX     |';
pos=73,66 val=' |                             |';
pos=74,66 val=' | INB_POTS  xxx.xx xxx.xx deg |';
pos=75,66 val=' | OUTB_POTS xxx.xx xxx.xx deg |';
pos=76,66 val=' |_____________________________|';

pos=43,98  val='  _SUN SENSOR UNIT________';
pos=44,98  val=' |                        |';
pos=45,98  val=' | SS1_DC_CNV_V  xx.xx V  |';
pos=46,98  val=' | SS2_DC_CNV_V  xx.xx V  |';
pos=47,98  val=' | SS1_ATA_I     xx.xx uA |';
pos=48,98  val=' | SS2_ATA_I     xx.xx uA |';
pos=49,98  val=' |                        |';
pos=50,98  val=' | SSA_STAT  XXXXXXXXXXXX |';
pos=51,98  val=' |                        |';
pos=52,98  val=' | SSA_RET_A_GC  0xXX  GC |';
pos=53,98  val=' | SSA_RET_B_GC  0xXX  GC |';
pos=54,98  val=' | SSA_RET_A     XXX  Cts |';
pos=55,98  val=' | SSA_RET_B     XXX  Cts |';
pos=56,98  val=' |                        |';
pos=57,98  val=' | SSA_RAW_DET  0xXXXX    |';
pos=58,98  val=' | SSA_MODE_SEL XXXXXXXXX |';
pos=59,98  val=' | SSA_SUN_SEEN XXXXXXXXX |';
pos=60,98  val=' | SSA_CMD_DET  XXXXXXXXX |';
pos=61,98  val=' | SSA_AUTO_DET XXXXXXXXX |';
pos=62,98  val=' |                        |';
pos=63,98  val=' | RDM_SIDE_SSA XXXXXXXXX |';
pos=64,98  val=' |________________________|';

pos=66,98  val='  _CELESTIAL SENSOR_______';
pos=67,98  val=' |                        |';
pos=68,98  val=' | CS_TRI_A_PWR  XXXXXX   |';
pos=69,98  val=' | CS_TRI_B_PWR  XXXXXX   |';
pos=70,98  val=' |                        |';
pos=71,98  val=' | CSA_TRA+14_V  xxx.xx V |';
pos=72,98  val=' | CSA_TRA-14_V  xxx.xx V |';
pos=73,98  val=' | CSA_TRB+14_V  xxx.xx V |';
pos=74,98  val=' | CSA_TRB-14_V  xxx.xx V |';
pos=75,98  val=' |                        |';
pos=76,98  val=' | CSA_P_HTR     XXXXXX   |';
pos=77,98  val=' | CSA_S_HTR     XXXXXX   |';
pos=78,98  val=' | CSA_T     xxx.xx deg C |';
pos=79,98  val=' |________________________|';

pos=75,157 val='  _ACCELEROMETERS______________';
pos=76,157 val=' |                             |';
pos=77,157 val=' | ACCEL_-X        xx.xxxx  Gs |';
pos=78,157 val=' | ACCEL_-Y        xx.xxxx  Gs |';
pos=79,157 val=' | ACCEL_+Z        xx.xxxx  Gs |';
pos=80,157 val=' | ACCEL_S         xx.xxxx  Gs |';
pos=81,157 val=' |_____________________________|';

pos=70,1   val='  _MARS HORIZON SENSOR_________';
pos=71,1   val=' |                             |';
pos=72,1   val=' | MHSA1_PWR        XXXXXX     |';
pos=73,1   val=' | MHSA2_PWR        XXXXXX     |';
pos=74,1   val=' | RDM_SIDE_MHSA    XXXXXX     |';
pos=75,1   val=' |                             |';
pos=76,1   val=' | MHSA_P_HTR       XXXXXX     |';
pos=77,1   val=' | MHSA_S_HTR       XXXXXX     |';
pos=78,1   val=' | MHSA_HSE_T     xxx.xx deg C |';
pos=79,1   val=' |_____________________________|';


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_aacs_hw_fix1.tdl                                             #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: AACS Subsystem Fixed Page #1 (Hardware Summary)                   #
# BASELINED: OGS 10-18-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=33,82 pos=4,1 # mgs_aacs_hw_fix1.tdl
TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='                  MARS GLOBAL SURVEYOR AACS STAREX PAGE (BODY=21)';
pos=03,1   val=' ';

rule=static
pos=04,1   val=' STATUS            CONTROL     NON-CTRL';
pos=05,1   val=' --------------------------------------';
pos=06,1   val=' INERT_REF';
rule=dynamic
pos=06,17  val=STATE_NAME chan=f-0740 fmt="%10.10s";   pos=06,30  val=STATE_NAME chan=n-0740 fmt="%10.10s";

rule=static
pos=07,1   val=' STRX_STATE';
rule=dynamic
pos=07,17  val=STATE_NAME chan=f-0460 fmt="%10.10s";   pos=07,30  val=STATE_NAME chan=n-0460 fmt="%10.10s";

rule=static
pos=08,1   val=' STRX_WORD';
rule=dynamic
pos=08,17  val=DN chan=f-0464 fmt="%#10.4X";   pos=08,30  val=DN chan=n-0464 fmt="%#10.4X";

rule=static
pos=09,1   val=' STRX_S_RESET';
rule=dynamic
pos=09,17  val=DN chan=f-0461 fmt="%10d";   pos=09,30  val=DN chan=n-0461 fmt="%10d";

rule=static
pos=10,1   val=' STRX_CMRESET';
rule=dynamic
pos=10,17  val=DN chan=f-0450 fmt="%10d";   pos=10,30  val=DN chan=n-0450 fmt="%10d";

rule=static
pos=11,1   val=' STRX_MULSTAR';
rule=dynamic
pos=11,17  val=DN chan=f-0455 fmt="%10d";   pos=11,30  val=DN chan=n-0455 fmt="%10d";

rule=static
pos=12,1   val=' STRX_PULSECT';
rule=dynamic
pos=12,17  val=DN chan=f-0457 fmt="%10d";   pos=12,30  val=DN chan=n-0457 fmt="%10d";

rule=static
pos=13,1   val=' ANS_AUTO_ENA';
rule=dynamic
pos=13,17  val=STATE_NAME chan=f-0605 fmt="%10.10s";   pos=13,30  val=STATE_NAME chan=n-0605 fmt="%10.10s";

rule=static
pos=14,1   val=' SEARCH_AUTO';
rule=dynamic
pos=14,17  val=STATE_NAME chan=f-0606 fmt="%10.10s";   pos=14,30  val=STATE_NAME chan=n-0606 fmt="%10.10s";

rule=static
pos=16,1   val=' CROSSING          CONTROL     NON-CTRL';
pos=17,1   val=' --------------------------------------';
pos=18,1   val=' STRX_TRANSTS';
rule=dynamic
pos=18,17  val=DN chan=f-0561 fmt="%10d";   pos=18,30  val=DN chan=n-0561 fmt="%10d";

rule=static
pos=19,1   val=' STRX_UNIDSTR';
rule=dynamic
pos=19,17  val=DN chan=f-0462 fmt="%10d";   pos=19,30  val=DN chan=n-0462 fmt="%10d";

rule=static
pos=20,1   val=' STRX_IDTRNNO';
rule=dynamic
pos=20,17  val=DN chan=f-0452 fmt="%10d";   pos=20,30  val=DN chan=n-0452 fmt="%10d";

rule=static
pos=21,1   val=' STRX_STAR_ID';
rule=dynamic
pos=21,17  val=DN chan=f-0459 fmt="%10d";   pos=21,30  val=DN chan=n-0459 fmt="%10d";

rule=static
pos=22,1   val=' SLIT_XING                          n/a';
rule=dynamic
pos=22,17  val=DN chan=v-0003 fmt="%10.10s";

rule=static
pos=23,1   val=' SLIT_TIME                          n/a';
rule=dynamic
pos=23,17  val=DN chan=v-0002 fmt="%10.4f";

rule=static
pos=24,1   val=' STIME';
rule=dynamic
pos=24,17  val=EU chan=f-0448 fmt="%10.5f";   pos=24,30  val=EU chan=n-0448 fmt="%10.5f";

rule=static
pos=25,1   val=' STRX_SC_SLIT';
rule=dynamic
pos=25,17  val=DN chan=f-0560 fmt="%10d";   pos=25,30  val=DN chan=n-0560 fmt="%10d";

rule=static
pos=27,1   val=' CAIS              CONTROL     NON-CTRL';
pos=28,1   val=' --------------------------------------';
pos=29,1   val=' STRX_CAISANG';
rule=dynamic
pos=29,17  val=EU chan=f-0550 fmt="%10.5f";   pos=29,30  val=EU chan=n-0550 fmt="%10.5f";

rule=static
pos=30,1   val=' STRX_HIRATIO';
rule=dynamic
pos=30,17  val=EU chan=f-0451 fmt="%10.5f";   pos=30,30  val=EU chan=n-0451 fmt="%10.5f";

rule=static
pos=31,1   val=' STRX_MB_CNTS';
rule=dynamic
pos=31,17  val=DN chan=f-0554 fmt="%10d";   pos=31,30  val=DN chan=n-0554 fmt="%10d";

rule=static
pos=32,1   val=' STRX_NB_CNTS';
rule=dynamic
pos=32,17  val=DN chan=f-0558 fmt="%10d";   pos=32,30  val=DN chan=n-0558 fmt="%10d";

rule=static
pos=04,43   val=' PERFORMANCE       CONTROL     NON-CTRL';
pos=05,43   val=' --------------------------------------';
pos=06,43   val=' STRX_ATGAINx';
rule=dynamic
pos=06,59  val=EU chan=f-0490 fmt="%10.7f";   pos=06,72  val=EU chan=n-0490 fmt="%10.7f";

rule=static
pos=07,43   val=' STRX_ATGAINy';
rule=dynamic
pos=07,59  val=EU chan=f-0491 fmt="%10.7f";   pos=07,72  val=EU chan=n-0491 fmt="%10.7f";

rule=static
pos=08,43   val=' STRX_ATGAINz';
rule=dynamic
pos=08,59  val=EU chan=f-0492 fmt="%10.7f";   pos=08,72  val=EU chan=n-0492 fmt="%10.7f";

rule=static
pos=10,43   val=' STRX_BSGAINx';
rule=dynamic
pos=10,59  val=EU chan=f-0495 fmt="%10.7f";   pos=10,72  val=EU chan=n-0495 fmt="%10.7f";

rule=static
pos=11,43   val=' STRX_BSGAINy';
rule=dynamic
pos=11,59  val=EU chan=f-0496 fmt="%10.7f";   pos=11,72  val=EU chan=n-0496 fmt="%10.7f";

rule=static
pos=12,43   val=' STRX_BSGAINz';
rule=dynamic
pos=12,59  val=EU chan=f-0497 fmt="%10.7f";   pos=12,72  val=EU chan=n-0497 fmt="%10.7f";

rule=static
pos=14,43   val=' GYR_BI_EST_x';
rule=dynamic
pos=14,59  val=EU chan=f-0105 fmt="%10.7f";   pos=14,72  val=EU chan=n-0105 fmt="%10.7f";

rule=static
pos=15,43   val=' GYR_BI_EST_y';
rule=dynamic
pos=15,59  val=EU chan=f-0106 fmt="%10.7f";   pos=15,72  val=EU chan=n-0106 fmt="%10.7f";

rule=static
pos=16,43   val=' GYR_BI_EST_z';
rule=dynamic
pos=16,59  val=EU chan=f-0107 fmt="%10.7f";   pos=16,72  val=EU chan=n-0107 fmt="%10.7f";

rule=static
pos=18,43   val=' QUAT_CORR_1';
rule=dynamic
pos=18,59  val=EU chan=f-0305 fmt="%10.7f";   pos=18,72  val=EU chan=n-0305 fmt="%10.7f";

rule=static
pos=19,43   val=' QUAT_CORR_2';
rule=dynamic
pos=19,59  val=EU chan=f-0306 fmt="%10.7f";   pos=19,72  val=EU chan=n-0306 fmt="%10.7f";

rule=static
pos=20,43   val=' QUAT_CORR_3';
rule=dynamic
pos=20,59  val=EU chan=f-0307 fmt="%10.7f";   pos=20,72  val=EU chan=n-0307 fmt="%10.7f";

rule=static
pos=22,43   val=' STRX_DOTLOS';
rule=dynamic
pos=22,59  val=EU chan=f-0552 fmt="%10.7f";   pos=22,72  val=EU chan=n-0552 fmt="%10.7f";

rule=static
pos=23,43   val=' STRX_DOTPROD';
rule=dynamic
pos=23,59  val=EU chan=f-0553 fmt="%10.7f";   pos=23,72  val=EU chan=n-0553 fmt="%10.7f";

rule=static
pos=24,43   val=' STRX_NOIZVAR';
rule=dynamic
pos=24,59  val=EU chan=f-0559 fmt="%10.7f";   pos=24,72  val=EU chan=n-0559 fmt="%10.7f";

rule=static
pos=25,43   val=' STRX_CORTEST';
rule=dynamic
pos=25,59  val=EU chan=f-0551 fmt="%10.7f";   pos=25,72  val=EU chan=n-0551 fmt="%10.7f";

rule=static
pos=27,43   val=' GYBIASEST_xA';
rule=dynamic
pos=27,59  val=EU chan=f-0180 fmt="%10.7f";   pos=27,72  val=EU chan=n-0180 fmt="%10.7f";

rule=static
pos=28,43   val=' GYBIASEST_xB';
rule=dynamic
pos=28,59  val=EU chan=f-0181 fmt="%10.7f";   pos=28,72  val=EU chan=n-0181 fmt="%10.7f";

rule=static
pos=29,43   val=' GYBIASEST_yA';
rule=dynamic
pos=29,59  val=EU chan=f-0182 fmt="%10.7f";   pos=29,72  val=EU chan=n-0182 fmt="%10.7f";

rule=static
pos=30,43   val=' GYBIASEST_yB';
rule=dynamic
pos=30,59  val=EU chan=f-0183 fmt="%10.7f";   pos=30,72  val=EU chan=n-0183 fmt="%10.7f";

rule=static
pos=31,43   val=' GYBIASEST_zA';
rule=dynamic
pos=31,59  val=EU chan=f-0184 fmt="%10.7f";   pos=31,72  val=EU chan=n-0184 fmt="%10.7f";

rule=static
pos=32,43   val=' GYBIASEST_zB';
rule=dynamic
pos=32,59  val=EU chan=f-0185 fmt="%10.7f";   pos=32,72  val=EU chan=n-0185 fmt="%10.7f";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_primary_pyro_fix.tdl                                         #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: PYRO PRIMARY Fixed Page                                           #
# BASELINED: OGS 12-04-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=69,80  pos=4,1 # mgs_primary_pyro_fix.tdl


TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR ';
pos=04,1   val='   PRIMARY PYRO FIRING SCHEMATIC           ';
pos=06,1   val='                                  ';
pos=07,1   val='   BATTERY xxx                            ';
pos=08,1   val='                                     > ';
pos=09,1   val='                                       ';
pos=10,1   val='                                                         >    ';
pos=11,1   val='                                                         ';
pos=12,1   val='                                                         > ';
pos=13,1   val='    ~15V                                                 ';
pos=14,1   val='         >';
pos=15,1   val='                                                           ';
pos=16,1   val='                                                        >   ';
pos=17,1   val='                                                        ';
pos=18,1   val='                                                        >    ';
pos=19,1   val='                                                                       ';
pos=20,1   val='                                                  >            ';
pos=21,1   val='                                                                        ';
pos=22,1   val='                                                                        ';
pos=23,1   val='                                                                       ';
pos=24,1   val='                                                   >';
pos=25,1   val='                                                                                          ';
pos=26,1   val='                                                        >';
pos=27,1   val='                                                                 ';
pos=28,1   val='                                                        >';
pos=29,1   val='                                                               ';
pos=30,1   val='                                    > ';
pos=31,1   val='                                                                 ';
pos=32,1   val='                                                         >';
pos=33,1   val='                                                                  ';
pos=34,1   val='                                                         >';
pos=35,1   val='                                                                       ';
pos=36,1   val='                   >';
pos=37,1   val='                                                                         ';
pos=38,1   val='                                                                         ';
pos=39,1   val='                                                                         ';
pos=40,1   val='                                                    >';
pos=41,1   val='                                                                         ';
pos=42,1   val='                                                         >     ';
pos=43,1   val='                                                                       ';
pos=44,1   val='                                                         >';
pos=45,1   val='                                                                     ';
pos=46,1   val='                   >';
pos=47,1   val='                                                                 ';
pos=48,1   val='                                                         >';
pos=49,1   val='                                                                  ';
pos=50,1   val='                                                         >';
pos=51,1   val='                                                                         ';
pos=52,1   val='                                                    >';
pos=53,1   val='                                                                          ';
pos=54,1   val='                                                                          ';
pos=55,1   val='                                                                          ';
pos=56,1   val='                                                    >';
pos=57,1   val='                                                                         ';
pos=58,1   val='                                                         >     ';
pos=59,1   val='                                                                       ';
pos=60,1   val='                                                         >';
pos=61,1   val='                                                                     ';
pos=62,1   val='                   >';
pos=63,1   val='                                                                   ';
pos=64,1   val='                                                           >';
pos=65,1   val='                                                                    ';
pos=66,1   val='                                                           >';
pos=67,1   val='                                                                           ';
pos=68,1   val='                                                            >';


pos=06,66  val='  PRA1';
pos=07,66  val='';
pos=08,66  val='  1    ';
pos=09,66  val='';
pos=10,66  val='  2    ';
pos=11,66  val='';
pos=12,66  val='  3    ';
pos=13,66  val='';
pos=14,66  val='  4    ';
pos=15,66  val='';
pos=16,66  val='  5    ';
pos=17,66  val='';
pos=18,66  val='  6    ';
pos=19,66  val='';
pos=20,66  val='  7    ';
pos=21,66  val='';

pos=22,66  val='  PRA2';
pos=23,66  val='';
pos=24,66  val='  1    ';
pos=25,66  val='';
pos=26,66  val='  2    ';
pos=27,66  val='';
pos=28,66  val='  3    ';
pos=29,66  val='';
pos=30,66  val='  4    ';
pos=31,66  val='';
pos=32,66  val='  5    ';
pos=33,66  val='';
pos=34,66  val='  6    ';
pos=35,66  val='';
pos=36,66  val='  7    ';
pos=37,66  val='';


pos=38,66  val='  PRA3';
pos=39,66  val='';
pos=40,66  val='  1    ';
pos=41,66  val='';
pos=42,66  val='  2    ';
pos=43,66  val='';
pos=44,66  val='  3    ';
pos=45,66  val='';
pos=46,66  val='  4    ';
pos=47,66  val='';
pos=48,66  val='  5    ';
pos=49,66  val='';
pos=50,66  val='  6    ';
pos=51,66  val='';
pos=52,66  val='  7    ';
pos=53,66  val='';

pos=54,66  val='  PRA4';
pos=55,66  val='';
pos=56,66  val='  1    ';
pos=57,66  val='';
pos=58,66  val='  2    ';
pos=59,66  val='';
pos=60,66  val='  3    ';
pos=61,66  val='';
pos=62,66  val='  4    ';
pos=63,66  val='';
pos=64,66  val='  5    ';
pos=65,66  val='';
pos=66,66  val='  6    ';
pos=67,66  val='';
pos=68,66  val='  7    ';
pos=69,66  val='';

rule=dynamic

if DN of chan=P-0072>50
    pos=08,74 val='PV6P  ';
else
    if DN of chan=P-0074=1
        pos=08,74 val='PV6P  ';
    else
        pos=08,74 val='PV6P  ' REVERSE;
    endif
endif

if DN of chan=P-0072>50
    pos=10,74 val='SAPORP';
    pos=12,74 val='SAPOLP';
    pos=14,74 val='SAPIRP';
    pos=16,74 val='SAPILP';
    pos=18,74 val='SPARE ';
else
    if DN of chan=P-0076=1
        pos=10,74 val='SAPORP';
        pos=12,74 val='SAPOLP';
        pos=14,74 val='SAPIRP';
        pos=16,74 val='SAPILP';
        pos=18,74 val='SPARE ';
    else
        pos=10,74 val='SAPORP' REVERSE;
        pos=12,74 val='SAPOLP' REVERSE;
        pos=14,74 val='SAPIRP' REVERSE;
        pos=16,74 val='SAPILP' REVERSE;
        pos=18,74 val='SPARE ' REVERSE;
    endif
endif

if DN of chan=P-0072>50
    pos=26,74 val='SAMORP';
    pos=28,74 val='SAMOLP';
    pos=30,74 val='SAMIRP';
    pos=32,74 val='SAMILP';
    pos=34,74 val='SPARE ';
else
    if DN of chan=P-0078=1
        pos=26,74 val='SAMORP';
        pos=28,74 val='SAMOLP';
        pos=30,74 val='SAMIRP';
        pos=32,74 val='SAMILP';
        pos=34,74 val='SPARE ';
    else
        pos=26,74 val='SAMORP' REVERSE;
        pos=28,74 val='SAMOLP' REVERSE;
        pos=30,74 val='SAMIRP' REVERSE;
        pos=32,74 val='SAMILP' REVERSE;
        pos=34,74 val='SPARE ' REVERSE;
    endif
endif

if DN of chan=P-0064>50
    pos=20,74 val='PV2P  ';
    pos=24,74 val='PV12P ';
    pos=36,74 val='HGA1P ';
    pos=40,74 val='HGA2P ';
    pos=52,74 val='HGA3P ';
else
    if DN of chan=P-0065=1
        pos=20,74 val='PV2P  ';
        pos=24,74 val='PV12P ';
        pos=36,74 val='HGA1P ';
        pos=40,74 val='HGA2P ';
        pos=52,74 val='HGA3P ';
    else
        pos=20,74 val='PV2P  ' REVERSE;
        pos=24,74 val='PV12P ' REVERSE;
        pos=36,74 val='HGA1P ' REVERSE;
        pos=40,74 val='HGA2P ' REVERSE;
        pos=52,74 val='HGA3P ' REVERSE;
    endif
endif

if DN of chan=P-0068=1
    pos=42,74 val='PV3P  ';
    pos=44,74 val='PV4P  ';
    pos=46,74 val='PV5P  ';
    pos=48,74 val='PV10P ';
    pos=50,74 val='PV11P ';
else
    if DN of chan=P-0069=1
        pos=42,74 val='PV3P  ';
        pos=44,74 val='PV4P  ';
        pos=46,74 val='PV5P  ';
        pos=48,74 val='PV10P ';
        pos=50,74 val='PV11P ';
    else
        pos=42,74 val='PV3P  ' REVERSE;
        pos=44,74 val='PV4P  ' REVERSE;
        pos=46,74 val='PV5P  ' REVERSE;
        pos=48,74 val='PV10P ' REVERSE;
        pos=50,74 val='PV11P ' REVERSE;
    endif
endif

if DN of chan=P-0060>50
    pos=56,74 val='PV1P  ';
    pos=58,74 val='PV7P  ';
    pos=60,74 val='PV8P  ';
    pos=62,74 val='PV9P  ';
    pos=64,74 val='PV13P ';
    pos=66,74 val='PV14P ';
else
    if DN of chan=P-0061=1
        pos=56,74 val='PV1P  ';
        pos=58,74 val='PV7P  ';
        pos=60,74 val='PV8P  ';
        pos=62,74 val='PV9P  ';
        pos=64,74 val='PV13P ';
        pos=66,74 val='PV14P ';
    else
        pos=56,74 val='PV1P  ' REVERSE;
        pos=58,74 val='PV7P  ' REVERSE;
        pos=60,74 val='PV8P  ' REVERSE;
        pos=62,74 val='PV9P  ' REVERSE;
        pos=64,74 val='PV13P ' REVERSE;
        pos=66,74 val='PV14P ' REVERSE;
    endif
endif

pos=68,74 val='SPARE ';


if DN of chan=P-0074=1
    pos=07,43  val='  ';
    pos=08,43  val='  ';
    pos=09,38  val='PV6pyroA_ARM';
    pos=10,38  val=STATE_NAME chan=P-0074 fmt="%12.12s";
else
    pos=07,43  val='      ';
    pos=08,43  val='' ;
    pos=09,38  val='PV6pyroA_ARM' REVERSE;
    pos=10,38  val=STATE_NAME chan=P-0074 fmt="%12.12s";
endif

if DN of chan=P-0076=1
    pos=13,43  val='  ';
    pos=14,43  val='  ';
    pos=15,38  val='SA+YpyrA_ARM';
    pos=16,38  val=STATE_NAME chan=P-0076 fmt="%12.12s";
else
    pos=13,43  val='      ';
    pos=14,43  val='' ;
    pos=15,38  val='SA+YpyrA_ARM' REVERSE;
    pos=16,38  val=STATE_NAME chan=P-0076 fmt="%12.12s";
endif

if DN of chan=P-0078=1
    pos=29,43  val='  ';
    pos=30,43  val='  ';
    pos=31,38  val='SA-YpyrA_ARM';
    pos=32,38  val=STATE_NAME chan=P-0078 fmt="%12.12s";
else
    pos=29,43  val='      ';
    pos=30,43  val='' ;
    pos=31,38  val='SA-YpyrA_ARM' REVERSE;
    pos=32,38  val=STATE_NAME chan=P-0078 fmt="%12.12s";
endif

if DN of chan=P-0065=1
    pos=35,43  val='  ';
    pos=36,43  val='  ';
    pos=37,38  val='MAPpyroA_ARM';
    pos=38,38  val=STATE_NAME chan=P-0065 fmt="%12.12s";
else
    pos=35,43  val='      ';
    pos=36,43  val='' ;
    pos=37,38  val='MAPpyroA_ARM' REVERSE;
    pos=38,38  val=STATE_NAME chan=P-0065 fmt="%12.12s";
endif

if DN of chan=P-0069=1
    pos=45,43  val='  ';
    pos=46,43  val='  ';
    pos=47,38  val='MIDpyroA_ARM';
    pos=48,38  val=STATE_NAME chan=P-0069 fmt="%12.12s";
else
    pos=45,43  val='      ';
    pos=46,43  val='' ;
    pos=47,38  val='MIDpyroA_ARM' REVERSE;
    pos=48,38  val=STATE_NAME chan=P-0069 fmt="%12.12s";
endif

if DN of chan=P-0061=1
    pos=61,43  val='  ';
    pos=62,43  val='  ';
    pos=63,38  val='CNTpyroA_ARM';
    pos=64,38  val=STATE_NAME chan=P-0061 fmt="%12.12s";
else
    pos=61,43  val='      ';
    pos=62,43  val='' ;
    pos=63,38  val='CNTpyroA_ARM' REVERSE;
    pos=64,38  val=STATE_NAME chan=P-0061 fmt="%12.12s";
endif


if DN of chan=P-0072>50
    pos=13,23  val='  ';
    pos=14,23  val='  ';
    pos=15,18  val='PTCMpyrA_ENA';
    pos=16,18  val=EU chan=P-0072 fmt="%6.2f";
    pos=16,25  val='volts';
else
    pos=13,23  val='      ';
    pos=14,23  val='' ;
    pos=15,18  val='PTCMpyrA_ENA' REVERSE;
    pos=16,18  val=EU chan=P-0072 fmt="%6.2f";
    pos=16,25  val='volts';
endif

if DN of chan=P-0064>50
    pos=35,23  val='  ';
    pos=36,23  val='  ';
    pos=37,18  val='MAPpyroA_ENA';
    pos=38,18  val=EU chan=P-0064 fmt="%6.2f";
    pos=38,25  val='volts';
else
    pos=35,23  val='      ';
    pos=36,23  val='' ;
    pos=37,18  val='MAPpyroA_ENA' REVERSE;
    pos=38,18  val=EU chan=P-0064 fmt="%6.2f";
    pos=38,25  val='volts';
endif

if DN of chan=P-0068=1
    pos=45,23  val='  ';
    pos=46,23  val='  ';
    pos=47,18  val='MIDpyroA_ENA';
    pos=48,18  val=STATE_NAME chan=P-0068 fmt="%12.12s";
else
    pos=45,23  val='      ';
    pos=46,23  val='' ;
    pos=47,18  val='MIDpyroA_ENA' REVERSE;
    pos=48,18  val=STATE_NAME chan=P-0068 fmt="%12.12s";
endif

if DN of chan=P-0060>50
    pos=61,23  val='  ';
    pos=62,23  val='  ';
    pos=63,18  val='CNTpyroA_ENA';
    pos=64,18  val=EU chan=P-0060 fmt="%6.2f";
    pos=64,25  val='volts';
else
    pos=61,23  val='      ';
    pos=62,23  val='' ;
    pos=63,18  val='CNTpyroA_ENA' REVERSE;
    pos=64,18  val=EU chan=P-0060 fmt="%6.2f";
    pos=64,25  val='volts';
endif





ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_secondary_pyro_fix.tdl                                       #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: PYRO SECONDARY Fixed Page                                         #
# BASELINED: OGS 12-04-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=69,80  pos=4,1 # mgs_secondary_pyro_fix.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR ';
pos=04,1   val='   SECONDARY PYRO FIRING SCHEMATIC           ';
pos=06,1   val='                                  ';
pos=07,1   val='   BATTERY xxx                            ';
pos=08,1   val='                                     > ';
pos=09,1   val='                                       ';
pos=10,1   val='                                                         >    ';
pos=11,1   val='                                                         ';
pos=12,1   val='                                                         > ';
pos=13,1   val='    ~15V                                                 ';
pos=14,1   val='         >';
pos=15,1   val='                                                           ';
pos=16,1   val='                                                        >   ';
pos=17,1   val='                                                        ';
pos=18,1   val='                                                        >    ';
pos=19,1   val='                                                                       ';
pos=20,1   val='                                                  >            ';
pos=21,1   val='                                                                        ';
pos=22,1   val='                                                                        ';
pos=23,1   val='                                                                       ';
pos=24,1   val='                                                   >';
pos=25,1   val='                                                                                          ';
pos=26,1   val='                                                        >';
pos=27,1   val='                                                                 ';
pos=28,1   val='                                                        >';
pos=29,1   val='                                                               ';
pos=30,1   val='                                    > ';
pos=31,1   val='                                                                 ';
pos=32,1   val='                                                         >';
pos=33,1   val='                                                                  ';
pos=34,1   val='                                                         >';
pos=35,1   val='                                                                       ';
pos=36,1   val='                   >';
pos=37,1   val='                                                                         ';
pos=38,1   val='                                                                         ';
pos=39,1   val='                                                                         ';
pos=40,1   val='                                                    >';
pos=41,1   val='                                                                         ';
pos=42,1   val='                                                         >     ';
pos=43,1   val='                                                                       ';
pos=44,1   val='                                                         >';
pos=45,1   val='                                                                     ';
pos=46,1   val='                   >';
pos=47,1   val='                                                                 ';
pos=48,1   val='                                                         >';
pos=49,1   val='                                                                  ';
pos=50,1   val='                                                         >';
pos=51,1   val='                                                                         ';
pos=52,1   val='                                                    >';
pos=53,1   val='                                                                          ';
pos=54,1   val='                                                                          ';
pos=55,1   val='                                                                          ';
pos=56,1   val='                                                    >';
pos=57,1   val='                                                                         ';
pos=58,1   val='                                                         >     ';
pos=59,1   val='                                                                       ';
pos=60,1   val='                                                         >';
pos=61,1   val='                                                                     ';
pos=62,1   val='                   >';
pos=63,1   val='                                                                   ';
pos=64,1   val='                                                           >';
pos=65,1   val='                                                                    ';
pos=66,1   val='                                                           >';
pos=67,1   val='                                                                           ';
pos=68,1   val='                                                            >';


pos=06,66  val='  PRA1';
pos=07,66  val='';
pos=08,66  val='  1    ';
pos=09,66  val='';
pos=10,66  val='  2    ';
pos=11,66  val='';
pos=12,66  val='  3    ';
pos=13,66  val='';
pos=14,66  val='  4    ';
pos=15,66  val='';
pos=16,66  val='  5    ';
pos=17,66  val='';
pos=18,66  val='  6    ';
pos=19,66  val='';
pos=20,66  val='  7    ';
pos=21,66  val='';

pos=22,66  val='  PRA2';
pos=23,66  val='';
pos=24,66  val='  1    ';
pos=25,66  val='';
pos=26,66  val='  2    ';
pos=27,66  val='';
pos=28,66  val='  3    ';
pos=29,66  val='';
pos=30,66  val='  4    ';
pos=31,66  val='';
pos=32,66  val='  5    ';
pos=33,66  val='';
pos=34,66  val='  6    ';
pos=35,66  val='';
pos=36,66  val='  7    ';
pos=37,66  val='';


pos=38,66  val='  PRA3';
pos=39,66  val='';
pos=40,66  val='  1    ';
pos=41,66  val='';
pos=42,66  val='  2    ';
pos=43,66  val='';
pos=44,66  val='  3    ';
pos=45,66  val='';
pos=46,66  val='  4    ';
pos=47,66  val='';
pos=48,66  val='  5    ';
pos=49,66  val='';
pos=50,66  val='  6    ';
pos=51,66  val='';
pos=52,66  val='  7    ';
pos=53,66  val='';

pos=54,66  val='  PRA4';
pos=55,66  val='';
pos=56,66  val='  1    ';
pos=57,66  val='';
pos=58,66  val='  2    ';
pos=59,66  val='';
pos=60,66  val='  3    ';
pos=61,66  val='';
pos=62,66  val='  4    ';
pos=63,66  val='';
pos=64,66  val='  5    ';
pos=65,66  val='';
pos=66,66  val='  6    ';
pos=67,66  val='';
pos=68,66  val='  7    ';
pos=69,66  val='';

rule=dynamic

if DN of chan=P-0073>50
    pos=08,74 val='PV6S  ';
else
    if DN of chan=P-0075=1
        pos=08,74 val='PV6S  ';
    else
        pos=08,74 val='PV6S  ' REVERSE;
    endif
endif

if DN of chan=P-0073>50
    pos=10,74 val='SAPORS';
    pos=12,74 val='SAPOLS';
    pos=14,74 val='SAPIRS';
    pos=16,74 val='SAPILS';
    pos=18,74 val='SPARE ';
else
    if DN of chan=P-0077=1
        pos=10,74 val='SAPORS';
        pos=12,74 val='SAPOLS';
        pos=14,74 val='SAPIRS';
        pos=16,74 val='SAPILS';
        pos=18,74 val='SPARE ';
    else
        pos=10,74 val='SAPORS' REVERSE;
        pos=12,74 val='SAPOLS' REVERSE;
        pos=14,74 val='SAPIRS' REVERSE;
        pos=16,74 val='SAPILS' REVERSE;
        pos=18,74 val='SPARE ' REVERSE;
    endif
endif

if DN of chan=P-0073>50
    pos=26,74 val='SAMORS';
    pos=28,74 val='SAMOLS';
    pos=30,74 val='SAMIRS';
    pos=32,74 val='SAMILS';
    pos=34,74 val='SPARE ';
else
    if DN of chan=P-0079=1
        pos=26,74 val='SAMORS';
        pos=28,74 val='SAMOLS';
        pos=30,74 val='SAMIRS';
        pos=32,74 val='SAMILS';
        pos=34,74 val='SPARE ';
    else
        pos=26,74 val='SAMORS' REVERSE;
        pos=28,74 val='SAMOLS' REVERSE;
        pos=30,74 val='SAMIRS' REVERSE;
        pos=32,74 val='SAMILS' REVERSE;
        pos=34,74 val='SPARE ' REVERSE;
    endif
endif

if DN of chan=P-0066>50
    pos=20,74 val='PV2S  ';
    pos=24,74 val='PV12S ';
    pos=36,74 val='HGA1S ';
    pos=40,74 val='HGA2S ';
    pos=52,74 val='HGA3S ';
else
    if DN of chan=P-0067=1
        pos=20,74 val='PV2S  ';
        pos=24,74 val='PV12S ';
        pos=36,74 val='HGA1S ';
        pos=40,74 val='HGA2S ';
        pos=52,74 val='HGA3S ';
    else
        pos=20,74 val='PV2S  ' REVERSE;
        pos=24,74 val='PV12S ' REVERSE;
        pos=36,74 val='HGA1S ' REVERSE;
        pos=40,74 val='HGA2S ' REVERSE;
        pos=52,74 val='HGA3S ' REVERSE;
    endif
endif

if DN of chan=P-0070=1
    pos=42,74 val='PV3S  ';
    pos=44,74 val='PV4S  ';
    pos=46,74 val='PV5S  ';
    pos=48,74 val='PV10S ';
    pos=50,74 val='PV11S ';
else
    if DN of chan=P-0071=1
        pos=42,74 val='PV3S  ';
        pos=44,74 val='PV4S  ';
        pos=46,74 val='PV5S  ';
        pos=48,74 val='PV10S ';
        pos=50,74 val='PV11S ';
    else
        pos=42,74 val='PV3S  ' REVERSE;
        pos=44,74 val='PV4S  ' REVERSE;
        pos=46,74 val='PV5S  ' REVERSE;
        pos=48,74 val='PV10S ' REVERSE;
        pos=50,74 val='PV11S ' REVERSE;
    endif
endif

if DN of chan=P-0062>50
    pos=56,74 val='PV1S  ';
    pos=58,74 val='PV7S  ';
    pos=60,74 val='PV8S  ';
    pos=62,74 val='PV9S  ';
    pos=64,74 val='PV13S ';
    pos=66,74 val='PV14S ';
else
    if DN of chan=P-0063=1
        pos=56,74 val='PV1S  ';
        pos=58,74 val='PV7S  ';
        pos=60,74 val='PV8S  ';
        pos=62,74 val='PV9S  ';
        pos=64,74 val='PV13S ';
        pos=66,74 val='PV14S ';
    else
        pos=56,74 val='PV1S  ' REVERSE;
        pos=58,74 val='PV7S  ' REVERSE;
        pos=60,74 val='PV8S  ' REVERSE;
        pos=62,74 val='PV9S  ' REVERSE;
        pos=64,74 val='PV13S ' REVERSE;
        pos=66,74 val='PV14S ' REVERSE;
    endif
endif

pos=68,74 val='SPARE ';


if DN of chan=P-0075=1
    pos=07,43  val='  ';
    pos=08,43  val='  ';
    pos=09,38  val='PV6pyroB_ARM';
    pos=10,38  val=STATE_NAME chan=P-0075 fmt="%12.12s";
else
    pos=07,43  val='      ';
    pos=08,43  val='' ;
    pos=09,38  val='PV6pyroB_ARM' REVERSE;
    pos=10,38  val=STATE_NAME chan=P-0075 fmt="%12.12s";
endif

if DN of chan=P-0077=1
    pos=13,43  val='  ';
    pos=14,43  val='  ';
    pos=15,38  val='SA+YpyrB_ARM';
    pos=16,38  val=STATE_NAME chan=P-0077 fmt="%12.12s";
else
    pos=13,43  val='      ';
    pos=14,43  val='' ;
    pos=15,38  val='SA+YpyrB_ARM' REVERSE;
    pos=16,38  val=STATE_NAME chan=P-0077 fmt="%12.12s";
endif

if DN of chan=P-0079=1
    pos=29,43  val='  ';
    pos=30,43  val='  ';
    pos=31,38  val='SA-YpyrB_ARM';
    pos=32,38  val=STATE_NAME chan=P-0079 fmt="%12.12s";
else
    pos=29,43  val='      ';
    pos=30,43  val='' ;
    pos=31,38  val='SA-YpyrB_ARM' REVERSE;
    pos=32,38  val=STATE_NAME chan=P-0079 fmt="%12.12s";
endif

if DN of chan=P-0067=1
    pos=35,43  val='  ';
    pos=36,43  val='  ';
    pos=37,38  val='MAPpyroB_ARM';
    pos=38,38  val=STATE_NAME chan=P-0067 fmt="%12.12s";
else
    pos=35,43  val='      ';
    pos=36,43  val='' ;
    pos=37,38  val='MAPpyroB_ARM' REVERSE;
    pos=38,38  val=STATE_NAME chan=P-0067 fmt="%12.12s";
endif

if DN of chan=P-0071=1
    pos=45,43  val='  ';
    pos=46,43  val='  ';
    pos=47,38  val='MIDpyroB_ARM';
    pos=48,38  val=STATE_NAME chan=P-0071 fmt="%12.12s";
else
    pos=45,43  val='      ';
    pos=46,43  val='' ;
    pos=47,38  val='MIDpyroB_ARM' REVERSE;
    pos=48,38  val=STATE_NAME chan=P-0071 fmt="%12.12s";
endif

if DN of chan=P-0063=1
    pos=61,43  val='  ';
    pos=62,43  val='  ';
    pos=63,38  val='CNTpyroB_ARM';
    pos=64,38  val=STATE_NAME chan=P-0063 fmt="%12.12s";
else
    pos=61,43  val='      ';
    pos=62,43  val='' ;
    pos=63,38  val='CNTpyroB_ARM' REVERSE;
    pos=64,38  val=STATE_NAME chan=P-0063 fmt="%12.12s";
endif


if DN of chan=P-0073>50
    pos=13,23  val='  ';
    pos=14,23  val='  ';
    pos=15,18  val='PTCMpyrB_ENA';
    pos=16,18  val=EU chan=P-0073 fmt="%6.2f";
    pos=16,25  val='volts';
else
    pos=13,23  val='      ';
    pos=14,23  val='' ;
    pos=15,18  val='PTCMpyrB_ENA' REVERSE;
    pos=16,18  val=EU chan=P-0073 fmt="%6.2f";
    pos=16,25  val='volts';
endif

if DN of chan=P-0066>50
    pos=35,23  val='  ';
    pos=36,23  val='  ';
    pos=37,18  val='MAPpyroB_ENA';
    pos=38,18  val=EU chan=P-0066 fmt="%6.2f";
    pos=38,25  val='volts';
else
    pos=35,23  val='      ';
    pos=36,23  val='' ;
    pos=37,18  val='MAPpyroB_ENA' REVERSE;
    pos=38,18  val=EU chan=P-0066 fmt="%6.2f";
    pos=38,25  val='volts';
endif

if DN of chan=P-0070=1
    pos=45,23  val='  ';
    pos=46,23  val='  ';
    pos=47,18  val='MIDpyroB_ENA';
    pos=48,18  val=STATE_NAME chan=P-0070 fmt="%12.12s";
else
    pos=45,23  val='      ';
    pos=46,23  val='' ;
    pos=47,18  val='MIDpyroB_ENA' REVERSE;
    pos=48,18  val=STATE_NAME chan=P-0070 fmt="%12.12s";
endif

if DN of chan=P-0062>50
    pos=61,23  val='  ';
    pos=62,23  val='  ';
    pos=63,18  val='CNTpyroB_ENA';
    pos=64,18  val=EU chan=P-0062 fmt="%6.2f";
    pos=64,25  val='volts';
else
    pos=61,23  val='      ';
    pos=62,23  val='' ;
    pos=63,18  val='CNTpyroB_ENA' REVERSE;
    pos=64,18  val=EU chan=P-0062 fmt="%6.2f";
    pos=64,25  val='volts';
endif





ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_aacs_gmbl.tdl                                                #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: C&DH Subsystem Fixed Page #1 (Hardware Summary)                   #
# BASELINED: OGS 10-25-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=50,119 pos=4,1 # mgs_aacs_gmbl.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR AACS SUBSYSTEM GIMBAL DATA                                            ';
pos=03,1   val=' ';
pos=04,1   val='  _HGA_AZIMUTH______________________';
pos=05,1   val=' |                                  |';
pos=06,1   val=' | HGA_AZ_POS    XXXXX xxxx.xxx deg |';
pos=07,1   val=' | HGA_AZpos_CF        xxxx.xxx deg |';
pos=08,1   val=' | HGA_AZang_CF        xxxx.xxx deg |';
pos=09,1   val=' | HGA_AZ_ANG    XXXXX xxx.xxxx rad |';
pos=10,1   val=' |                                  |';
pos=11,1   val=' | HGA_AZ_TRG    XXXXX xxx.xxxx rad |';
pos=12,1   val=' |                                  |';
pos=13,1   val=' | HGA_AZ_CMD   0xXXXX              |';
pos=14,1   val=' |__________________________________|';
pos=15,1   val=' ';
pos=16,1   val='  _HGA_ELEVATION____________________';
pos=17,1   val=' |                                  |';
pos=18,1   val=' | HGA_EL_POS    XXXXX xxxx.xxx deg |';
pos=19,1   val=' | HGA_ELpos_CF        xxxx.xxx deg |';
pos=20,1   val=' | HGA_ELang_CF        xxxx.xxx deg |';
pos=21,1   val=' | HGA_EL_ANG    XXXXX xxx.xxxx rad |';
pos=22,1   val=' |                                  |';
pos=23,1   val=' | HGA_EL_TRG    XXXXX xxx.xxxx rad |';
pos=24,1   val=' |                                  |';
pos=25,1   val=' | HGA_EL_CMD   0xXXXX              |';
pos=26,1   val=' |__________________________________|';
pos=27,1   val=' ';
pos=28,1   val='  _HGA_STATUS_______________________';
pos=29,1   val=' |                                  |';
pos=30,1   val=' | HGA_TIMEOUT      XX xxxxxxxxxxxx |';
pos=31,1   val=' |                                  |';
pos=32,1   val=' | HGA_CNTRL_ST 0xXXXX              |';
pos=33,1   val=' |                                  |';
pos=34,1   val=' | HGA_STATS    0xXXXX              |';
pos=35,1   val=' |                                  |';
pos=36,1   val=' | HGA_SIDE         XX xxxxxxxxxxxx |';
pos=37,1   val=' |                                  |';
pos=38,1   val=' | HGA_AZ_MOTOR     XX xxxxxxxxxxxx |';
pos=39,1   val=' | HGA_AZ_DIREC     XX xxxxxxxxxxxx |';
pos=40,1   val=' | HGA_AZ_MODE      XX xxxxxxxxxxxx |';
pos=41,1   val=' | HGA_AZ_FWR_L     XX xxxxxxxxxxxx |';
pos=42,1   val=' | HGA_AZ_REV_L     XX xxxxxxxxxxxx |';
pos=43,1   val=' |                                  |';
pos=44,1   val=' | HGA_EL_MOTOR     XX xxxxxxxxxxxx |';
pos=45,1   val=' | HGA_EL_DIREC     XX xxxxxxxxxxxx |';
pos=46,1   val=' | HGA_EL_MODE      XX xxxxxxxxxxxx |';
pos=47,1   val=' | HGA_EL_FWR_L     XX xxxxxxxxxxxx |';
pos=48,1   val=' | HGA_EL_REV_L     XX xxxxxxxxxxxx |';
pos=49,1   val=' |__________________________________|';

rule=dynamic
pos=06,17  val=DN chan=f-0192 fmt="%6d";    pos=06,24  val=EU chan=f-0192 fmt="%8.3f";
                                            pos=07,24  val=DN chan=v-0070 fmt="%8.3f";
                                            pos=08,24  val=DN chan=v-0080 fmt="%8.3f";
pos=09,17  val=DN chan=f-0190 fmt="%6d";    pos=09,24  val=EU chan=f-0190 fmt="%8.4f";
pos=11,17  val=DN chan=f-0193 fmt="%6d";    pos=11,24  val=EU chan=f-0193 fmt="%8.4f";
pos=13,17  val=DN chan=f-0191 fmt="%#4.4x";

pos=18,17  val=DN chan=f-0197 fmt="%6d";    pos=18,24  val=EU chan=f-0197 fmt="%8.3f";
                                            pos=19,24  val=DN chan=v-0071 fmt="%8.3f";
                                            pos=20,24  val=DN chan=v-0081 fmt="%8.3f";
pos=21,17  val=DN chan=f-0195 fmt="%6d";    pos=21,24  val=EU chan=f-0195 fmt="%8.4f";
pos=23,17  val=DN chan=f-0198 fmt="%6d";    pos=23,24  val=EU chan=f-0198 fmt="%8.4f";
pos=25,17  val=DN chan=f-0196 fmt="%#4.4x";

pos=30,17  val=DN chan=f-0201 fmt="%6d";    pos=30,24  val=STATE_NAME chan=f-0201 fmt="%-12.12s";
pos=32,17  val=DN chan=f-0194 fmt="%#4.4x";
pos=34,17  val=DN chan=f-0200 fmt="%#4.4x";
pos=36,17  val=DN chan=f-0620 fmt="%6d";    pos=36,24  val=STATE_NAME chan=f-0620 fmt="%-12.12s";

pos=38,17  val=DN chan=f-0629 fmt="%6d";    pos=38,24  val=STATE_NAME chan=f-0629 fmt="%-12.12s";
pos=39,17  val=DN chan=f-0630 fmt="%6d";    pos=39,24  val=STATE_NAME chan=f-0630 fmt="%-12.12s";
pos=40,17  val=DN chan=f-0631 fmt="%6d";    pos=40,24  val=STATE_NAME chan=f-0631 fmt="%-12.12s";
pos=41,17  val=DN chan=f-0633 fmt="%6d";    pos=41,24  val=STATE_NAME chan=f-0633 fmt="%-12.12s";
pos=42,17  val=DN chan=f-0634 fmt="%6d";    pos=42,24  val=STATE_NAME chan=f-0634 fmt="%-12.12s";

pos=44,17  val=DN chan=f-0621 fmt="%6d";    pos=44,24  val=STATE_NAME chan=f-0621 fmt="%-12.12s";
pos=45,17  val=DN chan=f-0622 fmt="%6d";    pos=45,24  val=STATE_NAME chan=f-0622 fmt="%-12.12s";
pos=46,17  val=DN chan=f-0623 fmt="%6d";    pos=46,24  val=STATE_NAME chan=f-0623 fmt="%-12.12s";
pos=47,17  val=DN chan=f-0625 fmt="%6d";    pos=47,24  val=STATE_NAME chan=f-0625 fmt="%-12.12s";
pos=48,17  val=DN chan=f-0626 fmt="%6d";    pos=48,24  val=STATE_NAME chan=f-0626 fmt="%-12.12s";


rule=static
pos=04,41  val='  _SAM_AZIMUTH______________________';
pos=05,41  val=' |                                  |';
pos=06,41  val=' | SAM_AZ_POS    XXXXX xxxx.xxx deg |';
pos=07,41  val=' | SAM_AZpos_CF        xxxx.xxx deg |';
pos=08,41  val=' | SAM_AZang_CF        xxxx.xxx deg |';
pos=09,41  val=' | SAM_AZ_ANG    XXXXX xxx.xxxx rad |';
pos=10,41  val=' |                                  |';
pos=11,41  val=' | SAM_AZ_TRG    XXXXX xxx.xxxx rad |';
pos=12,41  val=' |                                  |';
pos=13,41  val=' | SAM_AZ_CMD   0xXXXX              |';
pos=14,41  val=' |__________________________________|';
pos=15,41  val=' ';
pos=16,41  val='  _SAM_ELEVATION____________________';
pos=17,41  val=' |                                  |';
pos=18,41  val=' | SAM_EL_POS    XXXXX xxxx.xxx deg |';
pos=19,41  val=' | SAM_ELpos_CF        xxxx.xxx deg |';
pos=20,41  val=' | SAM_ELang_CF        xxxx.xxx deg |';
pos=21,41  val=' | SAM_EL_ANG    XXXXX xxx.xxxx rad |';
pos=22,41  val=' |                                  |';
pos=23,41  val=' | SAM_EL_TRG    XXXXX xxx.xxxx rad |';
pos=24,41  val=' |                                  |';
pos=25,41  val=' | SAM_EL_CMD   0xXXXX              |';
pos=26,41  val=' |__________________________________|';
pos=27,41  val=' ';
pos=28,41  val='  _SAM_STATUS_______________________';
pos=29,41  val=' |                                  |';
pos=30,41  val=' | SAM_TIMEOUT      XX xxxxxxxxxxxx |';
pos=31,41  val=' |                                  |';
pos=32,41  val=' | SAM_CNTRL_ST 0xXXXX              |';
pos=33,41  val=' |                                  |';
pos=34,41  val=' | SAM_STATS    0xXXXX              |';
pos=35,41  val=' |                                  |';
pos=36,41  val=' | SAM_SIDE         XX xxxxxxxxxxxx |';
pos=37,41  val=' |                                  |';
pos=38,41  val=' | SAM_AZ_MOTOR     XX xxxxxxxxxxxx |';
pos=39,41  val=' | SAM_AZ_DIREC     XX xxxxxxxxxxxx |';
pos=40,41  val=' | SAM_AZ_MODE      XX xxxxxxxxxxxx |';
pos=41,41  val=' | SAM_AZ_FWR_L     XX xxxxxxxxxxxx |';
pos=42,41  val=' | SAM_AZ_REV_L     XX xxxxxxxxxxxx |';
pos=43,41  val=' |                                  |';
pos=44,41  val=' | SAM_EL_MOTOR     XX xxxxxxxxxxxx |';
pos=45,41  val=' | SAM_EL_DIREC     XX xxxxxxxxxxxx |';
pos=46,41  val=' | SAM_EL_MODE      XX xxxxxxxxxxxx |';
pos=47,41  val=' | SAM_EL_FWR_L     XX xxxxxxxxxxxx |';
pos=48,41  val=' | SAM_EL_REV_L     XX xxxxxxxxxxxx |';
pos=49,41  val=' |__________________________________|';

rule=dynamic
pos=06,57  val=DN chan=f-0362 fmt="%6d";    pos=06,64  val=EU chan=f-0362 fmt="%8.3f";
                                            pos=07,64  val=DN chan=v-0072 fmt="%8.3f";
                                            pos=08,64  val=DN chan=v-0082 fmt="%8.3f";
pos=09,57  val=DN chan=f-0360 fmt="%6d";    pos=09,64  val=EU chan=f-0360 fmt="%8.4f";
pos=11,57  val=DN chan=f-0363 fmt="%6d";    pos=11,64  val=EU chan=f-0363 fmt="%8.4f";
pos=13,57  val=DN chan=f-0361 fmt="%#4.4x";

pos=18,57  val=DN chan=f-0379 fmt="%6d";    pos=18,64  val=EU chan=f-0379 fmt="%8.3f";
                                            pos=19,64  val=DN chan=v-0073 fmt="%8.3f";
                                            pos=20,64  val=DN chan=v-0083 fmt="%8.3f";
pos=21,57  val=DN chan=f-0377 fmt="%6d";    pos=21,64  val=EU chan=f-0377 fmt="%8.4f";
pos=23,57  val=DN chan=f-0380 fmt="%6d";    pos=23,64  val=EU chan=f-0380 fmt="%8.4f";
pos=25,57  val=DN chan=f-0378 fmt="%#4.4x";

pos=30,57  val=DN chan=f-0388 fmt="%6d";    pos=30,64  val=STATE_NAME chan=f-0388 fmt="%-12.12s";
pos=32,57  val=DN chan=f-0375 fmt="%#4.4x";
pos=34,57  val=DN chan=f-0385 fmt="%#4.4x";
pos=36,57  val=DN chan=f-0800 fmt="%6d";    pos=36,64  val=STATE_NAME chan=f-0800 fmt="%-12.12s";

pos=38,57  val=DN chan=f-0809 fmt="%6d";    pos=38,64  val=STATE_NAME chan=f-0809 fmt="%-12.12s";
pos=39,57  val=DN chan=f-0810 fmt="%6d";    pos=39,64  val=STATE_NAME chan=f-0810 fmt="%-12.12s";
pos=40,57  val=DN chan=f-0811 fmt="%6d";    pos=40,64  val=STATE_NAME chan=f-0811 fmt="%-12.12s";
pos=41,57  val=DN chan=f-0813 fmt="%6d";    pos=41,64  val=STATE_NAME chan=f-0813 fmt="%-12.12s";
pos=42,57  val=DN chan=f-0814 fmt="%6d";    pos=42,64  val=STATE_NAME chan=f-0814 fmt="%-12.12s";

pos=44,57  val=DN chan=f-0801 fmt="%6d";    pos=44,64  val=STATE_NAME chan=f-0801 fmt="%-12.12s";
pos=45,57  val=DN chan=f-0802 fmt="%6d";    pos=45,64  val=STATE_NAME chan=f-0802 fmt="%-12.12s";
pos=46,57  val=DN chan=f-0803 fmt="%6d";    pos=46,64  val=STATE_NAME chan=f-0803 fmt="%-12.12s";
pos=47,57  val=DN chan=f-0805 fmt="%6d";    pos=47,64  val=STATE_NAME chan=f-0805 fmt="%-12.12s";
pos=48,57  val=DN chan=f-0806 fmt="%6d";    pos=48,64  val=STATE_NAME chan=f-0806 fmt="%-12.12s";


rule=static
pos=04,81  val='  _SAP_AZIMUTH______________________';
pos=05,81  val=' |                                  |';
pos=06,81  val=' | SAP_AZ_POS    XXXXX xxxx.xxx deg |';
pos=07,81  val=' | SAP_AZpos_CF        xxxx.xxx deg |';
pos=08,81  val=' | SAP_AZang_CF        xxxx.xxx deg |';
pos=09,81  val=' | SAP_AZ_ANG    XXXXX xxx.xxxx rad |';
pos=10,81  val=' |                                  |';
pos=11,81  val=' | SAP_AZ_TRG    XXXXX xxx.xxxx rad |';
pos=12,81  val=' |                                  |';
pos=13,81  val=' | SAP_AZ_CMD   0xXXXX              |';
pos=14,81  val=' |__________________________________|';
pos=15,81  val=' ';
pos=16,81  val='  _SAP_ELEVATION____________________';
pos=17,81  val=' |                                  |';
pos=18,81  val=' | SAP_EL_POS    XXXXX xxxx.xxx deg |';
pos=19,81  val=' | SAP_ELpos_CF        xxxx.xxx deg |';
pos=20,81  val=' | SAP_ELang_CF        xxxx.xxx deg |';
pos=21,81  val=' | SAP_EL_ANG    XXXXX xxx.xxxx rad |';
pos=22,81  val=' |                                  |';
pos=23,81  val=' | SAP_EL_TRG    XXXXX xxx.xxxx rad |';
pos=24,81  val=' |                                  |';
pos=25,81  val=' | SAP_EL_CMD   0xXXXX              |';
pos=26,81  val=' |__________________________________|';
pos=27,81  val=' ';
pos=28,81  val='  _SAP_STATUS_______________________';
pos=29,81  val=' |                                  |';
pos=30,81  val=' | SAP_TIMEOUT      XX xxxxxxxxxxxx |';
pos=31,81  val=' |                                  |';
pos=32,81  val=' | SAP_CNTRL_ST 0xXXXX              |';
pos=33,81  val=' |                                  |';
pos=34,81  val=' | SAP_STATS    0xXXXX              |';
pos=35,81  val=' |                                  |';
pos=36,81  val=' | SAP_SIDE         XX xxxxxxxxxxxx |';
pos=37,81  val=' |                                  |';
pos=38,81  val=' | SAP_AZ_MOTOR     XX xxxxxxxxxxxx |';
pos=39,81  val=' | SAP_AZ_DIREC     XX xxxxxxxxxxxx |';
pos=40,81  val=' | SAP_AZ_MODE      XX xxxxxxxxxxxx |';
pos=41,81  val=' | SAP_AZ_FWR_L     XX xxxxxxxxxxxx |';
pos=42,81  val=' | SAP_AZ_REV_L     XX xxxxxxxxxxxx |';
pos=43,81  val=' |                                  |';
pos=44,81  val=' | SAP_EL_MOTOR     XX xxxxxxxxxxxx |';
pos=45,81  val=' | SAP_EL_DIREC     XX xxxxxxxxxxxx |';
pos=46,81  val=' | SAP_EL_MODE      XX xxxxxxxxxxxx |';
pos=47,81  val=' | SAP_EL_FWR_L     XX xxxxxxxxxxxx |';
pos=48,81  val=' | SAP_EL_REV_L     XX xxxxxxxxxxxx |';
pos=49,81  val=' |__________________________________|';

rule=dynamic
pos=06,97  val=DN chan=f-0392 fmt="%6d";    pos=06,104 val=EU chan=f-0392 fmt="%8.3f";
                                            pos=07,104 val=DN chan=v-0074 fmt="%8.3f";
                                            pos=08,104 val=DN chan=v-0084 fmt="%8.3f";
pos=09,97  val=DN chan=f-0390 fmt="%6d";    pos=09,104 val=EU chan=f-0390 fmt="%8.4f";
pos=11,97  val=DN chan=f-0393 fmt="%6d";    pos=11,104 val=EU chan=f-0393 fmt="%8.4f";
pos=13,97  val=DN chan=f-0391 fmt="%#4.4x";

pos=18,97  val=DN chan=f-0409 fmt="%6d";    pos=18,104 val=EU chan=f-0409 fmt="%8.3f";
                                            pos=19,104 val=DN chan=v-0075 fmt="%8.3f";
                                            pos=20,104 val=DN chan=v-0085 fmt="%8.3f";
pos=21,97  val=DN chan=f-0407 fmt="%6d";    pos=21,104 val=EU chan=f-0407 fmt="%8.4f";
pos=23,97  val=DN chan=f-0410 fmt="%6d";    pos=23,104 val=EU chan=f-0410 fmt="%8.4f";
pos=25,97  val=DN chan=f-0408 fmt="%#4.4x";

pos=30,97  val=DN chan=f-0418 fmt="%6d";    pos=30,104 val=STATE_NAME chan=f-0418 fmt="%-12.12s";
pos=32,97  val=DN chan=f-0405 fmt="%#4.4x";
pos=34,97  val=DN chan=f-0415 fmt="%#4.4x";
pos=36,97  val=DN chan=f-0820 fmt="%6d";    pos=36,104 val=STATE_NAME chan=f-0820 fmt="%-12.12s";

pos=38,97  val=DN chan=f-0829 fmt="%6d";    pos=38,104 val=STATE_NAME chan=f-0829 fmt="%-12.12s";
pos=39,97  val=DN chan=f-0830 fmt="%6d";    pos=39,104 val=STATE_NAME chan=f-0830 fmt="%-12.12s";
pos=40,97  val=DN chan=f-0831 fmt="%6d";    pos=40,104 val=STATE_NAME chan=f-0831 fmt="%-12.12s";
pos=41,97  val=DN chan=f-0833 fmt="%6d";    pos=41,104 val=STATE_NAME chan=f-0833 fmt="%-12.12s";
pos=42,97  val=DN chan=f-0834 fmt="%6d";    pos=42,104 val=STATE_NAME chan=f-0834 fmt="%-12.12s";

pos=44,97  val=DN chan=f-0821 fmt="%6d";    pos=44,104 val=STATE_NAME chan=f-0821 fmt="%-12.12s";
pos=45,97  val=DN chan=f-0822 fmt="%6d";    pos=45,104 val=STATE_NAME chan=f-0822 fmt="%-12.12s";
pos=46,97  val=DN chan=f-0823 fmt="%6d";    pos=46,104 val=STATE_NAME chan=f-0823 fmt="%-12.12s";
pos=47,97  val=DN chan=f-0825 fmt="%6d";    pos=47,104 val=STATE_NAME chan=f-0825 fmt="%-12.12s";
pos=48,97  val=DN chan=f-0826 fmt="%6d";    pos=48,104 val=STATE_NAME chan=f-0826 fmt="%-12.12s";

ENDREGION
ENDTEMPLATE

TEMPLATE type=FIXED size=49,126 pos=4,1
TEXTREGION


rule=static
#
#Comments: C&DH status telemetry for core equipment
#23456789012345678901234567890123456789012345678901234567890123456789012345678901234567890123456789012345678901234567890
#--------1---------2---------3---------4---------5---------6---------7---------8---------9--------10--------11--------12
pos=1,01   val='      ***************************';
pos=2,01   val='      * MGS Systems Status Page *                                                                                            ';
pos=3,01   val='      ***************************                                              MOT1 VCO(a)--\     RF_S4: @r94@@@@@';
pos=4,01   val='  ----------------------          -------------------    --------------------  MOT2 VCO(b)---O-S4-------------------\';
pos=5,01   val=' | EDF_SIDE1_ST @r1@@@@ |--    --| XSU_SIDE1 @r32@@@ |  | KABLE_STAT @r41@@@ |------USO(c)--/                    Ka |';
pos=6,01   val='  -----------------------        | XSU1_PGC  @r33@@@ |   --------------------                                       |';
pos=7,01   val=' | EDF_SIDE2_ST @r2@@@@ |--    --| XSU1_SRC  @r34@@@ |                          -----------------------             |';
pos=8,01   val='  ======================         |     --------------  ------------------- cplr| TWTA1_FILMNT @r89@@@@ |--------\   |';
pos=9,01   val=' | PDS_A_PWR    @r3@@@@ |1-    --|    | \   /---------| MOT1_XCTR @r39@@@ |----| TWTA1_HV     @r90@@@@ |        |   |';
pos=10,01  val=' | PDS_A_OK     @r4@@@@ |2-    --|    |   O            ===================  X   =======================         |   |';
pos=11,01  val='  ----------------------         |    | /   \_________| MOT2_XCTR @r40@@@ |----| TWTA2_FILMNT @r91@@@@ |-\      |   |';
pos=12,01  val=' | PDS_B_PWR    @r5@@@@ |1-    --|    |/               -------------------     | TWTA2_HV     @r92@@@@ | |      |   |';
pos=13,01  val=' | PDS_B_OK     @r6@@@@ |2-    --|    |  MOTCROSS:  @r35@@@                     -----------------------  | A:X  |   |';
pos=14,01  val='  ======================         |    |     Cross:X        ----------------------     RF_S3: @r95@@@@@    \     |   |';
pos=15,01  val=' | SSR_1A_PWR   @r7@@@@ |--    --|    |     Uncrs:=       | USO_PWR      @r50@@@ |    RF_S2: @r96@@@@@     \   /    |';
pos=16,01  val=' | SSR_1A_MODE  @r8@@@@ |        |     --------------     | MOT1_USO_ENA @r51@@@ |                       S3  O      |';
pos=17,01  val=' | SSR_1A_CLCK  @r9@@@@ |        | XSU_SIDE2 @r36@@@ |    | MOT2_USO_ENA @r52@@@ |        -------   S2     /   \    |';
pos=18,01  val=' | SSR_1A_DENA  @r10@@@ |        | XSU2_PGC  @r37@@@ |     ----------------------  (+HGA)|LGT1(a)|---O----/     \   |';
pos=19,01  val='  ----------------------         | XSU2_SRC  @r38@@@ |  -------------------------         =======   /      B:||  |  |';
pos=20,01  val=' | SSR_1B_PWR   @r11@@@ |--    --|-------------------  | MOT1_RCV_LCK @r53@@@@   | (Skw )|LGT2(b)|--              \/';
pos=21,01  val=' | SSR_1B_MODE  @r12@@@ |          |                   | MOT1_RCV_AGC @r54@@@@   |        -------                 ---';
pos=22,01  val=' | SSR_1B_CLCK  @r13@@@ |          |                   | CDU1_LOCK    @r55@@@@   |                 ---------    / HGA \';
pos=23,01  val=' | SSR_1B_DENA  @r14@@@ |          |                   | CUD1_BIT_RT  @r56@@@@   |-------\   /----|LGR1 (+X)|';
pos=24,01  val='  ======================           |                    =========================    A:=   O  B:X  =========';
pos=25,01  val=' | SSR_2A_PWR   @r15@@@ |--    ---/                    | MOT2_RCV_LCK @r57@@@@   |-------/   \--- |HGA &    |';
pos=26,01  val=' | SSR_2A_MODE  @r16@@@ | |                            | MOT2_RCV_AGC @r58@@@@   |         S1     |LGR2 (-X)|';
pos=27,01  val=' | SSR_2A_CLCK  @r17@@@ | |                            | CDU2_LOCK    @r59@@@@   |                 ---------';
pos=28,01  val=' | SSR_2A_DENA  @r18@@@ | |                            | CDU2_BIT_RT  @r60@@@@   |   RF_S1:  @r97@@@@@';
pos=29,01  val='  ----------------------  |                             -------------------------';
pos=30,01  val=' | SSR_2B_PWR   @r19@@@ |-/                         ------------------------                            ';
pos=31,01  val=' | SSR_2B_MODE  @r20@@@ |                          | CSA_TRI_A_PWR @r65@@@@ |                           ';
pos=32,01  val=' |                      |                          | CSA_TRI_B_PWR @r66@@@@ |                           ';
pos=33,01  val=' | SSR_2B_DENA  @r22@@@ |                          | SS1_DC_CNV_V  @r67@@@@ |                           ';
pos=34,01  val='  ----------------------                           | SS2_DC_CNV_V  @r68@@@@ |  ------------------------ ';
pos=35,01  val='                                                   | GYRO1_SP_MTR  @r69@@@@ | | PSE+28_BUS_V  @r78@@@@ |';
pos=36,01  val='  ----------------------   ----------------------  | GYRO2_SP_MTR  @r70@@@@ | | PSE+28_BUS_I  @r79@@@@ |';
pos=37,01  val=' | CIU_CNTR_SCP @r23@@@ | | M_PHASE_R1S1 @r42@@@ | | GYRO3_SP_MTR  @r71@@@@ | |                        |';
pos=38,01  val=' | CIU_SCP1_NOK @r24@@@ | | M_PHASE_R2S1 @r43@@@ | | IMU_PR_AC_V   @r72@@@@ | | PAYLOAD_CUR   @r80@@@@ |';
pos=39,01  val=' | CIU_SCP2_NOK @r25@@@ | | M_PHASE_R3S1 @r44@@@ | | IMU_BU_AC_V   @r73@@@@ | |                        |';
pos=40,01  val=' | CE_SC_STATE  @r26@@@ | | M_PHS_SCU1   @r45@@@ | | IMU_PR_DC_V   @r74@@@@ | | BAT1_HI_V     @r81@@@@ |';
pos=41,01  val=' |                      | | MP_LIFTOFF1  @r46@@@ | | IMU_BU_DC_V   @r75@@@@ | | BAT1_LO_V     @r82@@@@ |';
pos=42,01  val=' | CIU_BUS_SL   @r27@@@ | |                      | | MHSA1_PWR     @r76@@@@ | | BAT2_HI_V     @r83@@@@ |';
pos=43,01  val=' | CIU_IO_X_ST  @r28@@@ | | M_PHASE_R1S2 @r47@@@ | | MHSA2_PWR     @r77@@@@ | | BAT2_LO_V     @r84@@@@ |';
pos=44,01  val=' | CIX_BUS_SL   @r29@@@ | | M_PHASE_R2S2 @r48@@@ | | RWA_X_BRG_T   @r61@@@@ | | BAT1_CHRG_CUR @r85@@@@ |';
pos=45,01  val=' | CIX_IO_X_ST  @r30@@@ | | M_PHASE_R3S2 @r49@@@ | | RWA_Y_BRG_T   @r62@@@@ | | BAT1_DISC_CUR @r86@@@@ |';
pos=46,01  val=' | CIU_CLK_SL   @r31@@@ | | M _PHS_SCU2  @r98@@@ | | RWA_Z_BRG_T   @r63@@@@ | | BAT2_CHRG_CUR @r87@@@@ |';
pos=47,01  val=' | RXO_MODE_STA @r99@@@ | | MP_LIFTOFF2  @r93@@@ | | RWA_S_BRG_T   @r64@@@@ | | BAT2_DISC_CUR @r88@@@@ |';
pos=48,01  val='  ----------------------   ----------------------    -----------------------   ------------------------';
pos=49,01  val='                                                                                                       ';
#2345678901234567890123456789012345678901234567890123456789012345678901234567890
#--------1---------2---------3---------4---------5---------6---------7---------8
# Understandable "val"s are:
# i = Integer EU
# f = Floating Point EU
# d = Integer DN
# x = Hexidecimal DN
# s  = State Name
#
# "@@" signifies the start of the "@r" anchor definitions


rule=dynamic
#
#Data for @r1
pos=5,17  val=STATE_NAME chan=c-0011 fmt="%7.7s";

#Data for @r2
pos=7,17  val=STATE_NAME chan=c-0012 fmt="%7.7s";

#Data for @r3
pos=9,17  val=STATE_NAME chan=c-0024 fmt="%7.7s";

#Data for @r4
pos=10,17  val=STATE_NAME chan=c-0022 fmt="%7.7s";

#Data for @r5
pos=12,17  val=STATE_NAME chan=c-0025 fmt="%7.7s";

#Data for @r6
pos=13,17  val=STATE_NAME chan=c-0023 fmt="%7.7s";

#Data for @r7
pos=15,17  val=STATE_NAME chan=c-0043 fmt="%7.7s";

#Data for @r8
pos=16,17  val=STATE_NAME chan=c-0041 fmt="%7.7s";

#Data for @r9
pos=17,17  val=STATE_NAME chan=c-0040 fmt="%7.7s";

#Data for @r10
pos=18,17  val=STATE_NAME chan=c-0048 fmt="%7.7s";

#Data for @r11
pos=20,17  val=STATE_NAME chan=c-0053 fmt="%7.7s";

#Data for @r12
pos=21,17  val=STATE_NAME chan=c-0051 fmt="%7.7s";

#Data for @r13
pos=22,17  val=STATE_NAME chan=c-0050 fmt="%7.7s";

#Data for @r14
pos=23,17  val=STATE_NAME chan=c-0058 fmt="%7.7s";

#Data for @r15
pos=25,17  val=STATE_NAME chan=c-0063 fmt="%7.7s";

#Data for @r16
pos=26,17  val=STATE_NAME chan=c-0061 fmt="%7.7s";

#Data for @r17
pos=27,17  val=STATE_NAME chan=c-0060 fmt="%7.7s";

#Data for @r18
pos=28,17  val=STATE_NAME chan=c-0068 fmt="%7.7s";

#Data for @r19
pos=30,17  val=STATE_NAME chan=c-0073 fmt="%7.7s";

#Data for @r20
pos=31,17  val=STATE_NAME chan=c-0071 fmt="%7.7s";

#Data for @r21
#pos=32,17  val=STATE_NAME chan=c-0070 fmt="%7.7s";

#Data for @r22
pos=33,17  val=STATE_NAME chan=c-0078 fmt="%7.7s";

#Data for @r23
pos=37,17  val=STATE_NAME chan=c-0002 fmt="%7.7s";

#Data for @r24
pos=38,17  val=STATE_NAME chan=c-0006 fmt="%7.7s";

#Data for @r25
pos=39,17  val=STATE_NAME chan=c-0007 fmt="%7.7s";

#Data for @r26
pos=40,17  val=STATE_NAME chan=f-1016 fmt="%7.7s";

#Data for @r27
pos=42,17  val=STATE_NAME chan=c-0001 fmt="%7.7s";

#Data for @r28
pos=43,17  val=STATE_NAME chan=c-0004 fmt="%7.7s";

#Data for @r29
pos=44,17  val=STATE_NAME chan=c-0009 fmt="%7.7s";

#Data for @r30
pos=45,17  val=STATE_NAME chan=c-0010 fmt="%7.7s";

#Data for @r31
pos=46,17  val=STATE_NAME chan=c-0008 fmt="%7.7s";

#Data for @r32
pos=5,46  val=STATE_NAME chan=c-0080 fmt="%7.7s";

#Data for @r33
pos=6,46  val=STATE_NAME chan=c-0085 fmt="%7.7s";

#Data for @r34
pos=7,46  val=STATE_NAME chan=c-0087 fmt="%7.7s";

#Data for @r35
pos=13,53  val=STATE_NAME chan=c-0020 fmt="%7.7s";

#Data for @r36
pos=17,46  val=STATE_NAME chan=c-0081 fmt="%7.7s";

#Data for @r37
pos=18,46  val=STATE_NAME chan=c-0086 fmt="%7.7s";

#Data for @r38
pos=19,46  val=STATE_NAME chan=c-0088 fmt="%7.7s";

#Data for @r39
pos=9,67  val=STATE_NAME chan=l-0032 fmt="%7.7s";

#Data for @r40
pos=11,67  val=STATE_NAME chan=l-0042 fmt="%7.7s";

#Data for @r41
pos=5,70  val=STATE_NAME chan=l-0090 fmt="%7.7s";

#Data for @r42
pos=37,42  val=STATE_NAME chan=c-0013 fmt="%7.7s";

#Data for @r43
pos=38,42  val=STATE_NAME chan=c-0015 fmt="%7.7s";

#Data for @r44
pos=39,42  val=STATE_NAME chan=c-0017 fmt="%7.7s";

#Data for @r45
pos=40,42  val=STATE_NAME chan=v-1007 fmt="%7.7s";

#Data for @r46
pos=41,42  val=STATE_NAME chan=f-1629 fmt="%7.7s";

#Data for @r47
pos=43,42  val=STATE_NAME chan=c-0014 fmt="%7.7s";

#Data for @r48
pos=44,42  val=STATE_NAME chan=c-0016 fmt="%7.7s";

#Data for @r49
pos=45,42  val=STATE_NAME chan=c-0018 fmt="%7.7s";

#Data for @r50
pos=15,74  val=STATE_NAME chan=l-0080 fmt="%7.7s";

#Data for @r51
pos=16,74  val=STATE_NAME chan=l-0037 fmt="%7.7s";

#Data for @r52
pos=17,74  val=STATE_NAME chan=l-0047 fmt="%7.7s";

#Data for @r53
pos=20,71  val=STATE_NAME chan=l-0035 fmt="%8.8s";

#Data for @r54
pos=21,71  val=EU chan=l-0111 fmt="%8.3g";

#Data for @r55
pos=22,71  val=STATE_NAME chan=l-0013 fmt="%8.8s";

#Data for @r56
pos=23,71  val=STATE_NAME chan=l-0012 fmt="%8.8s";

#Data for @r57
pos=25,71  val=STATE_NAME chan=l-0045 fmt="%8.8s";

#Data for @r58
pos=26,71  val=EU chan=l-0121 fmt="%8.3g";

#Data for @r59
pos=27,71  val=STATE_NAME chan=l-0023 fmt="%8.8s";

#Data for @r60
pos=28,71  val=STATE_NAME chan=l-0022 fmt="%8.8s";

#Data for @r61
pos=44,68  val=EU chan=t-0106 fmt="%8.3g";

#Data for @r62
pos=45,68  val=EU chan=t-0107 fmt="%8.3g";

#Data for @r63
pos=46,68  val=EU chan=t-0108 fmt="%8.3g";

#Data for @r64
pos=47,68  val=EU chan=t-0109 fmt="%8.3g";

#Data for @r65
pos=31,68  val=STATE_NAME chan=a-0001 fmt="%8.8s";

#Data for @r66
pos=32,68  val=STATE_NAME chan=a-0002 fmt="%8.8s";

#Data for @r67
pos=33,68  val=EU chan=a-0120 fmt="%8.3g";

#Data for @r68
pos=34,68  val=EU chan=a-0121 fmt="%8.3g";

#Data for @r69
pos=35,68  val=STATE_NAME chan=a-0003 fmt="%8.8s";

#Data for @r70
pos=36,68  val=STATE_NAME chan=a-0004 fmt="%8.8s";

#Data for @r71
pos=37,68  val=STATE_NAME chan=a-0005 fmt="%8.8s";

#Data for @r72
pos=38,68  val=EU chan=a-0141 fmt="%8.3g";

#Data for @r73
pos=39,68  val=EU chan=a-0142 fmt="%8.3g";

#Data for @r74
pos=40,68  val=EU chan=a-0143 fmt="%8.3g";

#Data for @r75
pos=41,68  val=EU chan=a-0144 fmt="%8.3g";

#Data for @r76
pos=42,68  val=STATE_NAME chan=a-0013 fmt="%8.8s";

#Data for @r77
pos=43,68  val=STATE_NAME chan=a-0014 fmt="%8.8s";

#Data for @r78
pos=35,95  val=EU chan=e-0140 fmt="%8.3g";

#Data for @r79
pos=36,95  val=EU chan=e-0141 fmt="%8.3g";

#Data for @r80
pos=38,95  val=EU chan=e-0142 fmt="%8.3g";

#Data for @r81
pos=40,95  val=EU chan=e-0101 fmt="%8.3g";

#Data for @r82
pos=41,95  val=EU chan=e-0102 fmt="%8.3g";

#Data for @r83
pos=42,95  val=EU chan=e-0111 fmt="%8.3g";

#Data for @r84
pos=43,95  val=EU chan=e-0112 fmt="%8.3g";

#Data for @r85
pos=44,95  val=EU chan=e-0105 fmt="%8.3g";

#Data for @r86
pos=45,95  val=EU chan=e-0106 fmt="%8.3g";

#Data for @r87
pos=46,95  val=EU chan=e-0115 fmt="%8.3g";

#Data for @r88
pos=47,95  val=EU chan=e-0116 fmt="%8.3g";

#Data for @r89
pos=8,95  val=STATE_NAME chan=l-0060 fmt="%8.8s";

#Data for @r90
pos=9,95  val=STATE_NAME chan=l-0061 fmt="%8.8s";

#Data for @r91
pos=11,95  val=STATE_NAME chan=l-0070 fmt="%8.8s";

#Data for @r92
pos=12,95  val=STATE_NAME chan=l-0071 fmt="%8.8s";

#Data for @r93
pos=47,42  val=STATE_NAME chan=f-1631 fmt="%7.7s";

#Data for @r94
pos=3,106  val=STATE_NAME chan=l-0053 fmt="%9.9s";

#Data for @r95
pos=14,94  val=STATE_NAME chan=l-0051 fmt="%9.9s";

#Data for @r96
pos=15,94  val=STATE_NAME chan=l-0052 fmt="%9.9s";

#Data for @r97
pos=28,94  val=STATE_NAME chan=l-0050 fmt="%9.9s";

#Data for @r98
pos=46,42  val=STATE_NAME chan=v-1008 fmt="%7.7s";

#Data for @r99
pos=47,17  val=STATE_NAME chan=c-0029 fmt="%7.7s";

#XSU Source Animation

if DN of chan=C-0080=1
 if DN of chan=C-0087=0
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='****' BOLD;
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0087=1
    pos= 5,28 val='    ';
    pos= 7,28 val='****' BOLD;
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0087=2
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='****' BOLD;
 elseif DN of chan=c-0087=3
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='****' BOLD;
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0087=4
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='****' BOLD;
    pos=25,28 val='    ';
 elseif DN of chan=c-0087=5
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='****' BOLD;
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0087=6
    pos= 5,28 val='****' BOLD;
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0087=11
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='****' BOLD;
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0087=13
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='****' BOLD;
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 endif
else
 if DN of chan=C-0088=0
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='****' BOLD;
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0088=1
    pos= 5,28 val='    ';
    pos= 7,28 val='****' BOLD;
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0088=2
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='****' BOLD;
 elseif DN of chan=c-0088=3
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='****' BOLD;
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0088=4
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='****' BOLD;
    pos=25,28 val='    ';
 elseif DN of chan=c-0088=5
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='****' BOLD;
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0088=6
    pos= 5,28 val='****' BOLD;
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0088=11
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='    ';
    pos=10,28 val='****' BOLD;
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 elseif DN of chan=c-0088=13
    pos= 5,28 val='    ';
    pos= 7,28 val='    ';
    pos=09,28 val='****' BOLD;
    pos=10,28 val='    ';
    pos=12,28 val='    ';
    pos=13,28 val='    ';
    pos=15,28 val='    ';
    pos=20,28 val='    ';
    pos=25,28 val='    ';
 endif
endif

if DN of chan=c-0020=0
 pos=09,43 val='-' BOLD;
 pos=10,43 val=' ' BOLD;
 pos=11,43 val='-' BOLD;
else
 pos=09,43 val=' ' BOLD;
 pos=10,43 val='X' BOLD;
 pos=11,43 val=' ' BOLD;
endif

if DN of chan=l-0053=1
 pos=3,93 val=' ';
 pos=4,93 val=' ';
 pos=5,93 val='/' BOLD;
elseif DN of chan=l-0053=2
 pos=3,93 val=' ';
 pos=4,93 val='-' BOLD;
 pos=5,93 val=' ';
elseif DN of chan=l-0053=4
 pos=3,93 val='\' BOLD;
 pos=4,93 val=' ';
 pos=5,93 val=' ';
else
 pos=3,93 val=' ';
 pos=4,93 val=' ';
 pos=5,93 val=' ';
endif

if DN of chan=l-0051=0
 pos=16,109 val='| |' BOLD;
else
 pos=16,109 val=' X ' BOLD;
endif

if DN of chan=l-0052=0
 pos=18,101 val=' /' BOLD;
 pos=19,101 val='/ ' BOLD;
else
 pos=18,101 val='--' BOLD;
 pos=19,101 val='  ' BOLD;
endif

if DN of chan=l-0050=0
 pos=23,92  val=' ' BOLD;
 pos=24,92  val='X' BOLD;
 pos=25,92  val=' ' BOLD;
else
 pos=23,92  val='-' BOLD;
 pos=24,92  val=' ' BOLD;
 pos=25,92  val='-' BOLD;
endif


ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_aacs_cntl.tdl                                                #
# AUTHOR: E. Dukes & Stu Spath                                                #
# COMMENTS: AACS Control Verification Parameters                              #
# BASELINED: EMD 02-22-96                                                     #
# MODIFIED:  EMD 03-29-96  Added SELTS roll,pitch,yaw error                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=82,189 pos=4,1 # mgs_aacs_cntl.tdl
TEXTREGION

rule=dynamic
pos=06,19  val=STATE_NAME chan=f-0000 fmt="%-12.12s";
pos=07,19  val=STATE_NAME chan=f-0476 fmt="%-12.12s";
pos=08,19  val=STATE_NAME chan=f-1016 fmt="%-12.12s";
pos=09,19  val=STATE_NAME chan=v-0005 fmt="%-12.12s";
pos=11,19  val=STATE_NAME chan=f-0740 fmt="%-12.12s";
pos=12,19  val=STATE_NAME chan=f-0741 fmt="%-12.12s";
pos=13,19  val=STATE_NAME chan=f-0742 fmt="%-12.12s";
pos=14,19  val=STATE_NAME chan=f-0743 fmt="%-12.12s";
pos=15,19  val=STATE_NAME chan=f-0744 fmt="%-12.12s";
pos=16,19  val=STATE_NAME chan=f-0745 fmt="%-12.12s";
pos=17,19  val=STATE_NAME chan=f-0746 fmt="%-12.12s";
pos=18,19  val=STATE_NAME chan=f-0747 fmt="%-12.12s";
pos=19,19  val=STATE_NAME chan=f-0748 fmt="%-12.12s";
pos=20,19  val=STATE_NAME chan=f-0749 fmt="%-12.12s";
pos=21,19  val=STATE_NAME chan=f-0750 fmt="%-12.12s";
pos=22,19  val=STATE_NAME chan=f-0751 fmt="%-12.12s";
pos=23,19  val=STATE_NAME chan=f-0752 fmt="%-12.12s";
pos=24,19  val=STATE_NAME chan=f-0753 fmt="%-12.12s";
pos=25,19  val=STATE_NAME chan=f-0755 fmt="%-12.12s";
pos=27,19  val=STATE_NAME chan=f-0600 fmt="%-12.12s";
pos=28,19  val=STATE_NAME chan=f-0601 fmt="%-12.12s";
pos=29,19  val=STATE_NAME chan=f-0603 fmt="%-12.12s";
pos=30,19  val=STATE_NAME chan=f-0604 fmt="%-12.12s";
pos=31,19  val=STATE_NAME chan=f-0605 fmt="%-12.12s";
pos=32,19  val=STATE_NAME chan=f-0606 fmt="%-12.12s";
pos=33,19  val=STATE_NAME chan=f-0607 fmt="%-12.12s";
pos=34,19  val=STATE_NAME chan=f-0608 fmt="%-12.12s";
pos=35,19  val=STATE_NAME chan=f-0609 fmt="%-12.12s";
pos=36,19  val=STATE_NAME chan=f-0610 fmt="%-12.12s";
pos=37,19  val=STATE_NAME chan=f-0611 fmt="%-12.12s";
pos=39,19  val=STATE_NAME chan=f-0900 fmt="%-12.12s";
pos=40,19  val=STATE_NAME chan=f-0901 fmt="%-12.12s";
pos=41,19  val=STATE_NAME chan=f-0902 fmt="%-12.12s";
pos=42,19  val=STATE_NAME chan=f-0903 fmt="%-12.12s";
pos=43,19  val=STATE_NAME chan=f-0904 fmt="%-12.12s";
pos=44,19  val=STATE_NAME chan=f-0905 fmt="%-12.12s";
pos=45,19  val=STATE_NAME chan=f-0908 fmt="%-12.12s";
pos=46,19  val=STATE_NAME chan=f-0910 fmt="%-12.12s";
pos=51,17 val=EU chan=f-0060 fmt="%10.4f";
pos=52,17 val=EU chan=f-0061 fmt="%10.4f";
pos=53,17 val=EU chan=f-0062 fmt="%10.4f";
pos=54,17 val=EU chan=f-0063 fmt="%10.4f";
pos=56,17 val=EU chan=f-0287 fmt="%10.6f";
pos=57,17 val=EU chan=f-0288 fmt="%10.6f";
pos=58,17 val=EU chan=f-0289 fmt="%10.6f";
pos=60,17 val=EU chan=f-0001 fmt="%10.7f";
pos=61,17 val=EU chan=f-0002 fmt="%10.7f";
pos=62,17 val=EU chan=f-0003 fmt="%10.7f";
pos=63,17 val=EU chan=f-0004 fmt="%10.7f";
pos=65,19  val=DN chan=f-0227 fmt="%#4.4x";
pos=66,19  val=STATE_NAME chan=f-0228 fmt="%-12.12s";
pos=67,19  val=STATE_NAME chan=f-0268 fmt="%-12.12s";

pos=08,43  val=STATE_NAME chan=p-0031 fmt="%-3.3s";    pos=08,50 val=STATE_NAME chan=p-0045 fmt="%-3.3s";  pos=08,56  val=EU chan=f-0521 fmt="%8.3f";
pos=09,43  val=STATE_NAME chan=p-0032 fmt="%-3.3s";    pos=09,50 val=STATE_NAME chan=p-0047 fmt="%-3.3s";  pos=09,56  val=EU chan=f-0522 fmt="%8.3f";
pos=10,43  val=STATE_NAME chan=p-0033 fmt="%-3.3s";    pos=10,50 val=STATE_NAME chan=p-0045 fmt="%-3.3s";  pos=10,56  val=EU chan=f-0523 fmt="%8.3f";
pos=11,43  val=STATE_NAME chan=p-0034 fmt="%-3.3s";    pos=11,50 val=STATE_NAME chan=p-0047 fmt="%-3.3s";  pos=11,56  val=EU chan=f-0524 fmt="%8.3f";
pos=12,43  val=STATE_NAME chan=p-0035 fmt="%-3.3s";    pos=12,50 val=STATE_NAME chan=p-0045 fmt="%-3.3s";  pos=12,56  val=EU chan=f-0525 fmt="%8.3f";
pos=13,43  val=STATE_NAME chan=p-0036 fmt="%-3.3s";    pos=13,50 val=STATE_NAME chan=p-0047 fmt="%-3.3s";  pos=13,56  val=EU chan=f-0526 fmt="%8.3f";
pos=14,43  val=STATE_NAME chan=p-0037 fmt="%-3.3s";    pos=14,50 val=STATE_NAME chan=p-0046 fmt="%-3.3s";  pos=14,56  val=EU chan=f-0527 fmt="%8.3f";
pos=15,43  val=STATE_NAME chan=p-0038 fmt="%-3.3s";    pos=15,50 val=STATE_NAME chan=p-0048 fmt="%-3.3s";  pos=15,56  val=EU chan=f-0528 fmt="%8.3f";
pos=16,43  val=STATE_NAME chan=p-0039 fmt="%-3.3s";    pos=16,50 val=STATE_NAME chan=p-0046 fmt="%-3.3s";  pos=16,56  val=EU chan=f-0529 fmt="%8.3f";
pos=17,43  val=STATE_NAME chan=p-0040 fmt="%-3.3s";    pos=17,50 val=STATE_NAME chan=p-0048 fmt="%-3.3s";  pos=17,56  val=EU chan=f-0530 fmt="%8.3f";
pos=18,43  val=STATE_NAME chan=p-0041 fmt="%-3.3s";    pos=18,50 val=STATE_NAME chan=p-0048 fmt="%-3.3s";  pos=18,56  val=EU chan=f-0531 fmt="%8.3f";
pos=19,43  val=STATE_NAME chan=p-0042 fmt="%-3.3s";    pos=19,50 val=STATE_NAME chan=p-0046 fmt="%-3.3s";  pos=19,56  val=EU chan=f-0532 fmt="%8.3f";
pos=20,43  val=STATE_NAME chan=p-0021 fmt="%-1.1s"; pos=20,45  val=STATE_NAME chan=p-0023 fmt="%-1.1s";    pos=20,50 val=STATE_NAME chan=p-0020 fmt="%-1.1s"; pos=20,52 val=STATE_NAME chan=p-0022 fmt="%-1.1s";  pos=20,56  val=DN chan=f-0535 fmt="%8.3f";

pos=27,43  val=STATE_NAME chan=f-1641 fmt="%-2.2s";  pos=27,54  val=STATE_NAME chan=f-1562 fmt="%-4.4s";  pos=27,61  val=STATE_NAME chan=f-1502 fmt="%-3.3s";
pos=28,43  val=STATE_NAME chan=f-1652 fmt="%-2.2s";  pos=28,54  val=STATE_NAME chan=f-1563 fmt="%-4.4s";  pos=28,61  val=STATE_NAME chan=f-1503 fmt="%-3.3s";
pos=29,43  val=STATE_NAME chan=f-1642 fmt="%-2.2s";  pos=29,54  val=STATE_NAME chan=f-1564 fmt="%-4.4s";  pos=29,61  val=STATE_NAME chan=f-1504 fmt="%-3.3s";
pos=30,54  val=STATE_NAME chan=f-1565 fmt="%-4.4s";  pos=30,61  val=STATE_NAME chan=f-1505 fmt="%-3.3s";
pos=31,43  val=STATE_NAME chan=f-1648 fmt="%-2.2s";  pos=31,54  val=STATE_NAME chan=f-1572 fmt="%-4.4s";  pos=31,61  val=STATE_NAME chan=f-1512 fmt="%-3.3s";
pos=32,43  val=STATE_NAME chan=f-1650 fmt="%-2.2s";  pos=32,54  val=STATE_NAME chan=f-1573 fmt="%-4.4s";  pos=32,61  val=STATE_NAME chan=f-1513 fmt="%-3.3s";
pos=33,43  val=STATE_NAME chan=f-1649 fmt="%-2.2s";  pos=33,54  val=STATE_NAME chan=f-1574 fmt="%-4.4s";  pos=33,61  val=STATE_NAME chan=f-1514 fmt="%-3.3s";
pos=34,43  val=STATE_NAME chan=f-1655 fmt="%-2.2s";  pos=34,54  val=STATE_NAME chan=f-1575 fmt="%-4.4s";  pos=34,61  val=STATE_NAME chan=f-1515 fmt="%-3.3s";
pos=35,43  val=STATE_NAME chan=f-1651 fmt="%-2.2s";  pos=35,54  val=STATE_NAME chan=f-1680 fmt="%-4.4s";  pos=35,61  val=STATE_NAME chan=f-1660 fmt="%-3.3s";
pos=36,54  val=STATE_NAME chan=f-1681 fmt="%-4.4s";  pos=36,61  val=STATE_NAME chan=f-1661 fmt="%-3.3s";
pos=37,54  val=STATE_NAME chan=f-1682 fmt="%-4.4s";  pos=37,61  val=STATE_NAME chan=f-1662 fmt="%-3.3s";
pos=38,54  val=STATE_NAME chan=f-1683 fmt="%-4.4s";  pos=38,61  val=STATE_NAME chan=f-1663 fmt="%-3.3s";
pos=40,61  val=STATE_NAME chan=f-0206 fmt="%-3.3s";
pos=41,61  val=STATE_NAME chan=f-0205 fmt="%-3.3s";
pos=43,58  val=DN chan=f-0056 fmt="%6d";
pos=44,58  val=DN chan=f-0057 fmt="%6d";

if DN of chan=f-1720=1
  pos=27,49  val='B';
else
  pos=27,49  val='A';
endif
if DN of chan=f-1725=1
  pos=31,49  val='B';
else
  pos=31,49  val='A';
endif
if DN of chan=f-1726=1
  pos=33,49  val='B';
else
  pos=33,49  val='A';
endif
if DN of chan=f-1727=1
  pos=32,49  val='B';
else
  pos=32,49  val='A';
endif
if DN of chan=f-1728=1
  pos=35,49  val='B';
else
  pos=35,49  val='A';
endif
if DN of chan=f-1740=0
  pos=30,48  val='323';
elseif DN of chan=f-1740=1
  pos=30,48  val='322';
elseif DN of chan=f-1740=2
  pos=30,48  val='123';
elseif DN of chan=f-1740=3
  pos=30,48  val='122';
elseif DN of chan=f-1740=4
  pos=30,48  val='313';
elseif DN of chan=f-1740=5
  pos=30,48  val='312';
elseif DN of chan=f-1740=6
  pos=30,48  val='113';
elseif DN of chan=f-1740=7
  pos=30,48  val='112';
else
  pos=30,48  val='???';
endif
if DN of chan=f-1743=7
  pos=28,48  val='YZS';
elseif DN of chan=f-1743=11
  pos=28,48  val='XZS';
elseif DN of chan=f-1743=13
  pos=28,48  val='XYS';
elseif DN of chan=f-1743=14
  pos=28,48  val='XYZ';
else
  pos=28,48  val='???';
endif
if DN of chan=f-1748=1
  pos=38,48  val=' 1  ';
elseif DN of chan=f-1748=2
  pos=38,48  val=' 2  ';
elseif DN of chan=f-1748=3
  pos=38,48  val='1,2 ';
else
  pos=38,48  val='None';
endif

if DN of chan=f-1700=1
  pos=37,43  val='SW';
elseif DN of chan=f-1701=1
  pos=37,43  val='SW';
elseif DN of chan=f-1702=1
  pos=37,43  val='SW';
elseif DN of chan=f-1700=0
  pos=37,43  val='NO';
elseif DN of chan=f-1701=0
  pos=37,43  val='NO';
elseif DN of chan=f-1702=0
  pos=37,43  val='NO';
else
  pos=37,43  val='  ';
endif
if DN of chan=f-1707=1
  pos=38,43  val='SW';
elseif DN of chan=f-1708=1
  pos=38,43  val='SW';
elseif DN of chan=f-1709=1
  pos=38,43  val='SW';
else
  pos=38,43  val='NO';
endif

pos=49,51  val=STATE_NAME chan=f-1743 fmt="%-12.12s";
pos=51,51  val=STATE_NAME chan=v-0041 fmt="%-12.12s";
pos=52,51  val=EU         chan=a-0170 fmt="%7.3f";
pos=53,51  val=EU         chan=t-0106 fmt="%7.3f";
pos=54,51  val=EU         chan=f-0356 fmt="%7.3f";
pos=55,51  val=DN         chan=v-0040 fmt="%7d";
pos=56,51  val=STATE_NAME chan=v-0042 fmt="%-12.12s";
pos=58,51  val=STATE_NAME chan=v-0045 fmt="%-12.12s";
pos=59,51  val=EU         chan=a-0171 fmt="%7.3f";
pos=60,51  val=EU         chan=t-0107 fmt="%7.3f";
pos=61,51  val=EU         chan=f-0357 fmt="%7.3f";
pos=62,51  val=DN         chan=v-0044 fmt="%7d";
pos=63,51  val=STATE_NAME chan=v-0046 fmt="%-12.12s";
pos=65,51  val=STATE_NAME chan=v-0049 fmt="%-12.12s";
pos=66,51  val=EU         chan=a-0172 fmt="%7.3f";
pos=67,51  val=EU         chan=t-0108 fmt="%7.3f";
pos=68,51  val=EU         chan=f-0358 fmt="%7.3f";
pos=69,51  val=DN         chan=v-0048 fmt="%7d";
pos=70,51  val=STATE_NAME chan=v-0050 fmt="%-12.12s";
pos=72,51  val=STATE_NAME chan=v-0053 fmt="%-12.12s";
pos=73,51  val=EU         chan=a-0173 fmt="%7.3f";
pos=74,51  val=EU         chan=t-0109 fmt="%7.3f";
pos=75,51  val=EU         chan=f-0355 fmt="%7.3f";
pos=76,51  val=DN         chan=v-0052 fmt="%7d";
pos=77,51  val=STATE_NAME chan=v-0054 fmt="%-12.12s";

pos=06,82 val=EU chan=f-0290 fmt="%10.6f";
pos=07,82 val=EU chan=f-0291 fmt="%10.6f";
pos=08,82 val=EU chan=f-0292 fmt="%10.6f";
pos=10,82 val=EU chan=f-0293 fmt="%10.6f";
pos=11,82 val=EU chan=f-0294 fmt="%10.6f";
pos=12,82 val=EU chan=f-0295 fmt="%10.6f";
pos=14,82 val=EU chan=f-0333 fmt="%10.7f";
pos=15,82 val=EU chan=f-0334 fmt="%10.7f";
pos=16,82 val=EU chan=f-0335 fmt="%10.7f";
pos=18,82 val=EU chan=f-0330 fmt="%10.7f";
pos=19,82 val=EU chan=f-0331 fmt="%10.7f";
pos=20,82 val=EU chan=f-0332 fmt="%10.7f";
pos=22,82 val=EU chan=f-0336 fmt="%10.6f";
pos=23,82 val=EU chan=f-0337 fmt="%10.6f";
pos=24,82 val=EU chan=f-0338 fmt="%10.6f";
pos=26,82 val=EU chan=f-0342 fmt="%10.6f"; pos=26,93 val=DN chan=v-0006 fmt="%-3.3s";
pos=27,82 val=EU chan=f-0343 fmt="%10.6f"; pos=27,93 val=DN chan=v-0006 fmt="%-3.3s";
pos=28,82 val=EU chan=f-0344 fmt="%10.6f"; pos=28,93 val=DN chan=v-0006 fmt="%-3.3s";
pos=30,82 val=EU chan=f-0315 fmt="%10.7f";
pos=31,82 val=EU chan=f-0316 fmt="%10.7f";
pos=32,82 val=EU chan=f-0317 fmt="%10.7f";
pos=33,82 val=EU chan=f-0318 fmt="%10.7f";

pos=38,84  val=STATE_NAME chan=f-0388 fmt="%-12.12s";
pos=39,86  val=DN chan=f-0375 fmt="%#4.4x";
pos=40,86  val=DN chan=f-0385 fmt="%#4.4x";
pos=41,86  val=STATE_NAME chan=f-0800 fmt="%-6.6s";
pos=43,84  val=DN chan=v-0072 fmt="%8.3f";
pos=44,84  val=DN chan=v-0082 fmt="%8.3f";
pos=45,84  val=EU chan=f-0363 fmt="%8.4f";
pos=46,86  val=DN chan=f-0361 fmt="%#4.4x";
pos=48,84  val=DN chan=v-0073 fmt="%8.3f";
pos=49,84  val=DN chan=v-0083 fmt="%8.3f";
pos=50,84  val=EU chan=f-0380 fmt="%8.4f";
pos=51,86  val=DN chan=f-0378 fmt="%#4.4x";
pos=53,79  val=EU chan=s-0104 fmt="%6.2f";  pos=53,86  val=EU chan=s-0105 fmt="%6.2f";
pos=54,79  val=EU chan=s-0106 fmt="%6.2f";  pos=54,86  val=EU chan=s-0107 fmt="%6.2f";
pos=59,84  val=STATE_NAME chan=f-0418 fmt="%-12.12s";
pos=60,86  val=DN chan=f-0405 fmt="%#4.4x";
pos=61,86  val=DN chan=f-0415 fmt="%#4.4x";
pos=62,86  val=STATE_NAME chan=f-0820 fmt="%-6.6s";
pos=64,84  val=DN chan=v-0074 fmt="%8.3f";
pos=65,84  val=DN chan=v-0084 fmt="%8.3f";
pos=66,84  val=EU chan=f-0393 fmt="%8.4f";
pos=67,86  val=DN chan=f-0391 fmt="%#4.4x";
pos=69,84  val=DN chan=v-0075 fmt="%8.3f";
pos=70,84  val=DN chan=v-0085 fmt="%8.3f";
pos=71,84  val=EU chan=f-0410 fmt="%8.4f";
pos=72,86  val=DN chan=f-0408 fmt="%#4.4x";
pos=74,79  val=EU chan=s-0100 fmt="%6.2f";  pos=74,86  val=EU chan=s-0101 fmt="%6.2f";
pos=75,79  val=EU chan=s-0102 fmt="%6.2f";  pos=75,86  val=EU chan=s-0103 fmt="%6.2f";

pos=06,113 val=DN chan=v-0040 fmt="%6d";
pos=07,113 val=DN chan=v-0044 fmt="%6d";
pos=08,113 val=DN chan=v-0048 fmt="%6d";
pos=09,113 val=DN chan=v-0052 fmt="%6d";
pos=11,112 val=EU chan=f-0480 fmt="%7.3f";
pos=12,112 val=EU chan=f-0481 fmt="%7.3f";
pos=13,112 val=EU chan=f-0482 fmt="%7.3f";
pos=15,113 val=STATE_NAME chan=f-0720 fmt="%-10.10s";
pos=16,113 val=STATE_NAME chan=f-0884 fmt="%-10.10s";
pos=17,113 val=STATE_NAME chan=f-0888 fmt="%-10.10s";
pos=22,113 val=EU chan=f-0470 fmt="%10.7f";
pos=23,113 val=EU chan=f-0471 fmt="%10.7f";
pos=24,113 val=EU chan=f-0472 fmt="%10.7f";
pos=26,113 val=EU chan=f-0100 fmt="%10.7f";
pos=27,113 val=EU chan=f-0101 fmt="%10.7f";
pos=28,113 val=EU chan=f-0102 fmt="%10.7f";
pos=30,113 val=EU chan=f-0438 fmt="%10.7f";
pos=31,113 val=EU chan=f-0446 fmt="%10.7f";
pos=32,113 val=EU chan=f-0447 fmt="%10.7f";
pos=34,113 val=EU chan=f-0381 fmt="%10.7f";
pos=35,113 val=EU chan=f-0382 fmt="%10.7f";
pos=36,113 val=EU chan=f-0383 fmt="%10.7f";
pos=38,113 val=EU chan=f-0411 fmt="%10.7f";
pos=39,113 val=EU chan=f-0412 fmt="%10.7f";
pos=40,113 val=EU chan=f-0413 fmt="%10.7f";

pos=45,114 val=EU         chan=a-0120 fmt="%6.2f";
pos=46,114 val=EU         chan=a-0121 fmt="%6.2f";
pos=47,114 val=EU         chan=a-0122 fmt="%6.2f";
pos=48,114 val=EU         chan=a-0123 fmt="%6.2f";
pos=50,111 val=STATE_NAME chan=f-0444 fmt="%-12.12s";
pos=52,115 val=DN chan=f-0840 fmt="%#2.2x";
pos=53,115 val=DN chan=f-0848 fmt="%#2.2x";
pos=54,115 val=DN chan=v-0061 fmt="%3d";
pos=55,115 val=DN chan=v-0062 fmt="%3d";
pos=57,114 val=DN chan=f-0442 fmt="%#4.4x";
pos=58,114 val=STATE_NAME chan=f-0868 fmt="%-9.9s";
pos=59,114 val=STATE_NAME chan=f-0869 fmt="%-9.9s";
pos=60,114 val=STATE_NAME chan=f-0870 fmt="%-9.9s";
pos=61,114 val=STATE_NAME chan=f-0873 fmt="%-9.9s";
pos=63,114 val=STATE_NAME chan=f-1720 fmt="%-9.9s";
pos=68,115 val=STATE_NAME chan=a-0001 fmt="%6.6s";
pos=69,115 val=STATE_NAME chan=a-0002 fmt="%6.6s";
pos=71,115 val=EU         chan=a-0100 fmt="%6.2f";
pos=72,115 val=EU         chan=a-0101 fmt="%6.2f";
pos=73,115 val=EU         chan=a-0102 fmt="%6.2f";
pos=74,115 val=EU         chan=a-0103 fmt="%6.2f";
pos=76,114 val=STATE_NAME chan=t-0001 fmt="%7.7s";
pos=77,114 val=STATE_NAME chan=t-0002 fmt="%7.7s";
pos=78,111 val=EU         chan=t-0100 fmt="%6.2f";

pos=06,145 val=STATE_NAME chan=f-0740 fmt="%10.10s";
pos=07,145 val=STATE_NAME chan=f-0460 fmt="%10.10s";
pos=08,149 val=DN chan=f-0464 fmt="%#4.4X";
pos=09,145 val=DN chan=f-0461 fmt="%10d";
pos=10,145 val=DN chan=f-0450 fmt="%10d";
pos=11,145 val=DN chan=f-0455 fmt="%10d";
pos=12,145 val=DN chan=f-0457 fmt="%10d";
pos=13,145 val=STATE_NAME chan=f-0605 fmt="%10.10s";
pos=14,145 val=STATE_NAME chan=f-0606 fmt="%10.10s";
pos=16,145 val=DN chan=f-0561 fmt="%10d";
pos=17,145 val=DN chan=f-0462 fmt="%10d";
pos=18,145 val=DN chan=f-0452 fmt="%10d";
pos=19,145 val=DN chan=f-0459 fmt="%10d";
pos=20,145 val=DN chan=v-0003 fmt="%10.10s";
pos=21,145 val=DN chan=v-0002 fmt="%10.4f";
pos=22,145 val=EU chan=f-0448 fmt="%10.5f";
pos=23,145 val=DN chan=f-0560 fmt="%10d";
pos=25,145 val=EU chan=f-0550 fmt="%10.5f";
pos=26,145 val=EU chan=f-0451 fmt="%10.5f";
pos=27,145 val=DN chan=f-0554 fmt="%10d";
pos=28,145 val=DN chan=f-0558 fmt="%10d";
pos=30,143 val=EU chan=f-0490 fmt="%12.9f";
pos=31,143 val=EU chan=f-0491 fmt="%12.9f";
pos=32,143 val=EU chan=f-0492 fmt="%12.9f";
pos=34,143 val=EU chan=f-0495 fmt="%12.9f";
pos=35,143 val=EU chan=f-0496 fmt="%12.9f";
pos=36,143 val=EU chan=f-0497 fmt="%12.9f";
pos=38,143 val=EU chan=f-0105 fmt="%12.9f";
pos=39,143 val=EU chan=f-0106 fmt="%12.9f";
pos=40,143 val=EU chan=f-0107 fmt="%12.9f";
pos=42,143 val=EU chan=f-0305 fmt="%12.9f";
pos=43,143 val=EU chan=f-0306 fmt="%12.9f";
pos=44,143 val=EU chan=f-0307 fmt="%12.9f";
pos=46,143 val=EU chan=f-0552 fmt="%12.9f";
pos=47,143 val=EU chan=f-0553 fmt="%12.9f";
pos=48,143 val=EU chan=f-0559 fmt="%12.9f";
pos=49,143 val=EU chan=f-0551 fmt="%12.9f";
pos=51,143 val=EU chan=f-0180 fmt="%12.9f";
pos=52,143 val=EU chan=f-0181 fmt="%12.9f";
pos=53,143 val=EU chan=f-0182 fmt="%12.9f";
pos=54,143 val=EU chan=f-0183 fmt="%12.9f";
pos=55,143 val=EU chan=f-0184 fmt="%12.9f";
pos=56,143 val=EU chan=f-0185 fmt="%12.9f";

pos=06,176 val=DN chan=f-0210 fmt="%#4.4x";
pos=07,176 val=STATE_NAME chan=f-0640 fmt="%-8.8s";
pos=08,176 val=STATE_NAME chan=f-0641 fmt="%-8.8s";
pos=09,176 val=STATE_NAME chan=f-0642 fmt="%-8.8s";
pos=10,176 val=STATE_NAME chan=f-0643 fmt="%-8.8s";
pos=11,176 val=STATE_NAME chan=f-0644 fmt="%-8.8s";
pos=12,176 val=STATE_NAME chan=f-0645 fmt="%-8.8s";
pos=13,176 val=STATE_NAME chan=f-0648 fmt="%-8.8s";
pos=14,176 val=STATE_NAME chan=f-0649 fmt="%-8.8s";
pos=15,176 val=STATE_NAME chan=f-0650 fmt="%-8.8s";
pos=16,176 val=STATE_NAME chan=f-0651 fmt="%-8.8s";
pos=17,176 val=STATE_NAME chan=f-0652 fmt="%-8.8s";
pos=18,176 val=STATE_NAME chan=f-0653 fmt="%-8.8s";
pos=19,176 val=STATE_NAME chan=f-0654 fmt="%-8.8s";
pos=20,176 val=STATE_NAME chan=f-0655 fmt="%-8.8s";
pos=22,170 val=DN chan=f-0210 fmt=BIN16;
pos=23,170 val=DN chan=f-1262 fmt=BIN16;
pos=24,170 val=DN chan=f-0220 fmt=BIN16;
pos=26,176 val=STATE_NAME chan=a-0003 fmt="%-8.8s";
pos=27,176 val=STATE_NAME chan=a-0004 fmt="%-8.8s";
pos=28,176 val=STATE_NAME chan=a-0005 fmt="%-8.8s";
pos=29,176 val=STATE_NAME chan=a-0006 fmt="%-8.8s";
pos=30,176 val=STATE_NAME chan=a-0007 fmt="%-8.8s";
pos=32,173 val=EU         chan=a-0160 fmt="%8.3f";
pos=33,173 val=EU         chan=a-0161 fmt="%8.3f";
pos=34,173 val=EU         chan=a-0162 fmt="%8.3f";
pos=36,173 val=EU         chan=a-0150 fmt="%8.3f";
pos=37,173 val=EU         chan=a-0151 fmt="%8.3f";
pos=38,173 val=EU         chan=a-0152 fmt="%8.3f";
pos=40,176 val=STATE_NAME chan=a-0008 fmt="%-8.8s";
pos=41,176 val=STATE_NAME chan=a-0009 fmt="%-8.8s";
pos=42,176 val=STATE_NAME chan=a-0010 fmt="%-8.8s";
pos=44,176 val=STATE_NAME chan=a-0011 fmt="%-8.8s";
pos=46,176 val=STATE_NAME chan=a-0020 fmt="%-8.8s";
pos=47,176 val=STATE_NAME chan=a-0021 fmt="%-8.8s";
pos=48,176 val=STATE_NAME chan=a-0022 fmt="%-8.8s";
pos=49,176 val=STATE_NAME chan=a-0023 fmt="%-8.8s";
pos=51,173 val=EU         chan=a-0132 fmt="%8.4f";
pos=52,173 val=EU         chan=a-0133 fmt="%8.4f";
pos=53,173 val=EU         chan=a-0134 fmt="%8.4f";
pos=54,173 val=EU         chan=a-0135 fmt="%8.4f";
pos=55,173 val=EU         chan=a-0130 fmt="%8.4f";
pos=56,173 val=EU         chan=a-0131 fmt="%8.4f";
pos=58,173 val=EU         chan=a-0136 fmt="%8.3f";
pos=59,173 val=EU         chan=a-0137 fmt="%8.3f";
pos=60,173 val=EU         chan=a-0138 fmt="%8.3f";
pos=62,173 val=EU         chan=a-0141 fmt="%8.3f";
pos=63,173 val=EU         chan=a-0142 fmt="%8.3f";
pos=64,173 val=EU         chan=a-0143 fmt="%8.3f";
pos=65,173 val=EU         chan=a-0144 fmt="%8.3f";
pos=67,176 val=STATE_NAME chan=a-0012 fmt="%-8.8s";
pos=68,173 val=EU         chan=a-0139 fmt="%8.3f";
pos=69,173 val=EU         chan=a-0140 fmt="%8.3f";
pos=71,173 val=EU         chan=t-0101 fmt="%8.3f";
pos=72,173 val=EU         chan=t-0102 fmt="%8.3f";

pos=61,143 val=STATE_NAME chan=f-0201 fmt="%-12.12s";
pos=62,145 val=DN chan=f-0194 fmt="%#4.4x";
pos=63,145 val=DN chan=f-0200 fmt="%#4.4x";
pos=64,145 val=STATE_NAME chan=f-0620 fmt="%-6.6s";
pos=66,143 val=DN chan=v-0070 fmt="%8.3f";
pos=67,143 val=DN chan=v-0080 fmt="%8.3f";
pos=68,143 val=EU chan=f-0193 fmt="%8.4f";
pos=69,145 val=DN chan=f-0191 fmt="%#4.4x";
pos=71,143 val=DN chan=v-0071 fmt="%8.3f";
pos=72,143 val=DN chan=v-0081 fmt="%8.3f";
pos=73,143 val=EU chan=f-0198 fmt="%8.4f";
pos=74,145 val=DN chan=f-0196 fmt="%#4.4x";
pos=76,138 val=EU chan=s-0110 fmt="%6.2f";  pos=76,145 val=EU chan=s-0111 fmt="%6.2f";

pos=77,176 val=EU         chan=a-0180 fmt="%7.4f";
pos=78,176 val=EU         chan=a-0181 fmt="%7.4f";
pos=79,176 val=EU         chan=a-0182 fmt="%7.4f";
pos=80,176 val=EU         chan=a-0183 fmt="%7.4f";

pos=72,21  val=STATE_NAME chan=a-0013 fmt="%-7.7s";
pos=73,21  val=STATE_NAME chan=a-0014 fmt="%-7.7s";
pos=74,21  val=STATE_NAME chan=f-1728 fmt="%-7.7s";
pos=76,21  val=STATE_NAME chan=t-0003 fmt="%-7.7s";
pos=77,21  val=STATE_NAME chan=t-0004 fmt="%-7.7s";
pos=78,18  val=EU         chan=t-0105 fmt="%7.2f";

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR AACS SUBSYSTEM CONTROL DATA     ';
pos=03,1   val=' ';
pos=04,1   val='  _STATUS______________________';
pos=05,1   val=' |                             |';
pos=06,1   val=' | AACS STATE     XXXXXXXXXXXX |';
pos=07,1   val=' | SUN SUBMODE    XXXXXXXXXXXX |';
pos=08,1   val=' | FSW STATE      XXXXXXXXXXXX |';
pos=09,1   val=' | CURRENT ASF    XXXXXXXXXXXX |';
pos=10,1   val=' |                             |';
pos=11,1   val=' | INERT_REF      XXXXXXXXXXXX |';
pos=12,1   val=' | BU_INERT_REF   XXXXXXXXXXXX |';
pos=13,1   val=' | MHSA_USABLE    XXXXXXXXXXXX |';
pos=14,1   val=' | SUN_MON_CHK    XXXXXXXXXXXX |';
pos=15,1   val=' | MHSA_VIEW      XXXXXXXXXXXX |';
pos=16,1   val=' | MHSA_DATA      XXXXXXXXXXXX |';
pos=17,1   val=' | SUN_FILTER     XXXXXXXXXXXX |';
pos=18,1   val=' | STAR_UPDATE    XXXXXXXXXXXX |';
pos=19,1   val=' | MNVR_ACTIVE    XXXXXXXXXXXX |';
pos=20,1   val=' | SUN_ON_ARRAY   XXXXXXXXXXXX |';
pos=21,1   val=' | NEW_MODE       XXXXXXXXXXXX |';
pos=22,1   val=' | LNCH_TACH_LK   XXXXXXXXXXXX |';
pos=23,1   val=' | SUN_MON_LIM    XXXXXXXXXXXX |';
pos=24,1   val=' | SUN_DIF_EPH    XXXXXXXXXXXX |';
pos=25,1   val=' | CM_REQ_PEND    XXXXXXXXXXXX |';
pos=26,1   val=' |                             |';
pos=27,1   val=' | BU_MODE_ENA    XXXXXXXXXXXX |';
pos=28,1   val=' | SUN_MON_EPH    XXXXXXXXXXXX |';
pos=29,1   val=' | SUN_AVOID      XXXXXXXXXXXX |';
pos=30,1   val=' | RWA_PID_INT    XXXXXXXXXXXX |';
pos=31,1   val=' | ANS_AUTO_ENA   XXXXXXXXXXXX |';
pos=32,1   val=' | SEARCH_AUTO    XXXXXXXXXXXX |';
pos=33,1   val=' | MAP_EPHEM      XXXXXXXXXXXX |';
pos=34,1   val=' | CHK_NEW_EPH    XXXXXXXXXXXX |';
pos=35,1   val=' | MHSA_DER_ATT   XXXXXXXXXXXX |';
pos=36,1   val=' | CSABU_HAS_BU   XXXXXXXXXXXX |';
pos=37,1   val=' | SSA_MODE_SW    XXXXXXXXXXXX |';
pos=38,1   val=' |                             |';
pos=39,1   val=' | CSA_OFFSET     XXXXXXXXXXXX |';
pos=40,1   val=' | NOMINAL ASF    XXXXXXXXXXXX |';
pos=41,1   val=' | C-MODE ASF     XXXXXXXXXXXX |';
pos=42,1   val=' | THRUST_LEAK    XXXXXXXXXXXX |';
pos=43,1   val=' | CONTROL_FLT    XXXXXXXXXXXX |';
pos=44,1   val=' | RWA_STICTION   XXXXXXXXXXXX |';
pos=45,1   val=' | END_OF_DRAG    XXXXXXXXXXXX |';
pos=46,1   val=' | THRUST_SEL     XXXXXXXXXXXX |';
pos=47,1   val=' |_____________________________|';
pos=48,1   val='                                ';
pos=49,1   val='  _MANEUVER PERFORMANCE________';
pos=50,1   val=' |                             |';
pos=51,1   val=' | DURATION     xxxxx.xxxx sec |';
pos=52,1   val=' | DELTA_V X    xxxxx.xxxx m/s |';
pos=53,1   val=' | DELTA_V Y    xxxxx.xxxx m/s |';
pos=54,1   val=' | DELTA_V Z    xxxxx.xxxx m/s |';
pos=55,1   val=' |                             |';
pos=56,1   val=' | DELV INT X   xxx.xxxxxx r-s |';
pos=57,1   val=' | DELV INT Y   xxx.xxxxxx r-s |';
pos=58,1   val=' | DELV INT Z   xxx.xxxxxx r-s |';
pos=59,1   val=' |                             |';
pos=60,1   val=' | ACC BIAS -X  xx.xxxxxxx m/s |';
pos=61,1   val=' | ACC BIAS -Y  xx.xxxxxxx m/s |';
pos=62,1   val=' | ACC BIAS +Z  xx.xxxxxxx m/s |';
pos=63,1   val=' | ACC BIAS  S  xx.xxxxxxx m/s |';
pos=64,1   val=' |                             |';
pos=65,1   val=' | MANUVR_FLAG    XXXXXX       |';
pos=66,1   val=' | MANUVR_STATE   XXXXXXXXXXXX |';
pos=67,1   val=' | MOI_STATUS     XXXXXXXXXXXX |';
pos=68,1   val=' |_____________________________|';

pos=04,33  val='  _THRUSTER STATUS______________';
pos=05,33  val=' |                              |';
pos=06,33  val=' | THR    ENA    ARM    ON_TIME |';
pos=07,33  val=' |                              |';
pos=08,33  val=' |  1     XXX    XXX   xxxx.xxx |';
pos=09,33  val=' |  2     XXX    XXX   xxxx.xxx |';
pos=10,33  val=' |  3     XXX    XXX   xxxx.xxx |';
pos=11,33  val=' |  4     XXX    XXX   xxxx.xxx |';
pos=12,33  val=' |  5     XXX    XXX   xxxx.xxx |';
pos=13,33  val=' |  6     XXX    XXX   xxxx.xxx |';
pos=14,33  val=' |  7     XXX    XXX   xxxx.xxx |';
pos=15,33  val=' |  8     XXX    XXX   xxxx.xxx |';
pos=16,33  val=' |  9     XXX    XXX   xxxx.xxx |';
pos=17,33  val=' |  10    XXX    XXX   xxxx.xxx |';
pos=18,33  val=' |  11    XXX    XXX   xxxx.xxx |';
pos=19,33  val=' |  12    XXX    XXX   xxxx.xxx |';
pos=20,33  val=' |  ME    X,X    X,X   xxxx.xxx |';
pos=21,33  val=' |______________________________|';
pos=22,33  val=' ';
pos=23,33  val='  _REDMAN/FAULT PROTECTION______';
pos=24,33  val=' |                              |';
pos=25,33  val=' | DEV   SWAP  SIDE  DEAD   ENA |';
pos=26,33  val=' |                              |';
pos=27,33  val=' | SSA    XX    X    XXXX   XXX |';
pos=28,33  val=' | RWA    XX    X    XXXX   XXX |';
pos=29,33  val=' | IMU    XX    -    XXXX   XXX |';
pos=30,33  val=' | GYRO   --    X    XXXX   XXX |';
pos=31,33  val=' | SAP    XX    X    XXXX   XXX |';
pos=32,33  val=' | HGA    XX    X    XXXX   XXX |';
pos=33,33  val=' | SAM    XX    X    XXXX   XXX |';
pos=34,33  val=' | ATT    XX    -    XXXX   XXX |';
pos=35,33  val=' | MHSA   XX    X    XXXX   XXX |';
pos=36,33  val=' | CSA    --    -    XXXX   XXX |';
pos=37,33  val=' | TANK   XX    -    XXXX   XXX |';
pos=38,33  val=' | REA    XX    X    XXXX   XXX |';
pos=39,33  val=' |                              |';
pos=40,33  val=' | IMU STATUS CHECK         XXX |';
pos=41,33  val=' | IMU FROZEN CHECK         XXX |';
pos=42,33  val=' |                              |';
pos=43,33  val=' | MAP LOST CTR          XXXXXX |';
pos=44,33  val=' | SUN BADCHK CTR        XXXXXX |';
pos=45,33  val=' |______________________________|';

pos=04,66  val='  _CONTROL PERFORMANCE_________';
pos=05,66  val=' |                             |';
pos=06,66  val=' | POS ERR X    xxx.xxxxxx rad |';
pos=07,66  val=' | POS ERR Y    xxx.xxxxxx rad |';
pos=08,66  val=' | POS ERR Z    xxx.xxxxxx rad |';
pos=09,66  val=' |                             |';
pos=10,66  val=' | POS INT X    xxx.xxxxxx r-s |';
pos=11,66  val=' | POS INT Y    xxx.xxxxxx r-s |';
pos=12,66  val=' | POS INT Z    xxx.xxxxxx r-s |';
pos=13,66  val=' |                             |';
pos=14,66  val=' | FILT RATE X  xx.xxxxxxx r/s |';
pos=15,66  val=' | FILT RATE Y  xx.xxxxxxx r/s |';
pos=16,66  val=' | FILT RATE Z  xx.xxxxxxx r/s |';
pos=17,66  val=' |                             |';
pos=18,66  val=' | CMD RATE X   xx.xxxxxxx r/s |';
pos=19,66  val=' | CMD RATE Y   xx.xxxxxxx r/s |';
pos=20,66  val=' | CMD RATE Z   xx.xxxxxxx r/s |';
pos=21,66  val=' |                             |';
pos=22,66  val=' | RATE INT X   xxx.xxxxxx rad |';
pos=23,66  val=' | RATE INT Y   xxx.xxxxxx rad |';
pos=24,66  val=' | RATE INT Z   xxx.xxxxxx rad |';
pos=25,66  val=' |                             |';
pos=26,66  val=' | PID TORQ X   xxx.xxxxxx xxx |';
pos=27,66  val=' | PID TORQ Y   xxx.xxxxxx xxx |';
pos=28,66  val=' | PID TORQ Z   xxx.xxxxxx xxx |';
pos=29,66  val=' |                             |';
pos=30,66  val=' | FILT QUAT 1  xx.xxxxxxx     |';
pos=31,66  val=' | FILT QUAT 2  xx.xxxxxxx     |';
pos=32,66  val=' | FILT QUAT 3  xx.xxxxxxx     |';
pos=33,66  val=' | FILT QUAT 4  xx.xxxxxxx     |';
pos=34,66  val=' |_____________________________|';
pos=35,66  val=' ' ;

pos=04,98  val='  _MOMENTUM UNLOADING_____';
pos=05,98  val=' |                        |';
pos=06,98  val=' | RWA SPD X   xxxxxx rpm |';
pos=07,98  val=' | RWA SPD Y   xxxxxx rpm |';
pos=08,98  val=' | RWA SPD Z   xxxxxx rpm |';
pos=09,98  val=' | RWA SPD S   xxxxxx rpm |';
pos=10,98  val=' |                        |';
pos=11,98  val=' | SYS MOM X  xxx.xxx Nms |';
pos=12,98  val=' | SYS MOM Y  xxx.xxx Nms |';
pos=13,98  val=' | SYS MOM Z  xxx.xxx Nms |';
pos=14,98  val=' |                        |';
pos=15,98  val=' | MOM ENABLE  XXXXXXXXXX |';
pos=16,98  val=' | MOM AXIS    XXXXXXXXXX |';
pos=17,98  val=' | MOM STATE   XXXXXXXXXX |';
pos=18,98  val=' |________________________|';
pos=19,98  val=' ';
pos=20,98  val='  _SUN STATUS_____________';
pos=21,98  val=' |                        |';
pos=22,98  val=' | RAW SUN X   xx.xxxxxxx |';
pos=23,98  val=' | RAW SUN Y   xx.xxxxxxx |';
pos=24,98  val=' | RAW SUN Z   xx.xxxxxxx |';
pos=25,98  val=' |                        |';
pos=26,98  val=' | FILT SUN X  xx.xxxxxxx |';
pos=27,98  val=' | FILT SUN Y  xx.xxxxxxx |';
pos=28,98  val=' | FILT SUN Z  xx.xxxxxxx |';
pos=29,98  val=' |                        |';
pos=30,98  val=' | SSA_DOT_PR  xx.xxxxxxx |';
pos=31,98  val=' | SSA_HDF X   xx.xxxxxxx |';
pos=32,98  val=' | SSA_HDF Y   xx.xxxxxxx |';
pos=33,98  val=' |                        |';
pos=34,98  val=' | SAM NORM X  xx.xxxxxxx |';
pos=35,98  val=' | SAM NORM Y  xx.xxxxxxx |';
pos=36,98  val=' | SAM NORM Z  xx.xxxxxxx |';
pos=37,98  val=' |                        |';
pos=38,98  val=' | SAP NORM X  xx.xxxxxxx |';
pos=39,98  val=' | SAP NORM Y  xx.xxxxxxx |';
pos=40,98  val=' | SAP NORM Z  xx.xxxxxxx |';
pos=41,98  val=' |________________________|';
pos=42,98  val=' ';

pos=04,125 val='  _STAREX______________________';
pos=05,125 val=' |                             |';
pos=06,125 val=' | INERT_REF                   |';
pos=07,125 val=' | STRX_STATE                  |';
pos=08,125 val=' | STRX_WORD                   |';
pos=09,125 val=' | STRX_S_RESET                |';
pos=10,125 val=' | STRX_CMRESET                |';
pos=11,125 val=' | STRX_MULSTAR                |';
pos=12,125 val=' | STRX_PULSECT                |';
pos=13,125 val=' | ANS_AUTO_ENA                |';
pos=14,125 val=' | SEARCH_AUTO                 |';
pos=15,125 val=' |                             |';
pos=16,125 val=' | STRX_TRANSTS                |';
pos=17,125 val=' | STRX_UNIDSTR                |';
pos=18,125 val=' | STRX_IDTRNNO                |';
pos=19,125 val=' | STRX_STAR_ID                |';
pos=20,125 val=' | SLIT_XING                   |';
pos=21,125 val=' | SLIT_TIME                   |';
pos=22,125 val=' | STIME                       |';
pos=23,125 val=' | STRX_SC_SLIT                |';
pos=24,125 val=' |                             |';
pos=25,125 val=' | STRX_CAISANG                |';
pos=26,125 val=' | STRX_HIRATIO                |';
pos=27,125 val=' | STRX_MB_CNTS                |';
pos=28,125 val=' | STRX_NB_CNTS                |';
pos=29,125 val=' |                             |';
pos=30,125 val=' | STRX_ATGAINx                |';
pos=31,125 val=' | STRX_ATGAINy                |';
pos=32,125 val=' | STRX_ATGAINz                |';
pos=33,125 val=' |                             |';
pos=34,125 val=' | STRX_BSGAINx                |';
pos=35,125 val=' | STRX_BSGAINy                |';
pos=36,125 val=' | STRX_BSGAINz                |';
pos=37,125 val=' |                             |';
pos=38,125 val=' | GYR_BI_EST_x                |';
pos=39,125 val=' | GYR_BI_EST_y                |';
pos=40,125 val=' | GYR_BI_EST_z                |';
pos=41,125 val=' |                             |';
pos=42,125 val=' | QUAT_CORR_1                 |';
pos=43,125 val=' | QUAT_CORR_2                 |';
pos=44,125 val=' | QUAT_CORR_3                 |';
pos=45,125 val=' |                             |';
pos=46,125 val=' | STRX_DOTLOS                 |';
pos=47,125 val=' | STRX_DOTPROD                |';
pos=48,125 val=' | STRX_NOIZVAR                |';
pos=49,125 val=' | STRX_CORTEST                |';
pos=50,125 val=' |                             |';
pos=51,125 val=' | GYBIASEST_xA                |';
pos=52,125 val=' | GYBIASEST_xB                |';
pos=53,125 val=' | GYBIASEST_yA                |';
pos=54,125 val=' | GYBIASEST_yB                |';
pos=55,125 val=' | GYBIASEST_zA                |';
pos=56,125 val=' | GYBIASEST_zB                |';
pos=57,125 val=' |_____________________________|';

pos=04,157 val='  _INERTIAL MEASUREMENT UNIT___';
pos=05,157 val=' |                             |';
pos=06,157 val=' | IMU_STAT_WD1    0xXXXX      |';
pos=07,157 val=' | IMU_DCsupSEL    XXXXXXXX    |';
pos=08,157 val=' | IMU_ACsupSEL    XXXXXXXX    |';
pos=09,157 val=' | CS_TRI_B_SEL    XXXXXXXX    |';
pos=10,157 val=' | CS_TRI_A_SEL    XXXXXXXX    |';
pos=11,157 val=' | CSA_TEST_SEL    XXXXXXXX    |';
pos=12,157 val=' | IMU_RATE_SEL    XXXXXXXX    |';
pos=13,157 val=' | IMU_FORMAT      XXXXXXXX    |';
pos=14,157 val=' | IMU_Ychn_SEL    XXXXXXXX    |';
pos=15,157 val=' | IMU_Xchn_SEL    XXXXXXXX    |';
pos=16,157 val=' | IMU_Zchn_SEL    XXXXXXXX    |';
pos=17,157 val=' | IMU_DATA_SEL    XXXXXXXX    |';
pos=18,157 val=' | IMU_G3_STAT     XXXXXXXX    |';
pos=19,157 val=' | IMU_G2_STAT     XXXXXXXX    |';
pos=20,157 val=' | IMU_G1_STAT     XXXXXXXX    |';
pos=21,157 val=' |                             |';
pos=22,157 val=' | IMU_STAT  xxxxxxxxxxxxxxxx  |';
pos=23,157 val=' | RDM_STAT  xxxxxxxxxxxxxxxx  |';
pos=24,157 val=' | IMU_MASK  xxxxxxxxxxxxxxxx  |';
pos=25,157 val=' |                             |';
pos=26,157 val=' | GYRO1_SP_MTR                |';
pos=27,157 val=' | GYRO2_SP_MTR                |';
pos=28,157 val=' | GYRO3_SP_MTR                |';
pos=29,157 val=' | GYR_OVRTMP_A                |';
pos=30,157 val=' | GYR_OVRTMP_B                |';
pos=31,157 val=' |                             |';
pos=32,157 val=' | GYRO1_MTR_I           mAmps |';
pos=33,157 val=' | GYRO2_MTR_I           mAmps |';
pos=34,157 val=' | GYRO3_MTR_I           mAmps |';
pos=35,157 val=' |                             |';
pos=36,157 val=' | SPMTR_PH_A_V          volts |';
pos=37,157 val=' | SPMTR_PH_B_V          volts |';
pos=38,157 val=' | SPMTR_PH_C_V          volts |';
pos=39,157 val=' |                             |';
pos=40,157 val=' | IMU_ACEL_TST    XXXXXXXX    |';
pos=41,157 val=' | IMU_DATA_CHA    XXXXXXXX    |';
pos=42,157 val=' | IMU_DATA_CHB    XXXXXXXX    |';
pos=43,157 val=' |                             |';
pos=44,157 val=' | IMU_HI_LO_ST    XXXXXXXX    |';
pos=45,157 val=' |                             |';
pos=46,157 val=' | IMU_HI_CMDP1    XXXXXXXX    |';
pos=47,157 val=' | IMU_LO_CMDP1    XXXXXXXX    |';
pos=48,157 val=' | IMU_HI_CMDP2    XXXXXXXX    |';
pos=49,157 val=' | IMU_LO_CMDP2    XXXXXXXX    |';
pos=50,157 val=' |                             |';
pos=51,157 val=' | IMU_YA-X1_TQ  xx.xxxx deg/s |';
pos=52,157 val=' | IMU_YB-X3_TQ  xx.xxxx deg/s |';
pos=53,157 val=' | IMU_ZA+Y1_TQ  xx.xxxx deg/s |';
pos=54,157 val=' | IMU_ZB+Y2_TQ  xx.xxxx deg/s |';
pos=55,157 val=' | IMU_XA-Z2_TQ  xx.xxxx deg/s |';
pos=56,157 val=' | IMU_XB-Z3_TQ  xx.xxxx deg/s |';
pos=57,157 val=' |                             |';
pos=58,157 val=' | IMU_+10_DC_V  xxx.xxx volts |';
pos=59,157 val=' | IMU_+15_DC_V  xxx.xxx volts |';
pos=60,157 val=' | IMU_-15_DC_V  xxx.xxx volts |';
pos=61,157 val=' |                             |';
pos=62,157 val=' | IMU_PR_AC_V   xxx.xxx volts |';
pos=63,157 val=' | IMU_BU_AC_V   xxx.xxx volts |';
pos=64,157 val=' | IMU_PR_DC_V   xxx.xxx volts |';
pos=65,157 val=' | IMU_BU_DC_V   xxx.xxx volts |';
pos=66,157 val=' |                             |';
pos=67,157 val=' | IMU_TCA_STAT    XXXXXXX     |';
pos=68,157 val=' | IMU_TCA_PR_V  xxx.xxx volts |';
pos=69,157 val=' | IMU_TCA_BU_V  xxx.xxx volts |';
pos=70,157 val=' |                             |';
pos=71,157 val=' | IMU_BLOCK_T   xxx.xxx deg C |';
pos=72,157 val=' | IMU_HSE_T     xxx.xxx deg C |';
pos=73,157 val=' |_____________________________|';

pos=47,33  val='  _REACTION WHEELS______________';
pos=48,33  val=' |                              |';
pos=49,33  val=' | RDM_RWA_CNFG      XXXXXX     |';
pos=50,33  val=' |                              |';
pos=51,33  val=' | RWA_X_POWER    XXXXXXXXXX    |';
pos=52,33  val=' | RWA_X_MTR_I    xxx.xxx Amps  |';
pos=53,33  val=' | RWA_X_BRG_T    xxx.xxx deg C |';
pos=54,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=55,33  val=' | RWA_X_D_SPD    xxxxxxx rpm   |';
pos=56,33  val=' | RWA_X_P_LMT    XXXXXXXXXX    |';
pos=57,33  val=' |                              |';
pos=58,33  val=' | RWA_Y_POWER    XXXXXXXXXX    |';
pos=59,33  val=' | RWA_Y_MTR_I    xxx.xxx Amps  |';
pos=60,33  val=' | RWA_Y_BRG_T    xxx.xxx deg C |';
pos=61,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=62,33  val=' | RWA_Y_D_SPD    xxxxxxx rpm   |';
pos=63,33  val=' | RWA_Y_P_LMT    XXXXXXXXXX    |';
pos=64,33  val=' |                              |';
pos=65,33  val=' | RWA_Z_POWER    XXXXXXXXXX    |';
pos=66,33  val=' | RWA_Z_MTR_I    xxx.xxx Amps  |';
pos=67,33  val=' | RWA_Z_BRG_T    xxx.xxx deg C |';
pos=68,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=69,33  val=' | RWA_Z_D_SPD    xxxxxxx rpm   |';
pos=70,33  val=' | RWA_Z_P_LMT    XXXXXXXXXX    |';
pos=71,33  val=' |                              |';
pos=72,33  val=' | RWA_S_POWER    XXXXXXXXXX    |';
pos=73,33  val=' | RWA_S_MTR_I    xxx.xxx Amps  |';
pos=74,33  val=' | RWA_S_BRG_T    xxx.xxx deg C |';
pos=75,33  val=' | RWA_WHLTRQ     xxx.xxx N-m   |';
pos=76,33  val=' | RWA_S_D_SPD    xxxxxxx rpm   |';
pos=77,33  val=' | RWA_S_P_LMT    XXXXXXXXXX    |';
pos=78,33  val=' |______________________________|';

pos=59,125 val='  _HGA_STATUS__________________';
pos=60,125 val=' |                             |';
pos=61,125 val=' | HGA_TIMEOUT    xxxxxxxxxxxx |';
pos=62,125 val=' | HGA_CNTRL_ST     0xXXXX     |';
pos=63,125 val=' | HGA_STATS        0xXXXX     |';
pos=64,125 val=' | HGA_SIDE         xxxxxx     |';
pos=65,125 val=' |                             |';
pos=66,125 val=' | HGA_AZpos_CF   xxxx.xxx deg |';
pos=67,125 val=' | HGA_AZang_CF   xxxx.xxx deg |';
pos=68,125 val=' | HGA_AZ_TRG     xxx.xxxx rad |';
pos=69,125 val=' | HGA_AZ_CMD       0xXXXX     |';
pos=70,125 val=' |                             |';
pos=71,125 val=' | HGA_ELpos_CF   xxxx.xxx deg |';
pos=72,125 val=' | HGA_ELang_CF   xxxx.xxx deg |';
pos=73,125 val=' | HGA_EL_TRG     xxx.xxxx rad |';
pos=74,125 val=' | HGA_EL_CMD       0xXXXX     |';
pos=75,125 val=' |                             |';
pos=76,125 val=' | POT_A,B   xxx.xx xxx.xx deg |';
pos=77,125 val=' |_____________________________|';

pos=36,66 val='  _SAM_STATUS__________________';
pos=37,66 val=' |                             |';
pos=38,66 val=' | SAM_TIMEOUT    xxxxxxxxxxxx |';
pos=39,66 val=' | SAM_CNTRL_ST     0xXXXX     |';
pos=40,66 val=' | SAM_STATS        0xXXXX     |';
pos=41,66 val=' | SAM_SIDE         xxxxxx     |';
pos=42,66 val=' |                             |';
pos=43,66 val=' | SAM_AZpos_CF   xxxx.xxx deg |';
pos=44,66 val=' | SAM_AZang_CF   xxxx.xxx deg |';
pos=45,66 val=' | SAM_AZ_TRG     xxx.xxxx rad |';
pos=46,66 val=' | SAM_AZ_CMD       0xXXXX     |';
pos=47,66 val=' |                             |';
pos=48,66 val=' | SAM_ELpos_CF   xxxx.xxx deg |';
pos=49,66 val=' | SAM_ELang_CF   xxxx.xxx deg |';
pos=50,66 val=' | SAM_EL_TRG     xxx.xxxx rad |';
pos=51,66 val=' | SAM_EL_CMD       0xXXXX     |';
pos=52,66 val=' |                             |';
pos=53,66 val=' | INB_POTS  xxx.xx xxx.xx deg |';
pos=54,66 val=' | OUTB_POTS xxx.xx xxx.xx deg |';
pos=55,66 val=' |_____________________________|';

pos=57,66 val='  _SAP_STATUS__________________';
pos=58,66 val=' |                             |';
pos=59,66 val=' | SAP_TIMEOUT    xxxxxxxxxxxx |';
pos=60,66 val=' | SAP_CNTRL_ST     0xXXXX     |';
pos=61,66 val=' | SAP_STATS        0xXXXX     |';
pos=62,66 val=' | SAP_SIDE         xxxxxx     |';
pos=63,66 val=' |                             |';
pos=64,66 val=' | SAP_AZpos_CF   xxxx.xxx deg |';
pos=65,66 val=' | SAP_AZang_CF   xxxx.xxx deg |';
pos=66,66 val=' | SAP_AZ_TRG     xxx.xxxx rad |';
pos=67,66 val=' | SAP_AZ_CMD       0xXXXX     |';
pos=68,66 val=' |                             |';
pos=69,66 val=' | SAP_ELpos_CF   xxxx.xxx deg |';
pos=70,66 val=' | SAP_ELang_CF   xxxx.xxx deg |';
pos=71,66 val=' | SAP_EL_TRG     xxx.xxxx rad |';
pos=72,66 val=' | SAP_EL_CMD       0xXXXX     |';
pos=73,66 val=' |                             |';
pos=74,66 val=' | INB_POTS  xxx.xx xxx.xx deg |';
pos=75,66 val=' | OUTB_POTS xxx.xx xxx.xx deg |';
pos=76,66 val=' |_____________________________|';

pos=43,98  val='  _SUN SENSOR UNIT________';
pos=44,98  val=' |                        |';
pos=45,98  val=' | SS1_DC_CNV_V  xx.xx V  |';
pos=46,98  val=' | SS2_DC_CNV_V  xx.xx V  |';
pos=47,98  val=' | SS1_ATA_I     xx.xx uA |';
pos=48,98  val=' | SS2_ATA_I     xx.xx uA |';
pos=49,98  val=' |                        |';
pos=50,98  val=' | SSA_STAT  XXXXXXXXXXXX |';
pos=51,98  val=' |                        |';
pos=52,98  val=' | SSA_RET_A_GC  0xXX  GC |';
pos=53,98  val=' | SSA_RET_B_GC  0xXX  GC |';
pos=54,98  val=' | SSA_RET_A     XXX  Cts |';
pos=55,98  val=' | SSA_RET_B     XXX  Cts |';
pos=56,98  val=' |                        |';
pos=57,98  val=' | SSA_RAW_DET  0xXXXX    |';
pos=58,98  val=' | SSA_MODE_SEL XXXXXXXXX |';
pos=59,98  val=' | SSA_SUN_SEEN XXXXXXXXX |';
pos=60,98  val=' | SSA_CMD_DET  XXXXXXXXX |';
pos=61,98  val=' | SSA_AUTO_DET XXXXXXXXX |';
pos=62,98  val=' |                        |';
pos=63,98  val=' | RDM_SIDE_SSA XXXXXXXXX |';
pos=64,98  val=' |________________________|';

pos=66,98  val='  _CELESTIAL SENSOR_______';
pos=67,98  val=' |                        |';
pos=68,98  val=' | CS_TRI_A_PWR  XXXXXX   |';
pos=69,98  val=' | CS_TRI_B_PWR  XXXXXX   |';
pos=70,98  val=' |                        |';
pos=71,98  val=' | CSA_TRA+14_V  xxx.xx V |';
pos=72,98  val=' | CSA_TRA-14_V  xxx.xx V |';
pos=73,98  val=' | CSA_TRB+14_V  xxx.xx V |';
pos=74,98  val=' | CSA_TRB-14_V  xxx.xx V |';
pos=75,98  val=' |                        |';
pos=76,98  val=' | CSA_P_HTR     XXXXXX   |';
pos=77,98  val=' | CSA_S_HTR     XXXXXX   |';
pos=78,98  val=' | CSA_T     xxx.xx deg C |';
pos=79,98  val=' |________________________|';

pos=75,157 val='  _ACCELEROMETERS______________';
pos=76,157 val=' |                             |';
pos=77,157 val=' | ACCEL_-X        xx.xxxx  Gs |';
pos=78,157 val=' | ACCEL_-Y        xx.xxxx  Gs |';
pos=79,157 val=' | ACCEL_+Z        xx.xxxx  Gs |';
pos=80,157 val=' | ACCEL_S         xx.xxxx  Gs |';
pos=81,157 val=' |_____________________________|';

pos=70,1   val='  _MARS HORIZON SENSOR_________';
pos=71,1   val=' |                             |';
pos=72,1   val=' | MHSA1_PWR        XXXXXX     |';
pos=73,1   val=' | MHSA2_PWR        XXXXXX     |';
pos=74,1   val=' | RDM_SIDE_MHSA    XXXXXX     |';
pos=75,1   val=' |                             |';
pos=76,1   val=' | MHSA_P_HTR       XXXXXX     |';
pos=77,1   val=' | MHSA_S_HTR       XXXXXX     |';
pos=78,1   val=' | MHSA_HSE_T     xxx.xx deg C |';
pos=79,1   val=' |_____________________________|';


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_prop_hw_fix.tdl                                              #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Propulsion Subsystem Fixed Page #1 (Hardware Summary)             #
# BASELINED: OGS 02-29-96                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=61,116 pos=4,1 # mgs_prop_hw_fix.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR PROPULSION SUBSYSTEM HARDWARE (PROP FIXED PAGE #1)';
pos=03,1   val=' ';
pos=04,1   val='  _MAIN ENGINE______________________';
pos=05,1   val=' |                                  |';
pos=06,1   val=' | ME_SD_A_ARM     X XXXXXXXX       |';
pos=07,1   val=' | ME_SD_A_ENA     X XXXXXXXX       |';
pos=08,1   val=' | ME_SD_B_ARM     X XXXXXXXX       |';
pos=09,1   val=' | ME_SD_B_ENA     X XXXXXXXX       |';
pos=10,1   val=' |                                  |';
pos=11,1   val=' | ME_FLNG_A_EN    X XXXXXXXX       |';
pos=12,1   val=' | ME_FLNG_A_ON    X XXXXXXXX       |';
pos=13,1   val=' | ME_FLNG_B_EN    X XXXXXXXX       |';
pos=14,1   val=' | ME_FLNG_B_ON    X XXXXXXXX       |';
pos=15,1   val=' |                                  |';
pos=16,1   val=' | ME_VALVE_T    XXX xxxxx.xx degC  |';
pos=17,1   val=' | ME_FLANGE_T1  XXX xxxxx.xx degC  |';
pos=18,1   val=' | ME_FLANGE_T2  XXX xxxxx.xx degC  |';
pos=19,1   val=' |                                  |';
pos=20,1   val=' | ME_ON_TIME      xxxxxxx.xx secs  |';
pos=21,1   val=' |__________________________________|';

rule=dynamic
pos=06,20  val=DN chan=p-0020 fmt="%1d";   pos=06,22  val=STATE_NAME chan=p-0020 fmt="%8.8s";
pos=07,20  val=DN chan=p-0021 fmt="%1d";   pos=07,22  val=STATE_NAME chan=p-0021 fmt="%8.8s";
pos=08,20  val=DN chan=p-0022 fmt="%1d";   pos=08,22  val=STATE_NAME chan=p-0022 fmt="%8.8s";
pos=09,20  val=DN chan=p-0023 fmt="%1d";   pos=09,22  val=STATE_NAME chan=p-0023 fmt="%8.8s";
pos=11,20  val=DN chan=p-0024 fmt="%1d";   pos=11,22  val=STATE_NAME chan=p-0024 fmt="%8.8s";
pos=12,20  val=DN chan=p-0025 fmt="%1d";   pos=12,22  val=STATE_NAME chan=p-0025 fmt="%8.8s";
pos=13,20  val=DN chan=p-0026 fmt="%1d";   pos=13,22  val=STATE_NAME chan=p-0026 fmt="%8.8s";
pos=14,20  val=DN chan=p-0027 fmt="%1d";   pos=14,22  val=STATE_NAME chan=p-0027 fmt="%8.8s";
pos=16,18  val=DN chan=t-0159 fmt="%3d";   pos=16,22  val=EU         chan=t-0159 fmt="%8.2f";
pos=17,18  val=DN chan=t-0161 fmt="%3d";   pos=17,22  val=EU         chan=t-0161 fmt="%8.2f";
pos=18,18  val=DN chan=t-0162 fmt="%3d";   pos=18,22  val=EU         chan=t-0162 fmt="%8.2f";
                                           pos=20,20  val=DN         chan=f-0535 fmt="%10.2f";

rule=static
pos=24,1   val='  _LATCH VALVES_____________________';
pos=25,1   val=' |                                  |';
pos=26,1   val=' | LT_V1_ENA       X XXXXXXXX       |';
pos=27,1   val=' | LT_V1_P_POS     X XXXXXXXX       |';
pos=28,1   val=' | LT_V1_S_POS     X XXXXXXXX       |';
pos=29,1   val=' |                                  |';
pos=30,1   val=' | LT_V2_ENA       X XXXXXXXX       |';
pos=31,1   val=' | LT_V2_P_POS     X XXXXXXXX       |';
pos=32,1   val=' | LT_V2_S_POS     X XXXXXXXX       |';
pos=33,1   val=' |                                  |';
pos=34,1   val=' | LT_V3_ENA       X XXXXXXXX       |';
pos=35,1   val=' | LT_V3_P_POS     X XXXXXXXX       |';
pos=36,1   val=' | LT_V3_S_POS     X XXXXXXXX       |';
pos=37,1   val=' |                                  |';
pos=38,1   val=' | LT_V4_ARM       X XXXXXXXX       |';
pos=39,1   val=' | LT_V4_ENA       X XXXXXXXX       |';
pos=40,1   val=' | LT_V4_P_POS     X XXXXXXXX       |';
pos=41,1   val=' | LT_V4_S_POS     X XXXXXXXX       |';
pos=42,1   val=' |                                  |';
pos=43,1   val=' | LT_V5_ARM       X XXXXXXXX       |';
pos=44,1   val=' | LT_V5_ENA       X XXXXXXXX       |';
pos=45,1   val=' | LT_V5_P_POS     X XXXXXXXX       |';
pos=46,1   val=' | LT_V5_S_POS     X XXXXXXXX       |';
pos=47,1   val=' |__________________________________|';

rule=dynamic
pos=26,20  val=DN chan=p-0001 fmt="%1d";   pos=26,22  val=STATE_NAME chan=p-0001 fmt="%8.8s";
pos=27,20  val=DN chan=p-0002 fmt="%1d";   pos=27,22  val=STATE_NAME chan=p-0002 fmt="%8.8s";
pos=28,20  val=DN chan=p-0003 fmt="%1d";   pos=28,22  val=STATE_NAME chan=p-0003 fmt="%8.8s";

pos=30,20  val=DN chan=p-0004 fmt="%1d";   pos=30,22  val=STATE_NAME chan=p-0004 fmt="%8.8s";
pos=31,20  val=DN chan=p-0005 fmt="%1d";   pos=31,22  val=STATE_NAME chan=p-0005 fmt="%8.8s";
pos=32,20  val=DN chan=p-0006 fmt="%1d";   pos=32,22  val=STATE_NAME chan=p-0006 fmt="%8.8s";

pos=34,20  val=DN chan=p-0007 fmt="%1d";   pos=34,22  val=STATE_NAME chan=p-0007 fmt="%8.8s";
pos=35,20  val=DN chan=p-0008 fmt="%1d";   pos=35,22  val=STATE_NAME chan=p-0008 fmt="%8.8s";
pos=36,20  val=DN chan=p-0009 fmt="%1d";   pos=36,22  val=STATE_NAME chan=p-0009 fmt="%8.8s";

pos=38,20  val=DN chan=p-0010 fmt="%1d";   pos=38,22  val=STATE_NAME chan=p-0010 fmt="%8.8s";
pos=39,20  val=DN chan=p-0011 fmt="%1d";   pos=39,22  val=STATE_NAME chan=p-0011 fmt="%8.8s";
pos=40,20  val=DN chan=p-0012 fmt="%1d";   pos=40,22  val=STATE_NAME chan=p-0012 fmt="%8.8s";
pos=41,20  val=DN chan=p-0013 fmt="%1d";   pos=41,22  val=STATE_NAME chan=p-0013 fmt="%8.8s";

pos=43,20  val=DN chan=p-0014 fmt="%1d";   pos=43,22  val=STATE_NAME chan=p-0014 fmt="%8.8s";
pos=44,20  val=DN chan=p-0015 fmt="%1d";   pos=44,22  val=STATE_NAME chan=p-0015 fmt="%8.8s";
pos=45,20  val=DN chan=p-0016 fmt="%1d";   pos=45,22  val=STATE_NAME chan=p-0016 fmt="%8.8s";
pos=46,20  val=DN chan=p-0017 fmt="%1d";   pos=46,22  val=STATE_NAME chan=p-0017 fmt="%8.8s";


rule=static
pos=52,1   val='  _TANK PRESSURES___________________';
pos=53,1   val=' |                                  |';
pos=54,1   val=' | GHe_PRS       XXX xxxxx.xx psi   |';
pos=55,1   val=' | LINE_PRS      XXX xxxxx.xx psi   |';
pos=56,1   val=' | NTO_IN_PRS    XXX xxxxx.xx psi   |';
pos=57,1   val=' | NTO_OUT_PRS   XXX xxxxx.xx psi   |';
pos=58,1   val=' | N2H4_IN_PRS   XXX xxxxx.xx psi   |';
pos=59,1   val=' | N2H4_OUT_PRS  XXX xxxxx.xx psi   |';
pos=60,1   val=' |__________________________________|';

rule=dynamic
pos=54,18  val=DN chan=p-0101 fmt="%3d";   pos=54,22  val=EU         chan=p-0101 fmt="%8.2f";
pos=55,18  val=DN chan=p-0102 fmt="%3d";   pos=55,22  val=EU         chan=p-0102 fmt="%8.2f";
pos=56,18  val=DN chan=p-0103 fmt="%3d";   pos=56,22  val=EU         chan=p-0103 fmt="%8.2f";
pos=57,18  val=DN chan=p-0105 fmt="%3d";   pos=57,22  val=EU         chan=p-0105 fmt="%8.2f";
pos=58,18  val=DN chan=p-0104 fmt="%3d";   pos=58,22  val=EU         chan=p-0104 fmt="%8.2f";
pos=59,18  val=DN chan=p-0106 fmt="%3d";   pos=59,22  val=EU         chan=p-0106 fmt="%8.2f";

rule=static
pos=04,40  val='  _THRUSTER STATUS_________________________________________________________';
pos=05,40  val=' |                                                                         |';
pos=06,40  val=' |            ARM       CB_HTR    CB_TEMP   VLV_TEMP  ON_TIME   SM_ON_TIME |';
pos=07,40  val=' |            STATUS    STATUS    DEG_C     DEG_C     SECONDS   COUNTS     |';
pos=08,40  val=' |                                                                         |';
pos=09,40  val=' | THR_1      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=10,40  val=' | THR_2      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=11,40  val=' | THR_3      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=12,40  val=' | THR_4      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=13,40  val=' | THR_5      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=14,40  val=' | THR_6      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=15,40  val=' | THR_7      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=16,40  val=' | THR_8      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=17,40  val=' | THR_9      XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=18,40  val=' | THR_10     XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=19,40  val=' | THR_11     XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=20,40  val=' | THR_12     XXXXXXXX  XXXXXXXX  XXXXX.XX  XXXXX.XX  XXXXX.XX  XXXXXXXX   |';
pos=21,40  val=' |_________________________________________________________________________|';

rule=dynamic
pos=09,54 val=STATE_NAME chan=p-0045 fmt="%-8.8s"; pos=09,64  val=STATE_NAME chan=p-0031 fmt="%-8.8s";
pos=09,74 val=EU         chan=t-0143 fmt="%8.2f";  pos=09,84  val=EU         chan=t-0131 fmt="%8.2f";
pos=09,94 val=EU         chan=f-0521 fmt="%8.2f";  pos=09,104 val=DN         chan=f-0514 fmt="%8d";

pos=10,54 val=STATE_NAME chan=p-0047 fmt="%-8.8s"; pos=10,64  val=STATE_NAME chan=p-0032 fmt="%-8.8s";
pos=10,74 val=EU         chan=t-0144 fmt="%8.2f";  pos=10,84  val=EU         chan=t-0132 fmt="%8.2f";
pos=10,94 val=EU         chan=f-0522 fmt="%8.2f";  pos=10,104 val=DN         chan=f-0514 fmt="%8d";

pos=11,54 val=STATE_NAME chan=p-0045 fmt="%-8.8s"; pos=11,64  val=STATE_NAME chan=p-0033 fmt="%-8.8s";
pos=11,74 val=EU         chan=t-0145 fmt="%8.2f";  pos=11,84  val=EU         chan=t-0133 fmt="%8.2f";
pos=11,94 val=EU         chan=f-0523 fmt="%8.2f";  pos=11,104 val=DN         chan=f-0515 fmt="%8d";

pos=12,54 val=STATE_NAME chan=p-0047 fmt="%-8.8s"; pos=12,64  val=STATE_NAME chan=p-0034 fmt="%-8.8s";
pos=12,74 val=EU         chan=t-0146 fmt="%8.2f";  pos=12,84  val=EU         chan=t-0134 fmt="%8.2f";
pos=12,94 val=EU         chan=f-0524 fmt="%8.2f";  pos=12,104 val=DN         chan=f-0515 fmt="%8d";

pos=13,54 val=STATE_NAME chan=p-0045 fmt="%-8.8s"; pos=13,64  val=STATE_NAME chan=p-0035 fmt="%-8.8s";
pos=13,74 val=EU         chan=t-0147 fmt="%8.2f";  pos=13,84  val=EU         chan=t-0135 fmt="%8.2f";
pos=13,94 val=EU         chan=f-0525 fmt="%8.2f";  pos=13,104 val=DN         chan=f-0516 fmt="%8d";

pos=14,54 val=STATE_NAME chan=p-0047 fmt="%-8.8s"; pos=14,64  val=STATE_NAME chan=p-0036 fmt="%-8.8s";
pos=14,74 val=EU         chan=t-0148 fmt="%8.2f";  pos=14,84  val=EU         chan=t-0136 fmt="%8.2f";
pos=14,94 val=EU         chan=f-0526 fmt="%8.2f";  pos=14,104 val=DN         chan=f-0516 fmt="%8d";

pos=15,54 val=STATE_NAME chan=p-0046 fmt="%-8.8s"; pos=15,64  val=STATE_NAME chan=p-0037 fmt="%-8.8s";
pos=15,74 val=EU         chan=t-0149 fmt="%8.2f";  pos=15,84  val=EU         chan=t-0137 fmt="%8.2f";
pos=15,94 val=EU         chan=f-0527 fmt="%8.2f";  pos=15,104 val=DN         chan=f-0517 fmt="%8d";

pos=16,54 val=STATE_NAME chan=p-0048 fmt="%-8.8s"; pos=16,64  val=STATE_NAME chan=p-0038 fmt="%-8.8s";
pos=16,74 val=EU         chan=t-0150 fmt="%8.2f";  pos=16,84  val=EU         chan=t-0138 fmt="%8.2f";
pos=16,94 val=EU         chan=f-0528 fmt="%8.2f";  pos=16,104 val=DN         chan=f-0517 fmt="%8d";

pos=17,54 val=STATE_NAME chan=p-0046 fmt="%-8.8s"; pos=17,64  val=STATE_NAME chan=p-0039 fmt="%-8.8s";
pos=17,74 val=EU         chan=t-0151 fmt="%8.2f";  pos=17,84  val=EU         chan=t-0139 fmt="%8.2f";
pos=17,94 val=EU         chan=f-0529 fmt="%8.2f";  pos=17,104 val=DN         chan=f-0518 fmt="%8d";

pos=18,54 val=STATE_NAME chan=p-0048 fmt="%-8.8s"; pos=18,64  val=STATE_NAME chan=p-0040 fmt="%-8.8s";
pos=18,74 val=EU         chan=t-0152 fmt="%8.2f";  pos=18,84  val=EU         chan=t-0140 fmt="%8.2f";
pos=18,94 val=EU         chan=f-0530 fmt="%8.2f";  pos=18,104 val=DN         chan=f-0519 fmt="%8d";

pos=19,54 val=STATE_NAME chan=p-0048 fmt="%-8.8s"; pos=19,64  val=STATE_NAME chan=p-0041 fmt="%-8.8s";
pos=19,74 val=EU         chan=t-0153 fmt="%8.2f";  pos=19,84  val=EU         chan=t-0141 fmt="%8.2f";
pos=19,94 val=EU         chan=f-0531 fmt="%8.2f";  pos=19,104 val=DN         chan=f-0518 fmt="%8d";

pos=20,54 val=STATE_NAME chan=p-0046 fmt="%-8.8s"; pos=20,64  val=STATE_NAME chan=p-0042 fmt="%-8.8s";
pos=20,74 val=EU         chan=t-0154 fmt="%8.2f";  pos=20,84  val=EU         chan=t-0142 fmt="%8.2f";
pos=20,94 val=EU         chan=f-0532 fmt="%8.2f";  pos=20,104 val=DN         chan=f-0519 fmt="%8d";


rule=static
pos=23,40  val='  _TEMPERATURES_____________________';
pos=24,40  val=' |                                  |';
pos=25,40  val=' | THR_CLUS_1_T  XXX xxxxx.xx degC  |';
pos=26,40  val=' | THR_CLUS_2_T  XXX xxxxx.xx degC  |';
pos=27,40  val=' | THR_CLUS_3_T  XXX xxxxx.xx degC  |';
pos=28,40  val=' | THR_CLUS_4_T  XXX xxxxx.xx degC  |';
pos=29,40  val=' | PRES_CNTL1_T  XXX xxxxx.xx degC  |';
pos=30,40  val=' | PRES_CNTL2_T  XXX xxxxx.xx degC  |';
pos=31,40  val=' | PYRO_VGRP1_T  XXX xxxxx.xx degC  |';
pos=32,40  val=' | PYRO_VGRP2_T  XXX xxxxx.xx degC  |';
pos=33,40  val=' | SUP_V_CLS1_T  XXX xxxxx.xx degC  |';
pos=34,40  val=' | SUP_V_CLS2_T  XXX xxxxx.xx degC  |';
pos=35,40  val=' | SUP_V_CLS3_T  XXX xxxxx.xx degC  |';
pos=36,40  val=' | SUP_V_CLS4_T  XXX xxxxx.xx degC  |';
pos=37,40  val=' | VALV_GRP1_T   XXX xxxxx.xx degC  |';
pos=38,40  val=' | VALV_GRP2_T   XXX xxxxx.xx degC  |';
pos=39,40  val=' | VALV_GRP3_T   XXX xxxxx.xx degC  |';
pos=40,40  val=' | VALV_GRP4_T   XXX xxxxx.xx degC  |';
pos=41,40  val=' |                                  |';
pos=42,40  val=' | GHe_TANK_T1   XXX xxxxx.xx degC  |';
pos=43,40  val=' | GHe_TANK_T2   XXX xxxxx.xx degC  |';
pos=44,40  val=' | NTO_TANK_T1   XXX xxxxx.xx degC  |';
pos=45,40  val=' | NTO_TANK_T2   XXX xxxxx.xx degC  |';
pos=46,40  val=' | N2H4_TNK1_T1  XXX xxxxx.xx degC  |';
pos=47,40  val=' | N2H4_TNK1_T2  XXX xxxxx.xx degC  |';
pos=48,40  val=' | N2H4_TNK2_T1  XXX xxxxx.xx degC  |';
pos=49,40  val=' | N2H4_TNK2_T2  XXX xxxxx.xx degC  |';
pos=50,40  val=' |                                  |';
pos=51,40  val=' | MEV1_LINE_T   XXX xxxxx.xx degC  |';
pos=52,40  val=' | MEV2_LINE_T   XXX xxxxx.xx degC  |';
pos=53,40  val=' | NTOinLINE_T   XXX xxxxx.xx degC  |';
pos=54,40  val=' | N2H4inLINE_T  XXX xxxxx.xx degC  |';
pos=55,40  val=' | PCAlpLINE_T   XXX xxxxx.xx degC  |';
pos=56,40  val=' | PCAhpLINE_T   XXX xxxxx.xx degC  |';
pos=57,40  val=' | GHesupLINE_T  XXX xxxxx.xx degC  |';
pos=58,40  val=' | THRoddLINE_T  XXX xxxxx.xx degC  |';
pos=59,40  val=' | THRevnLINE_T  XXX xxxxx.xx degC  |';
pos=60,40  val=' |__________________________________|';

rule=dynamic
pos=25,57  val=DN chan=t-0155 fmt="%3d";   pos=25,61  val=EU  chan=t-0155 fmt="%8.2f";
pos=26,57  val=DN chan=t-0156 fmt="%3d";   pos=26,61  val=EU  chan=t-0156 fmt="%8.2f";
pos=27,57  val=DN chan=t-0157 fmt="%3d";   pos=27,61  val=EU  chan=t-0157 fmt="%8.2f";
pos=28,57  val=DN chan=t-0158 fmt="%3d";   pos=28,61  val=EU  chan=t-0158 fmt="%8.2f";
pos=29,57  val=DN chan=t-0164 fmt="%3d";   pos=29,61  val=EU  chan=t-0164 fmt="%8.2f";
pos=30,57  val=DN chan=t-0165 fmt="%3d";   pos=30,61  val=EU  chan=t-0165 fmt="%8.2f";
pos=31,57  val=DN chan=t-0166 fmt="%3d";   pos=31,61  val=EU  chan=t-0166 fmt="%8.2f";
pos=32,57  val=DN chan=t-0167 fmt="%3d";   pos=32,61  val=EU  chan=t-0167 fmt="%8.2f";
pos=33,57  val=DN chan=t-0168 fmt="%3d";   pos=33,61  val=EU  chan=t-0168 fmt="%8.2f";
pos=34,57  val=DN chan=t-0169 fmt="%3d";   pos=34,61  val=EU  chan=t-0169 fmt="%8.2f";
pos=35,57  val=DN chan=t-0170 fmt="%3d";   pos=35,61  val=EU  chan=t-0170 fmt="%8.2f";
pos=36,57  val=DN chan=t-0171 fmt="%3d";   pos=36,61  val=EU  chan=t-0171 fmt="%8.2f";
pos=37,57  val=DN chan=t-0172 fmt="%3d";   pos=37,61  val=EU  chan=t-0172 fmt="%8.2f";
pos=38,57  val=DN chan=t-0173 fmt="%3d";   pos=38,61  val=EU  chan=t-0173 fmt="%8.2f";
pos=39,57  val=DN chan=t-0174 fmt="%3d";   pos=39,61  val=EU  chan=t-0174 fmt="%8.2f";
pos=40,57  val=DN chan=t-0175 fmt="%3d";   pos=40,61  val=EU  chan=t-0175 fmt="%8.2f";

pos=42,57  val=DN chan=t-0176 fmt="%3d";   pos=42,61  val=EU  chan=t-0176 fmt="%8.2f";
pos=43,57  val=DN chan=t-0177 fmt="%3d";   pos=43,61  val=EU  chan=t-0177 fmt="%8.2f";
pos=44,57  val=DN chan=t-0178 fmt="%3d";   pos=44,61  val=EU  chan=t-0178 fmt="%8.2f";
pos=45,57  val=DN chan=t-0179 fmt="%3d";   pos=45,61  val=EU  chan=t-0179 fmt="%8.2f";
pos=46,57  val=DN chan=t-0180 fmt="%3d";   pos=46,61  val=EU  chan=t-0180 fmt="%8.2f";
pos=47,57  val=DN chan=t-0181 fmt="%3d";   pos=47,61  val=EU  chan=t-0181 fmt="%8.2f";
pos=48,57  val=DN chan=t-0182 fmt="%3d";   pos=48,61  val=EU  chan=t-0182 fmt="%8.2f";
pos=49,57  val=DN chan=t-0183 fmt="%3d";   pos=49,61  val=EU  chan=t-0183 fmt="%8.2f";

pos=51,57  val=DN chan=t-0184 fmt="%3d";   pos=51,61  val=EU  chan=t-0184 fmt="%8.2f";
pos=52,57  val=DN chan=t-0185 fmt="%3d";   pos=52,61  val=EU  chan=t-0185 fmt="%8.2f";
pos=53,57  val=DN chan=t-0186 fmt="%3d";   pos=53,61  val=EU  chan=t-0186 fmt="%8.2f";
pos=54,57  val=DN chan=t-0187 fmt="%3d";   pos=54,61  val=EU  chan=t-0187 fmt="%8.2f";
pos=55,57  val=DN chan=t-0188 fmt="%3d";   pos=55,61  val=EU  chan=t-0188 fmt="%8.2f";
pos=56,57  val=DN chan=t-0189 fmt="%3d";   pos=56,61  val=EU  chan=t-0189 fmt="%8.2f";
pos=57,57  val=DN chan=t-0190 fmt="%3d";   pos=57,61  val=EU  chan=t-0190 fmt="%8.2f";
pos=58,57  val=DN chan=t-0191 fmt="%3d";   pos=58,61  val=EU  chan=t-0191 fmt="%8.2f";
pos=59,57  val=DN chan=t-0192 fmt="%3d";   pos=59,61  val=EU  chan=t-0192 fmt="%8.2f";


rule=static
pos=23,79  val='  _HEATERS__________________________';
pos=24,79  val=' |                                  |';
pos=25,79  val=' | THR_CBevenSE    X XXXXXXXX       |';
pos=26,79  val=' | THR_CBoddSE     X XXXXXXXX       |';
pos=27,79  val=' |                                  |';
pos=28,79  val=' | DeltaT_P_HTR    X XXXXXXXX       |';
pos=29,79  val=' | DeltaT_S_HTR    X XXXXXXXX       |';
pos=30,79  val=' |                                  |';
pos=31,79  val=' | PRS_VC1P_HTR    X XXXXXXXX       |';
pos=32,79  val=' | PRS_VC1S_HTR    X XXXXXXXX       |';
pos=33,79  val=' | PRS_VC2P_HTR    X XXXXXXXX       |';
pos=34,79  val=' | PRS_VC2S_HTR    X XXXXXXXX       |';
pos=35,79  val=' |                                  |';
pos=36,79  val=' | SvlvCL_P_HTR    X XXXXXXXX       |';
pos=37,79  val=' | SvlvCL_S_HTR    X XXXXXXXX       |';
pos=38,79  val=' |                                  |';
pos=39,79  val=' | PTANKS_P_ENA    X XXXXXXXX       |';
pos=40,79  val=' | PTANKS_P_HTR    X XXXXXXXX       |';
pos=41,79  val=' |                                  |';
pos=42,79  val=' | PTANKS_S_ENA    X XXXXXXXX       |';
pos=43,79  val=' | PTANKS_S_HTR    X XXXXXXXX       |';
pos=44,79  val=' |                                  |';
pos=45,79  val=' | THR_P_HTR       X XXXXXXXX       |';
pos=46,79  val=' | THR_S_HTR       X XXXXXXXX       |';
pos=47,79  val=' |                                  |';
pos=48,79  val=' | ME_P_HTR        X XXXXXXXX       |';
pos=49,79  val=' | ME_S_HTR        X XXXXXXXX       |';
pos=50,79  val=' |                                  |';
pos=51,79  val=' | LINEhyzP_ENA    X XXXXXXXX       |';
pos=52,79  val=' | LINEhyzP_HTR    X XXXXXXXX       |';
pos=53,79  val=' |                                  |';
pos=54,79  val=' | LINEhyzS_ENA    X XXXXXXXX       |';
pos=55,79  val=' | LINEhyzS_HTR    X XXXXXXXX       |';
pos=56,79  val=' |                                  |';
pos=57,79  val=' | LINEntoP_HTR    X XXXXXXXX       |';
pos=58,79  val=' | LINEntoS_HTR    X XXXXXXXX       |';
pos=59,79  val=' |                                  |';
pos=60,79  val=' |__________________________________|';

rule=dynamic
pos=25,98  val=DN chan=p-0043 fmt="%1d";   pos=25,100 val=STATE_NAME chan=p-0043 fmt="%8.8s";
pos=26,98  val=DN chan=p-0044 fmt="%1d";   pos=26,100 val=STATE_NAME chan=p-0044 fmt="%8.8s";

pos=28,98  val=DN chan=t-0008 fmt="%1d";   pos=28,100 val=STATE_NAME chan=t-0008 fmt="%8.8s";
pos=29,98  val=DN chan=t-0009 fmt="%1d";   pos=29,100 val=STATE_NAME chan=t-0009 fmt="%8.8s";

pos=31,98  val=DN chan=t-0010 fmt="%1d";   pos=31,100 val=STATE_NAME chan=t-0010 fmt="%8.8s";
pos=32,98  val=DN chan=t-0011 fmt="%1d";   pos=32,100 val=STATE_NAME chan=t-0011 fmt="%8.8s";
pos=33,98  val=DN chan=t-0012 fmt="%1d";   pos=33,100 val=STATE_NAME chan=t-0012 fmt="%8.8s";
pos=34,98  val=DN chan=t-0013 fmt="%1d";   pos=34,100 val=STATE_NAME chan=t-0013 fmt="%8.8s";

pos=36,98  val=DN chan=t-0014 fmt="%1d";   pos=36,100 val=STATE_NAME chan=t-0014 fmt="%8.8s";
pos=37,98  val=DN chan=t-0015 fmt="%1d";   pos=37,100 val=STATE_NAME chan=t-0015 fmt="%8.8s";

pos=39,98  val=DN chan=t-0016 fmt="%1d";   pos=39,100 val=STATE_NAME chan=t-0016 fmt="%8.8s";
pos=40,98  val=DN chan=t-0018 fmt="%1d";   pos=40,100 val=STATE_NAME chan=t-0018 fmt="%8.8s";

pos=42,98  val=DN chan=t-0017 fmt="%1d";   pos=42,100 val=STATE_NAME chan=t-0017 fmt="%8.8s";
pos=43,98  val=DN chan=t-0019 fmt="%1d";   pos=43,100 val=STATE_NAME chan=t-0019 fmt="%8.8s";

pos=45,98  val=DN chan=t-0020 fmt="%1d";   pos=45,100 val=STATE_NAME chan=t-0020 fmt="%8.8s";
pos=46,98  val=DN chan=t-0021 fmt="%1d";   pos=46,100 val=STATE_NAME chan=t-0021 fmt="%8.8s";

pos=48,98  val=DN chan=t-0022 fmt="%1d";   pos=48,100 val=STATE_NAME chan=t-0022 fmt="%8.8s";
pos=49,98  val=DN chan=t-0023 fmt="%1d";   pos=49,100 val=STATE_NAME chan=t-0023 fmt="%8.8s";

pos=51,98  val=DN chan=t-0030 fmt="%1d";   pos=51,100 val=STATE_NAME chan=t-0030 fmt="%8.8s";
pos=52,98  val=DN chan=t-0032 fmt="%1d";   pos=52,100 val=STATE_NAME chan=t-0032 fmt="%8.8s";

pos=54,98  val=DN chan=t-0031 fmt="%1d";   pos=54,100 val=STATE_NAME chan=t-0031 fmt="%8.8s";
pos=55,98  val=DN chan=t-0033 fmt="%1d";   pos=55,100 val=STATE_NAME chan=t-0033 fmt="%8.8s";

pos=57,98  val=DN chan=t-0036 fmt="%1d";   pos=57,100 val=STATE_NAME chan=t-0036 fmt="%8.8s";
pos=58,98  val=DN chan=t-0037 fmt="%1d";   pos=58,100 val=STATE_NAME chan=t-0037 fmt="%8.8s";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_cdh_cmds_fix.tdl                                             #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: C&DH Subsystem Fixed Page #2 (Command Summary)                    #
# BASELINED: OGS 10-25-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=50,151 pos=4,1 # mgs_cdh_cmds_fix.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR COMMAND SUMMARY PAGE                         ';
pos=03,1   val=' ';
pos=04,1   val='  _UPLINK_COMMAND_STATUS__________________________________________________';
pos=05,1   val=' |                                          |                             |';
pos=06,1   val=' |                 CONTROL  UPDATE_TIME     |    NON_CNT  UPDATE_TIME     |';
pos=07,1   val=' |                                          |                             |';
pos=08,1   val=' | UPL_RECVDCNT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=09,1   val=' | UPL_INTRPTCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=10,1   val=' | UPL_CIUARMCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=11,1   val=' | UPL_CIUEXCNT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=12,1   val=' | UPL_SCPEXCNT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=13,1   val=' |                                          |                             |';
pos=14,1   val=' | UPL_CMDSEQNO    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=15,1   val=' | UPL_CMDEXTIM XXXXXXXXXX  YY/DDD-HH:MM:SS | XXXXXXXXXX  YY/DDD-HH:MM:SS |';
pos=16,1   val=' |                                          |                             |';
pos=17,1   val=' | UPL_CIUREJCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=18,1   val=' | UPL_SCPREJCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=19,1   val=' | UPL_SEQERRCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=20,1   val=' | UPL_FMTERRCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=21,1   val=' | UPL_CRCERRCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=22,1   val=' | UPL_SINGERCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=23,1   val=' | UPL_DOUBERCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=24,1   val=' | UPL_UNXMSGCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=25,1   val=' | EIS_1BITERCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=26,1   val=' |                                          |                             |';
pos=27,1   val=' | UPL_STATUS       XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=28,1   val=' |__________________________________________|_____________________________|';

pos=30,1   val='  _CV_STATUS______________________________________________________________';
pos=31,1   val=' |                                          |                             |';
pos=32,1   val=' | CV_DATA_WORD     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=33,1   val=' | CV_Q_COUNT       XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=34,1   val=' |__________________________________________|_____________________________|';

pos=36,1   val='  _LAST_CV_CHECKSUM_______________________________________________________';
pos=37,1   val=' |                                          |                             |';
pos=38,1   val=' | L_CHKSUM_VAL     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=39,1   val=' | L_CHKSUM_MSH     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=40,1   val=' | L_CHKSUM_LSH     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=41,1   val=' |__________________________________________|_____________________________|';

pos=43,1   val='  _LAST_CV_1-2-3_WORD_DUMP________________________________________________';
pos=44,1   val=' |                                          |                             |';
pos=45,1   val=' | L_MEM_ADDR       XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=46,1   val=' | L_MEM_WORD1      XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=47,1   val=' | L_MEM_WORD2      XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=48,1   val=' | L_MEM_WORD3      XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=49,1   val=' |__________________________________________|_____________________________|';


rule=dynamic
pos=08,20  val=DN chan=f-1459 fmt="%7u";     pos=08,29 val=CHANGE_VAL_TIME chan=f-1459 fmt=YDHMS;
pos=09,20  val=DN chan=f-1458 fmt="%7u";     pos=09,29 val=CHANGE_VAL_TIME chan=f-1458 fmt=YDHMS;
pos=10,20  val=DN chan=f-1450 fmt="%7u";     pos=10,29 val=CHANGE_VAL_TIME chan=f-1450 fmt=YDHMS;
pos=11,20  val=DN chan=f-1451 fmt="%7u";     pos=11,29 val=CHANGE_VAL_TIME chan=f-1451 fmt=YDHMS;
pos=12,20  val=DN chan=f-1460 fmt="%7u";     pos=12,29 val=CHANGE_VAL_TIME chan=f-1460 fmt=YDHMS;
pos=14,20  val=DN chan=f-1454 fmt="%7u";     pos=14,29 val=CHANGE_VAL_TIME chan=f-1454 fmt=YDHMS;
pos=15,17  val=DN chan=f-1453 fmt="%10u";    pos=15,29 val=CHANGE_VAL_TIME chan=f-1453 fmt=YDHMS;
pos=17,20  val=DN chan=f-1452 fmt="%7u";     pos=17,29 val=CHANGE_VAL_TIME chan=f-1452 fmt=YDHMS;
pos=18,20  val=DN chan=f-1461 fmt="%7u";     pos=18,29 val=CHANGE_VAL_TIME chan=f-1461 fmt=YDHMS;
pos=19,20  val=DN chan=f-1462 fmt="%7u";     pos=19,29 val=CHANGE_VAL_TIME chan=f-1462 fmt=YDHMS;
pos=20,20  val=DN chan=f-1457 fmt="%7u";     pos=20,29 val=CHANGE_VAL_TIME chan=f-1457 fmt=YDHMS;
pos=21,20  val=DN chan=f-1455 fmt="%7u";     pos=21,29 val=CHANGE_VAL_TIME chan=f-1455 fmt=YDHMS;
pos=22,20  val=DN chan=f-1463 fmt="%7u";     pos=22,29 val=CHANGE_VAL_TIME chan=f-1463 fmt=YDHMS;
pos=23,20  val=DN chan=f-1456 fmt="%7u";     pos=23,29 val=CHANGE_VAL_TIME chan=f-1456 fmt=YDHMS;
pos=24,20  val=DN chan=f-1464 fmt="%7u";     pos=24,29 val=CHANGE_VAL_TIME chan=f-1464 fmt=YDHMS;
pos=25,20  val=DN chan=f-1060 fmt="%7u";     pos=25,29 val=CHANGE_VAL_TIME chan=f-1060 fmt=YDHMS;
pos=27,21  val=DN chan=f-1465 fmt="%#4.4x";  pos=27,29 val=CHANGE_VAL_TIME chan=f-1465 fmt=YDHMS;

pos=32,21  val=DN chan=f-1030 fmt="%#4.4x";  pos=32,29 val=CHANGE_VAL_TIME chan=f-1030 fmt=YDHMS;
pos=33,20  val=DN chan=f-1031 fmt="%7u";     pos=33,29 val=CHANGE_VAL_TIME chan=f-1031 fmt=YDHMS;
pos=38,21  val=DN chan=v-1024 fmt="%#4.4x";  pos=38,29 val=CHANGE_VAL_TIME chan=v-1024 fmt=YDHMS;
pos=39,21  val=DN chan=v-1025 fmt="%#4.4x";  pos=39,29 val=CHANGE_VAL_TIME chan=v-1025 fmt=YDHMS;
pos=40,21  val=DN chan=v-1026 fmt="%#4.4x";  pos=40,29 val=CHANGE_VAL_TIME chan=v-1026 fmt=YDHMS;
pos=45,21  val=DN chan=v-1027 fmt="%#4.4x";  pos=45,29 val=CHANGE_VAL_TIME chan=v-1027 fmt=YDHMS;
pos=46,21  val=DN chan=v-1028 fmt="%#4.4x";  pos=46,29 val=CHANGE_VAL_TIME chan=v-1028 fmt=YDHMS;
pos=47,21  val=DN chan=v-1029 fmt="%#4.4x";  pos=47,29 val=CHANGE_VAL_TIME chan=v-1029 fmt=YDHMS;
pos=48,21  val=DN chan=v-1030 fmt="%#4.4x";  pos=48,29 val=CHANGE_VAL_TIME chan=v-1030 fmt=YDHMS;

pos=08,50  val=DN chan=n-1459 fmt="%7u";     pos=08,59 val=CHANGE_VAL_TIME chan=n-1459 fmt=YDHMS;
pos=09,50  val=DN chan=n-1458 fmt="%7u";     pos=09,59 val=CHANGE_VAL_TIME chan=n-1458 fmt=YDHMS;
pos=10,50  val=DN chan=n-1450 fmt="%7u";     pos=10,59 val=CHANGE_VAL_TIME chan=n-1450 fmt=YDHMS;
pos=11,50  val=DN chan=n-1451 fmt="%7u";     pos=11,59 val=CHANGE_VAL_TIME chan=n-1451 fmt=YDHMS;
pos=12,50  val=DN chan=n-1460 fmt="%7u";     pos=12,59 val=CHANGE_VAL_TIME chan=n-1460 fmt=YDHMS;
pos=14,50  val=DN chan=n-1454 fmt="%7u";     pos=14,59 val=CHANGE_VAL_TIME chan=n-1454 fmt=YDHMS;
pos=15,47  val=DN chan=n-1453 fmt="%10u";    pos=15,59 val=CHANGE_VAL_TIME chan=n-1453 fmt=YDHMS;
pos=17,50  val=DN chan=n-1452 fmt="%7u";     pos=17,59 val=CHANGE_VAL_TIME chan=n-1452 fmt=YDHMS;
pos=18,50  val=DN chan=n-1461 fmt="%7u";     pos=18,59 val=CHANGE_VAL_TIME chan=n-1461 fmt=YDHMS;
pos=19,50  val=DN chan=n-1462 fmt="%7u";     pos=19,59 val=CHANGE_VAL_TIME chan=n-1462 fmt=YDHMS;
pos=20,50  val=DN chan=n-1457 fmt="%7u";     pos=20,59 val=CHANGE_VAL_TIME chan=n-1457 fmt=YDHMS;
pos=21,50  val=DN chan=n-1455 fmt="%7u";     pos=21,59 val=CHANGE_VAL_TIME chan=n-1455 fmt=YDHMS;
pos=22,50  val=DN chan=n-1463 fmt="%7u";     pos=22,59 val=CHANGE_VAL_TIME chan=n-1463 fmt=YDHMS;
pos=23,50  val=DN chan=n-1456 fmt="%7u";     pos=23,59 val=CHANGE_VAL_TIME chan=n-1456 fmt=YDHMS;
pos=24,50  val=DN chan=n-1464 fmt="%7u";     pos=24,59 val=CHANGE_VAL_TIME chan=n-1464 fmt=YDHMS;
pos=25,50  val=DN chan=n-1060 fmt="%7u";     pos=25,59 val=CHANGE_VAL_TIME chan=n-1060 fmt=YDHMS;

pos=27,51  val=DN chan=n-1465 fmt="%#4.4x";  pos=27,59 val=CHANGE_VAL_TIME chan=n-1465 fmt=YDHMS;
pos=32,51  val=DN chan=n-1030 fmt="%#4.4x";  pos=32,59 val=CHANGE_VAL_TIME chan=n-1030 fmt=YDHMS;
pos=33,50  val=DN chan=n-1031 fmt="%7u";     pos=33,59 val=CHANGE_VAL_TIME chan=n-1031 fmt=YDHMS;
pos=38,51  val=DN chan=u-1024 fmt="%#4.4x";  pos=38,59 val=CHANGE_VAL_TIME chan=u-1024 fmt=YDHMS;
pos=39,51  val=DN chan=u-1025 fmt="%#4.4x";  pos=39,59 val=CHANGE_VAL_TIME chan=u-1025 fmt=YDHMS;
pos=40,51  val=DN chan=u-1026 fmt="%#4.4x";  pos=40,59 val=CHANGE_VAL_TIME chan=u-1026 fmt=YDHMS;
pos=45,51  val=DN chan=u-1027 fmt="%#4.4x";  pos=45,59 val=CHANGE_VAL_TIME chan=u-1027 fmt=YDHMS;
pos=46,51  val=DN chan=u-1028 fmt="%#4.4x";  pos=46,59 val=CHANGE_VAL_TIME chan=u-1028 fmt=YDHMS;
pos=47,51  val=DN chan=u-1029 fmt="%#4.4x";  pos=47,59 val=CHANGE_VAL_TIME chan=u-1029 fmt=YDHMS;
pos=48,51  val=DN chan=u-1030 fmt="%#4.4x";  pos=48,59 val=CHANGE_VAL_TIME chan=u-1030 fmt=YDHMS;


rule=static
pos=04,76  val='  _STORED_COMMAND_STATUS__________________________________________________';
pos=05,76  val=' |                                          |                             |';
pos=06,76  val=' |                 CONTROL  UPDATE_TIME     |    NON_CNT  UPDATE_TIME     |';
pos=07,76  val=' |                                          |                             |';
pos=08,76  val=' | TC_ACTV_SCRP    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=09,76  val=' | TC_MAXACTSCR    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=10,76  val=' | TC_MAX_ADDR      XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=11,76  val=' | TC_SCRIP_SIZ    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=12,76  val=' |                                          |                             |';
pos=13,76  val=' | TC_SCMD_DATA     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=14,76  val=' | TC_SCMD_OPCO     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=15,76  val=' | TC_SCMD_SORS     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=16,76  val=' | TC_SCRIP_ADR     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=17,76  val=' | TC_HEAD_ACTV    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=18,76  val=' | TC_CMD_TIME  XXXXXXXXXX  YY/DDD-HH:MM:SS | XXXXXXXXXX  YY/DDD-HH:MM:SS |';
pos=19,76  val=' |                                          |                             |';
pos=20,76  val=' | TC_PD_ISINIT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=21,76  val=' | TC_PD_ISTERM    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=22,76  val=' | TC_SBUS_EXCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=23,76  val=' | TC_PDS_CMDEX    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=24,76  val=' |                                          |                             |';
pos=25,76  val=' | TC_SBUS_RJCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=26,76  val=' | TC_INVLPULMS    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=27,76  val=' | TC_UNXMSGTCT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=28,76  val=' |                                          |                             |';
pos=29,76  val=' | TC_DISCRETES     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=30,76  val=' | SMOEX_ENABLS     XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=31,76  val=' |__________________________________________|_____________________________|';

pos=33,76  val='  _INTERNAL_COMMAND_STATUS________________________________________________';
pos=34,76  val=' |                                          |                             |';
pos=35,76  val=' | INT_CMDEX_CT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=36,76  val=' | INT_CMDRJ_CT    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=37,76  val=' |__________________________________________|_____________________________|';

pos=40,76  val='  _AUDIT_Q_STATUS_________________________________________________________';
pos=41,76  val=' |                                          |                             |';
pos=42,76  val=' | AUDIT_Q_CNT     XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=43,76  val=' | AUDIT_Q_LOST    XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=44,76  val=' |                                          |                             |';
pos=45,76  val=' | AUDIT_Q_W1      XXXXXXX  YY/DDD-HH:MM:SS |    XXXXXXX  YY/DDD-HH:MM:SS |';
pos=46,76  val=' | AUDIT_Q_W2-3 XXXXXXXXXX  YY/DDD-HH:MM:SS | XXXXXXXXXX  YY/DDD-HH:MM:SS |';
pos=47,76  val=' | AUDIT_Q_W4       XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=48,76  val=' | AUDIT_Q_W5       XXXXXX  YY/DDD-HH:MM:SS |     XXXXXX  YY/DDD-HH:MM:SS |';
pos=49,76  val=' |__________________________________________|_____________________________|';

rule=dynamic
pos=08,95  val=DN chan=f-1430 fmt="%7u";     pos=08,104 val=CHANGE_VAL_TIME chan=f-1430 fmt=YDHMS;
pos=09,95  val=DN chan=f-1435 fmt="%7u";     pos=09,104 val=CHANGE_VAL_TIME chan=f-1435 fmt=YDHMS;
pos=10,96  val=DN chan=f-1436 fmt="%#4.4x";  pos=10,104 val=CHANGE_VAL_TIME chan=f-1436 fmt=YDHMS;
pos=11,95  val=DN chan=f-1447 fmt="%7u";     pos=11,104 val=CHANGE_VAL_TIME chan=f-1447 fmt=YDHMS;
pos=13,96  val=DN chan=f-1443 fmt="%#4.4x";  pos=13,104 val=CHANGE_VAL_TIME chan=f-1443 fmt=YDHMS;
pos=14,96  val=DN chan=f-1444 fmt="%#4.4x";  pos=14,104 val=CHANGE_VAL_TIME chan=f-1444 fmt=YDHMS;
pos=15,96  val=DN chan=f-1445 fmt="%#4.4x";  pos=15,104 val=CHANGE_VAL_TIME chan=f-1445 fmt=YDHMS;
pos=16,96  val=DN chan=f-1446 fmt="%#4.4x";  pos=16,104 val=CHANGE_VAL_TIME chan=f-1446 fmt=YDHMS;
pos=17,95  val=DN chan=f-1433 fmt="%7u";     pos=17,104 val=CHANGE_VAL_TIME chan=f-1433 fmt=YDHMS;
pos=18,92  val=DN chan=f-1431 fmt="%10u";    pos=18,104 val=CHANGE_VAL_TIME chan=f-1431 fmt=YDHMS;
pos=20,95  val=DN chan=f-1439 fmt="%7u";     pos=20,104 val=CHANGE_VAL_TIME chan=f-1439 fmt=YDHMS;
pos=21,95  val=DN chan=f-1440 fmt="%7u";     pos=21,104 val=CHANGE_VAL_TIME chan=f-1440 fmt=YDHMS;
pos=22,95  val=DN chan=f-1441 fmt="%7u";     pos=22,104 val=CHANGE_VAL_TIME chan=f-1441 fmt=YDHMS;
pos=23,95  val=DN chan=f-1438 fmt="%7u";     pos=23,104 val=CHANGE_VAL_TIME chan=f-1438 fmt=YDHMS;
pos=25,95  val=DN chan=f-1442 fmt="%7u";     pos=25,104 val=CHANGE_VAL_TIME chan=f-1442 fmt=YDHMS;
pos=26,95  val=DN chan=f-1434 fmt="%7u";     pos=26,104 val=CHANGE_VAL_TIME chan=f-1434 fmt=YDHMS;
pos=27,95  val=DN chan=f-1448 fmt="%7u";     pos=27,104 val=CHANGE_VAL_TIME chan=f-1448 fmt=YDHMS;
pos=29,96  val=DN chan=f-1432 fmt="%#4.4x";  pos=29,104 val=CHANGE_VAL_TIME chan=f-1432 fmt=YDHMS;
pos=30,96  val=DN chan=f-1420 fmt="%#4.4x";  pos=30,104 val=CHANGE_VAL_TIME chan=f-1420 fmt=YDHMS;

pos=35,95  val=DN chan=f-1080 fmt="%7u";     pos=35,104 val=CHANGE_VAL_TIME chan=f-1080 fmt=YDHMS;
pos=36,95  val=DN chan=f-1081 fmt="%7u";     pos=36,104 val=CHANGE_VAL_TIME chan=f-1081 fmt=YDHMS;
pos=42,95  val=DN chan=f-1000 fmt="%7u";     pos=42,104 val=CHANGE_VAL_TIME chan=f-1000 fmt=YDHMS;
pos=43,95  val=DN chan=f-1001 fmt="%7u";     pos=43,104 val=CHANGE_VAL_TIME chan=f-1001 fmt=YDHMS;
pos=45,95  val=DN chan=f-1002 fmt="%7u";     pos=45,104 val=CHANGE_VAL_TIME chan=f-1002 fmt=YDHMS;
pos=46,92  val=DN chan=f-1003 fmt="%10u";    pos=46,104 val=CHANGE_VAL_TIME chan=f-1003 fmt=YDHMS;
pos=47,96  val=DN chan=f-1004 fmt="%#4.4x";  pos=47,104 val=CHANGE_VAL_TIME chan=f-1004 fmt=YDHMS;
pos=48,96  val=DN chan=f-1005 fmt="%#4.4x";  pos=48,104 val=CHANGE_VAL_TIME chan=f-1005 fmt=YDHMS;

pos=08,125 val=DN chan=n-1430 fmt="%7u";     pos=08,134 val=CHANGE_VAL_TIME chan=n-1430 fmt=YDHMS;
pos=09,125 val=DN chan=n-1435 fmt="%7u";     pos=09,134 val=CHANGE_VAL_TIME chan=n-1435 fmt=YDHMS;
pos=10,126 val=DN chan=n-1436 fmt="%#4.4x";  pos=10,134 val=CHANGE_VAL_TIME chan=n-1436 fmt=YDHMS;
pos=11,125 val=DN chan=n-1447 fmt="%7u";     pos=11,134 val=CHANGE_VAL_TIME chan=n-1447 fmt=YDHMS;
pos=13,126 val=DN chan=n-1443 fmt="%#4.4x";  pos=13,134 val=CHANGE_VAL_TIME chan=n-1443 fmt=YDHMS;
pos=14,126 val=DN chan=n-1444 fmt="%#4.4x";  pos=14,134 val=CHANGE_VAL_TIME chan=n-1444 fmt=YDHMS;
pos=15,126 val=DN chan=n-1445 fmt="%#4.4x";  pos=15,134 val=CHANGE_VAL_TIME chan=n-1445 fmt=YDHMS;
pos=16,126 val=DN chan=n-1446 fmt="%#4.4x";  pos=16,134 val=CHANGE_VAL_TIME chan=n-1446 fmt=YDHMS;
pos=17,125 val=DN chan=n-1433 fmt="%7u";     pos=17,134 val=CHANGE_VAL_TIME chan=n-1433 fmt=YDHMS;
pos=18,122 val=DN chan=n-1431 fmt="%10u";    pos=18,134 val=CHANGE_VAL_TIME chan=n-1431 fmt=YDHMS;
pos=20,125 val=DN chan=n-1439 fmt="%7u";     pos=20,134 val=CHANGE_VAL_TIME chan=n-1439 fmt=YDHMS;
pos=21,125 val=DN chan=n-1440 fmt="%7u";     pos=21,134 val=CHANGE_VAL_TIME chan=n-1440 fmt=YDHMS;
pos=22,125 val=DN chan=n-1441 fmt="%7u";     pos=22,134 val=CHANGE_VAL_TIME chan=n-1441 fmt=YDHMS;
pos=23,125 val=DN chan=n-1438 fmt="%7u";     pos=23,134 val=CHANGE_VAL_TIME chan=n-1438 fmt=YDHMS;
pos=25,125 val=DN chan=n-1442 fmt="%7u";     pos=25,134 val=CHANGE_VAL_TIME chan=n-1442 fmt=YDHMS;
pos=26,125 val=DN chan=n-1434 fmt="%7u";     pos=26,134 val=CHANGE_VAL_TIME chan=n-1434 fmt=YDHMS;
pos=27,125 val=DN chan=n-1448 fmt="%7u";     pos=27,134 val=CHANGE_VAL_TIME chan=n-1448 fmt=YDHMS;
pos=29,126 val=DN chan=n-1432 fmt="%#4.4x";  pos=29,134 val=CHANGE_VAL_TIME chan=n-1432 fmt=YDHMS;
pos=30,126 val=DN chan=n-1420 fmt="%#4.4x";  pos=30,134 val=CHANGE_VAL_TIME chan=n-1420 fmt=YDHMS;

pos=35,125 val=DN chan=n-1080 fmt="%7u";     pos=35,134 val=CHANGE_VAL_TIME chan=n-1080 fmt=YDHMS;
pos=36,125 val=DN chan=n-1081 fmt="%7u";     pos=36,134 val=CHANGE_VAL_TIME chan=n-1081 fmt=YDHMS;
pos=42,125 val=DN chan=n-1000 fmt="%7u";     pos=42,134 val=CHANGE_VAL_TIME chan=n-1000 fmt=YDHMS;
pos=43,125 val=DN chan=n-1001 fmt="%7u";     pos=43,134 val=CHANGE_VAL_TIME chan=n-1001 fmt=YDHMS;
pos=45,125 val=DN chan=n-1002 fmt="%7u";     pos=45,134 val=CHANGE_VAL_TIME chan=n-1002 fmt=YDHMS;
pos=46,122 val=DN chan=n-1003 fmt="%10u";    pos=46,134 val=CHANGE_VAL_TIME chan=n-1003 fmt=YDHMS;
pos=47,126 val=DN chan=n-1004 fmt="%#4.4x";  pos=47,134 val=CHANGE_VAL_TIME chan=n-1004 fmt=YDHMS;
pos=48,126 val=DN chan=n-1005 fmt="%#4.4x";  pos=48,134 val=CHANGE_VAL_TIME chan=n-1005 fmt=YDHMS;


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_cdh_redman_fix.tdl                                           #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: C&DH Subsystem Fixed Page #3 (REDMAN Summary Page)                #
# BASELINED: OGS 10-25-95                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=64,186 pos=4,1 # mgs_cdh_redman_fix.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR REDMAN SUMMARY PAGE                         ';
pos=03,1   val=' ';
pos=04,1   val='  _AUTONOMOUS_ENABLES______________________';
pos=05,1   val=' |                           |             |';
pos=06,1   val=' |                   CONTROL |     NON_CNT |';
pos=07,1   val=' |                           |             |';
pos=08,1   val=' | AUTOENAB_1         XXXXXX |      XXXXXX |';
pos=09,1   val=' | AUTOEN1_BUS   X  XXXXXXXX | X  XXXXXXXX |';
pos=10,1   val=' | AUTOEN1_CLK   X  XXXXXXXX | X  XXXXXXXX |';
pos=11,1   val=' | AUTOEN1_SSA   X  XXXXXXXX | X  XXXXXXXX |';
pos=12,1   val=' | AUTOEN1_RWA   X  XXXXXXXX | X  XXXXXXXX |';
pos=13,1   val=' | AUTOEN1_IMU   X  XXXXXXXX | X  XXXXXXXX |';
pos=14,1   val=' | AUTOEN1_GYR   X  XXXXXXXX | X  XXXXXXXX |';
pos=15,1   val=' | AUTOEN1_DTC   X  XXXXXXXX | X  XXXXXXXX |';
pos=16,1   val=' | AUTOEN1_EDF   X  XXXXXXXX | X  XXXXXXXX |';
pos=17,1   val=' | AUTOEN1_XSU   X  XXXXXXXX | X  XXXXXXXX |';
pos=18,1   val=' | AUTOEN1_TWT   X  XXXXXXXX | X  XXXXXXXX |';
pos=19,1   val=' | AUTOEN1_MOT   X  XXXXXXXX | X  XXXXXXXX |';
pos=20,1   val=' | AUTOEN1_PSE   X  XXXXXXXX | X  XXXXXXXX |';
pos=21,1   val=' | AUTOEN1_SAP   X  XXXXXXXX | X  XXXXXXXX |';
pos=22,1   val=' | AUTOEN1_HGA   X  XXXXXXXX | X  XXXXXXXX |';
pos=23,1   val=' | AUTOEN1_SAM   X  XXXXXXXX | X  XXXXXXXX |';
pos=24,1   val=' | AUTOEN1_ATT   X  XXXXXXXX | X  XXXXXXXX |';
pos=25,1   val=' |                           |             |';
pos=26,1   val=' | AUTOENAB_2         XXXXXX |      XXXXXX |';
pos=27,1   val=' | AUTOEN2_MHSA  X  XXXXXXXX | X  XXXXXXXX |';
pos=28,1   val=' | AUTOEN2_CSA   X  XXXXXXXX | X  XXXXXXXX |';
pos=29,1   val=' | AUTOEN2_TANK  X  XXXXXXXX | X  XXXXXXXX |';
pos=30,1   val=' | AUTOEN2_REA   X  XXXXXXXX | X  XXXXXXXX |';
pos=31,1   val=' |___________________________|_____________|';

pos=33,1   val='  _IMU_CHECK_STATUS________________________';
pos=34,1   val=' |                           |             |';
pos=35,1   val=' | IMU_CHK_FROZ  X  XXXXXXXX | X  XXXXXXXX |';
pos=36,1   val=' | IMU_CHK_STAT  X  XXXXXXXX | X  XXXXXXXX |';
pos=37,1   val=' |___________________________|_____________|';

pos=39,1   val='  _DTC_STATUS______________________________';
pos=40,1   val=' |                                         |';
pos=41,1   val=' |    thr_encl ----      -------- imu_tca  |';
pos=42,1   val=' |     battery --- |    | ------- sa-y_gim |';
pos=43,1   val=' |     prs_cl2 -- ||    || ------ mhsa     |';
pos=44,1   val=' |        em-x - |||    ||| ----- csa      |';
pos=45,1   val=' |              ||||    ||||               |';
pos=46,1   val=' |  DTC_ENABLES xxxxxxxxxxxxxxxx  (1=enab) |';
pos=47,1   val=' |      non-cnt xxxxxxxxxxxxxxxx           |';
pos=48,1   val=' |                                         |';
pos=49,1   val=' | DTC_WARN_FLG xxxxxxxxxxxxxxxx  (1=warn) |';
pos=50,1   val=' |      non-cnt xxxxxxxxxxxxxxxx           |';
pos=51,1   val=' |                                         |';
pos=52,1   val=' | DTC_PRI_STAT xxxxxxxxxxxxxxxx  (1=swap) |';
pos=53,1   val=' |      non-cnt xxxxxxxxxxxxxxxx           |';
pos=54,1   val=' |                  ||||    ||||           |';
pos=55,1   val=' |    prop_tnk ----- |||    ||| - em+x     |';
pos=56,1   val=' |  sup_vlv_cl ------ ||    || -- prs_cl1  |';
pos=57,1   val=' |    main_eng ------- |    | --- em+y     |';
pos=58,1   val=' |  twt_hga_gm --------      ---- sa+y_gim |';
pos=59,1   val=' |                                         |';
pos=60,1   val=' |_________________________________________|';
pos=61,1   val=' |                           |             |';
pos=62,1   val=' | XSU_MSG_ENAB       XXXXXX |      XXXXXX |';
pos=63,1   val=' |___________________________|_____________|';


rule=dynamic
                                          pos=08,23 val=DN         chan=f-1008 fmt="%#4.4x";
pos=09,18  val=DN chan=f-1500 fmt="%1d";  pos=09,21 val=STATE_NAME chan=f-1500 fmt="%8.8s";
pos=10,18  val=DN chan=f-1501 fmt="%1d";  pos=10,21 val=STATE_NAME chan=f-1501 fmt="%8.8s";
pos=11,18  val=DN chan=f-1502 fmt="%1d";  pos=11,21 val=STATE_NAME chan=f-1502 fmt="%8.8s";
pos=12,18  val=DN chan=f-1503 fmt="%1d";  pos=12,21 val=STATE_NAME chan=f-1503 fmt="%8.8s";
pos=13,18  val=DN chan=f-1504 fmt="%1d";  pos=13,21 val=STATE_NAME chan=f-1504 fmt="%8.8s";
pos=14,18  val=DN chan=f-1505 fmt="%1d";  pos=14,21 val=STATE_NAME chan=f-1505 fmt="%8.8s";
pos=15,18  val=DN chan=f-1506 fmt="%1d";  pos=15,21 val=STATE_NAME chan=f-1506 fmt="%8.8s";
pos=16,18  val=DN chan=f-1507 fmt="%1d";  pos=16,21 val=STATE_NAME chan=f-1507 fmt="%8.8s";
pos=17,18  val=DN chan=f-1508 fmt="%1d";  pos=17,21 val=STATE_NAME chan=f-1508 fmt="%8.8s";
pos=18,18  val=DN chan=f-1509 fmt="%1d";  pos=18,21 val=STATE_NAME chan=f-1509 fmt="%8.8s";
pos=19,18  val=DN chan=f-1510 fmt="%1d";  pos=19,21 val=STATE_NAME chan=f-1510 fmt="%8.8s";
pos=20,18  val=DN chan=f-1511 fmt="%1d";  pos=20,21 val=STATE_NAME chan=f-1511 fmt="%8.8s";
pos=21,18  val=DN chan=f-1512 fmt="%1d";  pos=21,21 val=STATE_NAME chan=f-1512 fmt="%8.8s";
pos=22,18  val=DN chan=f-1513 fmt="%1d";  pos=22,21 val=STATE_NAME chan=f-1513 fmt="%8.8s";
pos=23,18  val=DN chan=f-1514 fmt="%1d";  pos=23,21 val=STATE_NAME chan=f-1514 fmt="%8.8s";
pos=24,18  val=DN chan=f-1515 fmt="%1d";  pos=24,21 val=STATE_NAME chan=f-1515 fmt="%8.8s";

                                          pos=26,23 val=DN         chan=f-1009 fmt="%#4.4x";
pos=27,18  val=DN chan=f-1660 fmt="%1d";  pos=27,21 val=STATE_NAME chan=f-1660 fmt="%8.8s";
pos=28,18  val=DN chan=f-1661 fmt="%1d";  pos=28,21 val=STATE_NAME chan=f-1661 fmt="%8.8s";
pos=29,18  val=DN chan=f-1662 fmt="%1d";  pos=29,21 val=STATE_NAME chan=f-1662 fmt="%8.8s";
pos=30,18  val=DN chan=f-1663 fmt="%1d";  pos=30,21 val=STATE_NAME chan=f-1663 fmt="%8.8s";

pos=35,18  val=DN chan=f-0205 fmt="%1d";  pos=35,21 val=STATE_NAME chan=f-0205 fmt="%8.8s";
pos=36,18  val=DN chan=f-0206 fmt="%1d";  pos=36,21 val=STATE_NAME chan=f-0206 fmt="%8.8s";


                                          pos=08,37 val=DN         chan=n-1008 fmt="%#4.4x";
pos=09,32  val=DN chan=n-1500 fmt="%1d";  pos=09,35 val=STATE_NAME chan=n-1500 fmt="%8.8s";
pos=10,32  val=DN chan=n-1501 fmt="%1d";  pos=10,35 val=STATE_NAME chan=n-1501 fmt="%8.8s";
pos=11,32  val=DN chan=n-1502 fmt="%1d";  pos=11,35 val=STATE_NAME chan=n-1502 fmt="%8.8s";
pos=12,32  val=DN chan=n-1503 fmt="%1d";  pos=12,35 val=STATE_NAME chan=n-1503 fmt="%8.8s";
pos=13,32  val=DN chan=n-1504 fmt="%1d";  pos=13,35 val=STATE_NAME chan=n-1504 fmt="%8.8s";
pos=14,32  val=DN chan=n-1505 fmt="%1d";  pos=14,35 val=STATE_NAME chan=n-1505 fmt="%8.8s";
pos=15,32  val=DN chan=n-1506 fmt="%1d";  pos=15,35 val=STATE_NAME chan=n-1506 fmt="%8.8s";
pos=16,32  val=DN chan=n-1507 fmt="%1d";  pos=16,35 val=STATE_NAME chan=n-1507 fmt="%8.8s";
pos=17,32  val=DN chan=n-1508 fmt="%1d";  pos=17,35 val=STATE_NAME chan=n-1508 fmt="%8.8s";
pos=18,32  val=DN chan=n-1509 fmt="%1d";  pos=18,35 val=STATE_NAME chan=n-1509 fmt="%8.8s";
pos=19,32  val=DN chan=n-1510 fmt="%1d";  pos=19,35 val=STATE_NAME chan=n-1510 fmt="%8.8s";
pos=20,32  val=DN chan=n-1511 fmt="%1d";  pos=20,35 val=STATE_NAME chan=n-1511 fmt="%8.8s";
pos=21,32  val=DN chan=n-1512 fmt="%1d";  pos=21,35 val=STATE_NAME chan=n-1512 fmt="%8.8s";
pos=22,32  val=DN chan=n-1513 fmt="%1d";  pos=22,35 val=STATE_NAME chan=n-1513 fmt="%8.8s";
pos=23,32  val=DN chan=n-1514 fmt="%1d";  pos=23,35 val=STATE_NAME chan=n-1514 fmt="%8.8s";
pos=24,32  val=DN chan=n-1515 fmt="%1d";  pos=24,35 val=STATE_NAME chan=n-1515 fmt="%8.8s";

                                          pos=26,37 val=DN         chan=n-1009 fmt="%#4.4x";
pos=27,32  val=DN chan=n-1660 fmt="%1d";  pos=27,35 val=STATE_NAME chan=n-1660 fmt="%8.8s";
pos=28,32  val=DN chan=n-1661 fmt="%1d";  pos=28,35 val=STATE_NAME chan=n-1661 fmt="%8.8s";
pos=29,32  val=DN chan=n-1662 fmt="%1d";  pos=29,35 val=STATE_NAME chan=n-1662 fmt="%8.8s";
pos=30,32  val=DN chan=n-1663 fmt="%1d";  pos=30,35 val=STATE_NAME chan=n-1663 fmt="%8.8s";

pos=35,32  val=DN chan=n-0205 fmt="%1d";  pos=35,35 val=STATE_NAME chan=n-0205 fmt="%8.8s";
pos=36,32  val=DN chan=n-0206 fmt="%1d";  pos=36,35 val=STATE_NAME chan=n-0206 fmt="%8.8s";

pos=46,17  val=DN chan=f-2560 fmt=BIN16;
pos=47,17  val=DN chan=n-2560 fmt=BIN16;
pos=49,17  val=DN chan=f-2570 fmt=BIN16;
pos=50,17  val=DN chan=n-2570 fmt=BIN16;
pos=52,17  val=DN chan=f-2565 fmt=BIN16;
pos=53,17  val=DN chan=n-2565 fmt=BIN16;
pos=62,23  val=DN chan=f-2575 fmt="%#4.4x"; pos=62,37  val=DN chan=n-2575 fmt="%#4.4x";


rule=static
pos=04,45  val='  _DEVICE_DEAD_STATUS______________________';
pos=05,45  val=' |                           |             |';
pos=06,45  val=' |                   CONTROL |     NON_CNT |';
pos=07,45  val=' |                           |             |';
pos=08,45  val=' | DEVDEAD_1          XXXXXX |      XXXXXX |';
pos=09,45  val=' | DVDEAD1_BUS   X  XXXXXXXX | X  XXXXXXXX |';
pos=10,45  val=' | DVDEAD1_CLK   X  XXXXXXXX | X  XXXXXXXX |';
pos=11,45  val=' | DVDEAD1_SSA   X  XXXXXXXX | X  XXXXXXXX |';
pos=12,45  val=' | DVDEAD1_RWA   X  XXXXXXXX | X  XXXXXXXX |';
pos=13,45  val=' | DVDEAD1_IMU   X  XXXXXXXX | X  XXXXXXXX |';
pos=14,45  val=' | DVDEAD1_GYR   X  XXXXXXXX | X  XXXXXXXX |';
pos=15,45  val=' | DVDEAD1_DTC   X  XXXXXXXX | X  XXXXXXXX |';
pos=16,45  val=' | DVDEAD1_EDF   X  XXXXXXXX | X  XXXXXXXX |';
pos=17,45  val=' | DVDEAD1_XSU   X  XXXXXXXX | X  XXXXXXXX |';
pos=18,45  val=' | DVDEAD1_TWT   X  XXXXXXXX | X  XXXXXXXX |';
pos=19,45  val=' | DVDEAD1_MOT   X  XXXXXXXX | X  XXXXXXXX |';
pos=20,45  val=' | DVDEAD1_PSE   X  XXXXXXXX | X  XXXXXXXX |';
pos=21,45  val=' | DVDEAD1_SAP   X  XXXXXXXX | X  XXXXXXXX |';
pos=22,45  val=' | DVDEAD1_HGA   X  XXXXXXXX | X  XXXXXXXX |';
pos=23,45  val=' | DVDEAD1_SAM   X  XXXXXXXX | X  XXXXXXXX |';
pos=24,45  val=' | DVDEAD1_ATT   X  XXXXXXXX | X  XXXXXXXX |';
pos=25,45  val=' |                           |             |';
pos=26,45  val=' | DEVDEAD_2          XXXXXX |      XXXXXX |';
pos=27,45  val=' | DVDEAD2_MHSA  X  XXXXXXXX | X  XXXXXXXX |';
pos=28,45  val=' | DVDEAD2_CSA   X  XXXXXXXX | X  XXXXXXXX |';
pos=29,45  val=' | DVDEAD2_TANK  X  XXXXXXXX | X  XXXXXXXX |';
pos=30,45  val=' | DVDEAD2_REA   X  XXXXXXXX | X  XXXXXXXX |';
pos=31,45  val=' |___________________________|_____________|';

rule=dynamic
                                          pos=08,67 val=DN         chan=f-1034 fmt="%#4.4x";
pos=09,62  val=DN chan=f-1560 fmt="%1d";  pos=09,65 val=STATE_NAME chan=f-1560 fmt="%8.8s";
pos=10,62  val=DN chan=f-1561 fmt="%1d";  pos=10,65 val=STATE_NAME chan=f-1561 fmt="%8.8s";
pos=11,62  val=DN chan=f-1562 fmt="%1d";  pos=11,65 val=STATE_NAME chan=f-1562 fmt="%8.8s";
pos=12,62  val=DN chan=f-1563 fmt="%1d";  pos=12,65 val=STATE_NAME chan=f-1563 fmt="%8.8s";
pos=13,62  val=DN chan=f-1564 fmt="%1d";  pos=13,65 val=STATE_NAME chan=f-1564 fmt="%8.8s";
pos=14,62  val=DN chan=f-1565 fmt="%1d";  pos=14,65 val=STATE_NAME chan=f-1565 fmt="%8.8s";
pos=15,62  val=DN chan=f-1566 fmt="%1d";  pos=15,65 val=STATE_NAME chan=f-1566 fmt="%8.8s";
pos=16,62  val=DN chan=f-1567 fmt="%1d";  pos=16,65 val=STATE_NAME chan=f-1567 fmt="%8.8s";
pos=17,62  val=DN chan=f-1568 fmt="%1d";  pos=17,65 val=STATE_NAME chan=f-1568 fmt="%8.8s";
pos=18,62  val=DN chan=f-1569 fmt="%1d";  pos=18,65 val=STATE_NAME chan=f-1569 fmt="%8.8s";
pos=19,62  val=DN chan=f-1570 fmt="%1d";  pos=19,65 val=STATE_NAME chan=f-1560 fmt="%8.8s";
pos=20,62  val=DN chan=f-1571 fmt="%1d";  pos=20,65 val=STATE_NAME chan=f-1571 fmt="%8.8s";
pos=21,62  val=DN chan=f-1572 fmt="%1d";  pos=21,65 val=STATE_NAME chan=f-1572 fmt="%8.8s";
pos=22,62  val=DN chan=f-1573 fmt="%1d";  pos=22,65 val=STATE_NAME chan=f-1573 fmt="%8.8s";
pos=23,62  val=DN chan=f-1574 fmt="%1d";  pos=23,65 val=STATE_NAME chan=f-1574 fmt="%8.8s";
pos=24,62  val=DN chan=f-1575 fmt="%1d";  pos=24,65 val=STATE_NAME chan=f-1575 fmt="%8.8s";

                                          pos=26,67 val=DN         chan=f-1035 fmt="%#4.4x";
pos=27,62  val=DN chan=f-1680 fmt="%1d";  pos=27,65 val=STATE_NAME chan=f-1680 fmt="%8.8s";
pos=28,62  val=DN chan=f-1681 fmt="%1d";  pos=28,65 val=STATE_NAME chan=f-1681 fmt="%8.8s";
pos=29,62  val=DN chan=f-1682 fmt="%1d";  pos=29,65 val=STATE_NAME chan=f-1682 fmt="%8.8s";
pos=30,62  val=DN chan=f-1683 fmt="%1d";  pos=30,65 val=STATE_NAME chan=f-1683 fmt="%8.8s";

                                          pos=08,81 val=DN         chan=n-1034 fmt="%#4.4x";
pos=09,76  val=DN chan=n-1560 fmt="%1d";  pos=09,79 val=STATE_NAME chan=n-1560 fmt="%8.8s";
pos=10,76  val=DN chan=n-1561 fmt="%1d";  pos=10,79 val=STATE_NAME chan=n-1561 fmt="%8.8s";
pos=11,76  val=DN chan=n-1562 fmt="%1d";  pos=11,79 val=STATE_NAME chan=n-1562 fmt="%8.8s";
pos=12,76  val=DN chan=n-1563 fmt="%1d";  pos=12,79 val=STATE_NAME chan=n-1563 fmt="%8.8s";
pos=13,76  val=DN chan=n-1564 fmt="%1d";  pos=13,79 val=STATE_NAME chan=n-1564 fmt="%8.8s";
pos=14,76  val=DN chan=n-1565 fmt="%1d";  pos=14,79 val=STATE_NAME chan=n-1565 fmt="%8.8s";
pos=15,76  val=DN chan=n-1566 fmt="%1d";  pos=15,79 val=STATE_NAME chan=n-1566 fmt="%8.8s";
pos=16,76  val=DN chan=n-1567 fmt="%1d";  pos=16,79 val=STATE_NAME chan=n-1567 fmt="%8.8s";
pos=17,76  val=DN chan=n-1568 fmt="%1d";  pos=17,79 val=STATE_NAME chan=n-1568 fmt="%8.8s";
pos=18,76  val=DN chan=n-1569 fmt="%1d";  pos=18,79 val=STATE_NAME chan=n-1569 fmt="%8.8s";
pos=19,76  val=DN chan=n-1570 fmt="%1d";  pos=19,79 val=STATE_NAME chan=n-1570 fmt="%8.8s";
pos=20,76  val=DN chan=n-1571 fmt="%1d";  pos=20,79 val=STATE_NAME chan=n-1571 fmt="%8.8s";
pos=21,76  val=DN chan=n-1572 fmt="%1d";  pos=21,79 val=STATE_NAME chan=n-1572 fmt="%8.8s";
pos=22,76  val=DN chan=n-1573 fmt="%1d";  pos=22,79 val=STATE_NAME chan=n-1573 fmt="%8.8s";
pos=23,76  val=DN chan=n-1574 fmt="%1d";  pos=23,79 val=STATE_NAME chan=n-1574 fmt="%8.8s";
pos=24,76  val=DN chan=n-1575 fmt="%1d";  pos=24,79 val=STATE_NAME chan=n-1575 fmt="%8.8s";

                                          pos=26,81 val=DN         chan=n-1035 fmt="%#4.4x";
pos=27,76  val=DN chan=n-1680 fmt="%1d";  pos=27,79 val=STATE_NAME chan=n-1680 fmt="%8.8s";
pos=28,76  val=DN chan=n-1681 fmt="%1d";  pos=28,79 val=STATE_NAME chan=n-1681 fmt="%8.8s";
pos=29,76  val=DN chan=n-1682 fmt="%1d";  pos=29,79 val=STATE_NAME chan=n-1682 fmt="%8.8s";
pos=30,76  val=DN chan=n-1683 fmt="%1d";  pos=30,79 val=STATE_NAME chan=n-1683 fmt="%8.8s";


rule=static
pos=01,89  val='  _DEVICE_CONFIGURATION____________________';
pos=02,89  val=' |                           |             |';
pos=03,89  val=' | RDM_DEV_CFG1       XXXXXX |      XXXXXX |';
pos=04,89  val=' | RDM_DC1_SSA   X  XXXXXXXX | X  XXXXXXXX |';
pos=05,89  val=' | RDM_DC1_RPA   X  XXXXXXXX | X  XXXXXXXX |';
pos=06,89  val=' | RDM_DC1_EDF   X  XXXXXXXX | X  XXXXXXXX |';
pos=07,89  val=' | RDM_DC1_XSU   X  XXXXXXXX | X  XXXXXXXX |';
pos=08,89  val=' | RDM_DC1_PSE   X  XXXXXXXX | X  XXXXXXXX |';
pos=09,89  val=' | RDM_DC1_SAP   X  XXXXXXXX | X  XXXXXXXX |';
pos=10,89  val=' | RDM_DC1_SAM   X  XXXXXXXX | X  XXXXXXXX |';
pos=11,89  val=' | RDM_DC1_HGA   X  XXXXXXXX | X  XXXXXXXX |';
pos=12,89  val=' | RDM_DC1_MHSA  X  XXXXXXXX | X  XXXXXXXX |';
pos=13,89  val=' |                           |             |';
pos=14,89  val=' | RDM_DEV_CFG2       XXXXXX |      XXXXXX |';
pos=15,89  val=' | RDM_DC2_GYRO  X  XXXXXXXX | X  XXXXXXXX |';
pos=16,89  val=' | RDM_DC2_RWA   X  XXXXXXXX | X  XXXXXXXX |';
pos=17,89  val=' | RDM_DC2_FRWA  X  XXXXXXXX | X  XXXXXXXX |';
pos=18,89  val=' | RDM_DC2_REA   X  XXXXXXXX | X  XXXXXXXX |';
pos=19,89  val=' |___________________________|_____________|';

rule=dynamic
                                          pos=03,111 val=DN         chan=f-1237 fmt="%#4.4x";
pos=04,106 val=DN chan=f-1720 fmt="%1d";  pos=04,109 val=STATE_NAME chan=f-1720 fmt="%8.8s";
pos=05,106 val=DN chan=f-1721 fmt="%1d";  pos=05,109 val=STATE_NAME chan=f-1721 fmt="%8.8s";
pos=06,106 val=DN chan=f-1722 fmt="%1d";  pos=06,109 val=STATE_NAME chan=f-1722 fmt="%8.8s";
pos=07,106 val=DN chan=f-1723 fmt="%1d";  pos=07,109 val=STATE_NAME chan=f-1723 fmt="%8.8s";
pos=08,106 val=DN chan=f-1724 fmt="%1d";  pos=08,109 val=STATE_NAME chan=f-1724 fmt="%8.8s";
pos=09,106 val=DN chan=f-1725 fmt="%1d";  pos=09,109 val=STATE_NAME chan=f-1725 fmt="%8.8s";
pos=10,106 val=DN chan=f-1726 fmt="%1d";  pos=10,109 val=STATE_NAME chan=f-1726 fmt="%8.8s";
pos=11,106 val=DN chan=f-1727 fmt="%1d";  pos=11,109 val=STATE_NAME chan=f-1727 fmt="%8.8s";
pos=12,106 val=DN chan=f-1728 fmt="%1d";  pos=12,109 val=STATE_NAME chan=f-1728 fmt="%8.8s";

                                          pos=14,111 val=DN         chan=f-1238 fmt="%#4.4x";
pos=15,105 val=DN chan=f-1740 fmt="%2d";  pos=15,109 val=STATE_NAME chan=f-1740 fmt="%8.8s";
pos=16,105 val=DN chan=f-1743 fmt="%2d";  pos=16,109 val=STATE_NAME chan=f-1743 fmt="%8.8s";
pos=17,106 val=DN chan=f-1747 fmt="%1d";  pos=17,109 val=STATE_NAME chan=f-1747 fmt="%8.8s";
pos=18,106 val=DN chan=f-1748 fmt="%1d";  pos=18,109 val=STATE_NAME chan=f-1748 fmt="%8.8s";

                                          pos=03,125 val=DN         chan=n-1237 fmt="%#4.4x";
pos=04,120 val=DN chan=n-1720 fmt="%1d";  pos=04,123 val=STATE_NAME chan=n-1720 fmt="%8.8s";
pos=05,120 val=DN chan=n-1721 fmt="%1d";  pos=05,123 val=STATE_NAME chan=n-1721 fmt="%8.8s";
pos=06,120 val=DN chan=n-1722 fmt="%1d";  pos=06,123 val=STATE_NAME chan=n-1722 fmt="%8.8s";
pos=07,120 val=DN chan=n-1723 fmt="%1d";  pos=07,123 val=STATE_NAME chan=n-1723 fmt="%8.8s";
pos=08,120 val=DN chan=n-1724 fmt="%1d";  pos=08,123 val=STATE_NAME chan=n-1724 fmt="%8.8s";
pos=09,120 val=DN chan=n-1725 fmt="%1d";  pos=09,123 val=STATE_NAME chan=n-1725 fmt="%8.8s";
pos=10,120 val=DN chan=n-1726 fmt="%1d";  pos=10,123 val=STATE_NAME chan=n-1726 fmt="%8.8s";
pos=11,120 val=DN chan=n-1727 fmt="%1d";  pos=11,123 val=STATE_NAME chan=n-1727 fmt="%8.8s";
pos=12,120 val=DN chan=n-1728 fmt="%1d";  pos=12,123 val=STATE_NAME chan=n-1728 fmt="%8.8s";

                                          pos=14,125 val=DN         chan=n-1238 fmt="%#4.4x";
pos=15,119 val=DN chan=n-1740 fmt="%2d";  pos=15,123 val=STATE_NAME chan=n-1740 fmt="%8.8s";
pos=16,119 val=DN chan=n-1743 fmt="%2d";  pos=16,123 val=STATE_NAME chan=n-1743 fmt="%8.8s";
pos=17,120 val=DN chan=n-1747 fmt="%1d";  pos=17,123 val=STATE_NAME chan=n-1747 fmt="%8.8s";
pos=18,120 val=DN chan=n-1748 fmt="%1d";  pos=18,123 val=STATE_NAME chan=n-1748 fmt="%8.8s";

rule=static
pos=20,89  val='  _________________________________________';
pos=21,89  val=' |                           |             |';
pos=22,89  val=' | CE_DISCRETE   X  XXXXXXXX | X  XXXXXXXX |';
pos=23,89  val=' | RDM_AUTENSCP  X  XXXXXXXX | X  XXXXXXXX |';
pos=24,89  val=' | RDM_CONTMODE  X  XXXXXXXX | X  XXXXXXXX |';
pos=25,89  val=' | EDF_FINISH         XXXXXX |      XXXXXX |';
pos=26,89  val=' | RDM_IMU_STA        XXXXXX |      XXXXXX |';
pos=27,89  val=' | RDM_IMUTWMIS       XXXXXX |      XXXXXX |';
pos=28,89  val=' | RDM_GYROPWSH       XXXXXX |      XXXXXX |';
pos=29,89  val=' | RDM_GYRORCSH       XXXXXX |      XXXXXX |';
pos=30,89  val=' | RDM_GYscPHSE  X  XXXXXXXX | X  XXXXXXXX |';
pos=31,89  val=' |___________________________|_____________|';

rule=dynamic
pos=22,106 val=DN chan=f-1010 fmt="%1d";  pos=22,109 val=STATE_NAME chan=f-1010 fmt="%8.8s";
pos=23,106 val=DN chan=f-1171 fmt="%1d";  pos=23,109 val=STATE_NAME chan=f-1171 fmt="%8.8s";
pos=24,106 val=DN chan=f-1236 fmt="%1d";  pos=24,109 val=STATE_NAME chan=f-1236 fmt="%8.8s";
                                          pos=25,111 val=DN         chan=f-1045 fmt="%#4.4x";
                                          pos=26,111 val=DN         chan=f-1262 fmt="%#4.4x";
                                          pos=27,111 val=DN         chan=f-1261 fmt="%#4.4x";
                                          pos=28,111 val=DN         chan=f-1253 fmt="%#4.4x";
                                          pos=29,111 val=DN         chan=f-1254 fmt="%#4.4x";
pos=30,106 val=DN chan=f-1256 fmt="%1d";  pos=30,109 val=STATE_NAME chan=f-1256 fmt="%8.8s";

pos=22,120 val=DN chan=n-1010 fmt="%1d";  pos=22,123 val=STATE_NAME chan=n-1010 fmt="%8.8s";
pos=23,120 val=DN chan=n-1171 fmt="%1d";  pos=23,123 val=STATE_NAME chan=n-1171 fmt="%8.8s";
pos=24,120 val=DN chan=n-1236 fmt="%1d";  pos=24,123 val=STATE_NAME chan=n-1236 fmt="%8.8s";
                                          pos=25,125 val=DN         chan=n-1045 fmt="%#4.4x";
                                          pos=26,125 val=DN         chan=n-1262 fmt="%#4.4x";
                                          pos=27,125 val=DN         chan=n-1261 fmt="%#4.4x";
                                          pos=28,125 val=DN         chan=n-1253 fmt="%#4.4x";
                                          pos=29,125 val=DN         chan=n-1254 fmt="%#4.4x";
pos=30,120 val=DN chan=n-1256 fmt="%1d";  pos=30,123 val=STATE_NAME chan=n-1256 fmt="%8.8s";



rule=static
pos=01,133 val='  _SWITCH_SUMMARY__________________________________';
pos=02,133 val=' |                               |                 |';
pos=03,133 val=' | RDMN_SW_SUM1           XXXXXX |          XXXXXX |';
pos=04,133 val=' | RDS1_SW_BUS   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=05,133 val=' | RDS1_SW_SSA   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=06,133 val=' | RDS1_SW_IMU   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=07,133 val=' | RDS1_SW_EDF   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=08,133 val=' | RDS1_SW_XSU   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=09,133 val=' | RDS1_SW_RPA   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=10,133 val=' | RDS1_SW_MOT   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=11,133 val=' | RDS1_SW_PSE   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=12,133 val=' | RDS1_SW_SAP   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=13,133 val=' | RDS1_SW_SAM   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=14,133 val=' | RDS1_SW_HGA   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=15,133 val=' | RDS1_SW_MHSA  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=16,133 val=' | RDS1_SW_RWA   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=17,133 val=' | RDS1_SW_WRM   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=18,133 val=' | RDS1_SW_CLD   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=19,133 val=' | RDS1_SW_AACS  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=20,133 val=' |                               |                 |';
pos=21,133 val=' | RDMN_SW_SUM2           XXXXXX |          XXXXXX |';
pos=22,133 val=' | RDS2_TNKOP1L  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=23,133 val=' | RDS2_SPARE01  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=24,133 val=' | RDS2_TNKOP2L  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=25,133 val=' | RDS2_SPARE03  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=26,133 val=' | RDS2_TNKUPL   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=27,133 val=' | RDS2_SW2REA   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=28,133 val=' | RDS2_SW2SUNA  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=29,133 val=' | RDS2_SW_REA   X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=30,133 val=' | RDS2_REA1ISO  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=31,133 val=' | RDS2_REA2ISO  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=32,133 val=' | RDS2_TWTAFIL  X  XXXXXXXXXXXX | X  XXXXXXXXXXXX |';
pos=33,133 val=' |_______________________________|_________________|';

rule=dynamic
                                          pos=03,159 val=DN         chan=f-1348 fmt="%#4.4x";
pos=04,150 val=DN chan=f-1640 fmt="%1d";  pos=04,153 val=STATE_NAME chan=f-1640 fmt="%12.12s";
pos=05,150 val=DN chan=f-1641 fmt="%1d";  pos=05,153 val=STATE_NAME chan=f-1641 fmt="%12.12s";
pos=06,150 val=DN chan=f-1642 fmt="%1d";  pos=06,153 val=STATE_NAME chan=f-1642 fmt="%12.12s";
pos=07,150 val=DN chan=f-1643 fmt="%1d";  pos=07,153 val=STATE_NAME chan=f-1643 fmt="%12.12s";
pos=08,150 val=DN chan=f-1644 fmt="%1d";  pos=08,153 val=STATE_NAME chan=f-1644 fmt="%12.12s";
pos=09,150 val=DN chan=f-1645 fmt="%1d";  pos=09,153 val=STATE_NAME chan=f-1645 fmt="%12.12s";
pos=10,150 val=DN chan=f-1646 fmt="%1d";  pos=10,153 val=STATE_NAME chan=f-1646 fmt="%12.12s";
pos=11,150 val=DN chan=f-1647 fmt="%1d";  pos=11,153 val=STATE_NAME chan=f-1647 fmt="%12.12s";
pos=12,150 val=DN chan=f-1648 fmt="%1d";  pos=12,153 val=STATE_NAME chan=f-1648 fmt="%12.12s";
pos=13,150 val=DN chan=f-1649 fmt="%1d";  pos=13,153 val=STATE_NAME chan=f-1649 fmt="%12.12s";
pos=14,150 val=DN chan=f-1650 fmt="%1d";  pos=14,153 val=STATE_NAME chan=f-1650 fmt="%12.12s";
pos=15,150 val=DN chan=f-1651 fmt="%1d";  pos=15,153 val=STATE_NAME chan=f-1651 fmt="%12.12s";
pos=16,150 val=DN chan=f-1652 fmt="%1d";  pos=16,153 val=STATE_NAME chan=f-1652 fmt="%12.12s";
pos=17,150 val=DN chan=f-1653 fmt="%1d";  pos=17,153 val=STATE_NAME chan=f-1653 fmt="%12.12s";
pos=18,150 val=DN chan=f-1654 fmt="%1d";  pos=18,153 val=STATE_NAME chan=f-1654 fmt="%12.12s";
pos=19,150 val=DN chan=f-1655 fmt="%1d";  pos=19,153 val=STATE_NAME chan=f-1655 fmt="%12.12s";

                                          pos=21,159 val=DN         chan=f-1349 fmt="%#4.4x";
pos=22,150 val=DN chan=f-1700 fmt="%1d";  pos=22,153 val=STATE_NAME chan=f-1700 fmt="%12.12s";
pos=23,150 val=DN chan=f-1701 fmt="%1d";  pos=23,153 val=STATE_NAME chan=f-1701 fmt="%12.12s";
pos=24,150 val=DN chan=f-1702 fmt="%1d";  pos=24,153 val=STATE_NAME chan=f-1702 fmt="%12.12s";
pos=25,150 val=DN chan=f-1703 fmt="%1d";  pos=25,153 val=STATE_NAME chan=f-1703 fmt="%12.12s";
pos=26,150 val=DN chan=f-1704 fmt="%1d";  pos=26,153 val=STATE_NAME chan=f-1704 fmt="%12.12s";
pos=27,150 val=DN chan=f-1705 fmt="%1d";  pos=27,153 val=STATE_NAME chan=f-1705 fmt="%12.12s";
pos=28,150 val=DN chan=f-1706 fmt="%1d";  pos=28,153 val=STATE_NAME chan=f-1706 fmt="%12.12s";
pos=29,150 val=DN chan=f-1707 fmt="%1d";  pos=29,153 val=STATE_NAME chan=f-1707 fmt="%12.12s";
pos=30,150 val=DN chan=f-1708 fmt="%1d";  pos=30,153 val=STATE_NAME chan=f-1708 fmt="%12.12s";
pos=31,150 val=DN chan=f-1709 fmt="%1d";  pos=31,153 val=STATE_NAME chan=f-1709 fmt="%12.12s";
pos=32,150 val=DN chan=f-1710 fmt="%1d";  pos=32,153 val=STATE_NAME chan=f-1710 fmt="%12.12s";

                                          pos=03,177 val=DN         chan=n-1348 fmt="%#4.4x";
pos=04,168 val=DN chan=n-1640 fmt="%1d";  pos=04,171 val=STATE_NAME chan=n-1640 fmt="%12.12s";
pos=05,168 val=DN chan=n-1641 fmt="%1d";  pos=05,171 val=STATE_NAME chan=n-1641 fmt="%12.12s";
pos=06,168 val=DN chan=n-1642 fmt="%1d";  pos=06,171 val=STATE_NAME chan=n-1642 fmt="%12.12s";
pos=07,168 val=DN chan=n-1643 fmt="%1d";  pos=07,171 val=STATE_NAME chan=n-1643 fmt="%12.12s";
pos=08,168 val=DN chan=n-1644 fmt="%1d";  pos=08,171 val=STATE_NAME chan=n-1644 fmt="%12.12s";
pos=09,168 val=DN chan=n-1645 fmt="%1d";  pos=09,171 val=STATE_NAME chan=n-1645 fmt="%12.12s";
pos=10,168 val=DN chan=n-1646 fmt="%1d";  pos=10,171 val=STATE_NAME chan=n-1646 fmt="%12.12s";
pos=11,168 val=DN chan=n-1647 fmt="%1d";  pos=11,171 val=STATE_NAME chan=n-1647 fmt="%12.12s";
pos=12,168 val=DN chan=n-1648 fmt="%1d";  pos=12,171 val=STATE_NAME chan=n-1648 fmt="%12.12s";
pos=13,168 val=DN chan=n-1649 fmt="%1d";  pos=13,171 val=STATE_NAME chan=n-1649 fmt="%12.12s";
pos=14,168 val=DN chan=n-1650 fmt="%1d";  pos=14,171 val=STATE_NAME chan=n-1650 fmt="%12.12s";
pos=15,168 val=DN chan=n-1651 fmt="%1d";  pos=15,171 val=STATE_NAME chan=n-1651 fmt="%12.12s";
pos=16,168 val=DN chan=n-1652 fmt="%1d";  pos=16,171 val=STATE_NAME chan=n-1652 fmt="%12.12s";
pos=17,168 val=DN chan=n-1653 fmt="%1d";  pos=17,171 val=STATE_NAME chan=n-1653 fmt="%12.12s";
pos=18,168 val=DN chan=n-1654 fmt="%1d";  pos=18,171 val=STATE_NAME chan=n-1654 fmt="%12.12s";
pos=19,168 val=DN chan=n-1655 fmt="%1d";  pos=19,171 val=STATE_NAME chan=n-1655 fmt="%12.12s";

                                          pos=21,177 val=DN         chan=n-1349 fmt="%#4.4x";
pos=22,168 val=DN chan=n-1700 fmt="%1d";  pos=22,171 val=STATE_NAME chan=n-1700 fmt="%12.12s";
pos=23,168 val=DN chan=n-1701 fmt="%1d";  pos=23,171 val=STATE_NAME chan=n-1701 fmt="%12.12s";
pos=24,168 val=DN chan=n-1702 fmt="%1d";  pos=24,171 val=STATE_NAME chan=n-1702 fmt="%12.12s";
pos=25,168 val=DN chan=n-1703 fmt="%1d";  pos=25,171 val=STATE_NAME chan=n-1703 fmt="%12.12s";
pos=26,168 val=DN chan=n-1704 fmt="%1d";  pos=26,171 val=STATE_NAME chan=n-1704 fmt="%12.12s";
pos=27,168 val=DN chan=n-1705 fmt="%1d";  pos=27,171 val=STATE_NAME chan=n-1705 fmt="%12.12s";
pos=28,168 val=DN chan=n-1706 fmt="%1d";  pos=28,171 val=STATE_NAME chan=n-1706 fmt="%12.12s";
pos=29,168 val=DN chan=n-1707 fmt="%1d";  pos=29,171 val=STATE_NAME chan=n-1707 fmt="%12.12s";
pos=30,168 val=DN chan=n-1708 fmt="%1d";  pos=30,171 val=STATE_NAME chan=n-1708 fmt="%12.12s";
pos=31,168 val=DN chan=n-1709 fmt="%1d";  pos=31,171 val=STATE_NAME chan=n-1709 fmt="%12.12s";
pos=32,168 val=DN chan=n-1710 fmt="%1d";  pos=32,171 val=STATE_NAME chan=n-1710 fmt="%12.12s";




rule=static
pos=40,133 val='  _ERROR_INT_STATS_________________________________';
pos=41,133 val=' |                               |                 |';
pos=42,133 val=' | EIS_1BITERCT         XXXXXXXX |        XXXXXXXX |';
pos=43,133 val=' | EIS_FIXPT_OF         XXXXXXXX |        XXXXXXXX |';
pos=44,133 val=' | EIS_FLTPT_OF         XXXXXXXX |        XXXXXXXX |';
pos=45,133 val=' | EIS_FLTPT_UF         XXXXXXXX |        XXXXXXXX |';
pos=46,133 val=' | EIS_ILL_EXEC         XXXXXXXX |        XXXXXXXX |';
pos=47,133 val=' | EIS_ISR_TIMA         XXXXXXXX |        XXXXXXXX |';
pos=48,133 val=' | EIS_LVL0_ERR         XXXXXXXX |        XXXXXXXX |';
pos=49,133 val=' | EIS_MACH_ERR         XXXXXXXX |        XXXXXXXX |';
pos=50,133 val=' | EIS_SPR_INT          XXXXXXXX |        XXXXXXXX |';
pos=51,133 val=' |                               |                 |';
pos=52,133 val=' | EIS_RT_FAULT           XXXXXX |          XXXXXX |';
pos=53,133 val=' | EIS_SEF_PgOF           XXXXXX |          XXXXXX |';
pos=54,133 val=' |_______________________________|_________________|';


rule=dynamic
pos=42,157 val=DN  chan=f-1060 fmt="%8d"; pos=42,175 val=DN  chan=n-1060 fmt="%8d";
pos=43,157 val=DN  chan=f-1061 fmt="%8d"; pos=43,175 val=DN  chan=n-1061 fmt="%8d";
pos=44,157 val=DN  chan=f-1062 fmt="%8d"; pos=44,175 val=DN  chan=n-1062 fmt="%8d";
pos=45,157 val=DN  chan=f-1063 fmt="%8d"; pos=45,175 val=DN  chan=n-1063 fmt="%8d";
pos=46,157 val=DN  chan=f-1064 fmt="%8d"; pos=46,175 val=DN  chan=n-1064 fmt="%8d";
pos=47,157 val=DN  chan=f-1065 fmt="%8d"; pos=47,175 val=DN  chan=n-1065 fmt="%8d";
pos=48,157 val=DN  chan=f-1066 fmt="%8d"; pos=48,175 val=DN  chan=n-1066 fmt="%8d";
pos=49,157 val=DN  chan=f-1067 fmt="%8d"; pos=49,175 val=DN  chan=n-1067 fmt="%8d";
pos=50,157 val=DN  chan=f-1074 fmt="%8d"; pos=50,175 val=DN  chan=n-1074 fmt="%8d";
pos=52,159 val=DN  chan=f-1070 fmt="%#4.4x"; pos=52,177 val=DN  chan=n-1070 fmt="%#4.4x";
pos=53,159 val=DN  chan=f-1073 fmt="%#4.4x"; pos=53,177 val=DN  chan=n-1073 fmt="%#4.4x";


rule=static
pos=33,45  val='  _REDMAN_ERROR_COUNTERS_____________________';
pos=34,45  val=' |                                          |';
pos=35,45  val=' | RDM_TE_CT_20 (DA_INT)      XXXXX  XXXXX  |';
pos=36,45  val=' | RDM_TE_CT_21 (CIU_NOTOK)   XXXXX  XXXXX  |';
pos=37,45  val=' | RDM_TE_CT_22 (CIX_NOTOK)   XXXXX  XXXXX  |';
pos=38,45  val=' | RDM_TE_CT_23 (QUART_HZ)    XXXXX  XXXXX  |';
pos=39,45  val=' | RDM_TE_CT_24 (TWO_HZ)      XXXXX  XXXXX  |';
pos=40,45  val=' | RDM_TE_CT_25 (SSA_READ)    XXXXX  XXXXX  |';
pos=41,45  val=' | RDM_TE_CT_26 (SSA_DATA)    XXXXX  XXXXX  |';
pos=42,45  val=' | RDM_TE_CT_27 (SSA_NOSUN)   XXXXX  XXXXX  |';
pos=43,45  val=' | RDM_TE_CT_28 (RWA_X)       XXXXX  XXXXX  |';
pos=44,45  val=' | RDM_TE_CT_29 (RWA_Y)       XXXXX  XXXXX  |';
pos=45,45  val=' | RDM_TE_CT_30 (RWA_Z)       XXXXX  XXXXX  |';
pos=46,45  val=' | RDM_TE_CT_31 (RWA_S)       XXXXX  XXXXX  |';
pos=47,45  val=' | RDM_TE_CT_32 (IMU_INT)     XXXXX  XXXXX  |';
pos=48,45  val=' | RDM_TE_CT_33 (IMU_READ)    XXXXX  XXXXX  |';
pos=49,45  val=' | RDM_TE_CT_34 (IMU_STATUS)  XXXXX  XXXXX  |';
pos=50,45  val=' | RDM_TE_CT_35 (SAT)         XXXXX  XXXXX  |';
pos=51,45  val=' | RDM_TE_CT_36 (CHAN)        XXXXX  XXXXX  |';
pos=52,45  val=' | RDM_TE_CT_37 (GYRO)        XXXXX  XXXXX  |';
pos=53,45  val=' | RDM_TE_CT_38 (DTC)         XXXXX  XXXXX  |';
pos=54,45  val=' | RDM_TE_CT_39 (EDF_MEOK)    XXXXX  XXXXX  |';
pos=55,45  val=' | RDM_TE_CT_40 (EDF_INT)     XXXXX  XXXXX  |';
pos=56,45  val=' | RDM_TE_CT_41 (EDF_TIMEOUT) XXXXX  XXXXX  |';
pos=57,45  val=' | RDM_TE_CT_42 (EDF_CHECKSM) XXXXX  XXXXX  |';
pos=58,45  val=' | RDM_TE_CT_43 (XSU_THERM)   XXXXX  XXXXX  |';
pos=59,45  val=' | RDM_TE_CT_44 (XSU_TIMEOUT) XXXXX  XXXXX  |';
pos=60,45  val=' | RDM_TE_CT_45 (TURN_TWTOFF) XXXXX  XXXXX  |';
pos=61,45  val=' | RDM_TE_CT_46 (TURN_TWTAON) XXXXX  XXXXX  |';
pos=62,45  val=' | RDM_TE_CT_47 (BOTH_TWTAON) XXXXX  XXXXX  |';
pos=63,45  val=' |__________________________________________|';

pos=33,89  val='___________________________________________';
pos=34,89  val='|                                          |';
pos=35,89  val='|  RDM_TE_CT_48 (TURN_FILOFF) XXXXX  XXXXX |';
pos=36,89  val='|  RDM_TE_CT_49 (MOT_RECEIVR) XXXXX  XXXXX |';
pos=37,89  val='|  RDM_TE_CT_50 (MOT_EXCITER) XXXXX  XXXXX |';
pos=38,89  val='|  RDM_TE_CT_51 (PSE_TIMEOUT) XXXXX  XXXXX |';
pos=39,89  val='|  RDM_TE_CT_52 (PSE_BUS)     XXXXX  XXXXX |';
pos=40,89  val='|  RDM_TE_CT_53 (SAP_READ)    XXXXX  XXXXX |';
pos=41,89  val='|  RDM_TE_CT_54 (SAP_WRITE)   XXXXX  XXXXX |';
pos=42,89  val='|  RDM_TE_CT_55 (SAP_DATA)    XXXXX  XXXXX |';
pos=43,89  val='|  RDM_TE_CT_56 (SAP_POSTN)   XXXXX  XXXXX |';
pos=44,89  val='|  RDM_TE_CT_57 (SAM_READ)    XXXXX  XXXXX |';
pos=45,89  val='|  RDM_TE_CT_58 (SAM_WRITE)   XXXXX  XXXXX |';
pos=46,89  val='|  RDM_TE_CT_59 (SAM_DATA)    XXXXX  XXXXX |';
pos=47,89  val='|  RDM_TE_CT_60 (SAM_POSTN)   XXXXX  XXXXX |';
pos=48,89  val='|  RDM_TE_CT_61 (HGA_READ)    XXXXX  XXXXX |';
pos=49,89  val='|  RDM_TE_CT_62 (HGA_WRITE)   XXXXX  XXXXX |';
pos=50,89  val='|  RDM_TE_CT_63 (HGA_DATA)    XXXXX  XXXXX |';
pos=51,89  val='|  RDM_TE_CT_64 (HGA_POSTN)   XXXXX  XXXXX |';
pos=52,89  val='|  RDM_TE_CT_65 (MHSA_IO)     XXXXX  XXXXX |';
pos=53,89  val='|  RDM_TE_CT_66 (MHSA_DATA)   XXXXX  XXXXX |';
pos=54,89  val='|  RDM_TE_CT_67 (MHSA_SEARCH) XXXXX  XXXXX |';
pos=55,89  val='|  RDM_TE_CT_68 (FAN_A)       XXXXX  XXXXX |';
pos=56,89  val='|  RDM_TE_CT_69 (FAN_B)       XXXXX  XXXXX |';
pos=57,89  val='|  RDM_TE_CT_70 (AACS_RATE)   XXXXX  XXXXX |';
pos=58,89  val='|  RDM_TE_CT_71 (AACS_ATT)    XXXXX  XXXXX |';
pos=59,89  val='|  RDM_TE_CT_72 (TANK_OP1)    XXXXX  XXXXX |';
pos=60,89  val='|  RDM_TE_CT_73 (TANK_OP2)    XXXXX  XXXXX |';
pos=61,89  val='|  RDM_TE_CT_74 (TANK_UP)     XXXXX  XXXXX |';
pos=62,89  val='|  RDM_TE_CT_75 (REA_LEAK)    XXXXX  XXXXX |';
pos=63,89  val='|__________________________________________|';


rule=dynamic
pos=35,75  val=DN chan=f-1350 fmt="%5d";  pos=35,82  val=DN chan=n-1350 fmt="%5d";
pos=36,75  val=DN chan=f-1351 fmt="%5d";  pos=36,82  val=DN chan=n-1351 fmt="%5d";
pos=37,75  val=DN chan=f-1352 fmt="%5d";  pos=37,82  val=DN chan=n-1352 fmt="%5d";
pos=38,75  val=DN chan=f-1353 fmt="%5d";  pos=38,82  val=DN chan=n-1353 fmt="%5d";
pos=39,75  val=DN chan=f-1354 fmt="%5d";  pos=39,82  val=DN chan=n-1354 fmt="%5d";
pos=40,75  val=DN chan=f-1355 fmt="%5d";  pos=40,82  val=DN chan=n-1355 fmt="%5d";
pos=41,75  val=DN chan=f-1356 fmt="%5d";  pos=41,82  val=DN chan=n-1356 fmt="%5d";
pos=42,75  val=DN chan=f-1357 fmt="%5d";  pos=42,82  val=DN chan=n-1357 fmt="%5d";
pos=43,75  val=DN chan=f-1358 fmt="%5d";  pos=43,82  val=DN chan=n-1358 fmt="%5d";
pos=44,75  val=DN chan=f-1359 fmt="%5d";  pos=44,82  val=DN chan=n-1359 fmt="%5d";
pos=45,75  val=DN chan=f-1360 fmt="%5d";  pos=45,82  val=DN chan=n-1360 fmt="%5d";
pos=46,75  val=DN chan=f-1361 fmt="%5d";  pos=46,82  val=DN chan=n-1361 fmt="%5d";
pos=47,75  val=DN chan=f-1362 fmt="%5d";  pos=47,82  val=DN chan=n-1362 fmt="%5d";
pos=48,75  val=DN chan=f-1363 fmt="%5d";  pos=48,82  val=DN chan=n-1363 fmt="%5d";
pos=49,75  val=DN chan=f-1364 fmt="%5d";  pos=49,82  val=DN chan=n-1364 fmt="%5d";
pos=50,75  val=DN chan=f-1365 fmt="%5d";  pos=50,82  val=DN chan=n-1365 fmt="%5d";
pos=51,75  val=DN chan=f-1366 fmt="%5d";  pos=51,82  val=DN chan=n-1366 fmt="%5d";
pos=52,75  val=DN chan=f-1367 fmt="%5d";  pos=52,82  val=DN chan=n-1367 fmt="%5d";
pos=53,75  val=DN chan=f-1368 fmt="%5d";  pos=53,82  val=DN chan=n-1368 fmt="%5d";
pos=54,75  val=DN chan=f-1369 fmt="%5d";  pos=54,82  val=DN chan=n-1369 fmt="%5d";
pos=55,75  val=DN chan=f-1370 fmt="%5d";  pos=55,82  val=DN chan=n-1370 fmt="%5d";
pos=56,75  val=DN chan=f-1371 fmt="%5d";  pos=56,82  val=DN chan=n-1371 fmt="%5d";
pos=57,75  val=DN chan=f-1372 fmt="%5d";  pos=57,82  val=DN chan=n-1372 fmt="%5d";
pos=58,75  val=DN chan=f-1373 fmt="%5d";  pos=58,82  val=DN chan=n-1373 fmt="%5d";
pos=59,75  val=DN chan=f-1374 fmt="%5d";  pos=59,82  val=DN chan=n-1374 fmt="%5d";
pos=60,75  val=DN chan=f-1375 fmt="%5d";  pos=60,82  val=DN chan=n-1375 fmt="%5d";
pos=61,75  val=DN chan=f-1376 fmt="%5d";  pos=61,82  val=DN chan=n-1376 fmt="%5d";
pos=62,75  val=DN chan=f-1377 fmt="%5d";  pos=62,82  val=DN chan=n-1377 fmt="%5d";


pos=35,119  val=DN chan=f-1378 fmt="%5d";  pos=35,126  val=DN chan=n-1378 fmt="%5d";
pos=36,119  val=DN chan=f-1379 fmt="%5d";  pos=36,126  val=DN chan=n-1379 fmt="%5d";
pos=37,119  val=DN chan=f-1380 fmt="%5d";  pos=37,126  val=DN chan=n-1380 fmt="%5d";
pos=38,119  val=DN chan=f-1381 fmt="%5d";  pos=38,126  val=DN chan=n-1381 fmt="%5d";
pos=39,119  val=DN chan=f-1382 fmt="%5d";  pos=39,126  val=DN chan=n-1382 fmt="%5d";
pos=40,119  val=DN chan=f-1383 fmt="%5d";  pos=40,126  val=DN chan=n-1383 fmt="%5d";
pos=41,119  val=DN chan=f-1384 fmt="%5d";  pos=41,126  val=DN chan=n-1384 fmt="%5d";
pos=42,119  val=DN chan=f-1385 fmt="%5d";  pos=42,126  val=DN chan=n-1385 fmt="%5d";
pos=43,119  val=DN chan=f-1386 fmt="%5d";  pos=43,126  val=DN chan=n-1386 fmt="%5d";
pos=44,119  val=DN chan=f-1387 fmt="%5d";  pos=44,126  val=DN chan=n-1387 fmt="%5d";
pos=45,119  val=DN chan=f-1388 fmt="%5d";  pos=45,126  val=DN chan=n-1388 fmt="%5d";
pos=46,119  val=DN chan=f-1389 fmt="%5d";  pos=46,126  val=DN chan=n-1389 fmt="%5d";
pos=47,119  val=DN chan=f-1390 fmt="%5d";  pos=47,126  val=DN chan=n-1390 fmt="%5d";
pos=48,119  val=DN chan=f-1391 fmt="%5d";  pos=48,126  val=DN chan=n-1391 fmt="%5d";
pos=49,119  val=DN chan=f-1392 fmt="%5d";  pos=49,126  val=DN chan=n-1392 fmt="%5d";
pos=50,119  val=DN chan=f-1393 fmt="%5d";  pos=50,126  val=DN chan=n-1393 fmt="%5d";
pos=51,119  val=DN chan=f-1394 fmt="%5d";  pos=51,126  val=DN chan=n-1394 fmt="%5d";
pos=52,119  val=DN chan=f-1395 fmt="%5d";  pos=52,126  val=DN chan=n-1395 fmt="%5d";
pos=53,119  val=DN chan=f-1396 fmt="%5d";  pos=53,126  val=DN chan=n-1396 fmt="%5d";
pos=54,119  val=DN chan=f-1397 fmt="%5d";  pos=54,126  val=DN chan=n-1397 fmt="%5d";
pos=55,119  val=DN chan=f-1398 fmt="%5d";  pos=55,126  val=DN chan=n-1398 fmt="%5d";
pos=56,119  val=DN chan=f-1399 fmt="%5d";  pos=56,126  val=DN chan=n-1399 fmt="%5d";
pos=57,119  val=DN chan=f-1400 fmt="%5d";  pos=57,126  val=DN chan=n-1400 fmt="%5d";
pos=58,119  val=DN chan=f-1401 fmt="%5d";  pos=58,126  val=DN chan=n-1401 fmt="%5d";
pos=59,119  val=DN chan=f-1402 fmt="%5d";  pos=59,126  val=DN chan=n-1402 fmt="%5d";
pos=60,119  val=DN chan=f-1403 fmt="%5d";  pos=60,126  val=DN chan=n-1403 fmt="%5d";
pos=61,119  val=DN chan=f-1404 fmt="%5d";  pos=61,126  val=DN chan=n-1404 fmt="%5d";
pos=62,119  val=DN chan=f-1405 fmt="%5d";  pos=62,126  val=DN chan=n-1405 fmt="%5d";


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_power_fix2.tdl                                               #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Power Subsystem Fixed Page #1 (Summary Schematic)                 #
# BASELINED: OGS 04-13-96                                                     #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################


TEMPLATE type=FIXED size=72,122 pos=4,1 # mgs_power_fix2.tdl

TEXTREGION

rule=static
pos=1,1    val='                                                                                              ';
pos=2,1    val='   MARS GLOBAL SURVEYOR POWER SUBSYSTEM  (POWER FIXED PAGE #2)          PSE+28_BUS_V  xxxx.xx ';
pos=3,1    val='                              ________________________________________  PSE+28_BUS_I  xxxx.xx ';
pos=4,1    val='                             |                  |     TOTAL S/A       | PSE+28_BUS_P  xxxx.xx ';
pos=5,1    val='               ___________   |    ___________   |   xxxx.xx amps      |                       ';
pos=6,1    val='              |           |__|   |           |__|   xxxx.xx watts     |  HEAT_SINK_T  xxxx.xx ';
pos=7,1    val='              |           |      |           |                        | PSE_CMD_SIDE xxxxxxxx ';
pos=8,1    val='              |   SOLAR   |      |   SOLAR   |                        |             _________ ';
pos=9,1    val='              |   ARRAY   |      |   ARRAY   |                        |____________|         |';
pos=10,1   val='              |  +Y WING  |      |  -Y WING  |                                     |   PSE   |';
pos=11,1   val='              |           |___   |           |__________________                   |_________|';
pos=12,1   val='              |___________|   |  |___________|                  |          ______       |';
pos=13,1   val='                              |_____________________________    |         |      |      |';
pos=14,1   val='                                                            |   |      ___| MODE |      |';
pos=15,1   val='                                                         ___|___|___  |   |CONTLR|      |';
pos=16,1   val='       CURRENT  xxxx.xx amps       xxxx.xx amps         |           | |   |______|      |';
pos=17,1   val='                                                        |  PARTIAL  |_|                 |';
pos=18,1   val='        Si_Isc  xxxx.xx mamps      xxxx.xx mamps        |   SHUNT   |  STATUS xxxxxxxx  |';
pos=19,1   val='        Si_Voc  xxxx.xx volts      xxxx.xx volts        |___________|                   |';
pos=20,1   val='                                                                                        |';
pos=21,1   val=' INR_FRNT_TEMP  xxxx.xx deg C      xxxx.xx deg C    VOLTAGE xxxx.xx volts               |';
pos=22,1   val=' INR_BACK_TEMP  xxxx.xx deg C      xxxx.xx deg C    CURRENT xxxx.xx amps                |';
pos=23,1   val='OUTR_FRNT_TEMP  xxxx.xx deg C      xxxx.xx deg C      POWER xxxx.xx watts               |';
pos=24,1   val='OUTR_BACK_TEMP  xxxx.xx deg C      xxxx.xx deg C                                        |';
pos=25,1   val='                                                     TEMP_1 xxxx.xx deg C               |';
pos=26,1   val='     SUN_ANGLE  xxxx.xx deg        xxxx.xx deg       TEMP_2 xxxx.xx deg C               |';
pos=27,1   val='                                                                                        |';
pos=28,1   val='                                ________________________________________________________|';
pos=29,1   val='Q1_TRNSTR_TEMP  xxxx.xx deg C  |   xxxx.xx deg C  |                       TOTAL CHARGE  |';
pos=30,1   val='Q3_TRNSTR_TEMP  xxxx.xx deg C  |   xxxx.xx deg C  |                      xxxx.xx amps   |';
pos=31,1   val='HEAT_SINK_TEMP  xxxx.xx deg C  |   xxxx.xx deg C  |                                     |';
pos=32,1   val='                 ___________   |    ___________   |                                     |';
pos=33,1   val='                |           |__|   |           |__|                                     |';
pos=34,1   val='                |   BCR 1   |      |   BCR 2   |                                        |';
pos=35,1   val='                |___________|      |___________|                      ___________       |';
pos=36,1   val='                          |                  |_______________________|           |______|';
pos=37,1   val='                          |__________________|_____|   TOTAL_DSCHRG  |    BVR    |       ';
pos=38,1   val='                 _________|_        _________|_       xxxx.xx amps   |___________|       ';
pos=39,1   val='                |           |      |           |                                         ';
pos=40,1   val='                |  BATTERY  |      |  BATTERY  |                CHANNELS  xxxx.xx nCHAN  ';
pos=41,1   val='                |     1     |      |     2     |                  STATUS xxxxxxxx        ';
pos=42,1   val='                |___________|      |___________|              EFFICIENCY  xxxx.xx %      ';
pos=43,1   val='                                                                                         ';
pos=44,1   val='  HIGH_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=45,1   val='   LOW_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=46,1   val='HALF_1_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=47,1   val='HALF_2_VOLTAGE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=48,1   val='CELL_IMBALANCE  xxxx.xx volts      xxxx.xx volts                                         ';
pos=49,1   val='                                                                                         ';
pos=50,1   val='CHARGE_CURRENT  xxxx.xx amps       xxxx.xx amps                                          ';
pos=51,1   val='DSCHRG_CURRENT  xxxx.xx amps       xxxx.xx amps                                          ';
pos=52,1   val='                                                                                         ';
pos=53,1   val=' TEMPERATURE_1  xxxx.xx deg C      xxxx.xx deg C                                         ';
pos=54,1   val=' TEMPERATURE_2  xxxx.xx deg C      xxxx.xx deg C                                         ';
pos=55,1   val='                                                                                         ';
pos=56,1   val='    PRESSURE_1  xxxx.xx psi        xxxx.xx psi                                           ';
pos=57,1   val='    PRESSURE_2  xxxx.xx psi        xxxx.xx psi                                           ';
pos=58,1   val='                                                                                         ';
pos=59,1   val=' PRESS_AVE_SOC  xxxx.xx %          xxxx.xx %                                             ';
pos=60,1   val='                                                                                         ';
pos=61,1   val='      SCP_ASOC  xxxx.xx %          xxxx.xx %                                             ';
pos=62,1   val='      SCP_TSOC  xxxx.xx %          xxxx.xx %                                             ';
pos=63,1   val='                                                                                         ';
pos=64,1   val='CHRG_RATE_STAT  xxxx.xx amps       xxxx.xx amps                                          ';
pos=65,1   val=' VT_LIMIT_STAT  xxxxxxx            xxxxxxx                                               ';
pos=66,1   val='      VT_SHIFT  xxxxxxx            xxxxxxx                                               ';
pos=67,1   val='PRIMARY_CHARGE  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=68,1   val=' BACKUP_CHARGE  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=69,1   val=' CHARGE_CONFIG  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=70,1   val='    TRICKLE_EN  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=71,1   val='    TRICKLE_ON  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';
pos=71,1   val='    TRICKLE_ON  xxxxxxxxxxxx       xxxxxxxxxxxx                                          ';



pos=2,95   val=' volts ';
pos=3,95   val=' amps  ';
pos=4,95   val=' watts ';
pos=5,95   val='       ';
pos=6,95   val=' deg C      _________      ';
pos=7,95   val='           |         |     ';
pos=8,95   val='  _________| S/C BUS |     ';
pos=9,95   val=' |         |_________|     ';
pos=10,95  val='_| BUS_CRNT  xxxx.xx amps  ';
pos=11,95  val=' |  BUS_PWR  xxxx.xx watts ';
pos=12,95  val=' |  HTR_EST  xxxx.xx amps  ';
pos=13,95  val=' |          _________      ';
pos=14,95  val=' |         |         |     ';
pos=15,95  val=' |_________| PAYLOAD |     ';
pos=16,95  val='           |_________|     ';
pos=17,95  val='  PYLD_CRNT  xxxx.xx amps  ';
pos=18,95  val='   PYLD_PWR  xxxx.xx watts ';
pos=19,95  val='    HTR_EST  xxxx.xx amps  ';
pos=20,95  val='                           ';
pos=21,95  val='PYRO ARM&ENABLE INDICATORS ';
pos=22,95  val='-------------------------- ';



rule=dynamic

pos=16,17   val=EU chan=e-0131 fmt="%7.2f"; pos=16,36  val=EU chan=e-0132 fmt="%7.2f";

pos=18,17   val=EU chan=e-0133 fmt="%7.2f"; pos=18,36  val=EU chan=e-0134 fmt="%7.2f";
pos=19,17   val=EU chan=e-0135 fmt="%7.2f"; pos=19,36  val=EU chan=e-0136 fmt="%7.2f";

pos=21,17   val=EU chan=t-0210 fmt="%7.2f"; pos=21,36  val=EU chan=t-0214 fmt="%7.2f";
pos=22,17   val=EU chan=t-0211 fmt="%7.2f"; pos=22,36  val=EU chan=t-0215 fmt="%7.2f";
pos=23,17   val=EU chan=t-0212 fmt="%7.2f"; pos=23,36  val=EU chan=t-0216 fmt="%7.2f";
pos=24,17   val=EU chan=t-0213 fmt="%7.2f"; pos=24,36  val=EU chan=t-0217 fmt="%7.2f";

# Solar Array Sun Angle Channels go here

pos=29,17   val=EU chan=t-0196 fmt="%7.2f"; pos=29,36  val=EU chan=t-0198 fmt="%7.2f";
pos=30,17   val=EU chan=t-0197 fmt="%7.2f"; pos=30,36  val=EU chan=t-0199 fmt="%7.2f";
pos=31,17   val=EU chan=t-0205 fmt="%7.2f"; pos=31,36  val=EU chan=t-0206 fmt="%7.2f";

pos=44,17   val=EU chan=e-0101 fmt="%7.2f"; pos=44,36  val=EU chan=e-0111 fmt="%7.2f";
pos=45,17   val=EU chan=e-0102 fmt="%7.2f"; pos=45,36  val=EU chan=e-0112 fmt="%7.2f";
pos=46,17   val=EU chan=e-0103 fmt="%7.2f"; pos=46,36  val=EU chan=e-0113 fmt="%7.2f";
pos=47,17   val=DN chan=v-2150 fmt="%7.2f"; pos=47,36  val=DN chan=v-2151 fmt="%7.2f";
pos=48,17   val=DN chan=v-2152 fmt="%7.2f"; pos=48,36  val=DN chan=v-2153 fmt="%7.2f";

pos=50,17   val=EU chan=e-0105 fmt="%7.2f"; pos=50,36  val=EU chan=e-0115 fmt="%7.2f";
pos=51,17   val=EU chan=e-0106 fmt="%7.2f"; pos=51,36  val=EU chan=e-0116 fmt="%7.2f";

pos=53,17   val=EU chan=t-0200 fmt="%7.2f"; pos=53,36  val=EU chan=t-0202 fmt="%7.2f";
pos=54,17   val=EU chan=t-0201 fmt="%7.2f"; pos=54,36  val=EU chan=t-0203 fmt="%7.2f";

pos=56,17   val=EU chan=e-0108 fmt="%7.2f"; pos=56,36  val=EU chan=e-0118 fmt="%7.2f";
pos=57,17   val=EU chan=e-0109 fmt="%7.2f"; pos=57,36  val=EU chan=e-0119 fmt="%7.2f";

pos=59,17   val=DN chan=v-2211 fmt="%7.2f"; pos=59,36  val=DN chan=v-2212 fmt="%7.2f";

pos=61,17   val=DN chan=v-2205 fmt="%7.2f"; pos=61,36  val=DN chan=v-2207 fmt="%7.2f";
pos=62,17   val=DN chan=v-2206 fmt="%7.2f"; pos=62,36  val=DN chan=v-2208 fmt="%7.2f";

pos=64,17   val=EU chan=e-0104 fmt="%7.2f"; pos=64,36  val=EU chan=e-0114 fmt="%7.2f";
pos=65,17   val=EU chan=e-0107 fmt="%7.0f"; pos=65,36  val=EU chan=e-0117 fmt="%7.0f";
pos=66,17   val=STATE_NAME chan=e-0006 fmt="%12.12s"; pos=66,36  val=STATE_NAME chan=e-0016 fmt="%12.12s";
pos=67,17   val=STATE_NAME chan=e-0001 fmt="%12.12s"; pos=67,36  val=STATE_NAME chan=e-0011 fmt="%12.12s";
pos=68,17   val=STATE_NAME chan=e-0002 fmt="%12.12s"; pos=68,36  val=STATE_NAME chan=e-0012 fmt="%12.12s";
pos=69,17   val=STATE_NAME chan=e-0003 fmt="%12.12s"; pos=69,36  val=STATE_NAME chan=e-0013 fmt="%12.12s";
pos=70,17   val=STATE_NAME chan=e-0004 fmt="%12.12s"; pos=70,36  val=STATE_NAME chan=e-0014 fmt="%12.12s";
pos=71,17   val=STATE_NAME chan=e-0005 fmt="%12.12s"; pos=71,36  val=STATE_NAME chan=e-0015 fmt="%12.12s";


pos=05,53   val=EU chan=e-0130 fmt="%7.2f";
pos=06,53   val=DN chan=v-2164 fmt="%7.2f";

pos=21,61   val=EU chan=e-0137 fmt="%7.2f";
pos=22,61   val=DN chan=v-2180 fmt="%7.2f";
pos=23,61   val=DN chan=v-2181 fmt="%7.2f";
# Partial Shunt derived current
# Partial Shunt derived power

pos=25,61   val=EU chan=t-0207 fmt="%7.2f";
pos=26,61   val=EU chan=t-0208 fmt="%7.2f";

pos=40,75   val=EU chan=e-0143 fmt="%7.2f";
pos=41,74   val=STATE_NAME chan=e-0020 fmt="%8.8s";
pos=42,75   val=DN chan=v-2000 fmt="%7.2f";

pos=18,79   val=STATE_NAME chan=e-0022 fmt="%8.8s";

pos=30,74   val=DN chan=v-2170 fmt="%7.2f";
pos=38,55   val=DN chan=v-2171 fmt="%7.2f";

pos=02,87   val=EU chan=e-0140 fmt="%7.2f";
pos=03,87   val=EU chan=e-0141 fmt="%7.2f";
pos=04,87   val=DN chan=v-2160 fmt="%7.2f";

pos=06,87   val=EU chan=t-0209 fmt="%7.2f";
pos=07,86   val=STATE_NAME chan=e-0021 fmt="%8.8s";

pos=06,87   val=EU chan=t-0209 fmt="%7.2f";

pos=10,108  val=DN chan=v-2161 fmt="%7.2f";
pos=11,108  val=DN chan=v-2162 fmt="%7.2f";
pos=12,108  val=DN chan=v-2119 fmt="%7.2f";

pos=17,108  val=EU chan=e-0142 fmt="%7.2f";
pos=18,108  val=DN chan=v-2163 fmt="%7.2f";
pos=19,108  val=DN chan=v-2121 fmt="%7.2f";


pos=23,95   val=CHAN_TITLE chan=p-0060 fmt="%-12.12s"; pos=23,108 val=DN fmt="%3d";  pos=23,114 val=EU fmt="%5.2f"; pos=23,120 val='v';
pos=24,95   val=CHAN_TITLE chan=p-0062 fmt="%-12.12s"; pos=24,108 val=DN fmt="%3d";  pos=24,114 val=EU fmt="%5.2f"; pos=24,120 val='v';
pos=25,95   val=CHAN_TITLE chan=p-0064 fmt="%-12.12s"; pos=25,108 val=DN fmt="%3d";  pos=25,114 val=EU fmt="%5.2f"; pos=25,120 val='v';
pos=26,95   val=CHAN_TITLE chan=p-0066 fmt="%-12.12s"; pos=26,108 val=DN fmt="%3d";  pos=26,114 val=EU fmt="%5.2f"; pos=26,120 val='v';
pos=27,95   val=CHAN_TITLE chan=p-0072 fmt="%-12.12s"; pos=27,108 val=DN fmt="%3d";  pos=27,114 val=EU fmt="%5.2f"; pos=27,120 val='v';
pos=28,95   val=CHAN_TITLE chan=p-0073 fmt="%-12.12s"; pos=28,108 val=DN fmt="%3d";  pos=28,114 val=EU fmt="%5.2f"; pos=28,120 val='v';
pos=29,95   val=CHAN_TITLE chan=p-0068 fmt="%-12.12s"; pos=29,108 val=DN fmt="%3d";  pos=29,112 val=STATE_NAME fmt="%-8.8s";
pos=30,95   val=CHAN_TITLE chan=p-0070 fmt="%-12.12s"; pos=30,108 val=DN fmt="%3d";  pos=30,112 val=STATE_NAME fmt="%-8.8s";
pos=31,95   val=CHAN_TITLE chan=p-0061 fmt="%-12.12s"; pos=31,108 val=DN fmt="%3d";  pos=31,112 val=STATE_NAME fmt="%-8.8s";
pos=32,95   val=CHAN_TITLE chan=p-0063 fmt="%-12.12s"; pos=32,108 val=DN fmt="%3d";  pos=32,112 val=STATE_NAME fmt="%-8.8s";
pos=33,95   val=CHAN_TITLE chan=p-0065 fmt="%-12.12s"; pos=33,108 val=DN fmt="%3d";  pos=33,112 val=STATE_NAME fmt="%-8.8s";
pos=34,95   val=CHAN_TITLE chan=p-0067 fmt="%-12.12s"; pos=34,108 val=DN fmt="%3d";  pos=34,112 val=STATE_NAME fmt="%-8.8s";
pos=35,95   val=CHAN_TITLE chan=p-0069 fmt="%-12.12s"; pos=35,108 val=DN fmt="%3d";  pos=35,112 val=STATE_NAME fmt="%-8.8s";
pos=36,95   val=CHAN_TITLE chan=p-0071 fmt="%-12.12s"; pos=36,108 val=DN fmt="%3d";  pos=36,112 val=STATE_NAME fmt="%-8.8s";
pos=37,95   val=CHAN_TITLE chan=p-0074 fmt="%-12.12s"; pos=37,108 val=DN fmt="%3d";  pos=37,112 val=STATE_NAME fmt="%-8.8s";
pos=38,95   val=CHAN_TITLE chan=p-0075 fmt="%-12.12s"; pos=38,108 val=DN fmt="%3d";  pos=38,112 val=STATE_NAME fmt="%-8.8s";
pos=39,95   val=CHAN_TITLE chan=p-0076 fmt="%-12.12s"; pos=39,108 val=DN fmt="%3d";  pos=39,112 val=STATE_NAME fmt="%-8.8s";
pos=40,95   val=CHAN_TITLE chan=p-0077 fmt="%-12.12s"; pos=40,108 val=DN fmt="%3d";  pos=40,112 val=STATE_NAME fmt="%-8.8s";
pos=41,95   val=CHAN_TITLE chan=p-0078 fmt="%-12.12s"; pos=41,108 val=DN fmt="%3d";  pos=41,112 val=STATE_NAME fmt="%-8.8s";
pos=42,95   val=CHAN_TITLE chan=p-0079 fmt="%-12.12s"; pos=42,108 val=DN fmt="%3d";  pos=42,112 val=STATE_NAME fmt="%-8.8s";

ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_potentiometers.tdl                                           #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: Structures Subsystem Fixed Page #1 (Potentiometer Info)           #
# BASELINED: OGS 04-27-96                                                     #
# MODIFIED:                                                                   #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=19,80 pos=4,1 # mgs_potentiometers.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR POTENTIOMETER DATA    ';
pos=03,1   val=' ';
pos=04,1   val='  _-Y_SOLAR_ARRAY____________________      _+Y_SOLAR_ARRAY____________________';
pos=05,1   val=' |                                   |    |                                   |';
pos=06,1   val=' | INNER_HINGE_POT_A  xxx xxxx.x deg |    | INNER_HINGE_POT_A  xxx xxxx.x deg |';
pos=07,1   val=' | INNER_HINGE_POT_B  xxx xxxx.x deg |    | INNER_HINGE_POT_B  xxx xxxx.x deg |';
pos=08,1   val=' |                                   |    |                                   |';
pos=09,1   val=' | OUTER_HINGE_POT_A  xxx xxxx.x deg |    | OUTER_HINGE_POT_A  xxx xxxx.x deg |';
pos=10,1   val=' | OUTER_HINGE_POT_B  xxx xxxx.x deg |    | OUTER_HINGE_POT_B  xxx xxxx.x deg |';
pos=11,1   val=' |___________________________________|    |___________________________________|';
pos=12,1   val=' ';
pos=13,1   val=' ';
pos=14,1   val='  _HIGH_GAIN_ANTENNA_________________';
pos=15,1   val=' |                                   |';
pos=16,1   val=' | HGA_POTENTIOMTR_A  xxx xxxx.x deg |';
pos=17,1   val=' | HGA_POTENTIOMTR_B  xxx xxxx.x deg |';
pos=18,1   val=' |___________________________________|';
pos=19,1   val=' ';

rule=dynamic
pos=06,23  val=DN chan=s-0104 fmt="%3d";    pos=06,27  val=EU chan=s-0104 fmt="%6.1f";
pos=07,23  val=DN chan=s-0105 fmt="%3d";    pos=07,27  val=EU chan=s-0105 fmt="%6.1f";
pos=09,23  val=DN chan=s-0106 fmt="%3d";    pos=09,27  val=EU chan=s-0106 fmt="%6.1f";
pos=10,23  val=DN chan=s-0107 fmt="%3d";    pos=10,27  val=EU chan=s-0107 fmt="%6.1f";

pos=06,64  val=DN chan=s-0100 fmt="%3d";    pos=06,68  val=EU chan=s-0100 fmt="%6.1f";
pos=07,64  val=DN chan=s-0101 fmt="%3d";    pos=07,68  val=EU chan=s-0101 fmt="%6.1f";
pos=09,64  val=DN chan=s-0102 fmt="%3d";    pos=09,68  val=EU chan=s-0102 fmt="%6.1f";
pos=10,64  val=DN chan=s-0103 fmt="%3d";    pos=10,68  val=EU chan=s-0103 fmt="%6.1f";

pos=16,23  val=DN chan=s-0110 fmt="%3d";    pos=16,27  val=EU chan=s-0110 fmt="%6.1f";
pos=17,23  val=DN chan=s-0111 fmt="%3d";    pos=17,27  val=EU chan=s-0111 fmt="%6.1f";


ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_pds_cmdaccount.tdl                                           #
# AUTHOR: JDeLuca                                                             #
# COMMENTS:                                                                   #
# BASELINED: 10/01/92                                                         #
# MODIFIED:  07/21/93 - added PDS macro expansion channels.                   #
# MODIFIED:  05/01/96 - modified for MGS by O. Short                          #
#                                                                             #
#                                                                             #
###############################################################################

#cmd acct fixed page
TEMPLATE type=FIXED size=28,63 pos=4,1 # mgs_pds_cmdaccount.tdl
TEXTREGION

rule=static
pos=1,1    val='    PAYLOAD DATA SUBSYSTEM COMMAND ACCOUNTABILITY MATRIX      ';
pos=2,1    val='                                                              ';
pos=3,1    val='INSTR     SINGLE-WD      MULTI-WD      SW-BIUtr      MW-BIUtr ';
pos=4,1    val='         RCVD    REJ   RCVD    REJ   RCVD    REJ   RCVD    REJ';
pos=5,1    val='--------------------------------------------------------------';
pos=6,1    val='GRS';
pos=7,1    val='MOLA';
pos=8,1    val='TES';
pos=9,1    val='PMIRR';
pos=10,1   val='MAGERA';
pos=11,1   val='MAGERB';
pos=12,1   val='MOC_A';
pos=13,1   val='MOC_B';
pos=14,1   val='BDCST';
pos=15,1   val='UNKNWN';
pos=16,1   val='PDS';
pos=17,1   val=' ';
pos=18,1   val='           SW-MODEC      SW-GOTON     MW-UNKNOWN    MW-UPDATE ';
pos=19,1   val='--------------------------------------------------------------';
pos=20,1   val='PDS';
pos=21,1   val=' ';
pos=22,1   val='           MW-MEMLD      MW-MRO                              ';
pos=23,1   val='--------------------------------------------------------------';
pos=24,1   val='PDS';
pos=25,1   val=' ';
pos=26,1   val='           MACRO_ON      MACRO_OFF    MACRO_LOAD    MACRO_UNLD';
pos=27,1   val='--------------------------------------------------------------';
pos=28,1   val='PDS';

rule=dynamic
#GRS
pos=6,9    val=DN chan=V-3717 fmt="%5u"; pos=6,16 val=DN chan=V-3718 fmt="%5u"; pos=6,23 val=DN chan=V-3719 fmt="%5u";
pos=6,30   val=DN chan=V-3720 fmt="%5u"; pos=6,37 val=DN chan=V-3721 fmt="%5u"; pos=6,44 val=DN chan=V-3722 fmt="%5u";
pos=6,51   val=DN chan=V-3723 fmt="%5u"; pos=6,58 val=DN chan=V-3724 fmt="%5u";
#MOLA
pos=7,9    val=DN chan=V-3725 fmt="%5u"; pos=7,16 val=DN chan=V-3726 fmt="%5u"; pos=7,23 val=DN chan=V-3727 fmt="%5u";
pos=7,30   val=DN chan=V-3728 fmt="%5u"; pos=7,37 val=DN chan=V-3729 fmt="%5u"; pos=7,44 val=DN chan=V-3730 fmt="%5u";
pos=7,51   val=DN chan=V-3731 fmt="%5u"; pos=7,58 val=DN chan=V-3732 fmt="%5u";
#TES
pos=8,9    val=DN chan=V-3733 fmt="%5u"; pos=8,16 val=DN chan=V-3734 fmt="%5u"; pos=8,23 val=DN chan=V-3735 fmt="%5u";
pos=8,30   val=DN chan=V-3736 fmt="%5u"; pos=8,37 val=DN chan=V-3737 fmt="%5u"; pos=8,44 val=DN chan=V-3738 fmt="%5u";
pos=8,51   val=DN chan=V-3739 fmt="%5u"; pos=8,58 val=DN chan=V-3740 fmt="%5u";
#PMIRR
pos=9,9    val=DN chan=V-3741 fmt="%5u"; pos=9,16 val=DN chan=V-3742 fmt="%5u"; pos=9,23 val=DN chan=V-3743 fmt="%5u";
pos=9,30   val=DN chan=V-3744 fmt="%5u"; pos=9,37 val=DN chan=V-3745 fmt="%5u"; pos=9,44 val=DN chan=V-3746 fmt="%5u";
pos=9,51   val=DN chan=V-3747 fmt="%5u"; pos=9,58 val=DN chan=V-3748 fmt="%5u";
#MAGERA
pos=10,9   val=DN chan=V-3749 fmt="%5u"; pos=10,16 val=DN chan=V-3750 fmt="%5u"; pos=10,23 val=DN chan=V-3751 fmt="%5u";
pos=10,30  val=DN chan=V-3752 fmt="%5u"; pos=10,37 val=DN chan=V-3753 fmt="%5u"; pos=10,44 val=DN chan=V-3754 fmt="%5u";
pos=10,51  val=DN chan=V-3755 fmt="%5u"; pos=10,58 val=DN chan=V-3756 fmt="%5u";
#MAGERB
pos=11,9   val=DN chan=V-3757 fmt="%5u"; pos=11,16 val=DN chan=V-3758 fmt="%5u"; pos=11,23 val=DN chan=V-3759 fmt="%5u";
pos=11,30  val=DN chan=V-3760 fmt="%5u"; pos=11,37 val=DN chan=V-3761 fmt="%5u"; pos=11,44 val=DN chan=V-3762 fmt="%5u";
pos=11,51  val=DN chan=V-3763 fmt="%5u"; pos=11,58 val=DN chan=V-3764 fmt="%5u";
#MOCA
pos=12,9   val=DN chan=V-3765 fmt="%5u"; pos=12,16 val=DN chan=V-3766 fmt="%5u"; pos=12,23 val=DN chan=V-3767 fmt="%5u";
pos=12,30  val=DN chan=V-3768 fmt="%5u"; pos=12,37 val=DN chan=V-3769 fmt="%5u"; pos=12,44 val=DN chan=V-3770 fmt="%5u";
pos=12,51  val=DN chan=V-3771 fmt="%5u"; pos=12,58 val=DN chan=V-3772 fmt="%5u";
#MOCB
pos=13,9   val=DN chan=V-3773 fmt="%5u"; pos=13,16 val=DN chan=V-3774 fmt="%5u"; pos=13,23 val=DN chan=V-3775 fmt="%5u";
pos=13,30  val=DN chan=V-3776 fmt="%5u"; pos=13,37 val=DN chan=V-3777 fmt="%5u"; pos=13,44 val=DN chan=V-3778 fmt="%5u";
pos=13,51  val=DN chan=V-3779 fmt="%5u"; pos=13,58 val=DN chan=V-3780 fmt="%5u";
#BDCST
pos=14,9   val=DN chan=V-3781 fmt="%5u"; pos=14,16 val=DN chan=V-3782 fmt="%5u"; pos=14,23 val=DN chan=V-3783 fmt="%5u";
pos=14,30  val=DN chan=V-3784 fmt="%5u"; pos=14,37 val=DN chan=V-3785 fmt="%5u"; pos=14,44 val=DN chan=V-3786 fmt="%5u";
pos=14,51  val=DN chan=V-3787 fmt="%5u"; pos=14,58 val=DN chan=V-3788 fmt="%5u";
#UNKNWN
                                         pos=15,16 val=DN chan=V-3789 fmt="%5u";
pos=15,30  val=DN chan=V-3790 fmt="%5u";                                         pos=15,44 val=DN chan=V-3791 fmt="%5u";
                                         pos=15,58 val=DN chan=V-3792 fmt="%5u";
#PDS
pos=16,9   val=DN chan=V-3793 fmt="%5u"; pos=16,16 val=DN chan=V-3794 fmt="%5u"; pos=16,23 val=DN chan=V-3795 fmt="%5u";
pos=16,30  val=DN chan=V-3796 fmt="%5u"; pos=16,37 val=DN chan=V-3810 fmt="%5u"; pos=16,44 val=DN chan=V-3797 fmt="%5u";
pos=16,51  val=DN chan=V-3811 fmt="%5u"; pos=16,58 val=DN chan=V-3798 fmt="%5u";
#PDS
pos=20,9   val=DN chan=V-3799 fmt="%5u"; pos=20,16 val=DN chan=V-3800 fmt="%5u"; pos=20,23 val=DN chan=V-3801 fmt="%5u";
pos=20,30  val=DN chan=V-3802 fmt="%5u";                                         pos=20,44 val=DN chan=V-3803 fmt="%5u";
pos=20,51  val=DN chan=V-3804 fmt="%5u"; pos=20,58 val=DN chan=V-3805 fmt="%5u";
#PDS
pos=24,9   val=DN chan=V-3806 fmt="%5u"; pos=24,16 val=DN chan=V-3807 fmt="%5u"; pos=24,23 val=DN chan=V-3808 fmt="%5u";
pos=24,30  val=DN chan=V-3809 fmt="%5u";
#PDS MACRO
pos=28,9   val=DN chan=V-3815 fmt="%5u"; pos=28,16 val=DN chan=V-3816 fmt="%5u"; pos=28,23 val=DN chan=V-3817 fmt="%5u";
pos=28,30  val=DN chan=V-3818 fmt="%5u"; pos=28,37 val=DN chan=V-3821 fmt="%5u"; pos=28,44 val=DN chan=V-3822 fmt="%5u";
pos=28,51  val=DN chan=V-3819 fmt="%5u"; pos=28,58 val=DN chan=V-3820 fmt="%5u";




ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_pds_fix.tdl                                                  #
# AUTHOR: Owen G. Short                                                       #
# COMMENTS: PDS Subsystem Fixed Page                                          #
# BASELINED: OGS 05-02-96                                                     #
# FINALIZED:                                                                  #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=67,138 pos=4,1 # mgs_pds_fix.tdl

TEXTREGION

rule=static
pos=2,1    val='  MARS GLOBAL SURVEYOR PDS TELEMETRY PAGE ';
pos=3,1    val='                                        ';

rule=dynamic

pos=04,02   val=CHAN_ID         chan=c-0024;
pos=04,09   val=CHAN_TITLE      chan=c-0024  fmt="%-12.12s";
pos=04,23   val=DN              chan=c-0024  fmt="%6d";
pos=04,30   val=STATE_NAME      chan=c-0024  fmt="%12.12s";
pos=04,44   val=CHANGE_VAL_TIME chan=c-0024  fmt=HMS;

pos=05,02   val=CHAN_ID         chan=c-0025;
pos=05,09   val=CHAN_TITLE      chan=c-0025  fmt="%-12.12s";
pos=05,23   val=DN              chan=c-0025  fmt="%6d";
pos=05,30   val=STATE_NAME      chan=c-0025  fmt="%12.12s";
pos=05,44   val=CHANGE_VAL_TIME chan=c-0025  fmt=HMS;

pos=06,02   val=CHAN_ID         chan=c-0125;
pos=06,09   val=CHAN_TITLE      chan=c-0125  fmt="%-12.12s";
pos=06,23   val=DN              chan=c-0125  fmt="%6d";
pos=06,30   val=EU              chan=c-0125  fmt="%12.2f";
pos=06,44   val=CHANGE_VAL_TIME chan=c-0125  fmt=HMS;

pos=07,02   val=CHAN_ID         chan=c-0126;
pos=07,09   val=CHAN_TITLE      chan=c-0126  fmt="%-12.12s";
pos=07,23   val=DN              chan=c-0126  fmt="%6d";
pos=07,30   val=EU              chan=c-0126  fmt="%12.2f";
pos=07,44   val=CHANGE_VAL_TIME chan=c-0126  fmt=HMS;

pos=08,02   val=CHAN_ID         chan=t-0120;
pos=08,09   val=CHAN_TITLE      chan=t-0120  fmt="%-12.12s";
pos=08,23   val=DN              chan=t-0120  fmt="%6d";
pos=08,30   val=EU              chan=t-0120  fmt="%12.2f";
pos=08,44   val=CHANGE_VAL_TIME chan=t-0120  fmt=HMS;

pos=10,02   val=CHAN_ID         chan=d-0000;
pos=10,09   val=CHAN_TITLE      chan=d-0000  fmt="%-12.12s";
pos=10,23   val=DN              chan=d-0000  fmt="%#4.4x";
pos=10,30   val=STATE_NAME      chan=v-3813  fmt="%12.12s";
pos=10,44   val=CHANGE_VAL_TIME chan=d-0000  fmt=HMS;

pos=11,02   val=CHAN_ID         chan=d-0007;
pos=11,09   val=CHAN_TITLE      chan=d-0007  fmt="%-12.12s";
pos=11,23   val=DN              chan=d-0007  fmt="%#4.4x";
pos=11,30   val=STATE_NAME      chan=v-3812  fmt="%12.12s";
pos=11,44   val=CHANGE_VAL_TIME chan=d-0007  fmt=HMS;

pos=12,02   val=CHAN_ID         chan=d-0053;
pos=12,09   val=CHAN_TITLE      chan=d-0053  fmt="%-12.12s";
pos=12,30   val=DN              chan=d-0053  fmt="%12d";
pos=12,44   val=CHANGE_VAL_TIME chan=d-0053  fmt=HMS;

pos=13,02   val=CHAN_ID         chan=d-0014;
pos=13,09   val=CHAN_TITLE      chan=d-0014  fmt="%-12.12s";
pos=13,23   val=DN              chan=d-0014  fmt="%#4.4x";
pos=13,44   val=CHANGE_VAL_TIME chan=d-0014  fmt=HMS;

pos=14,02   val=CHAN_ID         chan=d-0015;
pos=14,09   val=CHAN_TITLE      chan=d-0015  fmt="%-12.12s";
pos=14,23   val=DN              chan=d-0015  fmt="%#4.4x";
pos=14,44   val=CHANGE_VAL_TIME chan=d-0015  fmt=HMS;

pos=15,02   val=CHAN_ID         chan=d-0016;
pos=15,09   val=CHAN_TITLE      chan=d-0016  fmt="%-12.12s";
pos=15,30   val=DN              chan=d-0016  fmt="%12d";
pos=15,44   val=CHANGE_VAL_TIME chan=d-0016  fmt=HMS;

pos=16,02   val=CHAN_ID         chan=d-0017;
pos=16,09   val=CHAN_TITLE      chan=d-0017  fmt="%-12.12s";
pos=16,23   val=DN              chan=d-0017  fmt="%6d";
pos=16,44   val=CHANGE_VAL_TIME chan=d-0017  fmt=HMS;

pos=18,02   val=CHAN_ID         chan=d-0103;
pos=18,09   val=CHAN_TITLE      chan=d-0103  fmt="%-12.12s";
pos=18,23   val=DN              chan=d-0103  fmt="%#4.4x";
pos=18,44   val=CHANGE_VAL_TIME chan=d-0103  fmt=HMS;

pos=19,02   val=CHAN_ID         chan=d-0104;
pos=19,09   val=CHAN_TITLE      chan=d-0104  fmt="%-12.12s";
pos=19,23   val=DN              chan=d-0104  fmt="%#4.4x";
pos=19,44   val=CHANGE_VAL_TIME chan=d-0104  fmt=HMS;

pos=20,02   val=CHAN_ID         chan=d-0105;
pos=20,09   val=CHAN_TITLE      chan=d-0105  fmt="%-12.12s";
pos=20,23   val=DN              chan=d-0105  fmt="%#4.4x";
pos=20,44   val=CHANGE_VAL_TIME chan=d-0105  fmt=HMS;

pos=22,02   val=CHAN_ID         chan=d-0198;
pos=22,09   val=CHAN_TITLE      chan=d-0198  fmt="%-12.12s";
pos=22,23   val=DN              chan=d-0198  fmt="%#4.4x";
pos=22,44   val=CHANGE_VAL_TIME chan=d-0198  fmt=HMS;

pos=24,02   val=CHAN_ID         chan=d-0042;
pos=24,09   val=CHAN_TITLE      chan=d-0042  fmt="%-12.12s";
pos=24,23   val=DN              chan=d-0042  fmt="%6d";
pos=24,30   val=STATE_NAME      chan=d-0042  fmt="%12.12s";
pos=24,44   val=CHANGE_VAL_TIME chan=d-0042  fmt=HMS;

pos=25,02   val=CHAN_ID         chan=d-0043;
pos=25,09   val=CHAN_TITLE      chan=d-0043  fmt="%-12.12s";
pos=25,23   val=DN              chan=d-0043  fmt="%6d";
pos=25,30   val=STATE_NAME      chan=d-0043  fmt="%12.12s";
pos=25,44   val=CHANGE_VAL_TIME chan=d-0043  fmt=HMS;

pos=26,02   val=CHAN_ID         chan=d-0044;
pos=26,09   val=CHAN_TITLE      chan=d-0044  fmt="%-12.12s";
pos=26,23   val=DN              chan=d-0044  fmt="%6d";
pos=26,30   val=STATE_NAME      chan=d-0044  fmt="%12.12s";
pos=26,44   val=CHANGE_VAL_TIME chan=d-0044  fmt=HMS;

pos=27,02   val=CHAN_ID         chan=d-0045;
pos=27,09   val=CHAN_TITLE      chan=d-0045  fmt="%-12.12s";
pos=27,23   val=DN              chan=d-0045  fmt="%6d";
pos=27,30   val=STATE_NAME      chan=d-0045  fmt="%12.12s";
pos=27,44   val=CHANGE_VAL_TIME chan=d-0045  fmt=HMS;

pos=28,02   val=CHAN_ID         chan=d-0046;
pos=28,09   val=CHAN_TITLE      chan=d-0046  fmt="%-12.12s";
pos=28,23   val=DN              chan=d-0046  fmt="%6d";
pos=28,30   val=STATE_NAME      chan=d-0046  fmt="%12.12s";
pos=28,44   val=CHANGE_VAL_TIME chan=d-0046  fmt=HMS;

pos=29,02   val=CHAN_ID         chan=d-0047;
pos=29,09   val=CHAN_TITLE      chan=d-0047  fmt="%-12.12s";
pos=29,23   val=DN              chan=d-0047  fmt="%6d";
pos=29,30   val=STATE_NAME      chan=d-0047  fmt="%12.12s";
pos=29,44   val=CHANGE_VAL_TIME chan=d-0047  fmt=HMS;

pos=30,02   val=CHAN_ID         chan=d-0048;
pos=30,09   val=CHAN_TITLE      chan=d-0048  fmt="%-12.12s";
pos=30,23   val=DN              chan=d-0048  fmt="%6d";
pos=30,30   val=STATE_NAME      chan=d-0048  fmt="%12.12s";
pos=30,44   val=CHANGE_VAL_TIME chan=d-0048  fmt=HMS;


pos=32,02   val=CHAN_ID         chan=d-0008;
pos=32,09   val=CHAN_TITLE      chan=d-0008  fmt="%-12.12s";
pos=32,23   val=DN              chan=d-0008  fmt="%6d";
pos=32,30   val=STATE_NAME      chan=d-0008  fmt="%12.12s";
pos=32,44   val=CHANGE_VAL_TIME chan=d-0008  fmt=HMS;

pos=33,02   val=CHAN_ID         chan=d-0010;
pos=33,09   val=CHAN_TITLE      chan=d-0010  fmt="%-12.12s";
pos=33,23   val=DN              chan=d-0010  fmt="%#4.4x";
pos=33,44   val=CHANGE_VAL_TIME chan=d-0010  fmt=HMS;

pos=35,02   val=CHAN_ID         chan=d-0013;
pos=35,09   val=CHAN_TITLE      chan=d-0013  fmt="%-12.12s";
pos=35,23   val=DN              chan=d-0013  fmt="%6d";
pos=35,30   val=STATE_NAME      chan=d-0013  fmt="%12.12s";
pos=35,44   val=CHANGE_VAL_TIME chan=d-0013  fmt=HMS;

pos=36,02   val=CHAN_ID         chan=d-0012;
pos=36,09   val=CHAN_TITLE      chan=d-0012  fmt="%-12.12s";
pos=36,23   val=DN              chan=d-0012  fmt="%6d";
pos=36,30   val=STATE_NAME      chan=d-0012  fmt="%12.12s";
pos=36,44   val=CHANGE_VAL_TIME chan=d-0012  fmt=HMS;

pos=38,02   val=CHAN_ID         chan=d-0009;
pos=38,09   val=CHAN_TITLE      chan=d-0009  fmt="%-12.12s";
pos=38,23   val=DN              chan=d-0009  fmt="%6d";
pos=38,30   val=STATE_NAME      chan=d-0009  fmt="%12.12s";
pos=38,44   val=CHANGE_VAL_TIME chan=d-0009  fmt=HMS;

pos=39,02   val=CHAN_ID         chan=d-0011;
pos=39,09   val=CHAN_TITLE      chan=d-0011  fmt="%-12.12s";
pos=39,23   val=DN              chan=d-0011  fmt="%6d";
pos=39,44   val=CHANGE_VAL_TIME chan=d-0011  fmt=HMS;

pos=40,02   val=CHAN_ID         chan=d-0090;
pos=40,09   val=CHAN_TITLE      chan=d-0090  fmt="%-12.12s";
pos=40,23   val=DN              chan=d-0090  fmt="%6d";
pos=40,30   val=STATE_NAME      chan=d-0090  fmt="%12.12s";
pos=40,44   val=CHANGE_VAL_TIME chan=d-0090  fmt=HMS;

pos=41,02   val=CHAN_ID         chan=d-0091;
pos=41,09   val=CHAN_TITLE      chan=d-0091  fmt="%-12.12s";
pos=41,23   val=DN              chan=d-0091  fmt="%6d";
pos=41,30   val=STATE_NAME      chan=d-0091  fmt="%12.12s";
pos=41,44   val=CHANGE_VAL_TIME chan=d-0091  fmt=HMS;

pos=43,02   val=CHAN_ID         chan=d-0079;
pos=43,09   val=CHAN_TITLE      chan=d-0079  fmt="%-12.12s";
pos=43,23   val=DN              chan=d-0079  fmt="%6d";
pos=43,44   val=CHANGE_VAL_TIME chan=d-0079  fmt=HMS;

pos=44,02   val=CHAN_ID         chan=d-0080;
pos=44,09   val=CHAN_TITLE      chan=d-0080  fmt="%-12.12s";
pos=44,23   val=DN              chan=d-0080  fmt="%#4.4x";
pos=44,44   val=CHANGE_VAL_TIME chan=d-0080  fmt=HMS;

pos=45,02   val=CHAN_ID         chan=d-0081;
pos=45,09   val=CHAN_TITLE      chan=d-0081  fmt="%-12.12s";
pos=45,23   val=DN              chan=d-0081  fmt="%#4.4x";
pos=45,44   val=CHANGE_VAL_TIME chan=d-0081  fmt=HMS;

pos=46,02   val=CHAN_ID         chan=d-0082;
pos=46,09   val=CHAN_TITLE      chan=d-0082  fmt="%-12.12s";
pos=46,23   val=DN              chan=d-0082  fmt="%#4.4x";
pos=46,44   val=CHANGE_VAL_TIME chan=d-0082  fmt=HMS;

pos=47,02   val=CHAN_ID         chan=d-0083;
pos=47,09   val=CHAN_TITLE      chan=d-0083  fmt="%-12.12s";
pos=47,23   val=DN              chan=d-0083  fmt="%#4.4x";
pos=47,44   val=CHANGE_VAL_TIME chan=d-0083  fmt=HMS;

pos=48,02   val=CHAN_ID         chan=d-0084;
pos=48,09   val=CHAN_TITLE      chan=d-0084  fmt="%-12.12s";
pos=48,23   val=DN              chan=d-0084  fmt="%#4.4x";
pos=48,44   val=CHANGE_VAL_TIME chan=d-0084  fmt=HMS;

pos=50,02   val=CHAN_ID         chan=d-0085;
pos=50,09   val=CHAN_TITLE      chan=d-0085  fmt="%-12.12s";
pos=50,23   val=DN              chan=d-0085  fmt="%#4.4x";
pos=50,44   val=CHANGE_VAL_TIME chan=d-0085  fmt=HMS;

pos=52,02   val=CHAN_ID         chan=d-0086;
pos=52,09   val=CHAN_TITLE      chan=d-0086  fmt="%-12.12s";
pos=52,23   val=DN              chan=d-0086  fmt="%#4.4x";
pos=52,44   val=CHANGE_VAL_TIME chan=d-0086  fmt=HMS;

pos=53,02   val=CHAN_ID         chan=d-0087;
pos=53,09   val=CHAN_TITLE      chan=d-0087  fmt="%-12.12s";
pos=53,23   val=DN              chan=d-0087  fmt="%#4.4x";
pos=53,44   val=CHANGE_VAL_TIME chan=d-0087  fmt=HMS;

pos=54,02   val=CHAN_ID         chan=d-0088;
pos=54,09   val=CHAN_TITLE      chan=d-0088  fmt="%-12.12s";
pos=54,23   val=DN              chan=d-0088  fmt="%#4.4x";
pos=54,44   val=CHANGE_VAL_TIME chan=d-0088  fmt=HMS;

pos=55,02   val=CHAN_ID         chan=d-0089;
pos=55,09   val=CHAN_TITLE      chan=d-0089  fmt="%-12.12s";
pos=55,23   val=DN              chan=d-0089  fmt="%#4.4x";
pos=55,44   val=CHANGE_VAL_TIME chan=d-0089  fmt=HMS;

pos=57,02   val=CHAN_ID         chan=d-0103;
pos=57,09   val=CHAN_TITLE      chan=d-0103  fmt="%-12.12s";
pos=57,23   val=DN              chan=d-0103  fmt="%#4.4x";
pos=57,44   val=CHANGE_VAL_TIME chan=d-0103  fmt=HMS;

pos=58,02   val=CHAN_ID         chan=d-0104;
pos=58,09   val=CHAN_TITLE      chan=d-0104  fmt="%-12.12s";
pos=58,23   val=DN              chan=d-0104  fmt="%#4.4x";
pos=58,44   val=CHANGE_VAL_TIME chan=d-0104  fmt=HMS;

pos=59,02   val=CHAN_ID         chan=d-0105;
pos=59,09   val=CHAN_TITLE      chan=d-0105  fmt="%-12.12s";
pos=59,23   val=DN              chan=d-0105  fmt="%#4.4x";
pos=59,44   val=CHANGE_VAL_TIME chan=d-0105  fmt=HMS;

pos=60,02   val=CHAN_ID         chan=d-0106;
pos=60,09   val=CHAN_TITLE      chan=d-0106  fmt="%-12.12s";
pos=60,23   val=DN              chan=d-0106  fmt="%#4.4x";
pos=60,44   val=CHANGE_VAL_TIME chan=d-0106  fmt=HMS;

pos=61,02   val=CHAN_ID         chan=d-0107;
pos=61,09   val=CHAN_TITLE      chan=d-0107  fmt="%-12.12s";
pos=61,23   val=DN              chan=d-0107  fmt="%#4.4x";
pos=61,44   val=CHANGE_VAL_TIME chan=d-0107  fmt=HMS;

pos=62,02   val=CHAN_ID         chan=d-0108;
pos=62,09   val=CHAN_TITLE      chan=d-0108  fmt="%-12.12s";
pos=62,23   val=DN              chan=d-0108  fmt="%#4.4x";
pos=62,44   val=CHANGE_VAL_TIME chan=d-0108  fmt=HMS;

pos=63,02   val=CHAN_ID         chan=d-0109;
pos=63,09   val=CHAN_TITLE      chan=d-0109  fmt="%-12.12s";
pos=63,23   val=DN              chan=d-0109  fmt="%#4.4x";
pos=63,44   val=CHANGE_VAL_TIME chan=d-0109  fmt=HMS;

pos=64,02   val=CHAN_ID         chan=d-0110;
pos=64,09   val=CHAN_TITLE      chan=d-0110  fmt="%-12.12s";
pos=64,23   val=DN              chan=d-0110  fmt="%#4.4x";
pos=64,44   val=CHANGE_VAL_TIME chan=d-0110  fmt=HMS;

pos=65,02   val=CHAN_ID         chan=d-0111;
pos=65,09   val=CHAN_TITLE      chan=d-0111  fmt="%-12.12s";
pos=65,23   val=DN              chan=d-0111  fmt="%#4.4x";
pos=65,44   val=CHANGE_VAL_TIME chan=d-0111  fmt=HMS;

pos=66,02   val=CHAN_ID         chan=d-0112;
pos=66,09   val=CHAN_TITLE      chan=d-0112  fmt="%-12.12s";
pos=66,23   val=DN              chan=d-0112  fmt="%#4.4x";
pos=66,44   val=CHANGE_VAL_TIME chan=d-0112  fmt=HMS;










pos=04,56   val=CHAN_ID         chan=d-0038;
pos=04,63   val=CHAN_TITLE      chan=d-0038  fmt="%-12.12s";
pos=04,78   val=DN              chan=d-0038  fmt="%#4.4x";
pos=04,87   val=CHANGE_VAL_TIME chan=d-0038  fmt=HMS;

pos=05,56   val=CHAN_ID         chan=d-0078;
pos=05,63   val=CHAN_TITLE      chan=d-0078  fmt="%-12.12s";
pos=05,78   val=DN              chan=d-0078  fmt="%#4.4x";
pos=05,87   val=CHANGE_VAL_TIME chan=d-0078  fmt=HMS;

pos=06,56   val=CHAN_ID         chan=d-0052;
pos=06,63   val=CHAN_TITLE      chan=d-0052  fmt="%-12.12s";
pos=06,78   val=DN              chan=d-0052  fmt="%#4.4x";
pos=06,87   val=CHANGE_VAL_TIME chan=d-0052  fmt=HMS;

pos=07,56   val=CHAN_ID         chan=d-0039;
pos=07,63   val=CHAN_TITLE      chan=d-0039  fmt="%-12.12s";
pos=07,76   val=STATE_NAME      chan=d-0039  fmt="%8.8s";
pos=07,87   val=CHANGE_VAL_TIME chan=d-0039  fmt=HMS;

pos=08,56   val=CHAN_ID         chan=d-0041;
pos=08,63   val=CHAN_TITLE      chan=d-0041  fmt="%-12.12s";
pos=08,78   val=DN              chan=d-0041  fmt="%#4.4x";
pos=08,87   val=CHANGE_VAL_TIME chan=d-0041  fmt=HMS;

pos=10,56   val=CHAN_ID         chan=d-0051;
pos=10,63   val=CHAN_TITLE      chan=d-0051  fmt="%-12.12s";
pos=10,76   val=STATE_NAME      chan=d-0051  fmt="%8.8s";
pos=10,87   val=CHANGE_VAL_TIME chan=d-0051  fmt=HMS;

pos=11,56   val=CHAN_ID         chan=d-0050;
pos=11,63   val=CHAN_TITLE      chan=d-0050  fmt="%-12.12s";
pos=11,76   val=STATE_NAME      chan=d-0050  fmt="%8.8s";
pos=11,87   val=CHANGE_VAL_TIME chan=d-0050  fmt=HMS;

pos=13,56   val=CHAN_ID         chan=d-0040;
pos=13,63   val=CHAN_TITLE      chan=d-0040  fmt="%-12.12s";
pos=13,76   val=STATE_NAME      chan=d-0040  fmt="%8.8s";
pos=13,87   val=CHANGE_VAL_TIME chan=d-0040  fmt=HMS;

pos=14,56   val=CHAN_ID         chan=d-0049;
pos=14,63   val=CHAN_TITLE      chan=d-0049  fmt="%-12.12s";
pos=14,78   val=DN              chan=d-0049  fmt="%6d";
pos=14,87   val=CHANGE_VAL_TIME chan=d-0049  fmt=HMS;

pos=15,56   val=CHAN_ID         chan=d-0188;
pos=15,63   val=CHAN_TITLE      chan=d-0188  fmt="%-12.12s";
pos=15,76   val=STATE_NAME      chan=d-0188  fmt="%8.8s";
pos=15,87   val=CHANGE_VAL_TIME chan=d-0188  fmt=HMS;

pos=16,56   val=CHAN_ID         chan=d-0189;
pos=16,63   val=CHAN_TITLE      chan=d-0189  fmt="%-12.12s";
pos=16,76   val=STATE_NAME      chan=d-0189  fmt="%8.8s";
pos=16,87   val=CHANGE_VAL_TIME chan=d-0189  fmt=HMS;




pos=26,56   val=CHAN_ID         chan=v-3701;
pos=26,63   val=CHAN_TITLE      chan=v-3701  fmt="%-12.12s";
pos=26,78   val=DN              chan=v-3701  fmt="%#4.4x";
pos=26,87   val=CHANGE_VAL_TIME chan=v-3701  fmt=HMS;

pos=27,56   val=CHAN_ID         chan=v-3702;
pos=27,63   val=CHAN_TITLE      chan=v-3702  fmt="%-12.12s";
pos=27,78   val=DN              chan=v-3702  fmt="%#4.4x";
pos=27,87   val=CHANGE_VAL_TIME chan=v-3702  fmt=HMS;

pos=28,56   val=CHAN_ID         chan=v-3703;
pos=28,63   val=CHAN_TITLE      chan=v-3703  fmt="%-12.12s";
pos=28,78   val=DN              chan=v-3703  fmt="%#4.4x";
pos=28,87   val=CHANGE_VAL_TIME chan=v-3703  fmt=HMS;

pos=29,56   val=CHAN_ID         chan=v-3704;
pos=29,63   val=CHAN_TITLE      chan=v-3704  fmt="%-12.12s";
pos=29,78   val=DN              chan=v-3704  fmt="%#4.4x";
pos=29,87   val=CHANGE_VAL_TIME chan=v-3704  fmt=HMS;

pos=30,56   val=CHAN_ID         chan=v-3705;
pos=30,63   val=CHAN_TITLE      chan=v-3705  fmt="%-12.12s";
pos=30,78   val=DN              chan=v-3705  fmt="%#4.4x";
pos=30,87   val=CHANGE_VAL_TIME chan=v-3705  fmt=HMS;

pos=31,56   val=CHAN_ID         chan=v-3706;
pos=31,63   val=CHAN_TITLE      chan=v-3706  fmt="%-12.12s";
pos=31,78   val=DN              chan=v-3706  fmt="%#4.4x";
pos=31,87   val=CHANGE_VAL_TIME chan=v-3706  fmt=HMS;


pos=26,99   val=CHAN_ID         chan=v-3709;
pos=26,106  val=CHAN_TITLE      chan=v-3709  fmt="%-12.12s";
pos=26,120  val=DN              chan=v-3709  fmt="%#4.4x";
pos=26,129  val=CHANGE_VAL_TIME chan=v-3709  fmt=HMS;

pos=27,99   val=CHAN_ID         chan=v-3710;
pos=27,106  val=CHAN_TITLE      chan=v-3710  fmt="%-12.12s";
pos=27,120  val=DN              chan=v-3710  fmt="%#4.4x";
pos=27,129  val=CHANGE_VAL_TIME chan=v-3710  fmt=HMS;

pos=28,99   val=CHAN_ID         chan=v-3711;
pos=28,106  val=CHAN_TITLE      chan=v-3711  fmt="%-12.12s";
pos=28,120  val=DN              chan=v-3711  fmt="%#4.4x";
pos=28,129  val=CHANGE_VAL_TIME chan=v-3711  fmt=HMS;

pos=29,99   val=CHAN_ID         chan=v-3712;
pos=29,106  val=CHAN_TITLE      chan=v-3712  fmt="%-12.12s";
pos=29,120  val=DN              chan=v-3712  fmt="%#4.4x";
pos=29,129  val=CHANGE_VAL_TIME chan=v-3712  fmt=HMS;

pos=30,99   val=CHAN_ID         chan=v-3713;
pos=30,106  val=CHAN_TITLE      chan=v-3713  fmt="%-12.12s";
pos=30,120  val=DN              chan=v-3713  fmt="%#4.4x";
pos=30,129  val=CHANGE_VAL_TIME chan=v-3713  fmt=HMS;

pos=31,99   val=CHAN_ID         chan=v-3714;
pos=31,106  val=CHAN_TITLE      chan=v-3714  fmt="%-12.12s";
pos=31,120  val=DN              chan=v-3714  fmt="%#4.4x";
pos=31,129  val=CHANGE_VAL_TIME chan=v-3714  fmt=HMS;



pos=04,99   val=CHAN_ID         chan=d-0179;
pos=04,106  val=CHAN_TITLE      chan=d-0179  fmt="%-12.12s";
pos=04,120  val=DN              chan=d-0179  fmt="%#4.4x";
pos=04,129  val=CHANGE_VAL_TIME chan=d-0179  fmt=HMS;

pos=05,99   val=CHAN_ID         chan=d-0180;
pos=05,106  val=CHAN_TITLE      chan=d-0180  fmt="%-12.12s";
pos=05,120  val=DN              chan=d-0180  fmt="%#4.4x";
pos=05,129  val=CHANGE_VAL_TIME chan=d-0180  fmt=HMS;

pos=06,99   val=CHAN_ID         chan=d-0181;
pos=06,106  val=CHAN_TITLE      chan=d-0181  fmt="%-12.12s";
pos=06,120  val=DN              chan=d-0181  fmt="%#4.4x";
pos=06,129  val=CHANGE_VAL_TIME chan=d-0181  fmt=HMS;

pos=07,99   val=CHAN_ID         chan=d-0182;
pos=07,106  val=CHAN_TITLE      chan=d-0182  fmt="%-12.12s";
pos=07,120  val=DN              chan=d-0182  fmt="%#4.4x";
pos=07,129  val=CHANGE_VAL_TIME chan=d-0182  fmt=HMS;

pos=08,99   val=CHAN_ID         chan=d-0183;
pos=08,106  val=CHAN_TITLE      chan=d-0183  fmt="%-12.12s";
pos=08,120  val=DN              chan=d-0183  fmt="%#4.4x";
pos=08,129  val=CHANGE_VAL_TIME chan=d-0183  fmt=HMS;

pos=10,99   val=CHAN_ID         chan=d-0184;
pos=10,106  val=CHAN_TITLE      chan=d-0184  fmt="%-12.12s";
pos=10,120  val=DN              chan=d-0184  fmt="%#4.4x";
pos=10,129  val=CHANGE_VAL_TIME chan=d-0184  fmt=HMS;

pos=11,99   val=CHAN_ID         chan=d-0185;
pos=11,106  val=CHAN_TITLE      chan=d-0185  fmt="%-12.12s";
pos=11,120  val=DN              chan=d-0185  fmt="%#4.4x";
pos=11,129  val=CHANGE_VAL_TIME chan=d-0185  fmt=HMS;

pos=12,99   val=CHAN_ID         chan=d-0186;
pos=12,106  val=CHAN_TITLE      chan=d-0186  fmt="%-12.12s";
pos=12,120  val=DN              chan=d-0186  fmt="%#4.4x";
pos=12,129  val=CHANGE_VAL_TIME chan=d-0186  fmt=HMS;

pos=13,99   val=CHAN_ID         chan=d-0187;
pos=13,106  val=CHAN_TITLE      chan=d-0187  fmt="%-12.12s";
pos=13,120  val=DN              chan=d-0187  fmt="%#4.4x";
pos=13,129  val=CHANGE_VAL_TIME chan=d-0187  fmt=HMS;

pos=15,99   val=CHAN_ID         chan=d-0190;
pos=15,106  val=CHAN_TITLE      chan=d-0190  fmt="%-12.12s";
pos=15,120  val=DN              chan=d-0190  fmt="%#4.4x";
pos=15,129  val=CHANGE_VAL_TIME chan=d-0190  fmt=HMS;

pos=16,99   val=CHAN_ID         chan=d-0191;
pos=16,106  val=CHAN_TITLE      chan=d-0191  fmt="%-12.12s";
pos=16,120  val=DN              chan=d-0191  fmt="%#4.4x";
pos=16,129  val=CHANGE_VAL_TIME chan=d-0191  fmt=HMS;

pos=17,99   val=CHAN_ID         chan=d-0192;
pos=17,106  val=CHAN_TITLE      chan=d-0192  fmt="%-12.12s";
pos=17,120  val=DN              chan=d-0192  fmt="%#4.4x";
pos=17,129  val=CHANGE_VAL_TIME chan=d-0192  fmt=HMS;

pos=18,99   val=CHAN_ID         chan=d-0193;
pos=18,106  val=CHAN_TITLE      chan=d-0193  fmt="%-12.12s";
pos=18,120  val=DN              chan=d-0193  fmt="%#4.4x";
pos=18,129  val=CHANGE_VAL_TIME chan=d-0193  fmt=HMS;

pos=19,99   val=CHAN_ID         chan=d-0194;
pos=19,106  val=CHAN_TITLE      chan=d-0194  fmt="%-12.12s";
pos=19,120  val=DN              chan=d-0194  fmt="%#4.4x";
pos=19,129  val=CHANGE_VAL_TIME chan=d-0194  fmt=HMS;

pos=20,99   val=CHAN_ID         chan=d-0195;
pos=20,106  val=CHAN_TITLE      chan=d-0195  fmt="%-12.12s";
pos=20,120  val=DN              chan=d-0195  fmt="%#4.4x";
pos=20,129  val=CHANGE_VAL_TIME chan=d-0195  fmt=HMS;

pos=21,99   val=CHAN_ID         chan=d-0196;
pos=21,106  val=CHAN_TITLE      chan=d-0196  fmt="%-12.12s";
pos=21,120  val=DN              chan=d-0196  fmt="%#4.4x";
pos=21,129  val=CHANGE_VAL_TIME chan=d-0196  fmt=HMS;





rule=static
pos=35,56   val='                                   WD-1       WD-2      SECS      RTIs          ';
pos=36,56   val='---------------------------------------------------------------------------------';

rule=dynamic

pos=37,56   val=CHAN_ID         chan=d-0001;
pos=37,63   val=CHAN_TITLE      chan=d-0001  fmt="%-12.12s";
pos=37,78   val=DN              chan=d-0001  fmt="%#4.4x";
pos=37,89   val=DN              chan=d-0056  fmt="%#4.4x";
pos=37,100  val=DN              chan=d-0057  fmt="%#4.4x";
pos=37,110  val=DN              chan=d-0054  fmt="%6d";
pos=37,120  val=DN              chan=d-0055  fmt="%6d";
pos=37,129  val=CHANGE_VAL_TIME chan=d-0001  fmt=HMS;

pos=38,56   val=CHAN_ID         chan=d-0002;
pos=38,63   val=CHAN_TITLE      chan=d-0002  fmt="%-12.12s";
pos=38,78   val=DN              chan=d-0002  fmt="%#4.4x";
pos=38,89   val=DN              chan=d-0060  fmt="%#4.4x";
pos=38,100  val=DN              chan=d-0061  fmt="%#4.4x";
pos=38,110  val=DN              chan=d-0058  fmt="%6d";
pos=38,120  val=DN              chan=d-0059  fmt="%6d";
pos=38,129  val=CHANGE_VAL_TIME chan=d-0002  fmt=HMS;

pos=39,56   val=CHAN_ID         chan=d-0003;
pos=39,63   val=CHAN_TITLE      chan=d-0003  fmt="%-12.12s";
pos=39,78   val=DN              chan=d-0003  fmt="%#4.4x";
pos=39,89   val=DN              chan=d-0064  fmt="%#4.4x";
pos=39,100  val=DN              chan=d-0065  fmt="%#4.4x";
pos=39,110  val=DN              chan=d-0062  fmt="%6d";
pos=39,120  val=DN              chan=d-0063  fmt="%6d";
pos=39,129  val=CHANGE_VAL_TIME chan=d-0003  fmt=HMS;

pos=40,56   val=CHAN_ID         chan=d-0004;
pos=40,63   val=CHAN_TITLE      chan=d-0004  fmt="%-12.12s";
pos=40,78   val=DN              chan=d-0004  fmt="%#4.4x";
pos=40,89   val=DN              chan=d-0068  fmt="%#4.4x";
pos=40,100  val=DN              chan=d-0069  fmt="%#4.4x";
pos=40,110  val=DN              chan=d-0066  fmt="%6d";
pos=40,120  val=DN              chan=d-0067  fmt="%6d";
pos=40,129  val=CHANGE_VAL_TIME chan=d-0004  fmt=HMS;

pos=41,56   val=CHAN_ID         chan=d-0005;
pos=41,63   val=CHAN_TITLE      chan=d-0005  fmt="%-12.12s";
pos=41,78   val=DN              chan=d-0005  fmt="%#4.4x";
pos=41,89   val=DN              chan=d-0072  fmt="%#4.4x";
pos=41,100  val=DN              chan=d-0073  fmt="%#4.4x";
pos=41,110  val=DN              chan=d-0070  fmt="%6d";
pos=41,120  val=DN              chan=d-0071  fmt="%6d";
pos=41,129  val=CHANGE_VAL_TIME chan=d-0005  fmt=HMS;

pos=42,56   val=CHAN_ID         chan=d-0006;
pos=42,63   val=CHAN_TITLE      chan=d-0006  fmt="%-12.12s";
pos=42,78   val=DN              chan=d-0006  fmt="%#4.4x";
pos=42,89   val=DN              chan=d-0076  fmt="%#4.4x";
pos=42,100  val=DN              chan=d-0077  fmt="%#4.4x";
pos=42,110  val=DN              chan=d-0074  fmt="%6d";
pos=42,120  val=DN              chan=d-0075  fmt="%6d";
pos=42,129  val=CHANGE_VAL_TIME chan=d-0006  fmt=HMS;


pos=45,56   val=CHAN_ID         chan=d-0032;
pos=45,63   val=CHAN_TITLE      chan=d-0032  fmt="%-12.12s";
pos=45,78   val=DN              chan=d-0032  fmt="%#4.4x";
pos=45,89   val=DN              chan=d-0157  fmt="%#4.4x";
pos=45,100  val=DN              chan=d-0158  fmt="%#4.4x";
pos=45,110  val=DN              chan=d-0155  fmt="%6d";
pos=45,120  val=DN              chan=d-0156  fmt="%6d";
pos=45,129  val=CHANGE_VAL_TIME chan=d-0032  fmt=HMS;

pos=46,56   val=CHAN_ID         chan=d-0033;
pos=46,63   val=CHAN_TITLE      chan=d-0033  fmt="%-12.12s";
pos=46,78   val=DN              chan=d-0033  fmt="%#4.4x";
pos=46,89   val=DN              chan=d-0161  fmt="%#4.4x";
pos=46,100  val=DN              chan=d-0162  fmt="%#4.4x";
pos=46,110  val=DN              chan=d-0159  fmt="%6d";
pos=46,120  val=DN              chan=d-0160  fmt="%6d";
pos=46,129  val=CHANGE_VAL_TIME chan=d-0033  fmt=HMS;

pos=47,56   val=CHAN_ID         chan=d-0034;
pos=47,63   val=CHAN_TITLE      chan=d-0034  fmt="%-12.12s";
pos=47,78   val=DN              chan=d-0034  fmt="%#4.4x";
pos=47,89   val=DN              chan=d-0165  fmt="%#4.4x";
pos=47,100  val=DN              chan=d-0166  fmt="%#4.4x";
pos=47,110  val=DN              chan=d-0163  fmt="%6d";
pos=47,120  val=DN              chan=d-0164  fmt="%6d";
pos=47,129  val=CHANGE_VAL_TIME chan=d-0034  fmt=HMS;

pos=48,56   val=CHAN_ID         chan=d-0035;
pos=48,63   val=CHAN_TITLE      chan=d-0035  fmt="%-12.12s";
pos=48,78   val=DN              chan=d-0035  fmt="%#4.4x";
pos=48,89   val=DN              chan=d-0169  fmt="%#4.4x";
pos=48,100  val=DN              chan=d-0170  fmt="%#4.4x";
pos=48,110  val=DN              chan=d-0167  fmt="%6d";
pos=48,120  val=DN              chan=d-0168  fmt="%6d";
pos=48,129  val=CHANGE_VAL_TIME chan=d-0035  fmt=HMS;

pos=49,56   val=CHAN_ID         chan=d-0036;
pos=49,63   val=CHAN_TITLE      chan=d-0036  fmt="%-12.12s";
pos=49,78   val=DN              chan=d-0036  fmt="%#4.4x";
pos=49,89   val=DN              chan=d-0173  fmt="%#4.4x";
pos=49,100  val=DN              chan=d-0174  fmt="%#4.4x";
pos=49,110  val=DN              chan=d-0171  fmt="%6d";
pos=49,120  val=DN              chan=d-0172  fmt="%6d";
pos=49,129  val=CHANGE_VAL_TIME chan=d-0036  fmt=HMS;

pos=50,56   val=CHAN_ID         chan=d-0037;
pos=50,63   val=CHAN_TITLE      chan=d-0037  fmt="%-12.12s";
pos=50,78   val=DN              chan=d-0037  fmt="%#4.4x";
pos=50,89   val=DN              chan=d-0177  fmt="%#4.4x";
pos=50,100  val=DN              chan=d-0178  fmt="%#4.4x";
pos=50,110  val=DN              chan=d-0175  fmt="%6d";
pos=50,120  val=DN              chan=d-0176  fmt="%6d";
pos=50,129  val=CHANGE_VAL_TIME chan=d-0037  fmt=HMS;



pos=53,56   val=CHAN_ID         chan=d-0018;
pos=53,63   val=CHAN_TITLE      chan=d-0018  fmt="%-12.12s";
pos=53,78   val=DN              chan=d-0018  fmt="%#4.4x";
pos=53,89   val=DN              chan=d-0113  fmt="%#4.4x";
pos=53,110  val=DN              chan=d-0114  fmt="%6d";
pos=53,120  val=DN              chan=d-0115  fmt="%6d";
pos=53,129  val=CHANGE_VAL_TIME chan=d-0018  fmt=HMS;

pos=54,56   val=CHAN_ID         chan=d-0019;
pos=54,63   val=CHAN_TITLE      chan=d-0019  fmt="%-12.12s";
pos=54,78   val=DN              chan=d-0019  fmt="%#4.4x";
pos=54,89   val=DN              chan=d-0116  fmt="%#4.4x";
pos=54,110  val=DN              chan=d-0117  fmt="%6d";
pos=54,120  val=DN              chan=d-0118  fmt="%6d";
pos=54,129  val=CHANGE_VAL_TIME chan=d-0019  fmt=HMS;

pos=55,56   val=CHAN_ID         chan=d-0020;
pos=55,63   val=CHAN_TITLE      chan=d-0020  fmt="%-12.12s";
pos=55,78   val=DN              chan=d-0020  fmt="%#4.4x";
pos=55,89   val=DN              chan=d-0119  fmt="%#4.4x";
pos=55,110  val=DN              chan=d-0120  fmt="%6d";
pos=55,120  val=DN              chan=d-0121  fmt="%6d";
pos=55,129  val=CHANGE_VAL_TIME chan=d-0020  fmt=HMS;

pos=56,56   val=CHAN_ID         chan=d-0021;
pos=56,63   val=CHAN_TITLE      chan=d-0021  fmt="%-12.12s";
pos=56,78   val=DN              chan=d-0021  fmt="%#4.4x";
pos=56,89   val=DN              chan=d-0122  fmt="%#4.4x";
pos=56,110  val=DN              chan=d-0123  fmt="%6d";
pos=56,120  val=DN              chan=d-0124  fmt="%6d";
pos=56,129  val=CHANGE_VAL_TIME chan=d-0021  fmt=HMS;

pos=57,56   val=CHAN_ID         chan=d-0022;
pos=57,63   val=CHAN_TITLE      chan=d-0022  fmt="%-12.12s";
pos=57,78   val=DN              chan=d-0022  fmt="%#4.4x";
pos=57,89   val=DN              chan=d-0125  fmt="%#4.4x";
pos=57,110  val=DN              chan=d-0126  fmt="%6d";
pos=57,120  val=DN              chan=d-0127  fmt="%6d";
pos=57,129  val=CHANGE_VAL_TIME chan=d-0022  fmt=HMS;

pos=58,56   val=CHAN_ID         chan=d-0023;
pos=58,63   val=CHAN_TITLE      chan=d-0023  fmt="%-12.12s";
pos=58,78   val=DN              chan=d-0023  fmt="%#4.4x";
pos=58,89   val=DN              chan=d-0128  fmt="%#4.4x";
pos=58,110  val=DN              chan=d-0129  fmt="%6d";
pos=58,120  val=DN              chan=d-0130  fmt="%6d";
pos=58,129  val=CHANGE_VAL_TIME chan=d-0023  fmt=HMS;

pos=59,56   val=CHAN_ID         chan=d-0024;
pos=59,63   val=CHAN_TITLE      chan=d-0024  fmt="%-12.12s";
pos=59,78   val=DN              chan=d-0024  fmt="%#4.4x";
pos=59,89   val=DN              chan=d-0131  fmt="%#4.4x";
pos=59,110  val=DN              chan=d-0132  fmt="%6d";
pos=59,120  val=DN              chan=d-0133  fmt="%6d";
pos=59,129  val=CHANGE_VAL_TIME chan=d-0024  fmt=HMS;

pos=60,56   val=CHAN_ID         chan=d-0025;
pos=60,63   val=CHAN_TITLE      chan=d-0025  fmt="%-12.12s";
pos=60,78   val=DN              chan=d-0025  fmt="%#4.4x";
pos=60,89   val=DN              chan=d-0134  fmt="%#4.4x";
pos=60,110  val=DN              chan=d-0135  fmt="%6d";
pos=60,120  val=DN              chan=d-0136  fmt="%6d";
pos=60,129  val=CHANGE_VAL_TIME chan=d-0025  fmt=HMS;

pos=61,56   val=CHAN_ID         chan=d-0026;
pos=61,63   val=CHAN_TITLE      chan=d-0026  fmt="%-12.12s";
pos=61,78   val=DN              chan=d-0026  fmt="%#4.4x";
pos=61,89   val=DN              chan=d-0137  fmt="%#4.4x";
pos=61,110  val=DN              chan=d-0138  fmt="%6d";
pos=61,120  val=DN              chan=d-0139  fmt="%6d";
pos=61,129  val=CHANGE_VAL_TIME chan=d-0026  fmt=HMS;

pos=62,56   val=CHAN_ID         chan=d-0027;
pos=62,63   val=CHAN_TITLE      chan=d-0027  fmt="%-12.12s";
pos=62,78   val=DN              chan=d-0027  fmt="%#4.4x";
pos=62,89   val=DN              chan=d-0140  fmt="%#4.4x";
pos=62,110  val=DN              chan=d-0141  fmt="%6d";
pos=62,120  val=DN              chan=d-0142  fmt="%6d";
pos=62,129  val=CHANGE_VAL_TIME chan=d-0027  fmt=HMS;

pos=63,56   val=CHAN_ID         chan=d-0028;
pos=63,63   val=CHAN_TITLE      chan=d-0028  fmt="%-12.12s";
pos=63,78   val=DN              chan=d-0028  fmt="%#4.4x";
pos=63,89   val=DN              chan=d-0143  fmt="%#4.4x";
pos=63,110  val=DN              chan=d-0144  fmt="%6d";
pos=63,120  val=DN              chan=d-0145  fmt="%6d";
pos=63,129  val=CHANGE_VAL_TIME chan=d-0028  fmt=HMS;

pos=64,56   val=CHAN_ID         chan=d-0029;
pos=64,63   val=CHAN_TITLE      chan=d-0029  fmt="%-12.12s";
pos=64,78   val=DN              chan=d-0029  fmt="%#4.4x";
pos=64,89   val=DN              chan=d-0146  fmt="%#4.4x";
pos=64,110  val=DN              chan=d-0147  fmt="%6d";
pos=64,120  val=DN              chan=d-0148  fmt="%6d";
pos=64,129  val=CHANGE_VAL_TIME chan=d-0029  fmt=HMS;

pos=65,56   val=CHAN_ID         chan=d-0030;
pos=65,63   val=CHAN_TITLE      chan=d-0030  fmt="%-12.12s";
pos=65,78   val=DN              chan=d-0030  fmt="%#4.4x";
pos=65,89   val=DN              chan=d-0149  fmt="%#4.4x";
pos=65,110  val=DN              chan=d-0150  fmt="%6d";
pos=65,120  val=DN              chan=d-0151  fmt="%6d";
pos=65,129  val=CHANGE_VAL_TIME chan=d-0030  fmt=HMS;

pos=66,56   val=CHAN_ID         chan=d-0031;
pos=66,63   val=CHAN_TITLE      chan=d-0031  fmt="%-12.12s";
pos=66,78   val=DN              chan=d-0031  fmt="%#4.4x";
pos=66,89   val=DN              chan=d-0152  fmt="%#4.4x";
pos=66,110  val=DN              chan=d-0153  fmt="%6d";
pos=66,120  val=DN              chan=d-0154  fmt="%6d";
pos=66,129  val=CHANGE_VAL_TIME chan=d-0031  fmt=HMS;




ENDREGION
ENDTEMPLATE

###############################################################################
#                                                                             #
# TEMPLATE: FIXED                                                             #
# FILE NAME: mgs_functional.tdl                                               #
# AUTHOR: Matt Cox                                                            #
# COMMENTS: MGS S/C Functional Test Telemetry Page                            #
# BASELINED: MC 05-24-96                                                      #
# MODIFIED:  BG 07-08-96                                                      #
# MODIFIED:  BG 07-31-96
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=61,148 pos=4,1 # mgs_functional.tdl

TEXTREGION

rule=static
pos=01,1   val=' ';
pos=02,1   val='   MARS GLOBAL SURVEYOR FUNCTIONAL TEST TELEMETRY   ';
pos=03,1   val=' ';
pos=04,1   val='  _Flight_Software/Cmd_Counters____';
pos=05,1   val=' |                                 |';
pos=06,1   val=' | CE_SC_STATE    XXXXXXXXXXXX     |';
pos=07,1   val=' | AACS_STATE     XXXXXXXXXXXX     |';
pos=08,1   val=' | TC_ACTV_SRCP    XXXX       XXXX |';
pos=09,1   val=' | ATT_ENABLES     XXXX       XXXX |';
pos=10,1   val=' | ATT_STAT_NEW    XXXX       XXXX |';
pos=11,1   val=' | RDM_CONTMODE   XXXXXXXX         |';
pos=12,1   val=' |                                 |';
pos=13,1   val=' | UPL_RECVDCNT   XXXXX      XXXXX |';
pos=14,1   val=' | UPL_CIUEXCNT   XXXXX      XXXXX |';
pos=15,1   val=' | UPL_CRCERRCT   XXXXX      XXXXX |';
pos=16,1   val=' | UPL_SCPEXCNT   XXXXX      XXXXX |';
pos=17,1   val=' | UPL_SCPREGCT   XXXXX      XXXXX |';
pos=18,1   val=' | INT_CMDEX_CT   XXXXX      XXXXX |';
pos=19,1   val=' | TC_SBUS_EXCT   XXXXX      XXXXX |';
pos=20,1   val=' | TC_PDS_CMDEX   XXXXX      XXXXX |';
pos=21,1   val=' |                                 |';
pos=22,1   val=' | RDM_DEV_CFG1    XXXX       XXXX |';
pos=23,1   val=' | RDM_DEV_CFG2    XXXX       XXXX |';
pos=24,1   val=' | RDMN_SW_SUM1    XXXX       XXXX |';
pos=25,1   val=' | RDMN_SW_SUM2    XXXX       XXXX |';
pos=26,1   val=' | DEVDEAD_1       XXXX       XXXX |';
pos=27,1   val=' | DEVDEAD_2       XXXX       XXXX |';
pos=28,1   val=' | AUTOENAB_1      XXXX       XXXX |';
pos=29,1   val=' | AUTOENAB_2      XXXX       XXXX |';
pos=30,1   val=' |                                 |';
pos=31,1   val=' | POBimgCIU246    XXXX       XXXX |';
pos=32,1   val=' |_________________________________|';

rule=dynamic
pos=06,19  val=STATE_NAME chan=f-1016 fmt="%-12.12s";
pos=07,19  val=STATE_NAME chan=f-0000 fmt="%-12.12s";
pos=08,20  val=DN         chan=f-1430 fmt="%4d";
pos=08,31  val=DN         chan=n-1430 fmt="%4d";
pos=09,20  val=DN         chan=f-0005 fmt="%4.4x";
pos=10,20  val=DN         chan=f-0009 fmt="%4.4x";
pos=09,31  val=DN         chan=n-0005 fmt="%4.4x";
pos=10,31  val=DN         chan=n-0009 fmt="%4.4x";
pos=11,19  val=STATE_NAME chan=f-1236 fmt="%8.8s";
pos=13,19  val=DN         chan=f-1459 fmt="%5d";
pos=14,19  val=DN         chan=f-1451 fmt="%5d";
pos=15,19  val=DN         chan=f-1455 fmt="%5d";
pos=16,19  val=DN         chan=f-1460 fmt="%5d";
pos=17,19  val=DN         chan=f-1461 fmt="%5d";
pos=18,19  val=DN         chan=f-1080 fmt="%5d";
pos=19,19  val=DN         chan=f-1441 fmt="%5d";
pos=20,19  val=DN         chan=f-1438 fmt="%5d";
pos=13,30  val=DN         chan=n-1459 fmt="%5d";
pos=14,30  val=DN         chan=n-1451 fmt="%5d";
pos=15,30  val=DN         chan=n-1455 fmt="%5d";
pos=16,30  val=DN         chan=n-1460 fmt="%5d";
pos=17,30  val=DN         chan=n-1461 fmt="%5d";
pos=18,30  val=DN         chan=n-1080 fmt="%5d";
pos=19,30  val=DN         chan=n-1441 fmt="%5d";
pos=20,30  val=DN         chan=n-1438 fmt="%5d";
pos=22,20  val=DN         chan=f-1237 fmt="%4.4x";
pos=23,20  val=DN         chan=f-1238 fmt="%4.4x";
pos=24,20  val=DN         chan=f-1348 fmt="%4.4x";
pos=25,20  val=DN         chan=f-1349 fmt="%4.4x";
pos=26,20  val=DN         chan=f-1034 fmt="%4.4x";
pos=27,20  val=DN         chan=f-1035 fmt="%4.4x";
pos=28,20  val=DN         chan=f-1008 fmt="%4.4x";
pos=29,20  val=DN         chan=f-1009 fmt="%4.4x";
pos=31,20  val=DN         chan=f-1115 fmt="%4.4x";
pos=22,31  val=DN         chan=n-1237 fmt="%4.4x";
pos=23,31  val=DN         chan=n-1238 fmt="%4.4x";
pos=24,31  val=DN         chan=n-1348 fmt="%4.4x";
pos=25,31  val=DN         chan=n-1349 fmt="%4.4x";
pos=26,31  val=DN         chan=n-1034 fmt="%4.4x";
pos=27,31  val=DN         chan=n-1035 fmt="%4.4x";
pos=28,31  val=DN         chan=n-1008 fmt="%4.4x";
pos=29,31  val=DN         chan=n-1009 fmt="%4.4x";
pos=31,31  val=DN         chan=n-1115 fmt="%4.4x";

rule=static
pos=34,1   val='  _Solid_State_Recorders___________';
pos=35,1   val=' |                                 |';
pos=36,1   val=' | SSR_1A_PWR     XXXXXXXX         |';
pos=37,1   val=' | SSR_1A_DENA    XXXXXXXX         |';
pos=38,1   val=' | SSR_1A_MODE    XXXXXXXX         |';
pos=39,1   val=' | SSR_1A_CLOCK   XXXXXXXX         |';
pos=40,1   val=' | SSR_1A_PART    XXXXXXXX         |';
pos=41,1   val=' | SSR_1A_READY   XXXXXXXX         |';
pos=42,1   val=' | SSR_1B_PWR     XXXXXXXX         |';
pos=43,1   val=' | SSR_1B_DENA    XXXXXXXX         |';
pos=44,1   val=' | SSR_1B_MODE    XXXXXXXX         |';
pos=45,1   val=' | SSR_1B_CLOCK   XXXXXXXX         |';
pos=46,1   val=' | SSR_1B_PART    XXXXXXXX         |';
pos=47,1   val=' | SSR_1B_READY   XXXXXXXX         |';
pos=48,1   val=' | SSR_2A_PWR     XXXXXXXX         |';
pos=49,1   val=' | SSR_2A_DENA    XXXXXXXX         |';
pos=50,1   val=' | SSR_2A_MODE    XXXXXXXX         |';
pos=51,1   val=' | SSR_2A_CLOCK   XXXXXXXX         |';
pos=52,1   val=' | SSR_2A_PART    XXXXXXXX         |';
pos=53,1   val=' | SSR_2A_READY   XXXXXXXX         |';
pos=54,1   val=' | SSR_2B_PWR     XXXXXXXX         |';
pos=55,1   val=' | SSR_2B_DENA    XXXXXXXX         |';
pos=56,1   val=' | SSR_2B_MODE    XXXXXXXX         |';
pos=57,1   val=' | SSR_2A_CLOCK   XXXXXXXX         |';
pos=58,1   val=' | SSR_2B_PART    XXXXXXXX         |';
pos=59,1   val=' | SSR_2B_READY   XXXXXXXX         |';
pos=60,1   val=' |_________________________________|';

rule=dynamic

pos=36,19  val=STATE_NAME chan=c-0043 fmt="%-8.8s";
pos=37,19  val=STATE_NAME chan=c-0048 fmt="%-8.8s";
pos=38,19  val=STATE_NAME chan=c-0041 fmt="%-8.8s";
pos=39,19  val=STATE_NAME chan=c-0040 fmt="%-8.8s";
pos=40,19  val=STATE_NAME chan=c-0042 fmt="%-8.8s";
pos=41,19  val=STATE_NAME chan=c-0044 fmt="%-8.8s";
pos=42,19  val=STATE_NAME chan=c-0053 fmt="%-8.8s";
pos=43,19  val=STATE_NAME chan=c-0058 fmt="%-8.8s";
pos=44,19  val=STATE_NAME chan=c-0051 fmt="%-8.8s";
pos=45,19  val=STATE_NAME chan=c-0050 fmt="%-8.8s";
pos=46,19  val=STATE_NAME chan=c-0052 fmt="%-8.8s";
pos=47,19  val=STATE_NAME chan=c-0054 fmt="%-8.8s";
pos=48,19  val=STATE_NAME chan=c-0063 fmt="%-8.8s";
pos=49,19  val=STATE_NAME chan=c-0068 fmt="%-8.8s";
pos=50,19  val=STATE_NAME chan=c-0061 fmt="%-8.8s";
pos=51,19  val=STATE_NAME chan=c-0060 fmt="%-8.8s";
pos=52,19  val=STATE_NAME chan=c-0062 fmt="%-8.8s";
pos=53,19  val=STATE_NAME chan=c-0064 fmt="%-8.8s";
pos=54,19  val=STATE_NAME chan=c-0073 fmt="%-8.8s";
pos=55,19  val=STATE_NAME chan=c-0078 fmt="%-8.8s";
pos=56,19  val=STATE_NAME chan=c-0071 fmt="%-8.8s";
pos=57,19  val=STATE_NAME chan=c-0060 fmt="%-8.8s";
pos=58,19  val=STATE_NAME chan=c-0072 fmt="%-8.8s";
pos=59,19  val=STATE_NAME chan=c-0074 fmt="%-8.8s";

rule=static
pos=04,38  val='  _C&DH_Boxes______________________';
pos=05,38  val=' |                                 |';
pos=06,38  val=' | CIU_BUS_SLCT   XXXXXXXX         |';
pos=07,38  val=' | CIU_IO_X_ST    XXXXXXXX         |';
pos=08,38  val=' | CIUFL_BUSsel   XXXXXXXX         |';
pos=09,38  val=' | CIXFL_BUSsel   XXXXXXXX         |';
pos=10,38  val=' | CIU_CLOCK_SL   XXXXXXXX         |';
pos=11,38  val=' | CIU_RXO_SLCT   XXXXXXXX         |';
pos=12,38  val=' |                                 |';
pos=13,38  val=' | CNTRL_SCP      XXXXXXXX         |';
pos=14,38  val=' | CIU_SCP1_NOK   XXXXXXXX         |';
pos=15,38  val=' | CIU_SCP2_NOK   XXXXXXXX         |';
pos=16,38  val=' |                                 |';
pos=17,38  val=' | EDF_Mode       XXXXXXXXXXX      |';
pos=18,38  val=' | EDF_SIDE1_ST   XXXXXXXX         |';
pos=19,38  val=' | EDF_SIDE2_ST   XXXXXXXX         |';
pos=20,38  val=' | RDM_DC1_EDF    XXXXXXXX         |';
pos=21,38  val=' |                                 |';
pos=22,38  val=' | PDS_A_PWR      XXXXXXXX         |';
pos=23,38  val=' | PDS_B_PWR      XXXXXXXX         |';
pos=24,38  val=' | PDS_MODE       XXXXXX           |';
pos=25,38  val=' | SE1_RATE       XXXXXXXX         |';
pos=26,38  val=' | SE2_RATE       XXXXXXXX         |';
pos=27,38  val=' | TDP_PDS_TLM    XXXXXXXX         |';
pos=28,38  val=' |                                 |';
pos=29,38  val=' | XSU1_PGC       XXXX mV          |';
pos=30,38  val=' | XSU1_SRC       XXXXXXXX         |';
pos=31,38  val=' | XSU2_PGC       XXXX mV          |';
pos=32,38  val=' | XSU2_SRC       XXXXXXXX         |';
pos=33,38  val=' | XSUSIDE1       XXXXXXXX         |';
pos=34,38  val=' | XSUSIDE2       XXXXXXXX         |';
pos=35,38  val=' | MOTCROSS       XXXXXXXX         |';
pos=36,38  val=' | RDMNSWS_XSU    XXXXXXXXXXXX     |';
pos=37,38  val=' | RDM_DC1_XSU    XXXXXXXX         |';
pos=38,38  val=' |                                 |';
pos=39,38  val=' | MSN_PHS_SCU1   XXXXXXXX         |';
pos=40,38  val=' | MSN_PHS_SCU2   XXXXXXXX         |';
pos=41,38  val=' |_________________________________|';

rule=dynamic
pos=06,56  val=STATE_NAME chan=c-0001 fmt="%-8.8s";
pos=07,56  val=STATE_NAME chan=c-0004 fmt="%-8.8s";
pos=08,56  val=STATE_NAME chan=f-1532 fmt="%-8.8s";
pos=09,56  val=STATE_NAME chan=f-1552 fmt="%-8.8s";
pos=10,56  val=STATE_NAME chan=c-0008 fmt="%-8.8s";
pos=11,56  val=STATE_NAME chan=c-0005 fmt="%-8.8s";
pos=13,56  val=STATE_NAME chan=c-0002 fmt="%-8.8s";
pos=14,56  val=STATE_NAME chan=c-0006 fmt="%-8.8s";
pos=15,56  val=STATE_NAME chan=c-0007 fmt="%-8.8s";
pos=17,56  val=STATE_NAME chan=h-0025 fmt="%-11.11s";
pos=18,56  val=STATE_NAME chan=c-0011 fmt="%-8.8s";
pos=19,56  val=STATE_NAME chan=c-0012 fmt="%-8.8s";
pos=20,56  val=STATE_NAME chan=f-1722 fmt="%-8.8s";
pos=22,56  val=STATE_NAME chan=c-0024 fmt="%-8.8s";
pos=23,56  val=STATE_NAME chan=c-0025 fmt="%-8.8s";
pos=24,56  val=DN         chan=d-0007 fmt="%#4.4x";
pos=25,56  val=STATE_NAME chan=d-0013 fmt="%-8.8s";
pos=26,56  val=STATE_NAME chan=d-0012 fmt="%-8.8s";
pos=27,56  val=STATE_NAME chan=f-3243 fmt="%-8.8s";
pos=29,56  val=STATE_NAME chan=c-0085 fmt="%-4.4s";
pos=30,56  val=STATE_NAME chan=c-0087 fmt="%-8.8s";
pos=31,56  val=STATE_NAME chan=c-0086 fmt="%-4.4s";
pos=32,56  val=STATE_NAME chan=c-0088 fmt="%-8.8s";
pos=33,56  val=STATE_NAME chan=c-0080 fmt="%-8.8s";
pos=34,56  val=STATE_NAME chan=c-0081 fmt="%-8.8s";
pos=35,56  val=STATE_NAME chan=c-0020 fmt="%-8.8s";
pos=36,56  val=STATE_NAME chan=f-1644 fmt="%-12.12s";
pos=37,56  val=STATE_NAME chan=f-1723 fmt="%-8.8s";
pos=39,56  val=STATE_NAME chan=v-1007 fmt="%-8.8s";
pos=40,56  val=STATE_NAME chan=v-1008 fmt="%-8.8s";

rule=static
pos=43,38  val='  _Payload_Telemetry_______________';
pos=44,38  val=' |                                 |';
pos=45,38  val=' | ER_T           xxxx.xx deg C    |';
pos=46,38  val=' | MAG+Y_T        xxxx.xx deg C    |';
pos=47,38  val=' | MAG-Y_T        xxxx.xx deg C    |';
pos=48,38  val=' | MAGA_PWR       XXXXXXXX         |';
pos=49,38  val=' | MAGB_PWR       XXXXXXXX         |';
pos=50,38  val=' | MAG_HTR        XXXXXXXX         |';
pos=51,38  val=' | MOCA_PWR       XXXXXXXX         |';
pos=52,38  val=' | MOCB_PWR       XXXXXXXX         |';
pos=53,38  val=' | MOLA_ARM       XXXXXXXX         |';
pos=54,38  val=' | MOLA_ENABLE    XXXXXXXX         |';
pos=55,38  val=' | MOLA_PWR       XXXXXXXX         |';
pos=56,38  val=' | MR_ENABLE      XXXXXXXX         |';
pos=57,38  val=' | MR_PWR         XXXXXXXX         |';
pos=58,38  val=' | TES_PWR        XXXXXXXX         |';
pos=59,38  val=' |                                 |';
pos=60,38  val=' |_________________________________|';

rule=dynamic
pos=45,56  val=EU         chan=t-0221 fmt="%-7.2f";
pos=46,56  val=EU         chan=t-0223 fmt="%-7.2f";
pos=47,56  val=EU         chan=t-0224 fmt="%-7.2f";
pos=48,56  val=STATE_NAME chan=i-0003 fmt="%-8.8s";
pos=49,56  val=STATE_NAME chan=i-0004 fmt="%-8.8s";
pos=50,56  val=STATE_NAME chan=t-0051 fmt="%-8.8s";
pos=51,56  val=STATE_NAME chan=i-0010 fmt="%-8.8s";
pos=52,56  val=STATE_NAME chan=i-0011 fmt="%-8.8s";
pos=53,56  val=STATE_NAME chan=i-0012 fmt="%-8.8s";
pos=54,56  val=STATE_NAME chan=i-0013 fmt="%-8.8s";
pos=55,56  val=STATE_NAME chan=i-0014 fmt="%-8.8s";
pos=56,56  val=STATE_NAME chan=i-0005 fmt="%-8.8s";
pos=57,56  val=STATE_NAME chan=i-0006 fmt="%-8.8s";
pos=58,56  val=STATE_NAME chan=i-0015 fmt="%-8.8s";

rule=static
pos=01,75  val='  _Attitude_Boxes__________________';
pos=02,75  val=' |                                 |';
pos=03,75  val=' | RWA_X_BRG_T    xxxx.xx deg C    |';
pos=04,75  val=' | RWA_Y_BRG_T    xxxx.xx deg C    |';
pos=05,75  val=' | RWA_Z_BRG_T    xxxx.xx deg C    |';
pos=06,75  val=' | RWA_S_BRG_T    xxxx.xx deg C    |';
pos=07,75  val=' | RWA_SPD_X      xxxxxxx RPM      |';
pos=08,75  val=' | RWA_SPD_Y      xxxxxxx RPM      |';
pos=09,75  val=' | RWA_SPD_Z      xxxxxxx RPM      |';
pos=10,75  val=' | RWA_SPD_S      xxxxxxx RPM      |';
pos=11,75  val=' | RDM_RWA_CNGF   xxxxxxxx         |';
pos=12,75  val=' | IMU_ACsupSEL	  XXXXXXXX         |';
pos=13,75  val=' | IMU_DCsupSEL   XXXXXXXX         |';
pos=14,75  val=' | IMU_DATA_SEL   XXXXXXXX         |';
pos=15,75  val=' | IMU_HI_LO_ST   XXXXXXXX         |';
pos=16,75  val=' | IMU_G1_STAT    XXXXXXXX         |';
pos=17,75  val=' | IMU_G2_STAT    XXXXXXXX         |';
pos=18,75  val=' | IMU_G3_STAT    XXXXXXXX         |';
pos=19,75  val=' | GYRO_1_SP_MTR  XXXXXXXX         |';
pos=20,75  val=' | GYRO_2_SP_MTR  XXXXXXXX         |';
pos=21,75  val=' | GYRO_3_SP_MTR  XXXXXXXX         |';
pos=22,75  val=' | RDM_GYRO_CNF   XXXXXXXX         |';
pos=23,75  val=' | IMU_ST_WD1     XXXX             |';
pos=24,75  val=' | RDM_IMU_STAT   XXXX             |';
pos=25,75  val=' | SS1_DC_CNV_V   xxxx.xx Volts    |';
pos=26,75  val=' | SS2_DC_CNV_V   xxxx.xx Volts    |';
pos=27,75  val=' | RDM_DC1_SSA    XXXXXXXX         |';
pos=28,75  val=' | CS_TRI_A_PWR   XXXXXXXX         |';
pos=29,75  val=' | CS_TRI_B_PWR   XXXXXXXX         |';
pos=30,75  val=' | MHSA1_PWR      XXXXXXXX         |';
pos=31,75  val=' | MHSA2_PWR      XXXXXXXX         |';
pos=32,75  val=' | RDM_DC1_MHSA   XXXXXXXX         |';
pos=33,75  val=' |_________________________________|';

rule=dynamic
pos=03,93  val=EU         chan=t-0106 fmt="%7.2f";
pos=04,93  val=EU         chan=t-0107 fmt="%7.2f";
pos=05,93  val=EU         chan=t-0108 fmt="%7.2f";
pos=06,93  val=EU         chan=t-0109 fmt="%7.2f";
pos=07,93  val=DN         chan=v-0040 fmt="%7d";
pos=08,93  val=DN         chan=v-0044 fmt="%7d";
pos=09,93  val=DN         chan=v-0048 fmt="%7d";
pos=10,93  val=DN         chan=v-0052 fmt="%7d";
pos=11,93  val=STATE_NAME chan=f-1743 fmt="%-8.8s";
pos=12,93  val=STATE_NAME chan=f-0641 fmt="%-8.8s";
pos=13,93  val=STATE_NAME chan=f-0652 fmt="%-8.8s";
pos=14,93  val=STATE_NAME chan=f-0640 fmt="%-8.8s";
pos=15,93  val=STATE_NAME chan=a-0011 fmt="%-8.8s";
pos=16,93  val=STATE_NAME chan=f-0655 fmt="%-8.8s";
pos=17,93  val=STATE_NAME chan=f-0654 fmt="%-8.8s";
pos=18,93  val=STATE_NAME chan=f-0653 fmt="%-8.8s";
pos=19,93  val=STATE_NAME chan=a-0003 fmt="%-8.8s";
pos=20,93  val=STATE_NAME chan=a-0004 fmt="%-8.8s";
pos=21,93  val=STATE_NAME chan=a-0005 fmt="%-8.8s";
pos=22,93  val=STATE_NAME chan=f-1740 fmt="%-8.8s";
pos=23,93  val=DN         chan=f-0210 fmt="%4.4x";
pos=24,93  val=DN         chan=f-1262 fmt="%4.4x";
pos=25,93  val=EU         chan=a-0120 fmt="%7.2f";
pos=26,93  val=EU         chan=a-0121 fmt="%7.2f";
pos=27,93  val=STATE_NAME chan=f-1720 fmt="%-8.8s";
pos=28,93  val=STATE_NAME chan=a-0001 fmt="%-8.8s";
pos=29,93  val=STATE_NAME chan=a-0002 fmt="%-8.8s";
pos=30,93  val=STATE_NAME chan=a-0013 fmt="%-8.8s";
pos=31,93  val=STATE_NAME chan=a-0014 fmt="%-8.8s";
pos=32,93  val=STATE_NAME chan=f-1728 fmt="%-8.8s";

rule=static
pos=35,75  val='  _Power_Subsystem_________________';
pos=36,75  val=' |                                 |';
pos=37,75  val=' | BAT1_PR_CHG    XXXXXXXXXX       |';
pos=38,75  val=' | BAT1_BU_CHG    XXXXXXXXXX       |';
pos=39,75  val=' | BAT1_CHG_CFG   XXXXXXXX         |';
pos=40,75  val=' | BAT1_CHG_I     xxxx.xx Amps     |';
pos=41,75  val=' | BAT1_DCHG_I    xxxx.xx Amps     |';
pos=42,75  val=' | BAT1_CHRG_RT   XXXXXXX Amps     |';
pos=43,75  val=' | BAT1_VT_LMIT   XXXXXXX          |';
pos=44,75  val=' | BAT1_VT_SHFT   XXXXXXX          |';
pos=45,75  val=' | BAT2_PR_CHG    XXXXXXXXXX       |';
pos=46,75  val=' | BAT2_BU_CHG    XXXXXXXXXX       |';
pos=47,75  val=' | BAT2_CHG_CFG   XXXXXXXX         |';
pos=48,75  val=' | BAT2_CHG_I     xxxx.xx Amps     |';
pos=49,75  val=' | BAT2_DCHG_I    xxxx.xx Amps     |';
pos=50,75  val=' | BAT2_CHRG_RT   XXXXXXX Amps     |';
pos=51,75  val=' | BAT2_VT_LMIT   XXXXXXX          |';
pos=52,75  val=' | BAT2_VT_SHFT   XXXXXXX          |';
pos=53,75  val=' | PSE_MODE_CRL   XXXXXXXX         |';
pos=54,75  val=' | PSE_BOST_REG   XXXXXXXX         |';
pos=55,75  val=' | PSE_CMD_SIDE   XXXXXXXX         |';
pos=56,75  val=' | RDMNSWS_PSE    XXXXXXXXXXXX     |';
pos=57,75  val=' | RDM_DC1_PSE    XXXXXXXX         |';
pos=58,75  val=' | PWR_ENA_WORD   XXXX             |';
pos=59,75  val=' | REG_BUS_I      xxxxx.xx Amps    |';
pos=60,75  val=' |_________________________________|';

rule=dynamic
pos=37,93  val=STATE_NAME chan=e-0001 fmt="%-10.10s";
pos=38,93  val=STATE_NAME chan=e-0002 fmt="%-10.10s";
pos=39,93  val=STATE_NAME chan=e-0003 fmt="%-8.8s";
pos=40,93  val=EU         chan=e-0105 fmt="%7.2f";
pos=41,93  val=EU         chan=e-0106 fmt="%7.2f";
pos=42,93  val=EU         chan=e-0104 fmt="%7.2f";
pos=43,93  val=EU         chan=e-0107 fmt="%7.0f";
pos=44,93  val=STATE_NAME chan=e-0006 fmt="%-10.10s";
pos=45,93  val=STATE_NAME chan=e-0011 fmt="%-10.10s";
pos=46,93  val=STATE_NAME chan=e-0012 fmt="%-10.10s";
pos=47,93  val=STATE_NAME chan=e-0013 fmt="%-8.8s";
pos=48,93  val=EU         chan=e-0115 fmt="%7.2f";
pos=49,93  val=EU         chan=e-0116 fmt="%7.2f";
pos=50,93  val=EU         chan=e-0114 fmt="%7.2f";
pos=51,93  val=EU         chan=e-0117 fmt="%7.0f";
pos=52,93  val=STATE_NAME chan=e-0016 fmt="%-10.10s";

pos=53,93  val=STATE_NAME chan=e-0022 fmt="%8.8s";
pos=54,93  val=STATE_NAME chan=e-0020 fmt="%8.8s";
pos=55,93  val=STATE_NAME chan=e-0021 fmt="%-8.8s";
pos=56,93  val=STATE_NAME chan=f-1647 fmt="%-12.12s";
pos=57,93  val=STATE_NAME chan=f-1724 fmt="%-8.8s";
pos=58,93  val=DN         chan=f-2140 fmt="%4.4x";
pos=59,93  val=EU         chan=e-0141 fmt="%8.2f";


rule=static
pos=01,112 val='  _Telecom_Subsystem_______________';
pos=02,112 val=' |                                 |';
pos=03,112 val=' | TD1_UPL_ANT    XXXXXXXX         |';
pos=04,112 val=' | TD1_DNL_ANT    XXXXXXXX         |';
pos=05,112 val=' | RF_SW_INPUT    XXXXXXXX         |';
pos=06,112 val=' | RF_SW_OUTPUT   XXXXXXXX         |';
pos=07,112 val=' | RF_SW_LGT      XXXXXXXX         |';
pos=08,112 val=' | RF_SW_OSC      XXXXXXXX         |';
pos=09,112 val=' | RF_SW_23_INH   XXXXXXXX         |';
pos=10,112 val=' | TWTA1_FILMNT   XXXXXXXX         |';
pos=11,112 val=' | TWTA1_HV       XXXXXXXX         |';
pos=12,112 val=' | TWTA2_FILMNT   XXXXXXXX         |';
pos=13,112 val=' | TWTA2_HV       XXXXXXXX         |';
pos=14,112 val=' |                                 |';
pos=15,112 val=' | MOT1_EXCITER   XXXXXXXX         |';
pos=16,112 val=' | MOT1_TLM_MOD   XXXXXXXX         |';
pos=17,112 val=' | MOT1_TWNC      XXXXXXXX         |';
pos=18,112 val=' | MOT1_RCVRLCK   XXXXXXXX         |';
pos=19,112 val=' | MOT1_RANGING   XXXXXXXX         |';
pos=20,112 val=' | MOT1_USO_ENA   XXXXXXXX         |';
pos=21,112 val=' |                                 |';
pos=22,112 val=' | MOT2_EXCITER   XXXXXXXX         |';
pos=23,112 val=' | MOT2_TLM_MOD   XXXXXXXX         |';
pos=24,112 val=' | MOT2_TWNC      XXXXXXXX         |';
pos=25,112 val=' | MOT2_RCVRLCK   XXXXXXXX         |';
pos=26,112 val=' | MOT2_RANGING   XXXXXXXX         |';
pos=27,112 val=' | MOT2_USO_ENA   XXXXXXXX         |';
pos=28,112 val=' |                                 |';
pos=29,112 val=' | CDU1_BITRATE   XXXXXXXX         |';
pos=30,112 val=' | CDU2_BITRATE   XXXXXXXX         |';
pos=31,112 val=' | PICK_BITS1     XXXXXXXX         |';
pos=32,112 val=' | PICK_BITS2     XXXXXXXX         |';
pos=33,112 val=' | KaBLE_STAT     XXXXXXXX         |';
pos=34,112 val=' | KaBLE_ENABLE   XXXXXXXX         |';
pos=35,112 val=' |_________________________________|';

rule=dynamic
pos=03,130 val=STATE_NAME chan=f-3200 fmt="%-8.8s";
pos=04,130 val=STATE_NAME chan=f-3223 fmt="%-8.8s";
pos=05,130 val=STATE_NAME chan=l-0050 fmt="%-8.8s";
pos=06,130 val=STATE_NAME chan=l-0051 fmt="%-8.8s";
pos=07,130 val=STATE_NAME chan=l-0052 fmt="%-8.8s";
pos=08,130 val=STATE_NAME chan=l-0053 fmt="%-8.8s";
pos=09,130 val=STATE_NAME chan=l-0058 fmt="%-8.8s";
pos=10,130 val=STATE_NAME chan=l-0060 fmt="%-8.8s";
pos=11,130 val=STATE_NAME chan=l-0061 fmt="%-8.8s";
pos=12,130 val=STATE_NAME chan=l-0070 fmt="%-8.8s";
pos=13,130 val=STATE_NAME chan=l-0071 fmt="%-8.8s";
pos=15,130 val=STATE_NAME chan=l-0032 fmt="%-8.8s";
pos=16,130 val=STATE_NAME chan=l-0036 fmt="%-8.8s";
pos=17,130 val=STATE_NAME chan=l-0033 fmt="%-8.8s";
pos=18,130 val=STATE_NAME chan=l-0035 fmt="%-8.8s";
pos=19,130 val=STATE_NAME chan=l-0034 fmt="%-8.8s";
pos=20,130 val=STATE_NAME chan=l-0037 fmt="%-8.8s";
pos=22,130 val=STATE_NAME chan=l-0042 fmt="%-8.8s";
pos=23,130 val=STATE_NAME chan=l-0046 fmt="%-8.8s";
pos=24,130 val=STATE_NAME chan=l-0043 fmt="%-8.8s";
pos=25,130 val=STATE_NAME chan=l-0045 fmt="%-8.8s";
pos=26,130 val=STATE_NAME chan=l-0044 fmt="%-8.8s";
pos=27,130 val=STATE_NAME chan=l-0047 fmt="%-8.8s";
pos=29,130 val=STATE_NAME chan=l-0012 fmt="%-8.8s";
pos=30,130 val=STATE_NAME chan=l-0022 fmt="%-8.8s";
pos=31,130 val=STATE_NAME chan=v-3001 fmt="%-8.8s";
pos=32,130 val=STATE_NAME chan=v-3002 fmt="%-8.8s";
pos=33,130 val=STATE_NAME chan=l-0090 fmt="%-8.8s";
pos=34,130 val=STATE_NAME chan=l-0091 fmt="%-8.8s";


rule=static
pos=37,112 val='  _Gimbals_________________________';
pos=38,112 val=' |                                 |';
pos=39,112 val=' | HGA_AZang_CF   XXXXX.XXX deg    |';
pos=40,112 val=' | HGA_ELang_CF   XXXXX.XXX deg    |';
pos=41,112 val=' | HGA_CNTRL_ST   XXXX             |';
pos=42,112 val=' | SAP_AZang_CF   XXXXX.XXX deg    |';
pos=43,112 val=' | SAP_ELang_CF   XXXXX.XXX deg    |';
pos=44,112 val=' | SAP_CNTRL_ST   XXXX             |';
pos=45,112 val=' | SAM_AZang_CF   XXXXX.XXX deg    |';
pos=46,112 val=' | SAM_ELang_CF   XXXXX.XXX deg    |';
pos=47,112 val=' | SAM_CNTRL_ST   XXXX             |';
pos=48,112 val=' |_________________________________|';

rule=dynamic
pos=39,130 val=DN         chan=v-0080 fmt="%9.3f";
pos=40,130 val=DN         chan=v-0081 fmt="%9.3f";
pos=41,130 val=DN         chan=f-0194 fmt="%4.4x";
pos=42,130 val=DN         chan=v-0084 fmt="%9.3f";
pos=43,130 val=DN         chan=v-0085 fmt="%9.3f";
pos=44,130 val=DN         chan=f-0405 fmt="%4.4x";
pos=45,130 val=DN         chan=v-0082 fmt="%9.3f";
pos=46,130 val=DN         chan=v-0083 fmt="%9.3f";
pos=47,130 val=DN         chan=f-0375 fmt="%4.4x";

rule=static
pos=50,112 val='  _Control_Info____________________';
pos=51,112 val=' |                                 |';
pos=52,112 val=' | SELT_PTCH_ER   xx.xxxxxx deg    |';
pos=53,112 val=' | SELT_ROLL_ER   xx.xxxxxx deg    |';
pos=54,112 val=' | SELT_YAW_ER    xx.xxxxxx deg    |';
pos=55,112 val=' | POS_ERR_X      xx.xxxxxx deg    |';
pos=56,112 val=' | POS_ERR_Y      xx.xxxxxx deg    |';
pos=57,112 val=' | POS_ERR_Z      xx.xxxxxx deg    |';
pos=58,112 val=' | MOMUNL_STATE   XXXXXXXX         |';
pos=59,112 val=' |                                 |';
pos=60,112 val=' |_________________________________|';

rule=dynamic
pos=52,130 val=EU         chan=f-0427 fmt="%9.6f";
pos=53,130 val=EU         chan=f-0435 fmt="%9.6f";
pos=54,130 val=EU         chan=f-0436 fmt="%9.6f";
pos=55,130 val=EU         chan=f-0290 fmt="%9.6f";
pos=56,130 val=EU         chan=f-0291 fmt="%9.6f";
pos=57,130 val=EU         chan=f-0292 fmt="%9.6f";
pos=58,130 val=STATE_NAME chan=f-0888 fmt="%8.8s";

ENDREGION
ENDTEMPLATE
###############################################################################
#                                                                             #
# TEMPLATE:  FIXED PAGE                                                       #
# FILE NAME: 1_fixed_mon_01.tdl                                               #
# AUTHOR:    Robert R. Smith                                                  #
# COMMENTS:  Mars Global Surveyor Monitor 5-15 Fixed Page Tempalte            #
# BASELINED: 12-14-95                                                         #
# FINALIZED:                                                                  #
# MODIFIED:                                                                   #
#                                                                             #
# updated: 12/21/95 comment out F-0003 (caused errors)                        #
# updated: 12/12/95 to Update for MGS RCVR & CDU channels.                    #
# updated: 1/18/93 to correct error in Ref. Aux.                              #
# updated: 07/22/93 (MD)                                                      #
#                                                                             #
###############################################################################

TEMPLATE type=FIXED size=22,68 pos=3,1	# RTOT_MC,MGS MONITOR DATA Fixed Page
TEXTREGION

#rule=STATIC
#pos= 1,01  	val='MST=';
#rule=DYNAMIC
#pos= 1,05  	val=TIME	chan=M-0020	fmt=DMYHMS;
rule=STATIC
pos= 1,25	val='Map Version#=';
rule=DYNAMIC
pos= 1,38	val=DN		chan=M-0000	fmt="%-3u";
rule=STATIC
pos= 1,43	val='SubMap Version#=';
rule=DYNAMIC
pos= 1,59	val=DN		chan=M-0001	fmt="%-4u";

rule=STATIC
pos=2,01	val='DSS';
pos=2,06	val='CONSCAN RCVR STATUS________';
pos=2,36	val='AGC___ PPMAGC___PPMSNT';
pos=2,60	val='BD';
pos=2,63	val='ELEV';

rule=DYNAMIC
pos=3,01	val=DN		chan=M-0300	fmt="%3u" 	;
pos=3,07	val=DN		chan=M-0308	fmt="%4.4s" 	ALARM_HIGHLIGHT;
pos=3,11	val=DN		chan=M-0094	0=' ' 1='*' 	ALARM_HIGHLIGHT;
# Odd rcvr: 70=Rcvr1  STD=Rcvr3  HEF=Rcvr5
pos=3,14	val=DN		chan=M-0300	14=' 1' 43=' 1' 63=' 1' 12=' 3' 42=' 3' 61=' 3' 15=' 5' 45=' 5' 65=' 5' ALARM_HIGHLIGHT;
pos=3,19	val=STATE_NAME	chan=M-0343	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-0343=6
	pos=3,19 val=STATE_NAME chan=m-0343     fmt="%-8.7s"    BOLD;
endif
pos=3,26	val=DN		chan=M-0340	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,27	val=STATE_NAME	chan=M-0344	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
pos=3,34	val=DN	     	chan=M-0340	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,36	val=DN		chan=M-0349	fmt="%6.1f" 	ALARM_HIGHLIGHT;
pos=3,42	val=DN	     	chan=M-0340	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,43	val=DN		chan=M-0356	fmt="%6.1f" 	ALARM_HIGHLIGHT;
pos=3,49	val=DN	     	chan=M-0350	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,50	val=DN	     	chan=M-0353	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,52	val=DN		chan=M-0360	fmt="%6.2f" 	ALARM_HIGHLIGHT;
pos=3,58	val=DN	     	chan=M-0350	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,59	val=DN	     	chan=M-0357	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,60	val=DN		chan=M-0346	fmt="%2.2s" 	ALARM_HIGHLIGHT;
pos=3,62	val=DN	     	chan=M-0340	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,63	val=EU		chan=M-0304	fmt="%4.1f" 	ALARM_HIGHLIGHT;
pos=3,67	val=DN	     	chan=M-0094	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=3,68	val=DN	     	chan=M-0301	0=' ' 1='*' 	ALARM_HIGHLIGHT;

pos=4,07	val=DN		chan=M-0309	fmt="%4.4s" 	ALARM_HIGHLIGHT;
pos=4,11	val=DN	     	chan=M-0094	0=' ' 1='*' 	ALARM_HIGHLIGHT;
# Even rcvr: 70=Rcvr2  STD=Rcvr4  HEF=Rcvr5
pos=4,14	val=DN		chan=M-0300	14=' 2' 43=' 2' 63=' 2' 12=' 4' 42=' 4' 61=' 4' 15=' 5' 45=' 5' 65=' 5' ALARM_HIGHLIGHT;
pos=4,19	val=STATE_NAME	chan=M-0373	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-373=6
	pos=4,19 val=STATE_NAME chan=m-373      fmt="%-8.7s"    BOLD;
endif
pos=4,26	val=DN	     	chan=M-0370	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=4,27	val=STATE_NAME	chan=M-0374	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
pos=4,34	val=DN	     	chan=M-0370	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=4,36	val=DN		chan=M-0379	fmt="%6.1f" 	ALARM_HIGHLIGHT;
pos=4,42	val=DN	     	chan=M-0370	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=4,43	val=DN		chan=M-0386	fmt="%6.1f" 	ALARM_HIGHLIGHT;
pos=4,49	val=DN	     	chan=M-0380	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=4,50	val=DN	     	chan=M-0383	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=4,52	val=DN		chan=M-0390	fmt="%6.2f" 	ALARM_HIGHLIGHT;
pos=4,58	val=DN	     	chan=M-0380	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=4,59	val=DN	     	chan=M-0387	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=4,60	val=DN		chan=M-0376	fmt="%2.2s" 	ALARM_HIGHLIGHT;
pos=4,62	val=DN	     	chan=M-0370	0=' ' 1='*' 	ALARM_HIGHLIGHT;

rule=STATIC
pos=6,01	val='CH DSS:';
rule=DYNAMIC
pos=6,08	val=DN		chan=M-0300     fmt="%-2u" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=6,11	val='BBA/DSA_____SNR  MCD________________SNR  FSS____ DATA RATE';

pos=7,01	val='1';
rule=DYNAMIC
pos=7,04	val=STATE_NAME	chan=M-0120	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-120=6
	pos=7,4 val=STATE_NAME  chan=m-120      fmt="%-8.7s"    BOLD;
endif
pos=7,11	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,13	val=STATE_NAME	chan=M-0121	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
pos=7,20	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,21	val=EU		chan=M-0119	fmt="%5.1f" 	ALARM_HIGHLIGHT;
pos=7,26	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,27	val=DN	     	chan=M-0122	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,28	val=STATE_NAME	chan=M-0125	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-125=6
	pos=7,28 val=STATE_NAME chan=m-125      fmt="%-8.7s"    BOLD;
endif
pos=7,35	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,37	val=STATE_NAME	chan=M-0126	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
pos=7,44	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,45	val=EU		chan=M-0130	fmt="%5.1f" 	ALARM_HIGHLIGHT;
pos=7,50	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,51	val=DN	     	chan=M-0127	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,52	val=STATE_NAME	chan=M-0147	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-147=1
	pos=7,52 val=STATE_NAME chan=m-147      fmt="%-8.7s"  BOLD;
endif
pos=7,59	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,60	val=DN	     	chan=M-0144	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,61	val=DN		chan=M-0104	fmt="%6.0f" 	ALARM_HIGHLIGHT;
pos=7,67	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=7,68	val=DN	     	chan=M-0101	0=' ' 1='*' 	ALARM_HIGHLIGHT;

rule=STATIC
pos=8,01	val='2';
rule=DYNAMIC
pos=8,04	val=STATE_NAME	chan=M-0220	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-220=6
	pos=8,4 val=STATE_NAME  chan=m-220      fmt="%-8.7s"    BOLD;
endif
pos=8,11	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,13	val=STATE_NAME	chan=M-0221	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
pos=8,20	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,21	val=EU		chan=M-0219	fmt="%5.1f" 	ALARM_HIGHLIGHT;
pos=8,26	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,27	val=DN	     	chan=M-0222	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,28	val=STATE_NAME	chan=M-0225	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-225=6
	pos=8,28 val=STATE_NAME chan=m-225      fmt="%-8.7s"    BOLD;
endif
pos=8,35	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,37	val=STATE_NAME	chan=M-0226	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
pos=8,44	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,45	val=EU		chan=M-0230	fmt="%5.1f" 	ALARM_HIGHLIGHT;
pos=8,50	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,51	val=DN	     	chan=M-0227	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,52	val=STATE_NAME	chan=M-0247	fmt="%-8.7s" 	ALARM_HIGHLIGHT;
if DN of chan=m-247=1
	pos=8,52 val=STATE_NAME chan=m-247      fmt="%-8.7s"    BOLD;
endif
pos=8,59	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,60	val=DN	     	chan=M-0244	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,61	val=DN		chan=M-0204	fmt="%6.0f" 	ALARM_HIGHLIGHT;
pos=8,67	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=8,68	val=DN	     	chan=M-0201	0=' ' 1='*' 	ALARM_HIGHLIGHT;

rule=STATIC
pos=10,01	val='TRANSMITTING ANT=';
rule=DYNAMIC
pos=10,18	val=DN		chan=M-0500	fmt="%3u" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=10,22	val='TXR=';
rule=DYNAMIC
pos=10,26	val=DN		chan=M-0504	fmt="%4.4s" 	ALARM_HIGHLIGHT;
pos=10,30	val=DN	     	chan=M-0501	0=' ' 1='*' 	ALARM_HIGHLIGHT;
rule=STATIC
pos=10,34	val='CMD BIT RATE';
pos=10,49	val='SUPR';
pos=10,57	val='MGSDUL';
pos=10,64	val='MGSDE';

rule=DYNAMIC
pos=11,01	val=DN		chan=M-0505	fmt="%4.4s" 	ALARM_HIGHLIGHT;
pos=11,05	val=DN	     	chan=M-0501	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=11,07	val=DN		chan=M-0524	fmt="%11.11s" 	ALARM_HIGHLIGHT;
pos=11,18	val=DN	     	chan=M-0521	0=' ' 1='*' 	ALARM_HIGHLIGHT;
rule=STATIC
pos=11,19	val='Hz';
rule=DYNAMIC
pos=11,22	val=DN		chan=M-0509	fmt="%9.9s" 	ALARM_HIGHLIGHT;
pos=11,31	val=DN	     	chan=M-0501	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=11,32	val=DN	     	chan=M-0506	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=11,34	val=DN		chan=M-0537	fmt="%10.10s" 	ALARM_HIGHLIGHT;
pos=11,44	val=DN	     	chan=M-0531	0=' ' 1='*' 	ALARM_HIGHLIGHT;
rule=STATIC
pos=11,45	val='bps';
rule=DYNAMIC
pos=11,49	val=DN		chan=M-0536	fmt="%4.4s" 	ALARM_HIGHLIGHT;
pos=11,53	val=DN	     	chan=M-0531	0=' ' 1='*' 	ALARM_HIGHLIGHT;
rule=STATIC
pos=11,54	val='dB';
rule=DYNAMIC
pos=11,57	val=DN		chan=M-0535	fmt="%4.4s" 	ALARM_HIGHLIGHT;
pos=11,61	val=DN	     	chan=M-0531	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=11,64	val=DN		chan=M-0534	fmt="%4.4s" 	ALARM_HIGHLIGHT;
pos=11,68	val=DN	     	chan=M-0531	0=' ' 1='*' 	ALARM_HIGHLIGHT;


rule=STATIC
pos=13,02	val='CH DOP RATE';
pos=13,15	val='S/C SUBCARRIER';
pos=13,30	val='   VLBI';
pos=13,38	val='SOURCE';
pos=13,51	val='ON';
pos=13,60	val='OFF';

pos=14,03	val='1';
rule=DYNAMIC
pos=14,05	val=DN		chan=M-0311	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=14,07	val='W';
rule=DYNAMIC
pos=14,08	val=DN		chan=M-0097	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=14,09	val=EU		chan=M-0312	fmt="%-5.1f" 	ALARM_HIGHLIGHT;
pos=14,14	val=DN		chan=M-0097	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=14,15	val=EU		chan=M-0109	fmt="%10.1f" 	ALARM_HIGHLIGHT;
pos=14,25	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=14,26	val=DN	     	chan=M-0106	0=' ' 1='*' 	ALARM_HIGHLIGHT;
rule=STATIC
pos=14,27	val='Hz';
pos=14,30	val='CURRENT';
rule=DYNAMIC
pos=14,38	val=DN		chan=M-0560	fmt="%-12.12s" 	ALARM_HIGHLIGHT;
pos=14,50	val=DN		chan=M-0551	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=14,51	val=DN	     	chan=M-0562	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=14,53	val=':';
rule=DYNAMIC
pos=14,54	val=DN	     	chan=M-0563	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=14,56	val=':';
rule=DYNAMIC
pos=14,57	val=DN	     	chan=M-0564	fmt="%2.2s" 	ALARM_HIGHLIGHT;
pos=14,59	val=DN	     	chan=M-0551	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=14,60	val=DN	     	chan=M-0572	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=14,62	val=':';
rule=DYNAMIC
pos=14,63	val=DN	     	chan=M-0573	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=14,65	val=':';
rule=DYNAMIC
pos=14,66	val=DN	     	chan=M-0574	fmt="%2.2s" 	ALARM_HIGHLIGHT;
pos=14,68	val=DN	     	chan=M-0551	0=' ' 1='*' 	ALARM_HIGHLIGHT;


pos=15,03	val='2';
rule=DYNAMIC
pos=15,05	val=DN		chan=M-0314	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=15,07	val='W';
rule=DYNAMIC
pos=15,08	val=DN	     	chan=M-0097	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=15,09	val=EU		chan=M-0315	fmt="%-5.1f" 	ALARM_HIGHLIGHT;
pos=15,14	val=DN	     	chan=M-0097	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=15,15	val=EU		chan=M-0209	fmt="%10.1f" 	ALARM_HIGHLIGHT;
pos=15,25	val=DN	     	chan=M-0087	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=15,26	val=DN	     	chan=M-0206	0=' ' 1='*' 	ALARM_HIGHLIGHT;
rule=STATIC
pos=15,27	val='Hz';
pos=15,30	val='   NEXT';
rule=DYNAMIC
pos=15,38	val=DN	     	chan=M-0580	fmt="%-12.12s" 	ALARM_HIGHLIGHT;
pos=15,50	val=DN	     	chan=M-0551	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=15,51	val=DN	     	chan=M-0582	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=15,53	val=':';
rule=DYNAMIC
pos=15,54	val=DN	     	chan=M-0583	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=15,56	val=':';
rule=DYNAMIC
pos=15,57	val=DN	     	chan=M-0584	fmt="%2.2s" 	ALARM_HIGHLIGHT;
pos=15,59	val=DN	     	chan=M-0551	0=' ' 1='*' 	ALARM_HIGHLIGHT;
pos=15,60	val=DN	     	chan=M-0592	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=15,62	val=':';
rule=DYNAMIC
pos=15,63	val=DN	     	chan=M-0593	fmt="%2.2s" 	ALARM_HIGHLIGHT;
rule=STATIC
pos=15,65	val=':';
rule=DYNAMIC
pos=15,66	val=DN	     	chan=M-0594	fmt="%2.2s" 	ALARM_HIGHLIGHT;
pos=15,68	val=DN	     	chan=M-0551	0=' ' 1='*' 	ALARM_HIGHLIGHT;


pos=17,01	val='chan#  name     eu dn  ert';
pos=17,33	val='chan#  name     eu dn  ert      unit';


pos=18,1	val='L-0111 AGC1';
rule=DYNAMIC
pos=18,13	val=EU		chan=L-0111	fmt="%6.4g";
pos=18,20	val=DN		chan=L-0111	fmt="%3u";
pos=18,24	val=TIME	chan=L-0111	fmt=HMS;
rule=STATIC
pos=18,33	val='L-0121 AGC2';
rule=DYNAMIC
pos=18,45	val=EU		chan=L-0121	fmt="%6.4g";
pos=18,52	val=DN		chan=L-0121	fmt="%3u";
pos=18,56	val=TIME	chan=L-0121	fmt=HMS;
pos=18,66	val=EU_UNITS	chan=L-0121	fmt="%-3.3s";
rule=STATIC


pos=19,1	val='L-0113 SPE1';
rule=DYNAMIC
pos=19,13	val=EU		chan=L-0113	fmt="%6.4g";
pos=19,20	val=DN		chan=L-0113	fmt="%3u";
pos=19,24	val=TIME	chan=L-0113	fmt=HMS;
rule=STATIC
pos=19,33	val='L-0123 SPE2';
rule=DYNAMIC
pos=19,45	val=EU		chan=L-0123	fmt="%6.4g";
pos=19,52	val=DN		chan=L-0123	fmt="%3u";
pos=19,56	val=TIME	chan=L-0123	fmt=HMS;
pos=19,66	val=EU_UNITS	chan=L-0123	fmt="%-3.3s";
rule=STATIC


pos=20,1	val='T-0305 VCO1';
rule=DYNAMIC
pos=20,13	val=EU		chan=T-0305	fmt="%6.4g";
pos=20,20	val=DN		chan=T-0305	fmt="%3u";
pos=20,24	val=TIME	chan=T-0305	fmt=HMS;
rule=STATIC
pos=20,33	val='T-0308 VCO2';
rule=DYNAMIC
pos=20,45	val=EU		chan=T-0308	fmt="%6.4g";
pos=20,52	val=DN		chan=T-0308	fmt="%3u";
pos=20,56	val=TIME	chan=T-0308	fmt=HMS;
pos=20,66	val=EU_UNITS	chan=T-0308	fmt="%-3.3s";
rule=STATIC


pos=21,01	val='|Mod Idx=';
rule=DYNAMIC
if DN of chan=C-0061=1
	pos=21,10	val=STATE_NAME	chan=V-2502	fmt="%8.8s";
else
	if DN of chan=C-0081=1
	pos=21,10	val=STATE_NAME	chan=V-2503	fmt="%8.8s";
	else
	pos=21,10	val='N/A';
	endif
endif
rule=STATIC
pos=21,20	val='SRC=';
rule=DYNAMIC
if DN of chan=C-0061=1
	pos=21,24	val=STATE_NAME	chan=C-1025	fmt="%-6.6s";
else
	if DN of chan=C-0081=1
	pos=21,24	val=STATE_NAME	chan=C-1035	fmt="%-6.6s";
	else
	pos=21,24	val='N/A';
	endif
endif
rule=STATIC
pos=21,33	val='TWNC RNG DOR|Lock:';
rule=DYNAMIC

#0=in lock 1=out of lock
if DN of chan=L-0036=1
	pos=21,52	val='RCV1'	BOLD;	
else
	pos=21,52	val='RCV1';
endif

#0=out of lock 1= in lock
if DN of chan=L-0013=0
	pos=21,57	val='CDU1';
else
	pos=21,57	val='CDU1'	BOLD;
endif

pos=21,62	val=DN	chan=L-0012	0='7.8125' 1='15.625' 2='31.250' 3=' 62.50' 4=' 125.0' 5=' 250.0' 6=' 500.0' 7='7.8125';
rule=STATIC
pos=21,68	val='|';


pos=22,01	val='|Att=';
rule=DYNAMIC
#pos=22,06	val=STATE_NAME	chan=F-0003	fmt="%-11.11s";
pos=22,20       val='Ref Osc=';
rule=DYNAMIC

# if mot1 exciter is on
if DN of chan=L-0032=0
#  if mot1 receiver is in lock
   if DN of chan=L-0036=0
#     if mot1 is twnc off
      if DN of chan=L-0033=0
	 pos=22,28	val='VCO';
      else
#	 if mot1 uso is inhibited
	 if DN of chan=L-0037=0
	    pos=22,28	val='AUX';
	 else
	    pos=22,28	val='USO';
	 endif
      endif
   else
      if DN of chan=L-0037=0
	 pos=22,28	val='AUX';
      else
	 pos=22,28	val='USO';
      endif
   endif
else
#  if mot2 exciter is on
   if DN of chan=L-0042=0
#     if mot2 receiver is in lock
      if DN of chan=L-0045=0
#	 if mot2 is twnc off
	 if DN of chan=L-0043=0
	    pos=22,28	val='VCO';
	 else
#	    if mot2 uso is inhibited
	    if DN of chan=L-0047=0
	       pos=22,28	val='AUX';
	    else
	       pos=22,28	val='USO';
	    endif
	 endif
      else
	 if DN of chan=L-0047=0
	    pos=22,28	val='AUX';
	 else
	    pos=22,28	val='USO';
	 endif
      endif
   else
      pos=22,28		val='N/A';
   endif
endif
				
#0=mot1 exciter on 1=check for mot2 exciter
if DN of chan=L-0032=0
	pos=22,33	val=DN	chan=L-0033	0='OFF'  1='ON ' ;
	if DN of chan=l-12=1
		pos=22,33       val='ON' BOLD;
	endif
	pos=22,38	val=DN	chan=L-0034	0='OFF'  1='ON ' ;
	if DN of chan=l-9=0
		pos=22,38       val='ON' BOLD;
	endif
	pos=22,42	val=DN	chan=L-0031	0='OFF' 1='ON ';
	if DN of chan=l-7=1
		pos=22,42       val='ON' BOLD;
	endif
else
	if DN of chan=L-0042=0
       		 pos=22,33       val=DN	chan=L-0043	0='OFF' 1='ON';
		if DN of chan=l-15=1
			pos=22,33       val='ON' BOLD;
		endif
		pos=22,38	val=DN	chan=L-0044	0='OFF' 1='ON ';
		if DN of chan=l-16=0
			pos=22,38       val='ON' BOLD;
		endif
		pos=22,42	val=DN	chan=L-0041	0='OFF' 1='ON ';
		if DN of chan=l-14=1
			pos=22,42       val='ON' BOLD;
		endif
	else
		pos=22,33	val='N/A';
		pos=22,38	val='N/A';
		pos=22,42	val='N/A';
	endif
endif

rule=STATIC
pos=22,45	val='|';
rule=DYNAMIC

#0=in lock 1=out of lock
if DN of chan=L-0045=1
        pos=22,52       val='RCV2'      BOLD;
else
        pos=22,52       val='RCV2';
endif

#0=out of lock 1= in lock
if DN of chan=L-0023=0
        pos=22,57       val='CDU2';
else
        pos=22,57       val='CDU2'      BOLD;
endif

pos=22,62       val=DN  chan=L-0022     0='7.8125' 1='15.625' 2='31.250' 3=' 62.50' 4=' 125.0' 5=' 250.0' 6=' 500.0' 7='7.8125';
rule=STATIC
pos=22,68       val='|';

ENDREGION
ENDTEMPLATE
