Loading…

Method Name: read_modbus_register

Method ID: 0x44F1

Method Label: Считать данные Modbus

Method Help:


  • {
  • char status[3];
  • long var_id[2];
  • int choice;
  • int number;
  • char disp_string[100];
  • char disp_string1[100];
  • int slen;
  • int slen1;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • slen1 = 100;
  • slen = 100;
  • number = 0;
  • do {
  • _get_dictionary_string(858587249,disp_string,slen);
  • _get_dictionary_string(858587250,disp_string1,slen1);
  • choice = SELECT_FROM_LIST(disp_string,disp_string1);


Please login for more