RMA
Member
One disadvantage I've realised (oh, great, says Roy, now he tell's me!) is that the two tables have to be of the same datatype. You may have to do a little additional conversion coding to get your times in a suitable fashion. Using a catch-all of WORD for both the energy and the timer duration may be the KISSest answer.
That's no problem in itself, I had to create a new DB pair for the Time duration anyway, since I've decided to go the Down-counter route, that was automatically in INT anyway. Since I'm displaying the Total Energy on the HMI, I had to cahnge it to INT as well for ProTool, so it was already available.
The main problems are that I'm not quite sure what you meant by having to declare the parameters as ANYs - which parameters, where?
The other major problem is the peculiar disappearing - and apparently resetting - Pointer entry.