Description: Imports Aspen IP.21 history for the configured acrylic-acid object mappings, aggregates values into 24 hourly fields, optionally calculates Propen hourly values and the MAC-to-Propen rate, then recalculates the affected daily record.
Calling convention: SU_AM_GetCURData_from_IP21_New("ObjectName": String, ["StartTime": String], ["EndTime": String], ["ConnectionName": String]): NULL
Parameters:
ObjectName: exact target object name.
StartTime: optional locale-dependent date string; with exactly two arguments only the case-insensitive value YESTERDAY is handled.
EndTime: optional locale-dependent date string; defaults to StartTime in the three-or-more-argument form.
ConnectionName: accepted by the registration but overwritten by the fixed AspenAcrylsaure connection name.
Returns: Always Variant NULL, although the registration text advertises Integer. Import results are represented by database updates, messages or exceptions.
Availability: Default. Requires an interactive Windows session, the AspenAcrylsaure connection, OEE_UpdateSchedulerINFO configuration, Hour1..Hour24 entries and write access.
Example:
SU_AM_GetCURData_from_IP21_New("AM", "20.08.2026", "21.08.2026", "IgnoredConnection");