Loading…
Loading…
Method Name: ejx_method_error_log_view
Method ID: 0x4047
Method Label: Error log view
Method Help: Error log view- Displays the error records from log1(latest) to log4.
- {
- int choice;
- char xmtr_status[25];
- char status[3];
- {
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- }
- ;
- while (1)
- {
- choice = SELECT_FROM_LIST(literal_string(1220),literal_string(1221));
- if (choice >= 4)
- {
- break;
- }
- _iassign(16536,choice);
- send(190,status);
- if (status[0])
- {
- display_response_status(190,status[0]);
- abort();
- }
- xmtr_status[0] = _ivar_value(16537);
- xmtr_status[1] = _ivar_value(16538);
- xmtr_status[2] = _ivar_value(16539);
- xmtr_status[3] = _ivar_value(16540);
- xmtr_status[4] = _ivar_value(16541);
- xmtr_status[5] = _ivar_value(16542);
- xmtr_status[14] = _ivar_value(16543);
- if (xmtr_status[3] & 0x04)
- {
- ACKNOWLEDGE(literal_string(1222));
- }
- if (xmtr_status[4] & 0x02)
- {
- ACKNOWLEDGE(literal_string(1223));
- }
- if (xmtr_status[0] || xmtr_status[1] || xmtr_status[2] || xmtr_status[3] || xmtr_status[4] || xmtr_status[5] || xmtr_status[14])
- {
- {
- {
- {
- {
- if (xmtr_status[0] & 0x80)
- _display_xmtr_status(4139,0x80);
- }
- ;
Please login for more