Code:
! may appear after the conversion factors (e.g. (0:855)).
! The U.S. unit conversions in this file have been
! optimized for the HVAC industry.
set program_id 00:00:00:00:00:00:00:00;
set selector STANDARD;
SCPTactFbDly: text("%d %d:%d:%d:%d", day, hour, minute, second, millisecond);
SCPTactFbDly#LO: text(("%d ", day), time(hour, minute, second, millisecond));
SCPTactuatorCharacteristic: text("%m");
SNVT_dev_c_mode: text("%m");
SNVT_dev_fault: text(("DS=%m ",device_select),((device_select == 0) ?("SF: [VL=%d VH=%d PH=%d NF=%d PL=%d PH=%d {%d %d}] DF: [MT=%d MF=%d PB=%d ET=%d EF=%d EX=%d SF=%d {%d %d}]",
dev_type.pump_ctrl.sf_voltage_low,dev_type.pump_ctrl.sf_voltage_high,dev_type.pump_ctrl.sf_phase,dev_type.pump_ctrl.sf_no_fluid,dev_type.pump_ctrl.sf_press_low,dev_type.pump_ctrl.sf_press_high,dev_type.pump_ctrl.sf_reserved1_6,dev_type.pump_ctrl.sf_reserved1_7,dev_type.pump_ctrl.df_motor_temp,dev_type.pump_ctrl.df_motor_failure,dev_type.pump_ctrl.df_pump_blocked,dev_type.pump_ctrl.df_elect_temp,dev_type.pump_ctrl.df_elect_failure_nf,dev_type.pump_ctrl.df_elect_failure,dev_type.pump_ctrl.df_sensor_failure,dev_type.pump_ctrl.df_reserved2_7,dev_type.pump_ctrl.reserved3_0_7) :( (device_select == 1) ?("DF: [VB=%d DO=%d DC=%d PE=%d SOR=%d I=%d VC=%d ED=%d {%d}] EE: [O=%d VL=%d VS=%d {%d %d}] SF: [VOR=%d ET=$d FR=%d {$d}] GF=%d",
dev_type.valve_pos.df_valve_blocked,dev_type.valve_pos.df_blocked_direction_open,dev_type.valve_pos.df_blocked_direction_close,dev_type.valve_pos.df_position_error,dev_type.valve_pos.df_stroke_out_of_range,dev_type.valve_pos.df_initialization,dev_type.valve_pos.df_vibration_cavitation,dev_type.valve_pos.df_ed_too_high,dev_type.valve_pos.reserved1_0_2,dev_type.valve_pos.ee_oscillating,dev_type.valve_pos.ee_valve_too_large,dev_type.valve_pos.ee_valve_too_small,dev_type.valve_pos.reserved2_6_7,dev_type.valve_pos.reserved3_0_7,dev_type.valve_pos.sf_voltage_out_of_range,dev_type.valve_pos.sf_electronic_high_temp,dev_type.valve_pos.sf_frictional_resistance,dev_type.valve_pos.reserved4_4_6,dev_type.valve_pos.general_fault) :("UNKNOWN"))));
SNVT_dev_maint: text(("DS=%m ",device_select),((device_select == 0) ?("RQ=%d BC=%d BL=%d SC=%d {%d %d %d}",dev_type.pump_ctrl.service_required,dev_type.pump_ctrl.bearings_change,dev_type.pump_ctrl.bearings_lubricate,dev_type.pump_ctrl.shaftseal_change,dev_type.pump_ctrl.reserved1_4_7,dev_type.pump_ctrl.reserved2_0_7,dev_type.pump_ctrl.reserved3_0_7) :((device_select == 1) ?("MM=%d PC=%d EC=%d PC=%d LC=%d RC=%d BC=%d {%d %d %d} GM=%d",dev_type.valve_pos.motor_maint,dev_type.valve_pos.packing_change,dev_type.valve_pos.electronics_check,dev_type.valve_pos.positioning_check,dev_type.valve_pos.lubrication_check,dev_type.valve_pos.return_check,dev_type.valve_pos.battery_check,dev_type.valve_pos.reserved1_7,dev_type.valve_pos.reserved2_0_7,dev_type.valve_pos.reserved3_0_6,dev_type.valve_pos.general_maint) : ("UNKNOWN") )));
SCPTalrmClrT1#LO: text(("%d ", day), time(hour, minute, second, millisecond));