/************************************************************************
* Endress + Hauser Wetzer GmbH + Co KG                                  
*                                                                       
* Project-Name:    G3PA - TMT84 Profibus-PA Temperature Head Transmitter
*                  Description of block Transducer_2
*                                                                       
* File-Name:       PBPA_EH_1551_0101_Transducer_2.ddl
*                                                                       
* Revision:        1.00.02                                                  
*                  Compatible to Firmware 01.00.xx
* Date::           feb. 2009                                             
*                                                                       
* Original Author: Christian Schneid                                    
*                                                                       
* ----------------------------------------------------------------------
* Description:   Device Description for TMT84.                          
* ----------------------------------------------------------------------
*                                                                       
*/




/* defines for block configuration */

#define TRANS2_BLOCK_SLOT		2

/* #define TRANS2_TITLE [trans2] */ 
#define _TRANS2_TEMP /* -> DEFAULT_VALUE_trans1_blk_parent_class == 2 */
#define DEFAULT_VALUE_trans2_blk_class 18
#define DEFAULT_VALUE_trans2_blk_parent_class 2
#define PROFILE_REV 0x0301
#define OFFSET_MIN_VAL_FAHRENHEIT -18
#define OFFSET_MIN_VAL_CELSIUS -10
#define OFFSET_MAX_VAL_FAHRENHEIT 18
#define OFFSET_MAX_VAL_CELSIUS 10
#define DRIFT_MIN_VAL_FAHRENHEIT 0.1
#define DRIFT_MIN_VAL_CELSIUS 0.1
#define DRIFT_MAX_VAL_FAHRENHEIT 1830.20
#define DRIFT_MAX_VAL_CELSIUS 999.9
#define RJ_EX_MIN_VAL_FAHRENHEIT -72
#define RJ_EX_MIN_VAL_CELSIUS -40
#define RJ_EX_MAX_VAL_FAHRENHEIT 153
#define RJ_EX_MAX_VAL_CELSIUS 85
#ifndef DEFAULT_VALUE_blk_profile
    #define DEFAULT_VALUE_blk_profile 0x4002
#endif
#ifndef DEFAULT_VALUE_blk_profile_ref
    #define DEFAULT_VALUE_blk_profile_ref 0x301
#endif

#include "PBPA_EH1551_Macros.inc"
#include "PBPA_EH_1551_0101_enum_entrys.inc"




/* VARIABLE definitons */

VARIABLE trans2_blk_reserve
{
    LABEL [blk_reserved];
    HELP [blk_reserved_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (1);
}
VARIABLE trans2_blk_object
{
    LABEL [blk_block_object];
    HELP [blk_block_object_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE ENUMERATED(1)
    {
        { TRANS2_BLK_OBJECT_TRANSDUCER_BLOCK }
    }
}
VARIABLE trans2_blk_parent_class
{
    LABEL [blk_parent_class];
    HELP [phys_blk_parent_class_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE ENUMERATED(1)
    {
        { TRANS2_BLK_PARENT_CLASS_TEMPERATURE }
    }
    DEFAULT_VALUE DEFAULT_VALUE_trans2_blk_parent_class;
}
VARIABLE trans2_blk_class
{
    LABEL [blk_class];
    HELP [phys_blk_class_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE ENUMERATED(1)
    {
        { TRANS2_BLK_CLASS__TRANS_TEMP_BLK_CLASS_TC_ },
        { TRANS2_BLK_CLASS__TRANS_TEMP_BLK_CLASS_RTD_ },
        { TRANS2_BLK_CLASS__TRANS_TEMP_BLK_CLASS_PYR_ },
        { TRANS2_BLK_CLASS_TC_PLUS_DC_U },
        { TRANS2_BLK_CLASS_RTD_PLUS_R },
        { TRANS2_BLK_CLASS_TC_PLUS_RTD_PLUS_R_PLUS_DC_U }
    }
    DEFAULT_VALUE DEFAULT_VALUE_trans2_blk_class;
}
VARIABLE trans2_blk_dd_reference
{
    LABEL [blk_dd_reference];
    HELP [blk_dd_reference_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (4);
}
VARIABLE trans2_blk_dd_rev
{
    LABEL [blk_dd_rev];
    HELP [blk_dd_rev_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (2);
}
VARIABLE trans2_blk_profile
{
    LABEL [blk_profile];
    HELP [blk_profile_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE ENUMERATED(2)
    {
        { TRANS2_BLK_PROFILE__BLK_PROFILE_PA_COMPACT_A_ },
        { TRANS2_BLK_PROFILE__BLK_PROFILE_PA_COMPACT_B_ },
        { TRANS2_BLK_PROFILE__BLK_PROFILE_PA_SIMPLE_A_ },
        { TRANS2_BLK_PROFILE__BLK_PROFILE_PA_SIMPLE_B_ }
    }
    DEFAULT_VALUE DEFAULT_VALUE_blk_profile;
}
VARIABLE trans2_blk_profile_rev
{
    LABEL [blk_profile_rev];
    HELP [blk_profile_rev_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE ENUMERATED(2)
    {
        { TRANS2_BLK_PROFILE_REV_2_90 },
        { TRANS2_BLK_PROFILE_REV_2_91 },
        { TRANS2_BLK_PROFILE_REV_2_92 },
        { TRANS2_BLK_PROFILE_REV_2_93 },
        { TRANS2_BLK_PROFILE_REV_2_94 },
        { TRANS2_BLK_PROFILE_REV_2_95 },
        { TRANS2_BLK_PROFILE_REV_2_96 },
        { TRANS2_BLK_PROFILE_REV_2_97 },
        { TRANS2_BLK_PROFILE_REV_2_98 },
        { TRANS2_BLK_PROFILE_REV_2_99 },
        { TRANS2_BLK_PROFILE_REV_3_0 },
        { TRANS2_BLK_PROFILE_REV_3_01 }
    }
    DEFAULT_VALUE DEFAULT_VALUE_blk_profile_ref;
}
VARIABLE trans2_blk_execution_time
{
    LABEL [blk_execution_time];
    HELP [blk_execution_time_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (1);
}
VARIABLE trans2_blk_num_parameters
{
    LABEL [blk_num_parameters];
    HELP [blk_num_parameters_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (2);
}
VARIABLE trans2_blk_index_view_1
{
    LABEL [blk_index_view_1];
    HELP [blk_index_view_1_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (2);
}
VARIABLE trans2_blk_num_view_lists
{
    LABEL [blk_num_view_lists];
    HELP [blk_num_view_lists_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (1);
}
VARIABLE trans2_st_rev
{
    LABEL [st_rev];
    HELP [st_rev_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE UNSIGNED_INTEGER (2)
    {
        DEFAULT_VALUE 0;
    }
}
VARIABLE trans2_target_mode
{
    LABEL [target_mode];
    HELP [target_mode_help];
    CLASS DEVICE;
    HANDLING READ & WRITE;
    TYPE ENUMERATED (1)
    {
        { TRANS2_TARGET_MODE__MODE_AUTO_ },
        { TRANS2_TARGET_MODE__MODE_OUT_OF_SERVICE_ }
    }
    DEFAULT_VALUE 0x08;
}
VARIABLE trans2_actual_mode
{
    LABEL [actual_mode];
    HELP [actual_mode_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        { TRANS2_ACTUAL_MODE__MODE_AUTO_ },
        { TRANS2_ACTUAL_MODE__MODE_OUT_OF_SERVICE_ }
    }
    DEFAULT_VALUE 0x08;
}
VARIABLE trans2_permitted_mode
{
    LABEL [permitted_mode];
    HELP [permitted_mode_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE BIT_ENUMERATED (1)
    {
        { TRANS2_PERMITTED_MODE__MODE_AUTO_ },
        { TRANS2_PERMITTED_MODE__MODE_OUT_OF_SERVICE_ }
    }
}
VARIABLE trans2_normal_mode
{
    LABEL [normal_mode];
    HELP [normal_mode_help];
    CLASS DEVICE;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        { TRANS2_NORMAL_MODE__MODE_AUTO_ }
    }
}
VARIABLE trans2_primary_value
{
    LABEL "|en|PV value 2|de|PV Wert 2";
    HELP [trans_temp_value_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_primary_value_status_quality
{
    LABEL [status_quality];
    HELP [value_status_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        IF(phys_feature_enabled==0x01000000 && phys_cond_status_diag==1)
        {COND_STATUS_QUALITY}
        ELSE
        {PROFILE_301_QUALITY}
    }
    DEFAULT_VALUE 0;
}
VARIABLE trans2_primary_value_status_limit
{
    LABEL [status_limit];
    HELP [value_status_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        { TRANS2_PRIMARY_VALUE_STATUS_LIMIT__STATUS_LIMIT_OK_ },
        { TRANS2_PRIMARY_VALUE_STATUS_LIMIT__STATUS_LIMIT_UNDERFLOW_ },
        { TRANS2_PRIMARY_VALUE_STATUS_LIMIT__STATUS_LIMIT_OVERFLOW_ },
        { TRANS2_PRIMARY_VALUE_STATUS_LIMIT__STATUS_LIMIT_VALUE_CONSTANT_ }
    }
    DEFAULT_VALUE 0;
}
VARIABLE trans2_primary_value_unit
{
    LABEL "|en|Unit 2|de|Einheit 2";
    HELP [digital_units_help];
    CLASS DEVICE;
    TYPE ENUMERATED (2)
    {
        IF(trans2_lin_type==0 && (trans2_input_range==0 || trans2_input_range==1))
        {
        {TRANS2_PRIMARY_VALUE_UNIT__UNIT_1243_}
        }
        ELSE
        {
        IF
        (trans2_lin_type==0 && (trans2_input_range==128 || trans2_input_range==129))
        {
        {TRANS2_PRIMARY_VALUE_UNIT__UNIT_1281_}
        }
        ELSE
        {
        IF
        (trans2_lin_type>0)
        {
        {TRANS2_PRIMARY_VALUE_UNIT__UNIT_1000_},
        {TRANS2_PRIMARY_VALUE_UNIT__UNIT_1001_},
        {TRANS2_PRIMARY_VALUE_UNIT__UNIT_1002_},
        {TRANS2_PRIMARY_VALUE_UNIT__UNIT_1003_},
        {TRANS2_PRIMARY_VALUE_UNIT__UNIT_1342_}
        }}}
    }
    DEFAULT_VALUE IF (trans2_lin_type == 0){1281;} ELSE {1001;}
    HANDLING IF(trans2_lin_type != 251) 
        { READ & WRITE; }
    ELSE
        { READ; }
	POST_READ_ACTIONS
	{
		method_post_read_save_loc_old_unit_2
	}
    POST_EDIT_ACTIONS
    {
		#ifdef _V600_
		method_post_edit_read_device_values_2_online,
		#endif
        method_post_edit_set_trans2_input_range_offline,
        method_post_edit_convert_2_offline        
    }
	#ifdef _V600_
	POST_WRITE_ACTIONS
	{
		method_post_edit_read_device_values_2_online
	}
	#endif
}
VARIABLE trans2_secondary_value_1
{
    LABEL "|en|Process temperature 2|de|Prozesstemperatur 2";
    HELP [trans_temp_temperature_1_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_secondary_value_1_status_quality
{
    LABEL [status_quality];
    HELP [value_status_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        IF(phys_feature_enabled==0x01000000 && phys_cond_status_diag==1)
        {COND_STATUS_QUALITY}
        ELSE
        {PROFILE_301_QUALITY}
    }
    DEFAULT_VALUE 0;
}
VARIABLE trans2_secondary_value_1_status_limit
{
    LABEL [status_limit];
    HELP [value_status_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        { TRANS2_SECONDARY_VALUE_1_STATUS_LIMIT__STATUS_LIMIT_OK_ },
        { TRANS2_SECONDARY_VALUE_1_STATUS_LIMIT__STATUS_LIMIT_UNDERFLOW_ },
        { TRANS2_SECONDARY_VALUE_1_STATUS_LIMIT__STATUS_LIMIT_OVERFLOW_ },
        { TRANS2_SECONDARY_VALUE_1_STATUS_LIMIT__STATUS_LIMIT_VALUE_CONSTANT_ }
    }
    DEFAULT_VALUE 0;
}
VARIABLE trans2_sensor_measure_type
{
    LABEL "|en|Measure type 2|de|Messart 2";
    HELP [trans_temp_sensor_measure_type_help];
    CLASS DEVICE;
    TYPE ENUMERATED(1)
    {
        IF((trans1_primary_value_unit==1281 && trans2_primary_value_unit!=1281) ||
         (trans1_primary_value_unit==1243 && trans2_primary_value_unit!=1243))
        {
        {TRANS2_SENSOR_MEASURE_TYPE_PV_SV1}
        }
        ELSE
        {
        IF
        (trans1_lin_type==251 || (trans2_lin_type==0 && trans1_lin_type>0) ||
         (trans2_lin_type>0 && trans1_lin_type==0))
        {
        {TRANS2_SENSOR_MEASURE_TYPE_PV_SV1}
        }
        ELSE
        {
        {TRANS2_SENSOR_MEASURE_TYPE_PV_SV1},
        {TRANS2_SENSOR_MEASURE_TYPE_PV_SV1_MINUS_SV2},
        {TRANS2_SENSOR_MEASURE_TYPE_PV_0_5X_SV1_PLUS_SV2_},
        {TRANS2_SENSOR_MEASURE_TYPE_PV_0_5X_SV1_PLUS_SV2_REDUNDANCY},
        {TRANS2_SENSOR_MEASURE_TYPE_PV_SV1_OR_SV2_},
        {TRANS2_SENSOR_MEASURE_TYPE_PV_SV1_SV2_IF_SV1_BIGGER_T_},
        {TRANS2_SENSOR_MEASURE_TYPE_PV_ABS_SV1_MINUS_SV2_IF_PV_BIGGER_DRIFTVALUE},
        {TRANS2_SENSOR_MEASURE_TYPE_PV_ABS_SV1_MINUS_SV2_IF_PV_SMALLER_DRIFTVALUE}}}
    }
    DEFAULT_VALUE 0;
    HANDLING IF(trans2_lin_type!=251) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_input_range
{
    LABEL "|en|Input Range and Mode 2|de|Eingangsbereich 2";
    HELP [trans_temp_input_range_help];
    CLASS DEVICE;
    TYPE ENUMERATED (1)
    {
        IF((trans1_sensor_connection==2) &&
         (trans2_lin_type==0))
        {
        {TRANS2_INPUT_RANGE__MINUS_5_TO_30MV},
        {TRANS2_INPUT_RANGE__MINUS_20_TO_100MV}
        }
        ELSE
        {
        {TRANS2_INPUT_RANGE__MINUS_5_TO_30MV},
        {TRANS2_INPUT_RANGE__MINUS_20_TO_100MV},
        {TRANS2_INPUT_RANGE_10_TO_400OHM},
        {TRANS2_INPUT_RANGE_10_TO_2000OHM}}
    }
    DEFAULT_VALUE 128;
    HANDLING IF(trans2_lin_type==0) 
        { READ & WRITE; }
    ELSE
        { READ; }
    POST_EDIT_ACTIONS
    {
		#ifdef _V600_
        method_post_edit_set_trans2_primary_value_unit_online,
        method_post_edit_sensor_measure_type_online,
		method_post_edit_read_device_values_2_online,
		#endif
		method_post_edit_set_trans2_primary_value_unit_offline,
        method_post_edit_sensor_measure_type_offline,
        method_post_edit_set_trans2_default_values_offline
    }
}
VARIABLE trans2_lin_type
{
    LABEL "|en|Characterization type 2|de|Kennlinientyp 2";
    HELP [trans_lin_type_help];
    CLASS DEVICE;
    HANDLING READ & WRITE;
    TYPE ENUMERATED (1)
    {
        IF(trans1_sensor_connection==2)
        {
        {TRANS2_LIN_TYPE_NO_LINEARIZATION},
        {TRANS2_LIN_TYPE_TC_TYPE_B_PTRH30_MINUS_PTRH6_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_C_W5RE_MINUS_W26RE_ASTM_E988},
        {TRANS2_LIN_TYPE_TC_TYPE_D_W3RE_MINUS_W25RE_ASTM_E988},
        {TRANS2_LIN_TYPE_TC_TYPE_E_NICR_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_J_FE_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_K_NICR_MINUS_NI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_N_NICRSI_MINUS_NISI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_R_PTRH13_MINUS_PT_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_S_PTRH10_MINUS_PT_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_T_CU_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_L_FE_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_U_CU_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_NO_SENSOR}
        }
        ELSE
        {
        {TRANS2_LIN_TYPE_NO_LINEARIZATION},
        {TRANS2_LIN_TYPE_PT100_IEC_751_A_0_00385_},
        {TRANS2_LIN_TYPE_PT200_IEC_751_A_0_00385_},
        {TRANS2_LIN_TYPE_PT500_IEC_751_A_0_00385_},
        {TRANS2_LIN_TYPE_PT1000_IEC_751_A_0_00385_},
        {TRANS2_LIN_TYPE_PT100_JIS_C1604_MINUS_81__A_0_003916_},
        {TRANS2_LIN_TYPE_NI120_EDISON_A_0_006720_},
        {TRANS2_LIN_TYPE_NI100_DIN_43760_A_0_006180_},
        {TRANS2_LIN_TYPE_NI1000_DIN_43760_A_0_006180_},
        {TRANS2_LIN_TYPE_CU10__EDISON_A_0_004271_},
        {TRANS2_LIN_TYPE_TC_TYPE_B_PTRH30_MINUS_PTRH6_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_C_W5RE_MINUS_W26RE_ASTM_E988},
        {TRANS2_LIN_TYPE_TC_TYPE_D_W3RE_MINUS_W25RE_ASTM_E988},
        {TRANS2_LIN_TYPE_TC_TYPE_E_NICR_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_J_FE_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_K_NICR_MINUS_NI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_N_NICRSI_MINUS_NISI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_R_PTRH13_MINUS_PT_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_S_PTRH10_MINUS_PT_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_T_CU_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_L_FE_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_TC_TYPE_U_CU_MINUS_CUNI_IEC60584},
        {TRANS2_LIN_TYPE_PT50__GOST_A_0_003911_},
        {TRANS2_LIN_TYPE_PT100_GOST_A_0_003911_},
        {TRANS2_LIN_TYPE_CU50__GOST_A_0_004278_},
        {TRANS2_LIN_TYPE_CU100_GOST_A_0_004278_},
        {TRANS2_LIN_TYPE_RTD_MINUS_PLATINIUM_CALLENDAR_MINUS_VAN_DUSEN_},
        {TRANS2_LIN_TYPE_RTD_MINUS_POLYNOM_NICKEL_OIML_R84_2003_GOST_6651_MINUS_94_},
        {TRANS2_LIN_TYPE_RTD_MINUS_POLYNOM_COPPER_OIML_R84_2003_},
        {TRANS2_LIN_TYPE_NO_SENSOR}}
    }
    DEFAULT_VALUE 251;
    POST_EDIT_ACTIONS
    {
		#ifdef _V600_
        method_post_edit_set_trans2_primary_value_unit_online,
        method_post_edit_sensor_measure_type_online,
		method_post_edit_read_device_values_2_online,
		#endif
		method_post_edit_set_trans2_primary_value_unit_offline,
        method_post_edit_set_trans2_input_range_offline,
        method_post_edit_set_trans2_default_values_offline,
        method_post_edit_sensor_measure_type_offline,
        method_post_edit_convert_2_offline
    }
}
VARIABLE trans2_bias_1
{
    LABEL "|en|Offset 2|de|Offset 2";
    HELP [trans_temp_bias_1_help];
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        MIN_VALUE IF( trans2_primary_value_unit == 1002 || trans2_primary_value_unit == 1003 ) { OFFSET_MIN_VAL_FAHRENHEIT; } ELSE { OFFSET_MIN_VAL_CELSIUS; }
        MAX_VALUE IF( trans2_primary_value_unit == 1002 || trans2_primary_value_unit == 1003 ) { OFFSET_MAX_VAL_FAHRENHEIT; } ELSE { OFFSET_MAX_VAL_CELSIUS; }
        EDIT_FORMAT ".3f";
        DISPLAY_FORMAT ".3f";
        DEFAULT_VALUE 0.0;
    }
    HANDLING IF (trans2_lin_type != 251) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_upper_sensor_limit
{
    LABEL "|en|Upper sensor range 2|de|Obere Sensorgrenze 2";
    HELP [trans_sensor_upper_limit_help];
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE 850.0;
    }
    HANDLING READ;
}
VARIABLE trans2_lower_sensor_limit
{
    LABEL "|en|Lower sensor range 2|de|Untere Sensorgrenze 2";
    HELP [trans_sensor_lower_limit_help];
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE -200.0;
    }
    HANDLING READ;
}
VARIABLE trans2_max_sensor_value_1
{
    LABEL "|en|Sensor Value 2 max|de|Messwert 2 Max";
    HELP [trans_max_sensor_value_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ & WRITE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_min_sensor_value_1
{
    LABEL "|en|Sensor Value 2 min|de|Messwert 2 Min";
    HELP [trans_min_sensor_value_help];
    CLASS DEVICE & DYNAMIC;
    HANDLING READ & WRITE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_reference_junction_type
{
    LABEL "|en|Reference junction type 2|de|RJ Art 2";
    HELP [trans_temp_rj_type_help];
    CLASS DEVICE;
    TYPE ENUMERATED (1)
    {
        { TRANS2_REFERENCE_JUNCTION_TYPE__TRANS_TEMP_RJ_TYPE_NONE_ },
        { TRANS2_REFERENCE_JUNCTION_TYPE__TRANS_TEMP_RJ_TYPE_INT_ },
        { TRANS2_REFERENCE_JUNCTION_TYPE__TRANS_TEMP_RJ_TYPE_EXT_ }
    }
    DEFAULT_VALUE 1;
    HANDLING IF (trans2_lin_type >= 128 && trans2_lin_type <= 140) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_external_reference_junction_value
{
    LABEL "|en|Ext. Reference Junction Temperature 2|de|Fixe RJ  Temperatur 2";
    HELP [trans_temp_external_rj_value_help];
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1001];CASE 1281: [unit_1001];CASE 1342: [unit_1001];}
    TYPE FLOAT
    {
        MIN_VALUE SELECT (trans2_primary_value_unit) {CASE 1000: 233.15;CASE 1001: -40.0;CASE 1002: -40.0;CASE 1003: 419.67;CASE 1342: -40.0;}
        MAX_VALUE SELECT (trans2_primary_value_unit) {CASE 1000: 385.15;CASE 1001: 85.0;CASE 1002: 185.0;CASE 1003: 644.67;CASE 1342: 85.0;}
        EDIT_FORMAT ".3f";
        DISPLAY_FORMAT ".3f";
        DEFAULT_VALUE 0.0;
    }
    HANDLING IF(trans2_lin_type >= 128 && trans2_lin_type <= 140 &&  trans2_reference_junction_type == 2) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_sensor_connection
{
    LABEL "|en|Connection type 2|de|Anschlussart 2";
    HELP [trans_temp_sensor_connection_help];
    CLASS DEVICE;
    TYPE ENUMERATED (1)
    {
        { TRANS2_SENSOR_CONNECTION__TRANS_TEMP_SENSOR_CONNECTION_2_WIRE_ },
        { TRANS2_SENSOR_CONNECTION__TRANS_TEMP_SENSOR_CONNECTION_3_WIRE_ }
    }
    DEFAULT_VALUE 0;
    HANDLING IF(  (trans2_lin_type >= 102 && trans2_lin_type <= 126) || (trans2_lin_type >= 240 && trans2_lin_type <= 246)   ||  (trans2_lin_type == 0  && (trans2_input_range == 128 || trans2_input_range == 129))) 
        { READ & WRITE; }
    ELSE
        { READ; }
    POST_EDIT_ACTIONS
    {
		#ifdef _V600_
		method_post_edit_set_trans2_sensor_connection_online,
		#endif
        method_post_edit_set_trans2_sensor_connection_offline
    }
}
VARIABLE trans2_comp_wire_1
{
    LABEL "|en|2-wire compensation 2|de|2-Leiter Kompensation 2";
    HELP [trans_temp_comp_wire1_help];
    CLASS DEVICE;
    CONSTANT_UNIT [unit_1281];
    TYPE FLOAT
    {
        MIN_VALUE 0.0;
        MAX_VALUE 30.0;
        EDIT_FORMAT ".3f";
        DISPLAY_FORMAT ".3f";
        DEFAULT_VALUE 0.0;
    }
    HANDLING IF( (trans2_sensor_connection == 0) && ((trans2_lin_type >= 102 && trans2_lin_type <= 126) || (trans2_lin_type >= 240 && trans2_lin_type <= 246)   ||  (trans2_lin_type == 0  && (trans2_input_range == 128 || trans2_input_range == 129)))) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_pv_max_indicator
{
    LABEL "|en|Primary Value 2 max|de|PV 2 Max";
    HELP "|en|Display of the maximum process value. The process value will be accepted after starting the measurement.The Value is displayed with the Primary Value Unit. |de|Anzeige des max. Prozesswertes. Der Prozesswert wird nach Beginn der Messung übernommen. Der Wert wird in der PV Einheit angezeigt.";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ & WRITE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_pv_min_indicator
{
    LABEL "|en|Primary Value 2 min|de|PV 2 Min";
    HELP "|en|Display of the minimum process value. The process value will be accepted after starting the measurement. The Value is displayed with the Primary Value Unit.|de|Anzeige des min. Prozesswertes. Der Prozesswert wird nach Beginn der Messung übernommen. Der Wert wird in der PV Einheit angezeigt. ";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ & WRITE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_cal_vandusen_A
{
    LABEL "|en|Call.-v. Dusen coeff. A|de|Call.-v. Dusen Coeff. A";
    HELP "|en|Callendar-Van Dusen is a method to match sensor and transmitter to improve the accuracy of the measurement system. According to IEC751, the non-linearity of the platinum thermometer can be expressed as:\nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\nThe coefficients A,B,C for a standard sensor are stated in IEC751. If a standard sensor is not available or if a greater accuracy is required than can be obtained from the standard coefficients, the coefficients can be measured individually for each sensor. |de|Dieser Parameter dient zur Anpassung von Sensor und Transmitter, um die Genauigkeit des Messsystems zu verbessern. Gemäß IEC751 lässt sich die Kennlinie eines Platinthermometers durch folgende Formel ausdrücken: \nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\n Die Koeffizienten A,B,C für einen Standardsensor sind in IEC751 angegeben. Wenn kein Standardsensor anwendbar ist oder eine höhere Genauigkeit gefordert ist, als sich mit den genormten Koeffizienten erzielen lässt, können die Koeffizienten individuell bestimmt werden.";
    CLASS DEVICE;
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".6g";
        DEFAULT_VALUE 0.0039083;
    }
    HANDLING IF( trans2_lin_type == 244 ) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_cal_vandusen_B
{
    LABEL "|en|Call.-v. Dusen coeff. B|de|Call.-v. Dusen Coeff. B";
    HELP "|en|Callendar-Van Dusen is a method to match sensor and transmitter to improve the accuracy of the measurement system. According to IEC751, the non-linearity of the platinum thermometer can be expressed as:\nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\nThe coefficients A,B,C for a standard sensor are stated in IEC751. If a standard sensor is not available or if a greater accuracy is required than can be obtained from the standard coefficients, the coefficients can be measured individually for each sensor. |de|Dieser Parameter dient zur Anpassung von Sensor und Transmitter, um die Genauigkeit des Messsystems zu verbessern. Gemäß IEC751 lässt sich die Kennlinie eines Platinthermometers durch folgende Formel ausdrücken: \nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\n Die Koeffizienten A,B,C für einen Standardsensor sind in IEC751 angegeben. Wenn kein Standardsensor anwendbar ist oder eine höhere Genauigkeit gefordert ist, als sich mit den genormten Koeffizienten erzielen lässt, können die Koeffizienten individuell bestimmt werden.";
    CLASS DEVICE;
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".6g";
        DEFAULT_VALUE -5.775E-07;
    }
    HANDLING IF( trans2_lin_type == 244 ) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_cal_vandusen_C
{
    LABEL "|en|Call.-v. Dusen coeff. C|de|Call.-v. Dusen Coeff. C";
    HELP "|en|Callendar-Van Dusen is a method to match sensor and transmitter to improve the accuracy of the measurement system. According to IEC751, the non-linearity of the platinum thermometer can be expressed as:\nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\nThe coefficients A,B,C for a standard sensor are stated in IEC751. If a standard sensor is not available or if a greater accuracy is required than can be obtained from the standard coefficients, the coefficients can be measured individually for each sensor. |de|Dieser Parameter dient zur Anpassung von Sensor und Transmitter, um die Genauigkeit des Messsystems zu verbessern. Gemäß IEC751 lässt sich die Kennlinie eines Platinthermometers durch folgende Formel ausdrücken: \nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\n Die Koeffizienten A,B,C für einen Standardsensor sind in IEC751 angegeben. Wenn kein Standardsensor anwendbar ist oder eine höhere Genauigkeit gefordert ist, als sich mit den genormten Koeffizienten erzielen lässt, können die Koeffizienten individuell bestimmt werden.";
    CLASS DEVICE;
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".6g";
        DEFAULT_VALUE -4.183E-12;
    }
    HANDLING IF( trans2_lin_type == 244 ) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_cal_vandusen_R0
{
    LABEL "|en|Call.-v. Dusen coeff. R0|de|Call.-v. Dusen Coeff. R0";
    HELP "|en|Callendar-Van Dusen is a method to match sensor and transmitter to improve the accuracy of the measurement system. According to IEC751, the non-linearity of the platinum thermometer can be expressed as:\nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\nThe coefficients A,B,C for a standard sensor are stated in IEC751. If a standard sensor is not available or if a greater accuracy is required than can be obtained from the standard coefficients, the coefficients can be measured individually for each sensor. |de|Dieser Parameter dient zur Anpassung von Sensor und Transmitter, um die Genauigkeit des Messsystems zu verbessern. Gemäß IEC751 lässt sich die Kennlinie eines Platinthermometers durch folgende Formel ausdrücken: \nRT=R0*(1+A*T+B*T^2+C*(T-100)*T^3]\n Die Koeffizienten A,B,C für einen Standardsensor sind in IEC751 angegeben. Wenn kein Standardsensor anwendbar ist oder eine höhere Genauigkeit gefordert ist, als sich mit den genormten Koeffizienten erzielen lässt, können die Koeffizienten individuell bestimmt werden.";
    CLASS DEVICE;
    CONSTANT_UNIT [unit_1281];
    TYPE FLOAT
    {
        MIN_VALUE 40.0;
        MAX_VALUE 1050.0;
        EDIT_FORMAT ".3f";
        DISPLAY_FORMAT ".3f";
        DEFAULT_VALUE 100.0;
    }
    HANDLING IF( trans2_lin_type == 244 ) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_cvd_max
{
    LABEL "|en|Call.-v. Dusen upper range|de|Call.-v. Dusen Bereichsende";
    HELP "|en|Enter the upper Sensor Range for a measurement with a Callendar-Van Dusen linearisation. |de|Obere Messgrenze bei der Verwendung einer Linearisierung nach der Callendar-Van Dusen Art.";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE 100.0;
    }
    HANDLING IF( trans2_lin_type == 244 ) 
        { READ & WRITE; }
    ELSE
        { READ; }
    POST_EDIT_ACTIONS
    {
        post_edit_set_cvd_range_to_sensor_range_offline
    }
}
VARIABLE trans2_cvd_min
{
    LABEL "|en|Call.-v. Dusen lower range|de|Call.-v. Dusen Bereichsanfang";
    HELP "|en|Enter the lower Sensor Range for a measurement with a Callendar-Van Dusen linearisation. |de|Untere Messgrenze bei der Verwendung einer Linearisierung nach der Callendar-Van Dusen Art.";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE 0.0;
    }
    HANDLING IF( trans2_lin_type == 244 ) 
        { READ & WRITE; }
    ELSE
        { READ; }
    POST_EDIT_ACTIONS
    {
        post_edit_set_cvd_range_to_sensor_range_offline
    }
}
VARIABLE trans2_cal_point_hi
{
    LABEL "|en|Sensor triming upper value|de|Sensor Trimmung Endwert";
    HELP "|en|Upper trim point for the linerar scaling mechanism.|de|Der obere Abgleichpunkt zur skalierung der temperaturlinearen Kennlinie";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";	
        DEFAULT_VALUE 100.0;
    }
    HANDLING IF (trans2_cal_method == 0xF466 && trans2_lin_type > 0 && trans2_lin_type != 251) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_cal_point_lo
{
    LABEL "|en|Sensor triming lower value|de|Sensor Trimmung Anfangswert";
    HELP "|en|Lower trim point for the linerar scaling mechanism.|de|Der untere Abgleichpunkt zur skalierung der temperaturlinearen Kennlinie";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";	
        DEFAULT_VALUE 0.0;
    }
    HANDLING IF (trans2_cal_method == 0xF466 && trans2_lin_type > 0 && trans2_lin_type != 251) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_cal_min_span
{
    LABEL "|en|Sensor triming min span|de|Sensor Trimmung Min Spanne";
    HELP "|en|This parameter displays the minimum required span between the lower- and the upper trim point|de|Dieser Parameter zeigt den minimalen Abstand zwischen dem oberen und dem unteren Abgleichpunkt an";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
		DEFAULT_VALUE 10.0;
    }
    HANDLING READ;
}
VARIABLE trans2_cal_method
{
    LABEL "|en|Sensor trim|de|Sensor Trimmung";
    HELP "|en|This Parameters enables al linear scaling mechanism. With the aid of linear scaling (offset and slope), the complete measuring point (measuring device + sensor) can be adapted to the desired process.|de|Dieser Parameter aktiviert eine Funktion, die es ermöglicht die tmperaturlineare Kennline zu skalieren. Mit Hilfe dieser linearen Skalierung (Offset und Steigung) kann die komplette Messstelle (Gerät + Sensor) an den gewünschten Prozess angepasst werden.";
    CLASS DEVICE;
    TYPE ENUMERATED(2)
    {
        { TRANS2_CAL_METHOD_FACTORY_TRIM_SETTINGS },
        { TRANS2_CAL_METHOD_USER_TRIM_SETTINGS }
    }
    HANDLING IF (trans2_lin_type > 0 && trans2_lin_type != 251) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_sensor_serial_number
{
    LABEL "|en|Sensor serial number|de|Sensor Seriennummer";
    HELP "|en|Parameter for storing and displaying the serial number of the sensor|de|Eingabefeld zur Speicherung und Anzeige der Seriennummer des verwendeten Sensors.";
    CLASS DEVICE;
    HANDLING READ & WRITE;
    TYPE ASCII(32);
}
VARIABLE trans2_poly_coeff_A
{
    LABEL "|en|Poly. coeff. A|de|Polynom Koeff. A";
    HELP "|en|Coefficient for custom linearisation of nickel or copper RTD. The temperature is calculated out of the following expressions:\nCopper ( -50 to 200°C): R(T)=R0*(1+A*T)\nCopper (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]|de|Koeffizient zur Linearisierung von Nickel oder Kupfer Widerstandsthermometern (RTD). Die Linearisierung wird nach folgenden Formeln berechnet:\nKupfer ( -50 to 200°C): R(T)=R0*(1+A*T)\nKupfer (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]";
    CLASS DEVICE;
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".6g";
        DEFAULT_VALUE 0.0054963;
    }
    HANDLING IF( trans2_lin_type == 245 || trans2_lin_type == 246) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_poly_coeff_B
{
    LABEL "|en|Poly. coeff. B|de|Polynom Koeff. B";
    HELP "|en|Coefficient for custom linearisation of nickel or copper RTD. The temperature is calculated out of the following expressions:\nCopper ( -50 to 200°C): R(T)=R0*(1+A*T)\nCopper (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]|de|Koeffizient zur Linearisierung von Nickel oder Kupfer Widerstandsthermometern (RTD). Die Linearisierung wird nach folgenden Formeln berechnet:\nKupfer ( -50 to 200°C): R(T)=R0*(1+A*T)\nKupfer (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]";
    CLASS DEVICE;
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".6g";
        DEFAULT_VALUE 6.7556E-06;
    }
    HANDLING IF( trans2_lin_type == 245 || trans2_lin_type == 246) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_poly_coeff_C
{
    LABEL "|en|Poly. coeff. C|de|Polynom Koeff. C";
    HELP "|en|Coefficient for custom linearisation of nickel or copper RTD. The temperature is calculated out of the following expressions:\nCopper ( -50 to 200°C): R(T)=R0*(1+A*T)\nCopper (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]|de|Koeffizient zur Linearisierung von Nickel oder Kupfer Widerstandsthermometern (RTD). Die Linearisierung wird nach folgenden Formeln berechnet:\nKupfer ( -50 to 200°C): R(T)=R0*(1+A*T)\nKupfer (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]";
    CLASS DEVICE;
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".6g";
        DEFAULT_VALUE 9.2004E-09;
    }
    HANDLING IF( trans2_lin_type == 245 || trans2_lin_type == 246) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_poly_coeff_R0
{
    LABEL "|en|Poly. coeff. R0|de|Polynom Koeff. R0";
    HELP "|en|Coefficient for custom linearisation of nickel or copper RTD. The temperature is calculated out of the following expressions:\nCopper ( -50 to 200°C): R(T)=R0*(1+A*T)\nCopper (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]|de|Koeffizient zur Linearisierung von Nickel oder Kupfer Widerstandsthermometern (RTD). Die Linearisierung wird nach folgenden Formeln berechnet:\nKupfer ( -50 to 200°C): R(T)=R0*(1+A*T)\nKupfer (-180 to -50°C): R(T)=R0*(1+A*T+B*(T+6.7)+C*T^2]\nNickel: R(T)=R0*(1+A*T+B*T^2+C*(T–100)*T^3]";
    CLASS DEVICE;
    CONSTANT_UNIT [unit_1281];
    TYPE FLOAT
    {
        MIN_VALUE 40.0;
        MAX_VALUE 1050.0;
        EDIT_FORMAT ".3f";
        DISPLAY_FORMAT ".3f";
        DEFAULT_VALUE 100.0;
    }
    HANDLING IF( trans2_lin_type == 245 || trans2_lin_type == 246) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_poly_coeff_max
{
    LABEL "|en|Poly. Meas. range max.|de|Polynom Bereichsende";
    HELP "|en|Enter the upper range of the customized sensor.|de|Geben Sie die obere Messgrenze ein.";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE 100.0;
    }
    HANDLING IF( trans2_lin_type == 245 || trans2_lin_type == 246) 
        { READ & WRITE; }
    ELSE
        { READ; }
    POST_EDIT_ACTIONS
    {
        post_edit_set_poly_range_to_sensor_range_offline
    }
}
VARIABLE trans2_poly_coeff_min
{
    LABEL "|en|Poly. Meas. range min.|de|Polynom Bereichsanfang";
    HELP "|en|Enter the lower range of the customized sensor.|de|Geben Sie die untere Messgrenze ein.";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE 0.0;
    }
    HANDLING IF( trans2_lin_type == 245 || trans2_lin_type == 246) 
        { READ & WRITE; }
    ELSE
        { READ; }
    POST_EDIT_ACTIONS
    {
        post_edit_set_poly_range_to_sensor_range_offline
    }
}
VARIABLE trans2_corrosion_detection
{
    LABEL "|en|Corrosion detection 2|de|Korrosionserkennung 2";
    HELP "|en|Sensor connection cable corrosion can lead to false measured value readings. Therefore our unit offers the possibility to recognize any corrosion before the measured values are affected. (see chapter 9.2.1). There are 2 different steps selectable dependent on the application requirements:\n- off\n(maintenance output just before reaching the failure set point. This allows for preventative maintenance/trouble-shooting to be done.)\n- on\nno warning, immediate alarm)|de|Die Korrosion von Sensoranschlussleitungen kann zu einer Verfälschung des Messwertes führen. Dieses Gerät bietet Ihnen deshalb die Möglichkeit die Korrosion zu erkennen bevor die Messwertverfälschung eintritt. 2 verschiedene Stufen sind je nach Applikationsanforderung von Ihnen auswählbar:\n- off\nAusgabe einer Warnung vor dem Erreichen der Alarmgrenze, damit vorbeugend eine Wartungsmaßnahme/Fehlerbehebung durchgeführt werden kann.\n- on\n(keine Warnung, sofortiger Alarm)";
    CLASS DEVICE;
    TYPE ENUMERATED(1)
    {
        { TRANS2_CORROSION_DETECTION__OFF_ },
        { TRANS2_CORROSION_DETECTION__ON_ }
    }
    DEFAULT_VALUE 0;
    HANDLING IF(trans2_lin_type != 251 && trans2_sensor_connection==1) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_sens_drift_limit
{
    LABEL "|en|Sensor drift alert value 2|de|Sensor Drifterkennung Grenzwert 2";
    HELP "|en|No input necessary if the 'Sensor Drift Monitoring' = off. Input of the limit value for the drift warning. Input: 0 to 1830.2 °F (0 - 999 °C)|de|Eingabe Grenzwert für Drifterkennung. Eingabe: 0 bis 999 (0-999 °C)";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        MIN_VALUE IF( trans2_primary_value_unit == 1002 || trans2_primary_value_unit == 1003 ) { DRIFT_MIN_VAL_FAHRENHEIT; } ELSE { DRIFT_MIN_VAL_CELSIUS; }
        MAX_VALUE IF( trans2_primary_value_unit == 1002 || trans2_primary_value_unit == 1003 ) { DRIFT_MAX_VAL_FAHRENHEIT; } ELSE { DRIFT_MAX_VAL_CELSIUS; }
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE 999.0;
    }
    HANDLING IF (trans2_sensor_measure_type == 224 || trans2_sensor_measure_type == 225) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_rj_max_indicator
{
    LABEL "|en|RJ max. value|de|RJ  Max.";
    HELP "|en|Display of the maximum measured temperature of the internal (Pt100 DIN A) comparison measurement point. |de|Anzeige der maximal gemessenen Temperatur der internen Vergleichsmessstelle (Pt100 DIN A).";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ & WRITE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1001];CASE 1281: [unit_1001];CASE 1342: [unit_1001];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_rj_min_indicator
{
    LABEL "|en|RJ min. value|de|RJ Min.";
    HELP "|en|The Value of the internal temperature measurement. This temperature value can be used for cold junction compensation.|de|Der Temperaturwert im Gerät. Dieser Temperaturwert kann zur Kompensation der Klemmenspannung. Die Darstellung erfolgt in der Einheit des PV.";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ & WRITE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1001];CASE 1281: [unit_1001];CASE 1342: [unit_1001];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_threshold_value
{
    LABEL "|en|Threshold value 2|de|Sensorumschaltung Schwelle 2";
    HELP "|en|Threshold value T of sensor 2, when PV switches to sensor 1. If the value of sensor 1 drops below the treshold value (Hysteresis = 2K or 1mV or 1Ohm) the PV switches back to sensor 2 again.|de|Schwellenwert bei dem die Messung für den Hauptprozesswert von Sensor 2 auf Sensor 1 umgeschaltet wird. Fällt der Wert von Sensor 1 unter den Schwellenwert (Hysterese = 2K oder 1mV oder 1Ohm) wird die Messung für den Hauptprozesswert wieder auf Sensor 2 zurückgeschaltet.";
    CLASS DEVICE;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1243];CASE 1281: [unit_1281];CASE 1342: [unit_1342];}
    TYPE FLOAT
    {
        MIN_VALUE SELECT (trans2_primary_value_unit) {CASE 1000: 0.05;CASE 1001: -273.1;CASE 1002: -459.58;CASE 1003: 0;CASE 1243: -273.1;CASE 1281: -273.1;CASE 1342: -273.1;}
        MAX_VALUE SELECT (trans2_primary_value_unit) {CASE 1000: 3273.15;CASE 1001: 3000;CASE 1002: 5432;CASE 1003: 5891.67;CASE 1243: 3000;CASE 1281: 3000;CASE 1342: 3000;}
        EDIT_FORMAT ".2f";
        DISPLAY_FORMAT ".2f";
        DEFAULT_VALUE 0.0;
    }
    HANDLING IF (trans2_sensor_measure_type == 222 ) 
        { READ & WRITE; }
    ELSE
        { READ; }
}
VARIABLE trans2_rj_value
{
    LABEL "|en|RJ temperature 2|de|RJ Temperatur 2";
    HELP "|en|The Value of the internal temperature measurement. This temperature value can be used for cold junction compensation.|de|Der Temperaturwert im Gerät. Dieser Temperaturwert kann zur Kompensation der Klemmenspannung. Die Darstellung erfolgt in der Einheit des PV.";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    CONSTANT_UNIT SELECT (trans2_primary_value_unit) {CASE 1000: [unit_1000];CASE 1001: [unit_1001];CASE 1002: [unit_1002];CASE 1003: [unit_1003];CASE 1243: [unit_1001];CASE 1281: [unit_1001];CASE 1342: [unit_1001];}
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}
VARIABLE trans2_rj_value_status_quality
{
    LABEL "|en|Quality|de|Qualität";
    HELP "";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        IF(phys_feature_enabled==0x01000000 && phys_cond_status_diag==1)
        {COND_STATUS_QUALITY}
        ELSE
        {PROFILE_301_QUALITY}
    }
    DEFAULT_VALUE 0;
}
VARIABLE trans2_rj_value_status_limit
{
    LABEL "|en|Status|de|Status";
    HELP "";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE ENUMERATED (1)
    {
        { TRANS2_RJ_VALUE_STATUS_LIMIT__STATUS_LIMIT_OK_ },
        { TRANS2_RJ_VALUE_STATUS_LIMIT__STATUS_LIMIT_UNDERFLOW_ },
        { TRANS2_RJ_VALUE_STATUS_LIMIT__STATUS_LIMIT_OVERFLOW_ },
        { TRANS2_RJ_VALUE_STATUS_LIMIT__STATUS_LIMIT_VALUE_CONSTANT_ }
    }
}
VARIABLE trans2_sensor_raw_value
{
    LABEL "|en|Sensor raw value 2|de|Sensor Wert 2 (nicht linearisiert)";
    HELP "|en|The raw sensor reading in ohm or mV|de|Das unbearbeitete Sensoersignal in den Einheiten Ohm oder mV.";
    CLASS DEVICE & DYNAMIC;
    HANDLING READ;
    TYPE FLOAT
    {
        DISPLAY_FORMAT ".2f";
    }
}

/************************************************************************/
/* COMMAND DEFINITIONS                                                  */
/************************************************************************/


COMMAND read_trans2_blk
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 70;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_blk_reserve,
            trans2_blk_object,
            trans2_blk_parent_class,
            trans2_blk_class,
            trans2_blk_dd_reference,
            trans2_blk_dd_rev,
            trans2_blk_profile,
            trans2_blk_profile_rev,
            trans2_blk_execution_time,
            trans2_blk_num_parameters,
            trans2_blk_index_view_1,
            trans2_blk_num_view_lists
        }
    }
}


COMMAND read_trans2_st_rev
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 71;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_st_rev
        }
    }
}


COMMAND read_trans2_target_mode
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 75;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_target_mode
        }
    }
}


COMMAND write_trans2_target_mode
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 75;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_target_mode
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_mode
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 76;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_actual_mode,
            trans2_permitted_mode,
            trans2_normal_mode
        }
    }
}


COMMAND read_trans2_primary_value
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 78;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_primary_value,
            trans2_primary_value_status_quality <0xFC>,
            trans2_primary_value_status_limit <0x03>
        }
    }
}


COMMAND read_trans2_primary_value_unit
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 79;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_primary_value_unit
        }
    }
}


COMMAND write_trans2_primary_value_unit
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 79;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_primary_value_unit
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_secondary_value_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 80;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_secondary_value_1,
            trans2_secondary_value_1_status_quality <0xFC>,
            trans2_secondary_value_1_status_limit <0x03>
        }
    }
}


COMMAND read_trans2_sensor_measure_type
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 82;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_sensor_measure_type
        }
    }
}


COMMAND write_trans2_sensor_measure_type
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 82;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_sensor_measure_type
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_input_range
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 83;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_input_range
        }
    }
}


COMMAND write_trans2_input_range
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 83;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_input_range
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_lin_type
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 84;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_lin_type
        }
    }
}


COMMAND write_trans2_lin_type
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 84;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_lin_type
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_bias_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 89;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_bias_1
        }
    }
}


COMMAND write_trans2_bias_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 89;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_bias_1
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_upper_sensor_limit
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 91;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_upper_sensor_limit
        }
    }
}


COMMAND read_trans2_lower_sensor_limit
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 92;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_lower_sensor_limit
        }
    }
}


COMMAND read_trans2_max_sensor_value_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 99;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_max_sensor_value_1
        }
    }
}


COMMAND write_trans2_max_sensor_value_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 99;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_max_sensor_value_1
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_min_sensor_value_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 100;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_min_sensor_value_1
        }
    }
}


COMMAND write_trans2_min_sensor_value_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 100;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_min_sensor_value_1
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_reference_junction_type
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 104;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_reference_junction_type
        }
    }
}


COMMAND write_trans2_reference_junction_type
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 104;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_reference_junction_type
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_external_reference_junction_value
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 105;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_external_reference_junction_value
        }
    }
}


COMMAND write_trans2_external_reference_junction_value
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 105;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_external_reference_junction_value
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_sensor_connection
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 106;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_sensor_connection
        }
    }
}


COMMAND write_trans2_sensor_connection
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 106;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_sensor_connection
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_comp_wire_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 107;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_comp_wire_1
        }
    }
}


COMMAND write_trans2_comp_wire_1
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 107;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_comp_wire_1
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_pv_max_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 132;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_pv_max_indicator
        }
    }
}


COMMAND write_trans2_pv_max_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 132;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_pv_max_indicator
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_pv_min_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 133;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_pv_min_indicator
        }
    }
}


COMMAND write_trans2_pv_min_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 133;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_pv_min_indicator
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cal_vandusen_A
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 134;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_vandusen_A
        }
    }
}


COMMAND write_trans2_cal_vandusen_A
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 134;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cal_vandusen_A
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cal_vandusen_B
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 135;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_vandusen_B
        }
    }
}


COMMAND write_trans2_cal_vandusen_B
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 135;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cal_vandusen_B
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cal_vandusen_C
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 136;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_vandusen_C
        }
    }
}


COMMAND write_trans2_cal_vandusen_C
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 136;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cal_vandusen_C
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cal_vandusen_R0
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 137;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_vandusen_R0
        }
    }
}


COMMAND write_trans2_cal_vandusen_R0
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 137;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cal_vandusen_R0
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cvd_max
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 138;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cvd_max
        }
    }
}


COMMAND write_trans2_cvd_max
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 138;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cvd_max
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cvd_min
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 139;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cvd_min
        }
    }
}


COMMAND write_trans2_cvd_min
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 139;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cvd_min
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cal_point_hi
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 145;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_point_hi
        }
    }
}


COMMAND write_trans2_cal_point_hi
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 145;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cal_point_hi
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cal_point_lo
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 146;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_point_lo
        }
    }
}


COMMAND write_trans2_cal_point_lo
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 146;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cal_point_lo
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_cal_min_span
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 147;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_min_span
        }
    }
}


COMMAND read_trans2_cal_method
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 150;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_cal_method
        }
    }
}


COMMAND write_trans2_cal_method
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 150;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_cal_method
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_sensor_serial_number
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 151;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_sensor_serial_number
        }
    }
}


COMMAND write_trans2_sensor_serial_number
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 151;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_sensor_serial_number
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_poly_coeff_A
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 152;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_poly_coeff_A
        }
    }
}


COMMAND write_trans2_poly_coeff_A
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 152;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_poly_coeff_A
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_poly_coeff_B
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 153;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_poly_coeff_B
        }
    }
}


COMMAND write_trans2_poly_coeff_B
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 153;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_poly_coeff_B
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_poly_coeff_C
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 154;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_poly_coeff_C
        }
    }
}


COMMAND write_trans2_poly_coeff_C
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 154;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_poly_coeff_C
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_poly_coeff_R0
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 155;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_poly_coeff_R0
        }
    }
}


COMMAND write_trans2_poly_coeff_R0
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 155;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_poly_coeff_R0
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_poly_coeff_max
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 156;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_poly_coeff_max
        }
    }
}


COMMAND write_trans2_poly_coeff_max
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 156;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_poly_coeff_max
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_poly_coeff_min
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 157;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_poly_coeff_min
        }
    }
}


COMMAND write_trans2_poly_coeff_min
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 157;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_poly_coeff_min
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_corrosion_detection
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 162;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_corrosion_detection
        }
    }
}


COMMAND write_trans2_corrosion_detection
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 162;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_corrosion_detection
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_sens_drift_limit
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 164;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_sens_drift_limit
        }
    }
}


COMMAND write_trans2_sens_drift_limit
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 164;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_sens_drift_limit
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_rj_max_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 169;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_rj_max_indicator
        }
    }
}


COMMAND write_trans2_rj_max_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 169;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_rj_max_indicator
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_rj_min_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 170;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_rj_min_indicator
        }
    }
}


COMMAND write_trans2_rj_min_indicator
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 170;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_rj_min_indicator
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_threshold_value
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 172;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_threshold_value
        }
    }
}


COMMAND write_trans2_threshold_value
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 172;
    OPERATION WRITE;
    TRANSACTION
    {
        REQUEST
        {
            trans2_threshold_value
        }
        REPLY
        {
        }
    }
}


COMMAND read_trans2_rj_value
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 173;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_rj_value,
            trans2_rj_value_status_quality <0xFC>,
            trans2_rj_value_status_limit <0x03>
        }
    }
}


COMMAND read_trans2_sensor_raw_value
{
    SLOT TRANS2_BLOCK_SLOT;
    INDEX 174;
    OPERATION READ;
    TRANSACTION
    {
        REQUEST
        {
        }
        REPLY
        {
            trans2_sensor_raw_value
        }
    }
}


/*************************************************************
** UNIT RELATIONS
*************************************************************/

