CurrentEquipmentStep Property

General info

Label

Current Equipment Step (S88)

Description

Displays the current S88 equipment step as detected by the batch tracker object.

Data type

String

Type

Regular

Code

12373

Symbolic name

MODEL_PROP_CURRENTEQUIPMENTSTEP

Lua access code

syslib.model.properties.CurrentEquipmentStep

Available since

1.66

Parent properties

BatchTrackerDiagnostics

Attributes

Name Tooltip
PROP_VISIBLE The property is visible in DataStudio and can be read by the inmation APIs.
PROP_VOLATILE The property exists during runtime of the service only and is not saved to the image.

Examples

Read from or write to the CurrentEquipmentStep property.

  • Lua

  • C#

-- Read from the CurrentEquipmentStep
syslib.getvalue("<OBJECT FULL PATH>.BatchTrackerDiagnostics.CurrentEquipmentStep")

-- Write to the CurrentEquipmentStep
syslib.setvalue("<OBJECT FULL PATH>.BatchTrackerDiagnostics.CurrentEquipmentStep", "new value")
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);

// Read from the CurrentEquipmentStep
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.BatchTrackerDiagnostics.CurrentEquipmentStep"));
// Write to the CurrentEquipmentStep
Result result = sli.WriteValue(sc, new WriteItem("new value", "<OBJECT FULL PATH>.BatchTrackerDiagnostics.CurrentEquipmentStep"));