Calling convention: GetDataFromIP21("ObjectName": String): Variant
Description: Imports IP.21 values for an event-based OEE object. Connection and tag mappings are read from the fixed PIMSSetup and pimsTagsTable objects, and imported values are written to tempEventData.
Parameters:
ObjectName: destination object name used to select the configured tag mappings and determine the import period.
Returns: NULL. The function updates database records but does not return a success value.
Availability: Default; requires the site-specific PIMS objects, entries, database connection and IP.21 schema.
Example:
GetDataFromIP21("ProductionEvents");