Loading…

Method Name: method_write_modbus_commands

Method ID: 0x4077

Method Label: Modbus Command

Method Help: Modbus Command


  • {
  • long var_id[2];
  • long review_id[20];
  • long review_id_1[10];
  • char status[3];
  • char disp_string1[200];
  • char disp_string2[200];
  • int slen1;
  • int i;
  • int ucStart;
  • int ucEnd;
  • slen1 = 200;
  • _set_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _get_dictionary_string(19726337,(disp_string1),(slen1));
  • ACKNOWLEDGE(disp_string1);
  • _add_abort_method(4118);
  • while (1)
  • {
  • for (i=0;i<50 ;i++ )
  • {
  • modbus_response[i] = 0;
  • }


Please login for more