Loading…
Loading…
Method Name: meth_configure_i_o
Method ID: 0x4709
Method Label: Inputs/Outputs
Method Help:
- {
- char status[3];
- long select;
- long step;
- long step1;
- long temp;
- char disp_string[100];
- char disp_string1[100];
- int slen;
- int slen1;
- int fault_setup_index;
- int choice;
- float floatFreqVal;
- float floatRateVal;
- float floatPulsesPerUnit;
- float floatUnitsPerPulse;
- int ScalingMethodChoice;
- select = 0;
- step = 0;
- step1 = 0;
- slen = 100;
- slen1 = 100;
- fault_setup_index = 0;
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- send_command(15);
- send_command(76);
- if (_ivar_value(167) == 1 && lock_device_status_code & 0x08)
- {
- ACKNOWLEDGE(literal_string(1873));
- process_abort();
- }
- if (_ivar_value(167) == 1)
- {
- ACKNOWLEDGE(literal_string(1874));
- process_abort();
- }
- if (lock_device_status_code & 0x08)
- {
- ACKNOWLEDGE(literal_string(1875));
- process_abort();
- }
- ACKNOWLEDGE(literal_string(1876));
- do {
- switch (step)
- {
- case 0:
- _get_dictionary_string(858981312,disp_string,slen);
- _MenuDisplay(18186,disp_string,literal_string(1940));
- step++;
- DELAY(2,literal_string(1900));
- break;
- case 1:
- _get_dictionary_string(858981313,disp_string,slen);
- temp = _MenuDisplay(18187,disp_string,literal_string(1940));
- if (select == 0)
- {
- step--;
- }
- if (select == 1)
- {
- step++;
- }
- if (select == 1)
- {
- send(211,status);
- if (status[0])
- {
- display_response_status(211,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- }
- DELAY(2,literal_string(1900));
- break;
- case 2:
- _get_dictionary_string(858981313,disp_string,slen);
- temp = _MenuDisplay(18188,disp_string,literal_string(1940));
- if (select == 0)
- {
- step--;
- }
- if (select == 1)
- {
- step++;
- }
- send(211,status);
- if (status[0])
- {
- display_response_status(211,status[0]);
- _get_dictionary_string(858587163,disp_string,slen);
- DELAY(2,disp_string);
- process_abort();
- }
- DELAY(2,literal_string(1900));
- break;
- case 3:
- _get_dictionary_string(858981313,disp_string,slen);
Please login for more