OK,
so if I read the ADC and store the value in DM (RAM) then map the modbus to the DM, the HMI will read the values from the DM location. This process doesn't write to the EEPROM, Correct?
Going back to the original question, to change a timer value, the HMI can write a new value to a specific DM location, then use a TBASIC function to monitor if the DM value has changed, and if so, the run a SETTIMERSV to write the new set value to the Timers. As I only intend to change the timers manually once in a while I don't think EEPROM writes are an issue.
As you stated previously to keep the DM Value (timer settings, ADC channel values etc) after power down I would need the MX-RTC.
So now we've cleared that little lot up! is there an existing example of the two main functions needed above i.e.
1. Tbasic program that monitors the DM value and if it has changed use the SETTIMERSV to write the new setting.
2. Map the DM value to a modbus address i.e. read timer 1 setting DM[1] in Modbus address 401001
Kind regards
Marcus