Loading…
Loading…
Method Name: method_advance_burst_option
Method ID: 0x4D9D
Method Label: Advanced HART Configuration
Method Help:
- {
- char status[3];
- int step;
- int temp;
- int select;
- int step1;
- int temp1;
- int select1;
- int step2;
- int temp2;
- int select2;
- int step3;
- int temp3;
- int select3;
- int warning;
- char disp_string[100];
- int slen;
- int burst_command;
- int assignment;
- select = 0;
- select1 = 0;
- select2 = 0;
- select3 = 0;
- step = 0;
- step1 = 0;
- step2 = 0;
- step3 = 0;
- slen = 100;
- _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();
- }
- do {
- switch (step)
- {
- case 0:
- _MenuDisplay(19925,literal_string(1980),literal_string(1940));
- step++;
- _iassign(4839,0);
- send(109,status);
- if (status[0])
- {
- display_response_status(109,status[0]);
- process_abort();
- }
- if (compat_burst_messages[0].BURST_MODE_SELECT == 1)
- {
- send(108,status);
- if (status[0] && status[0] != 8)
- {
- display_response_status(108,status[0]);
- process_abort();
- }
- if (status[0] == 8)
- {
- _MenuDisplay(19926,literal_string(1980),literal_string(2168));
- }
- send(105,status);
- burst_command = _ivar_value(4093);
- if (burst_command == 3 || burst_command == 9 || burst_command == 33)
- {
- _MenuDisplay(19927,literal_string(1980),literal_string(1940));
- send(51,status);
- if (status[0])
- {
- display_response_status(51,status[0]);
Please login for more