Loading…

Method Name: meth_setup_rs485_port

Method ID: 0x4717

Method Label: Communications

Method Help:


  • {
  • char status[3];
  • long select;
  • long step;
  • long temp;
  • char disp_string[100];
  • char disp_string1[100];
  • int slen;
  • int slen1;
  • int ProtocolChoice;
  • select = 0;
  • step = 0;
  • slen = 100;
  • slen1 = 100;
  • ProtocolChoice = 0;
  • _set_xmtr_device_status(0xFF,0);
  • _set_xmtr_all_resp_code(0);
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _get_dictionary_string(858981312,disp_string,slen);
  • _MenuDisplay(19455,disp_string,literal_string(620));
  • send(18,status);
  • if (status[0])
  • {
  • display_response_status(18,status[0]);
  • _get_dictionary_string(858587163,disp_string,slen);
  • DELAY(2,disp_string);
  • process_abort();
  • }
  • send(6,status);
  • if (status[0])
  • {
  • display_response_status(6,status[0]);


Please login for more