Loading…

Method Name: change_PV_alm_lmts

Method ID: 0x4202

Method Label: Change PV Alm Limits

Method Help:


  • {
  • long ids[1];
  • char st[5];
  • char status[3];
  • float old_hi_alm;
  • float old_lo_alm;
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • send_command(218);
  • old_lo_alm = _fvar_value(16669);
  • old_hi_alm = _fvar_value(16670);
  • ids[0] = 16395;
  • _get_dev_var_value(literal_string(1532),ids,16670);
  • _get_dev_var_value(literal_string(1533),ids,16669);
  • if (_fvar_value(16669) >= _fvar_value(16670))
  • {
  • ACKNOWLEDGE(literal_string(1534));


Please login for more