Loading…

Method Name: mlfb_meth

Method ID: 0x2B28

Method Label: Device order num

Method Help: Device order num- Device Order number. Respects to the current configuration


  • {
  • int module_type_code;
  • int module_fill_fluid;
  • int siepres_module_range_code;
  • int module_isolator_material;
  • int process_connection;
  • int process_flange_bolts_material;
  • int ex_proof;
  • int cable_inlet;
  • int meter_installation;
  • int el_housing_material;
  • int drain_vent_position;
  • int local_display_unit;
  • char mlfb_nummer[25];
  • module_type_code = _ivar_value(6011);
  • module_fill_fluid = _ivar_value(5022);
  • siepres_module_range_code = _ivar_value(11013);
  • module_isolator_material = _ivar_value(6015);
  • process_connection = _ivar_value(11010);
  • process_flange_bolts_material = _ivar_value(11012);
  • ex_proof = _ivar_value(11014);
  • cable_inlet = _ivar_value(11011);
  • meter_installation = _ivar_value(5020);
  • el_housing_material = _ivar_value(16386);
  • drain_vent_position = _ivar_value(16387);
  • local_display_unit = _ivar_value(16384);
  • mlfb_nummer[0] = 'L';
  • mlfb_nummer[1] = 'A';
  • mlfb_nummer[2] = 'N';
  • mlfb_nummer[3] = '4';
  • mlfb_nummer[4] = '*';
  • mlfb_nummer[5] = '3';
  • mlfb_nummer[6] = '3';
  • mlfb_nummer[7] = '-';
  • mlfb_nummer[8] = '*';
  • mlfb_nummer[9] = '*';
  • mlfb_nummer[10] = '*';
  • mlfb_nummer[11] = '*';
  • mlfb_nummer[12] = '*';
  • mlfb_nummer[13] = '-';
  • mlfb_nummer[14] = '1';
  • mlfb_nummer[15] = '*';
  • mlfb_nummer[16] = '*';
  • mlfb_nummer[17] = '*';
  • mlfb_nummer[18] = '-';
  • mlfb_nummer[19] = 'Z';
  • mlfb_nummer[20] = '*';
  • mlfb_nummer[21] = '*';
  • mlfb_nummer[22] = '*';
  • mlfb_nummer[23] = '*';
  • mlfb_nummer[24] = '\0';
  • switch (module_type_code)
  • {
  • case 1:
  • mlfb_nummer[4] = '0';
  • switch (siepres_module_range_code)
  • {
  • case 6:
  • mlfb_nummer[9] = 'B';
  • break;
  • case 9:
  • mlfb_nummer[9] = 'C';
  • break;
  • case 11:
  • mlfb_nummer[9] = 'D';
  • break;
  • case 13:
  • mlfb_nummer[9] = 'E';
  • break;
  • case 15:
  • mlfb_nummer[9] = 'F';
  • break;
  • case 16:
  • mlfb_nummer[9] = 'G';
  • break;
  • case 17:
  • mlfb_nummer[9] = 'H';
  • break;
  • case 19:
  • mlfb_nummer[9] = 'K';
  • break;
  • }
  • break;
  • case 2:
  • case 237:
  • if (module_type_code == 2)
  • {
  • mlfb_nummer[4] = '3';
  • }
  • else
  • {
  • mlfb_nummer[4] = '2';


Please login for more