I have attached the project (- API keys:) This is an early development stage and u will soon see I am no real programmer, (an Elec Eng by profession)... self taught in coding. IDE Codesys for RPI single core. 3.5 SP 17. The jpg was taken off the application when running on the RPI with all field devices working ie Modbus kWhr meters. Note I am somewhat stuck with the 32 Bit floating input from the House kWhr meter so I am doing a bit of a fudge there. (It measures the total import / export power to the house from the grid. I have not got a kWhr meter for the solar inverter as I am hoping to access it by another API over my local network. (Fronius playing dumb with that and haven't provided the API key promised in their promotions.)I did not think to test the program in Simulation prior to your email, but it turns out to have the same result. Thanks for your interest / help.