Loading…
Loading…
方法名称: methodAutoTune
方法ID: 0x4021
方法标签: Autotune
方法描述: 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. To SVi1000 device, this operation need the device should be set PID selector to slot 0/ATO or slot 8/ATC
- {
- char nbr;
- char status[3];
- char prevMode;
- long ids[3];
- float fMin;
- float fMax;
- int nAgress;
- int result;
- send_trans(170,216,status);
- send_trans(170,210,status);
- if (_ivar_value(16461) != 0)
- {
- if (_ivar_value(16409) == 1)
- {
- ACKNOWLEDGE(literal_string(708));
- }
- else
- {
- ACKNOWLEDGE(literal_string(709));
- }
- process_abort();
- }
- send(249,status);
- if (status[0] != 0)
- {
- display_response_status(249,status[0]);
- DELAY(3,literal_string(697));
- process_abort();
- ;
- }
请登录以获得完整内容