Loading…
Loading…
方法名称: analog_loop_assign
方法ID: 0x400C
方法标签: Chg Anlg Loop Asgn
方法描述: Change Analog Loop Assign - Allows user to select the active analog channel as Level or Vessel.
- {
- int current_pv_xcode;
- float max_level;
- float max_vessel;
- int pv_unit;
- char display_string1[60];
- int slen1;
- char status[3];
- slen1 = 60;
- _set_all_resp_code(0);
- _get_dictionary_string(19726337,display_string1,slen1);
- ACKNOWLEDGE(display_string1);
- _add_abort_method(4118);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- max_level = _fvar_value(16418);
- max_vessel = _fvar_value(16420);
- current_pv_xcode = _ivar_value(4048);
- if (current_pv_xcode == 0)
请登录以获得完整内容