List of examples
The consumption values of a meter point are displayed with the VE4_CalcMPointSumfunction as usual.
Take a look at the example below to see how the start and end are used as cell references to define the time range.
Furthermore, the VE4_GetMPointStatus function is used to display the worst state of the defined time range. If the latter is smaller than 2, all period values for the defined time range are available and can be used for billing purposes.
Visual energy 4 can periodically save the operating time with the OBIS code 0-0:132.128.0. The base unit is seconds. If you use the VE4_CalcMPointSum function to request this data, you will obtain the total of the defined time range in seconds.
To display this value in hours, the total is divided by 86400 (seconds per day) and displayed in the [h]:mm:ss format.
As you can see in the example below, you can display the operating time in hours:minutes:seconds for a user-defined period with this method.
Quantity and ID
In this example, you can see how to read the current consumption and quantity of a production unit for a specified time range and display the data as code.
Determining the quantity with a multisio digital input is not mandatory in this case. Of course, production quantities or other base values for code generation can also be taken from other systems or entered manually.
This ensures that the requirements defined in the standards EN 16001 or ISO 50001 to create specific codes are fulfilled.