Loading…
DD File path:
DD File name: _Super.DDL
DD File type: Source file

  • /*
  • * %W% %G%
  • *
  • *Copyright Rosemount Inc. 1996
  • */
  • /*
  • NOTE ABB uses different enumerations
  • SWITCH module_type_code
  • CASE 0: * DP *
  • CASE 2: * AP *
  • CASE 3: * HP *
  • CASE 4: * LT *
  • CASE 5: * DR *
  • HELP "Differential"
  • "|de|Differential"
  • "|fr|Différentielle"
  • "|kt|saatu";
  • CASE 2: * AP *
  • HELP "Absolute"
  • "|de|Absolut"
  • "|fr|Absolue"
  • "|kt|zeltutaiatu";
  • CASE 1: * GP *
  • HELP "Gage"
  • "|de|Überdruck"
  • "|fr|Relative"
  • "|kt|ge-ziatu";
  • */
  • #include "bi_codes.h"
  • #include "macros.h"
  • #include "methods.h"
  • #define RESOLVED_REF_TEST 1
  • #if RESOLVED_REF_TEST
  • #define RESOLVED_REF_TEST_PTOC rr_ivar_array2[0][1]
  • #define RESOLVED_REF_TEST_UPDATE rr_fvar_array2[0][1] /* value array element */
  • #define RESOLVED_REF_TEST_UPDATE2 rr_fvar_list[1] /* value list element */
  • #define RESOLVED_REF_TEST_UPDATE3 PV.DAQ.ANALOG_VALUE /* ref array of collection access member */
  • #define RESOLVED_REF_TEST_UPDATE4 PV.DAQ.ANALOG_VALUE /* common to unit, refresh & wao relations */
  • #define RESOLVED_REF_TEST_CRITICAL rr_evar_array2[1][1]
  • #else
  • #define RESOLVED_REF_TEST_PTOC PV.DIGITAL_UNITS
  • #define RESOLVED_REF_TEST_UPDATE pressure_upper_range_value
  • #define RESOLVED_REF_TEST_UPDATE2 1.0
  • #define RESOLVED_REF_TEST_UPDATE3 pressure_upper_range_limit
  • #define RESOLVED_REF_TEST_CRITICAL PressureVar
  • #endif
  • MANUFACTURER ROSEMOUNT, DEVICE_TYPE 6, DEVICE_REVISION 3, DD_REVISION 2
  • /*
  • * Defines
  • */
  • #define display_pressure_precision IF ((rmt_press_sensor_trim_calibration_type == 2) || \
  • ((rmt_press_sensor_trim_calibration_type == 1) && (module_type_code == 2)) || \
  • ((rmt_press_sensor_trim_calibration_type == 252) && (module_type_code == 2))) \
  • { \
  • SELECT (rmt_press_module_range_code) \
  • { \
  • CASE 0: \
  • SELECT (pressure_units) { \
  • CASE 1: \
  • "7.2f"; \
  • CASE 2: \
  • "7.3f"; \
  • CASE 3: \
  • "7.3f"; \
  • CASE 4: \
  • "5.f"; \
  • CASE 5: \
  • "7.2f"; \
  • CASE 6: \
  • "6.3f"; \
  • CASE 7: \
  • "7.4f"; \
  • CASE 8: \
  • "6.1f"; \
  • CASE 9: \
  • "6.1f"; \
  • CASE 10: \
  • "7.4f"; \
  • CASE 11: \
  • "11.5e"; \
  • CASE 12: \
  • "6.2f"; \
  • CASE 13: \
  • "7.2f"; \
  • CASE 14: \
  • "7.4f"; \


Please login for more