Loading…

Method Name: automatic_20mA

Method ID: 0x4015

Method Label: 20 mA VALUE AUTOM.

Method Help:


  • {
  • int rc;
  • long varid[3];
  • char status[3];
  • _set_all_resp_code(0);
  • varid[0] = 16430;
  • varid[1] = 16389;
  • while (1)
  • {
  • do {
  • _iassign(16462,0x98);
  • send(144,status);
  • rc = select_from_list(literal_string(222),varid,literal_string(225));
  • }
  • while (rc == 1);
  • if (rc == 0)
  • {
  • send(36,status);
  • if (status[0])
  • {
  • display_response_status(36,status[0]);


Please login for more