Loading…
Loading…
Method Name: methodSetupWizard
Method ID: 0x407F
Method Label: Setup Wizard
Method Help: The setup wizard will guide you through basic steps to setup the positioner on an actuator. You may skip this wizard if the valve and positioner have been factory configured and calibrated. Always isolate the valve from the process. The wizard allows setting Air Action. The valve move full open and full closed. You will be prompted if mode must be changed. The steps are in the following order: 1. Run Find Stops, to set 0% to the valve closed position and to set 100% to full opened position. 2. Run Auto Tune to determine best dynamic parameters for position control. 3. Reset Basic Configuration and Calibration to Factory Defaults.
- {
- char nbr;
- char prevMode;
- char status[3];
- char tmpFlags;
- int result;
- long ids[2];
- float fMin;
- float fMax;
- send(249,status);
- if (status[0] != 0)
- {
- display_response_status(249,status[0]);
- DELAY(3,literal_string(1144));
- process_abort();
- ;
- }
- ;
- if (_ivar_value(16507) != 0)
- {
- ACKNOWLEDGE(literal_string(1165));
- _add_abort_method(16510);
- _iassign(16655,0);
- send(135,status);
- if (status[0] != 0)
- {
- display_response_status(135,status[0]);
- DELAY(3,literal_string(1144));
- process_abort();
- ;
- }
- ;
- nbr = 0;
- do {
- nbr += 1;
- if (nbr == 10)
- {
- DELAY(3,literal_string(1144));
- process_abort();
- ;
- }
- ;
- send(249,status);
- }
- while (_ivar_value(16507) != 0);
- }
- send_trans(170,166,status);
- send_trans(170,177,status);
- send_trans(170,179,status);
- send_trans(170,210,status);
- result = SELECT_FROM_LIST(literal_string(1166),literal_string(1167));
- if (result == 1)
- {
- send(249,status);
- if (status[0] != 0)
- {
- display_response_status(249,status[0]);
- DELAY(3,literal_string(1144));
- process_abort();
- ;
- }
- ;
- ACKNOWLEDGE(literal_string(1147));
- ACKNOWLEDGE(literal_string(1148));
- _remove_abort_method(16510);
- _add_abort_method(16656);
- _add_abort_method(16510);
- DELAY(1,literal_string(1149));
- send(180,status);
- if (status[0] != 0)
- {
- display_response_status(180,status[0]);
- DELAY(3,literal_string(1144));
Please login for more