How to historized a DMC Controller user-entry?

Download as pdf : 
Products: Aspen DMC3, Aspen DMC3 Builder 
Last Updated: 26-Jul-2021
Versions: 
Article ID: 000098823
Primary Subject: 
Problem Statement
By Default, is not possible to Historize Controller User entries from the DMCplus or DMC3 Controller. However, this solution presents a Workaround Using the capabilities of the IP21 Database to get a User Entry Historized.

Solution
The Following example was using an Example DMCplus controller named DEMCOL12, the following procedure is just to show the steps that must be done to have a User Entry historized and the Variables used in this example does not represent a real application:
1.- The first step is to create Two Different User entries on the Controller, in this case, we have created the Variables, TEST_ENTRY and WRITE_BACK:

User-added image


It can be noticed that the variable TEST_ENTRY has been configured as Read, (but the variable can be configured as any other IO Flag). TEST_ENTRY will READ the values from the Measurement of an MV named SSFLOW which belong to the same Controller but will be displayed as one of the Parameters of the CV variable SSCOMP. The logic behind this is just to verify that the User Entry is getting the READ values from a dynamic source that will be changing with time (In a normal case this will come from the DCS).
On the other hand, WRITE_BACK is configuring as AWRITE as we will use this variable to Always Write the value back to the IP21 Database. In this case, we are pointing to a Created tag on the IP21 Database named WRBACK (we will back to this tag later).
2.- As the User Entries can only use one IO Flag at the time, we will use an input calculation to send the Reading Values from TEST_ENTRY to WRITE_BACK, then WRITE_BACK will Write the Values to IP21.
The Calculation is just the Following:
WRITE_BACK = TEST_ENTRY

User-added image


3.- Once Step 2 is complete we will check now on the IP21 Database. In this case, I have Created an Analog Defined Tag name WRBACK ( In this particular case I just Duplicated an Analog Tag Pre-defined on my IP21 Database and Save it Under a Folder named USER_ENTRIES that I have created for this example)

User-added image


As you can see in the first Picture the User Entry WRITE_BACK is pointing to the IO “WRBACK IP_INPUT_VALUE”. This is done because I want that the Written value from WRITE_BACK ended up been Writing in this specific Field so every time WRITE_BACK sends values, they will be written on the field IP_INPUT_VALUE (which I can later on Plot on Process Explorer or bring the Values using Aspen SQL).
User-added image


Take into account that the correct configuration to Historize values is to set the filed for IP_REPOSITORY, IP_ARCHIVING AND IP_#_OF_TREND_VALUES.
4.- Once all is correctly Configure the next step, will be to deploy the Controller and Start the Collection in AW. I have run a few tests to show the Historization of the User Entry in the AW IP21 Database.

Display on PCWS
User-added image

History on AW
User-added image

Plot of the Values on Process Explorer
User-added image


Keywords
DMCplus, IP21, User Entry