Ghourab
Member
I had an FC which specialized for computing energy or power consumption by shift - day - year and so on.
this fc is called in a function block to take the flowrate per hour input of the certain computed thing for example kilo watt hour kwh for electric power or cubic meter per hour for gas this value is computed in the fc to gave me consumption per shift day month and year.
the problem is :
the year and sometimes month consumption give right values till a certain no "it is not constant" and after this no. it stop accumulated although all used values are REAL.
I attached a 7 picture on the zip file of the fc code.
this fc is called in a function block to take the flowrate per hour input of the certain computed thing for example kilo watt hour kwh for electric power or cubic meter per hour for gas this value is computed in the fc to gave me consumption per shift day month and year.
the problem is :
the year and sometimes month consumption give right values till a certain no "it is not constant" and after this no. it stop accumulated although all used values are REAL.
I attached a 7 picture on the zip file of the fc code.