Description: Imports AM current data from IP21 into Hour1 through Hour24 of an existing CIP object and recalculates the affected record.
Calling convention: SU_AM_GetCURData_from_IP21(ObjectName, StartTime, EndTime, ConnectionName): Integer
Parameters:
ObjectName: configured target object.
StartTime: optional date string; YESTERDAY is accepted in the two-argument form.
EndTime: optional date string; the implementation sets it to StartTime.
ConnectionName: optional configured PIMS connection name.
Returns: NULL in the current implementation, despite the registered Integer return type.
Availability: Default; SU/AM site-specific and dependent on OEE_UpdateSchedulerINFO mappings and a PIMS connection.
Example:
SU_AM_GetCURData_from_IP21("AM_Daily", "2026-08-19", "2026-08-19", "AspenAM");