Calling convention: CIP_Steinau_Read_Steam_From_PIM (AInterface_Description_TablenName, PIMConnection, PIM_TYPE_INDICATOR, LAST_SECONDS2READ, SIMULATION_OR_ONLINE)
Description: Reads six steam-measurement mappings, calculates values from recent or simulated source rows, inserts a new record into the current object table, and updates DATA_ID 1 with the same values.
Parameters:
AInterface_Description_TablenName: table containing the six source/entry mappings.
PIMConnection: configured source database-connection name.
PIM_TYPE_INDICATOR: MIS selects MISLIGHT fields; SQL selects local-table fields.
LAST_SECONDS2READ: time-window value; the implementation reads twice this number of source rows.
SIMULATION_OR_ONLINE: ONLINE reads the newest rows; every other value uses the simulated DATA_ID window.
Returns: No defined return value; initialized to NULL.
Availability: Default; Steinau-specific database structure and exactly six configured measurement entries are expected.
Example:
CIP_Steinau_Read_Steam_From_PIM ("DBA.LokalerImport", "MISLIGHT_STEINAU", "MIS", 60, "ONLINE");