Loading…
Loading…
Method Name: MthResetTotalizer3
Method ID: 0x45B5
Method Label: Zähler 3 zurücksetz.
Method Help: Rücksetzen Zähler 3 (Fkt. C3.3.6)
- {
- char achCmdStatus[3];
- int iResult;
- iResult = SELECT_FROM_LIST(literal_string(1823),literal_string(1822));
- if (iResult != 1)
- return;
- _set_device_status(0xFF,0);
- _set_xmtr_device_status(0xFF,0);
- _set_no_device(0);
- _set_comm_status(0xFF,0);
- SET_NUMBER_OF_RETRIES(0);
- switch (_lvar_value(16619))
- {
- case 0:
- _iassign(17829,_ivar_value(16737));
- break;
- case 2:
- _iassign(17829,_ivar_value(16738));
- break;
- default:
- _iassign(17829,_ivar_value(16738));
Please login for more