Loading…
Loading…
Method Name: digital_output_test_method
Method ID: 0x40ED
Method Label: Relais Test
Method Help: Startet Relais Test
- {
- char status[3];
- int i_choice;
- long ids[4];
- i_choice = 0;
- SET_NUMBER_OF_RETRIES(7);
- _set_no_device(2);
- _set_all_resp_code(0);
- _set_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- ids[0] = 16455;
- ids[1] = 16456;
- ids[2] = 16457;
- ids[3] = 16458;
- _add_abort_method(16593);
- _iassign(16571,10);
- _vassign(16572,16574);
- send(185,status);
- if (status[0] != 0)
- {
- if (status[0] == 3 || status[0] == 4 || status[0] == 2 || status[0] == 65 || status[0] == 113 || status[0] == 114)
- {
- display_response_status(185,status[0]);
- }
- else
- if (status[0] == 112)
- {
- }
Please login for more