Loading…

方法名称: methodChangeOutputRange

方法ID: 0x4031

方法标签: Re-transmitter Range

方法描述: User can enter the upper and lower range values of valve position corresponding to output current 4 and 20 mA. The values typically are 0 and 100 %.


  • {
  • char nbr;
  • char status[3];
  • char prevMode;
  • send(210,status);
  • send(200,status);
  • if ((_ivar_value(16569) & 0x10) != 0x10)
  • {
  • ACKNOWLEDGE(literal_string(837));
  • return;
  • }
  • send(207,status);
  • do {
  • _get_dev_var_value(literal_string(842),0,16395);
  • _get_dev_var_value(literal_string(843),0,16394);
  • if (_fvar_value(16394) - _fvar_value(16395) < 5.0 && _fvar_value(16394) - _fvar_value(16395) > -5.0)
  • {
  • ACKNOWLEDGE(literal_string(844));
  • }


请登录以获得完整内容