Loading…
Loading…
Method Name: MthSetTotalizer1
Method ID: 0x4671
Method Label: Set Totaliser
Method Help: Sets totaliser 1 to desired value (Fct. C4.1.7)
- {
- char achCmdStatus[3];
- long ai32VariableIds[2];
- int iResult;
- iResult = SELECT_FROM_LIST(literal_string(1951),literal_string(1950));
- 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);
- _lassign(17770,4192);
- send(144,achCmdStatus);
- if (achCmdStatus[0] != 0)
- {
- display_response_status(144,achCmdStatus[0]);
- }
Please login for more