Loading…
Loading…
Method Name: sc_status
Method ID: 0x4098
Method Label: ステータス
Method Help: Reads transmitter status and reports any transmitter errors.
- {
- int number_of_tries;
- int in_error;
- char status[3];
- char xmtr_status[25];
- number_of_tries = in_error = 0;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- do {
- get_more_status(status,xmtr_status);
- }
- while (status[0] == 8 && ++number_of_tries < 8);
- if (status[0] == 8)
- {
- ACKNOWLEDGE(literal_string(407));
- }
- else
- {
- if (xmtr_status[0] & 0x10)
- {
- ACKNOWLEDGE(literal_string(408));
- }
- if (xmtr_status[0] & 0x20)
- {
- ACKNOWLEDGE(literal_string(4));
- }
- if (xmtr_status[0] & 0x04)
- {
Please login for more