Make the settings to log the temperature data and the measured energy consumption.
A log file must be configured for each device.
In this example, the two power meters log the total energy consumption. Please refer to the power meter documentation for details on register addresses and data format.
This task includes the following steps:
Make general log settings
This includes the data storage location and CSV file settings. If you add more than one log file, you need to make the general log settings only once.
Configure the log files and data points for each device
Specify the COM interface to receive the log data, the station number of the connected device, the trigger that starts data logging, and the data points (in this example temperature and energy consumption values).
If you need to configure many data points, we recommend importing the variables from a CSV file.
Go to Use data logger.
and turn onMake the following settings:
Keep the default settings for all other parameters.
Go to Log file settings, select Add new, and open the new configuration.
Make the following settings (keep the default settings for all other parameters):
File name: FP0R_RS232
COM interface/station number: RS232, 0
Trigger cycle time: 300 (a new value is logged every 5min)
Go to Data point settings, select Add new, and select the new data point from the list.
Make the following settings:
Data point name: Temperature
Unit: C
COM interface: RS232, Station number: 0
Register type: Momentary value, Memory area: DT
Register address: 100
Data format: INT (16 bits, signed)
Decimal: 2
Save your configuration.
Go to Log file settings, select Add new, and open the new configuration.
Make the following settings (keep the default settings for all other parameters):
File name: KW2M_ETHERNET_70
COM interface/station number: ETHERNET, 70 (station number 70 corresponds to the last octet of the target IP address)
Trigger cycle time: 300 (a new value is logged every 5min)
Go to Data point settings, select Add new, and select the new data point from the list.
Make the following settings:
Data point name: Energy
Unit: kWh
COM interface: ETHERNET, Station number: 70
Register type: Momentary value, Memory area: DT
Register address: 112
Data format: UINT64 (64 bits, unsigned)
Decimal: 3
Go to Log file settings, select Add new, and open the new configuration.
Make the following settings (keep the default settings for all other parameters):
File name: KW2M_ETHERNET_71
COM interface/station number: ETHERNET, 71 (station number 71 corresponds to the last octet of the target IP address)
Trigger cycle time: 300 (a new value is logged every 5min)
Go to Data point settings, select Add new, and select the new data point from the list.
Make the following settings:
Data point name: Energy
Unit: kWh
COM interface: ETHERNET, Station number: 71
Register type: Momentary value, Memory area: DT
Register address: 112
Data format: UINT64 (64 bits, unsigned)
Decimal: 3
Save your configuration.
Go to Log file settings, select Add new, and open the new configuration.
Make the following settings (keep the default settings for all other parameters):
File name: KW9M_RS485_1
COM interface/station number: RS485/232, 1
Trigger cycle time: 300 (a new value is logged every 5min)
Go to Data point settings, select Add new, and select the new data point from the list.
Make the following settings:
Data point name: Energy
Unit: kWh
COM interface: RS485/232, Station number: 1
Register type: Momentary value, Memory area: DT
Register address: 106
Data format: UDINT (32 bits, unsigned)
Decimal: 2
Go to Log file settings, select Add new, and open the new configuration.
Make the following settings (keep the default settings for all other parameters):
File name: KW9M_RS485_2
COM interface/station number: RS485/232, 2
Trigger cycle time: 300 (a new value is logged every 5min)
Go to Data point settings, select Add new, and select the new data point from the list.
Make the following settings:
Data point name: Energy
Unit: kWh
COM interface: RS485/232, Station number: 2
Register type: Momentary value, Memory area: DT
Register address: 106
Data format: UDINT (32 bits, unsigned)
Decimal: 2
Save your configuration.