Loading…
Loading…
Method Name: readtimeon
Method ID: 0x402A
Method Label: Time On
Method Help: This is the time, in hours, that the unit has been on since it left the manufacturing facility. Clicking either OK or Abort will close this window.
- {
- char status[3];
- int t1;
- unsigned int T;
- send(138, status);
- if (status[0])
- {
- display_response_status(138, status[0]);
- }
- else
- {
- T = (Time_On & 0x00ff) << 8 | (Time_On & 0xff00) >> 8;
- display("|en|This is the cumulative time that this unit has been on: %[5u]{T} hours",0);
Please login for more