Loading…
Loading…
Method Name: MthStartTotalizer
Method ID: 0x40CC
Method Label: Zähler starten
Method Help: Starten des Zählers. Startet die eigentliche Zählfunktion oder setzt sie fort.
- {
- char status[3];
- int _countSteps;
- int _isAbort;
- int _isSendImmediateReset;
- int iResult;
- iResult = SELECT_FROM_LIST(literal_string(1051),literal_string(1052));
- if (iResult != 1)
- return;
- _isAbort = 0;
- _countSteps = 0;
- _isSendImmediateReset = 1;
- _set_device_status(0xFF,0);
- _set_all_resp_code(0);
- _set_xmtr_device_status(0xFF,0);
- _set_xmtr_all_resp_code(0);
- _add_abort_method(16583);
- send(230,status);
- if (stepDeviceFunction != 251)
- {
- iResult = SELECT_FROM_LIST(literal_string(1054),literal_string(1052));
- if (iResult == 1)
- {
- MthResetDeviceFunction();
- send(231,status);
- ;
- if (status[0])
Please login for more