Loading…

Method Name: configure_output

Method ID: 0x4037

Method Label: Ausgang konfig.

Method Help: Analogausgang konfigurieren - Die Einstellung bestimmt das Verhalten des Ausgangs im Fehlerfall.


  • {
  • int counter;
  • int _ivalue;
  • float _fvalue;
  • char status[3];
  • _set_device_status(0xFF,0);
  • _set_all_resp_code(0);
  • _set_xmtr_device_status(0xFF,0);
  • _iassign(16393,0x01);
  • if (_ivar_value(171) == 2)
  • _fvalue = 3.0;
  • else
  • _fvalue = 3.6;
  • do {
  • _get_dev_var_value(literal_string(251),0,16394);
  • if (_fvalue <= _fvar_value(16394) && _fvar_value(16394) <= 4.0)
  • break;
  • }
  • while (1);


Please login for more