GetEquipmentType

Get the English type name for a given piece of equipment.

Function

string GetEquipmentType(equipmentName: string)

Parameters

  • equipmentName (string): the name of the equipment

Return Value

Returns a string that contains the display type name of the equipment. Empty if equipment not found.

Remarks

The type name can be one of the following:

  • Barcode Scanner
  • Basic Shape
  • Conveyor
  • Chute
  • Composite
  • Cross Belt Sorter
  • EStop
  • Grid
  • High Speed Diverter
  • Label
  • Diverter
  • Polyline
  • Cam Pusher
  • Rack
  • Shoe Sorter
  • Tilt Tray Sorter
  • Product
  • PE Sensor
  • Vertical Sorter
  • X-Ray Machine
  • Path
  • Free Roller Conveyor
  • Conveyor Controller

Example

Gets the type name of an equipment.

let cc1 = SYM3.GetEquipmentType("Conveyor1");
console.log("Type = " + cc1);