Loading…
Loading…
Method Name: methodAutoTune
Method ID: 0x4026
Method Label: Autotune
Method Help: Run PID Autotune will automatically find best dynamic parameters for responsive valve positioning. Always isolate the valve from the process. The valve will move full open and full closed. The valve will continuously change position for about 5 minutes.
- {
- char nbr;
- char status[3];
- char prevMode;
- long ids[3];
- float fMin;
- float fMax;
- int result;
- send(249,status);
- if (status[0] != 0)
- {
- display_response_status(249,status[0]);
- DELAY(3,literal_string(1228));
- process_abort();
- ;
- }
- ;
- if (_ivar_value(16385) != 0)
- {
- ACKNOWLEDGE(literal_string(1230));
- PUT_MESSAGE(literal_string(1231));
- _add_abort_method(16390);
- _iassign(16684,0);
- send(135,status);
- if (status[0] != 0)
- {
- display_response_status(135,status[0]);
- DELAY(3,literal_string(1228));
- process_abort();
- ;
- }
- ;
- nbr = 0;
- do {
- nbr += 1;
- if (nbr == 10)
Please login for more