Hi Tech
I am currently using your new wx100 series to develop a control system for a silo filling control system. One of my requirements is to be able to log data as various events happen,
currently for each event I have used the code below - albeit with varying text on the end according to the event - to write the data to the EEprom area
X$ = STR$(DATE[3])+ " "+STR$(DATE[3])+" "+STR$(DATE[2])+ " "+STR$(DATE[1])+ " "+STR$(TIME[2])+ ":"+STR$(TIME[3])+ " "+ "Enter Button Activated"
Save_eep$ X$,Datalogpointer
Call Incdatalogpointer
The datalogpointer variable simply gets incremented by every call to Incdatalogpointer and eventually reset after say 100 datalogs.
this seems to work ok apart from some strange goings on of the eeprom manager when reading back what I have written.
My question is twofold
1) How many times on the wx100 can the eeprom be written / rewritten
2) Is this the fastest way to do it as I notice a delay in the plc scan cycle when actuating this code