TPMOEEEquipmentErrorStopReason Property
General info
Label |
Equipment Error Stop Reason |
Description |
Equipment Error Stop Reason. |
Data type |
String |
Default value |
"{\"meta\":{\"id\":\"urn:id:80:16\"}}" |
Type |
TableSchemaBound |
Code |
13118 |
Symbolic name |
MODEL_PROP_TPMOEEEQUIPMENTERRORSTOPREASON |
Lua access code |
syslib.model.properties.TPMOEEEquipmentErrorStopReason |
Available since |
1.84 |
- Parent properties
Attributes
| Name | Tooltip |
|---|---|
| PROP_CONFIGURABLE | The property is configurable and can be changed with DataStudio and the various inmation APIs. |
| PROP_VISIBLE | The property is visible in DataStudio and can be read by the inmation APIs. |
Schema Definition
Name: TPMStopReasonMapping
Description:
- Columns
-
Column Data Type Nullable Unique Default Min Max Description CustomStopReasonID String true false Function Integer false false Source Integer false false StopReason Integer false false Value String false false
Examples
Read from or write to the TPMOEEEquipmentErrorStopReason property.
-- Read from the TPMOEEEquipmentErrorStopReason
syslib.getvalue("<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEEquipmentFailureOptions.TPMOEEEquipmentErrorStopReason")
-- Write to the TPMOEEEquipmentErrorStopReason
syslib.setvalue("<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEEquipmentFailureOptions.TPMOEEEquipmentErrorStopReason", '{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}')
TcpConfig tcpcfg = new TcpConfig() { HostNameOrIp = "localhost", Port = 6512 };
SecurityCredentials sc = new SecurityCredentials() { ProfileName = "<username>", Password = "<password>" };
StatelessInterface sli = new StatelessInterface(tcpcfg);
// Read from the TPMOEEEquipmentErrorStopReason
Result result = sli.ReadValue(sc, new ReadItem("<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEEquipmentFailureOptions.TPMOEEEquipmentErrorStopReason"));
// Write to the TPMOEEEquipmentErrorStopReason
Result result = sli.WriteValue(sc, new WriteItem('{"meta":{"id":"urn:id:22:2"},"data":{"Input":[1.0,2.0],"Value":["v1","v2"]}}', "<OBJECT FULL PATH>.TPMOEEPerformanceOptions.TPMOEEEquipmentFailureOptions.TPMOEEEquipmentErrorStopReason"));