Loading…
Loading…
Method Name: configure_output
Method ID: 0x4038
Method Label: Output config.
Method Help: Configuration of analog output - The setting determines the behaviour of the output in case of failure.
- {
- 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(274),0,16394);
- if (_fvalue <= _fvar_value(16394) && _fvar_value(16394) <= 4.0)
- break;
- }
- while (1);
Please login for more