Quote Originally Posted by LEDave View Post
Code:
WRITE 5,B0 ' Send value in B0 to EEPROM location 5
Yup
1/ Total parts run

2/ Total parts run before M/C stops for maintenance For each run, need multiple address here too.

3/ How many times M/C shuts down (scheduled + un_scheduled)

4/ The average amount of parts run between each shut down (scheduled + un_scheduled)
Remember two address locations for WORD size variables.
Hopefully the machine will run long enough to need a WORD VARs for parts run between shut downs, and if all goes well the machine will not shut down often so a BYTE size VAR should work for "times shut down".