Loading…
Loading…
Method Name: met_relay_output
Method ID: 0x408A
Method Label: Relay Output setup
Method Help: Set vessel geometry and dimensions
- {
- DD_STRING result;
- unsigned short temp_short;
- unsigned short relay_hysteresis_old;
- unsigned short relay_hysteresis_req;
- unsigned short relay_1_control_value_old;
- unsigned short relay_1_control_value_req;
- unsigned short relay_2_control_value_old;
- unsigned short relay_2_control_value_req;
- unsigned short relay_1_status_mask_old;
- unsigned short relay_1_status_mask_req;
- unsigned short relay_2_status_mask_old;
- unsigned short relay_2_status_mask_req;
- float temp_float;
- float relay_setpoint_1_old;
- float relay_setpoint_1_req;
- float relay_setpoint_2_old;
- float relay_setpoint_2_req;
- if (device_specific_status_3 & 0x01)
- {
- PUT_MESSAGE(literal_string(676));
- temp_short = met_mo_get(406);
- temp_float = met_decode(temp_short);
- relay_setpoint_1_old = temp_float / 1000.0;
- relay_setpoint_1 = relay_setpoint_1_old;
Please login for more