Loading…
Loading…
Method Name: methodChangeOutputRange
Method ID: 0x4031
Method Label: Re-transmitter Range
Method Help: 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));
- }
Please login for more