system.mes.getTagCollectorPastTimeStamp

Sepasoft MES Module Suite

system.mes.getTagCollectorPastTimeStamp(equipmentPath, collectorType, key, lookBackCount, endDate)

Return the timestamp of the value based on the look back count chronologically recorded by this MES tag collector.

Syntax

system.mes.getTagCollectorPastTimeStamp(equipmentPath, collectorType, key, lookBackCount, endDate)

  • Parameters

String  equipmentPath - The path from the production model to the desired equipment.

String  collectorType - The name of the tag collector type.

String  key - When there are multiple values within a tag collector, this specifies which one. For example, there can be multiple MES counters for the "Equipment Count" tag collector type. If not needed, pass an empty string.

Integer  lookBackCount - The number of values to go back to get the timestamp.

Date  endDate - The date to start at when looking back.

  • Returns

Date value - The timestamp of the last chronological recorded value.

  • Scope

All

Sepasoft MES Module Suite