Loading…

Method Name: calib_signal_method

Method ID: 0x409B

Method Label: signal calibrate

Method Help: To calibrate or to check the 4-20mA current. To calibrate or to check the pressure sensor if any, to return to factory setting.


  • {
  • char nbr;
  • int result;
  • int test;
  • long ids[5];
  • char status[3];
  • char bValueOK;
  • float fSignalTemp;
  • _add_abort_method(16440);
  • send(249,status);
  • if (status[0])
  • {
  • display_response_status(249,status[0]);
  • DELAY(3,literal_string(434));
  • process_abort();
  • }
  • if (_ivar_value(16391) == 3 || _ivar_value(16391) == 8)
  • {
  • ACKNOWLEDGE(literal_string(435));
  • PUT_MESSAGE(literal_string(436));
  • nbr = 0;
  • do {
  • nbr += 1;
  • if (nbr == 10)
  • {
  • DELAY(3,literal_string(434));
  • process_abort();
  • }
  • send(135,status);
  • send(249,status);
  • }
  • while (_ivar_value(16391) != 4);
  • send(3,status);
  • if (status[0])
  • {
  • display_response_status(3,status[0]);
  • DELAY(3,literal_string(434));
  • process_abort();
  • }
  • _vassign(16441,16385);
  • save_values();


Please login for more