How to Configure PcVue to Retrieve BACnet Trend Records

To configure PcVue so it is able to retrieve a Trend Log object's records, you add the Trend Log or Trend Log Multiple object to the device in PcVue BACnet configuration. It is then able to send a read request to the device to retrieve the recorded values.

The application treats BACnet trend records in the same way as records it has generated itself by recording the real-time value of variables. Records are accessed using the name of a register variable. A Trend Log object will be used as source for PcVue trending of a given variable if the BACnet object and property on which the variable is mapped is found in one of the configured Trend Log object. Otherwise, the real time data source (Data Sharing) is used. See the topic Mapping variables for use with a Trend Log object.

If you want to read a Trend Log's recorded values using a notification you must also add the instance of the Notification Class object, as referenced in the Trend Log object, to the device configuration in PcVue BACnet configuration. See the topic How to configure PcVue to receive alarm and event notifications.

The following process does not create a Trend Log object, within the physical device, if it does not already exist. Trend Log objects can be created using the Logs helper, or the left pane of the Mapping editor.

Adding a Trend Log object using the Application Explorer

The following explanation applies both to Trend Log and Trend Log Multiple objects.

  1. Open the Application Explorer and expand the configuration tree to display a previously configured BACnet network and device.
  2. From the task pane, select Add a Trend Log. The Trend Log Creation dialog opens. ClosedShow picture
  3. Click the Ellipsis button adjacent to the Instance number field. The Object Selection dialog opens containing a list of discovered Trend Log instances for that device. The list can be updated using the Refresh button. ClosedShow picture
  4. Select the Trend Log to use.
  5. Click the OK button to close the Object Selection dialog.
  6. Click the OK button to close the Trend Log Configuration dialog. The Trend Log appears in the configuration tree. ClosedShow picture

Adding a Trend Log object using the BACnet Mapping dialog

The following explanation applies both to Trend Log and Trend Log Multiple objects.

  1. Open the Application Explorer and expand the configuration tree to display a previously configured BACnet network. From the task pane, select Mapping. The BACnet Mapping dialog opens.
  2. Expand the devices and objects tree in the left pane and select an appropriate Trend Log object. Trend Log instances appears in the right pane.
  3. Right click on the instance to be mapped and select Map Trend Log from the context menu. The Trend Log configuration dialog opens, populated with information from the selected Trend Log instance. ClosedShow picture
  4. Check the configuration and click OK button to close the Trend Log dialog. A new Trend Log object appears in the Mapping dialog in the Variable/Object column. ClosedShow picture

The Trend Log Configuration dialog - Advanced tab

The following properties are available in the Trend Log Configuration dialog - Advanced tab. The screenshot shows the default configuration. ClosedShow picture

  • Retrieval - The mechanisms used by PcVue to retrieve records from the Trend Log object. The default retrieval mechanism is cyclic every 60 minutes.
    • On demand only - A read request is sent to the Trend Log object only when using the Trend Log helper or a SCADA Basic program.
    • By polling - A read request is sent to the Trend Log object periodically. The period range is 0 to 4294967295 minutes with a default of 60 minutes. In this mode, a read request is also sent when the BACnet communication starts.
    • Upon notification reception - Accept notifications from the Notification Class associated with the Trend Log object and generate a read request as a result.
    • Max number of records - The maximum number of records for a read request. Range 1 to 10000.