system.mes.getMESObjectLinkByEquipmentPath

Sepasoft MES Module Suite

system.mes.getMESObjectLinkByEquipmentPath(equipmentPath)

Get a MESObjectLink for the specified equipment path. 

Syntax

system.mes.getMESObjectLinkByEquipmentPath(equipmentPath)

  • Parameters

String equipmentPath - The equipment path to return the MESObjectLink for the associated MES object.

  • Returns

A MES Object Link object. A MESObjectLink contains basic information about the MES object without the overhead of the full MES object. It can be a link to one of the following MES object types MESEnterprise, MESSite, MESArea, MESLine, MESLineCell, MESLineCellGroup, MESStorageZone or MESStorageUnit. See Equipment Objects for more information.

  • Scope

All

Code
#Get the Tank 1A equipment object from the equipment path
eqLink = system.mes.getMESObjectLinkByEquipmentPath('[global]\Dressings Inc\California\Raw Materials\Tank Farm\Tank 1A')





Sepasoft MES Module Suite