Loading…
Loading…
方法名称: set_eng_units_method
方法ID: 0x409D
方法标签: Engineering Units
方法描述: Set the engineering unit to be displayed with the Digital Value representation, Upper Range Value, Lower Range Value, and Lower Sensor Limit.
- {
- char status[3];
- _set_all_resp_code(0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- do {
- _get_dev_var_value(literal_string(198),0,16496);
- send(44,status);
- if (status[0])
- {
- display_response_status(44,status[0]);
- if (status[0] == 2)
- {
- if (_ivar_value(16392) >= 65 && _ivar_value(16392) <= 76)
- {
- if (_ivar_value(16496) == 37)
- ACKNOWLEDGE(literal_string(314));
- }
请登录以获得完整内容