Loading…

Method Name: edit_drive_operating_mode_method

Method ID: 0x4030

Method Label: Operating mode

Method Help:


  • {
  • char status[3];
  • char display_string[60];
  • int string_length;
  • int selected_operating_mode;
  • int selected_hold_mode;
  • float demand_analog_value_local;
  • _set_device_status(0xFF,0);
  • _set_xmtr_device_status(0xFF,0);
  • string_length = 60;
  • _get_dictionary_string(19726337,display_string,string_length);
  • ACKNOWLEDGE(display_string);
  • _add_abort_method(16567);
  • selected_operating_mode = _ivar_value(16421);
  • if (selected_operating_mode == 0)
  • {
  • ACKNOWLEDGE(literal_string(393));
  • }
  • _iassign(16421,selected_operating_mode);
  • send(143,status);
  • if (status[0])
  • {
  • display_response_status(143,status[0]);
  • process_abort();


Please login for more