Loading…
Loading…
Method Name: change_nd_sn
Method ID: 0x4062
Method Label: Set ND800 S/N
Method Help: Stores the serial number of the ND800 valve controller into the nonvolatile memory of the ND800. Must be set when component board is replaced
- {
- char status[3];
- char disp_string[60];
- int mfc_nb;
- int nb;
- int week;
- int year;
- int nb_of_week;
- int dev_id;
- int end;
- end = 0;
- mfc_nb = 1990010001;
- do {
- _get_local_var_value(literal_string(331),0,literal_string(332));
- if (mfc_nb > 0)
- {
- nb = mfc_nb % 10000;
- mfc_nb /= 10000;
- week = mfc_nb % 100;
- year = mfc_nb / 100;
- nb_of_week = (year - 1996) * 52 + week;
- dev_id = nb_of_week * 10000 + nb;
Please login for more