The MachineryItemStateMachine is constructed based on the state of the Device (as represented by the LADSDeviceStateMachineType), the states of the FunctionalUnits (as represented by the FunctionalUnitStateMachineType), and the DeviceHealth status.

Table 148 illustrates this mapping. The first column represents the state of the MachineryItemState, while the subsequent columns represent the states of the other state machines. Given that a device can have multiple functional units, their states are aggregated. The rules for this aggregation are also provided in the table.

This mapping ensures that the MachineryItemState accurately reflects the overall state of the device, considering the states of its individual components and their health status. It provides a comprehensive view of the device's operational status, which is crucial for effective device management and operation.

Table 148 – Recommendation for building the MachineryItemState

MachineryItemState

LADSDeviceStateMachineType

FunctionalUnitStateMachineType

DeviceHealth

Executing

“Operate”

One or more in “Running”

Not in“FAILURE”

NotAvailable

“Sleep” OR “Shutdown” OR “Initialization”

StatusCode:Bad_StateNotActive

Not in“FAILURE”

NotExecuting

“Operate”

Not in “Running”

Not in“FAILURE”

OutOfService

StatusCode:Bad_StateNotActive

“Held” OR “Aborted”

“FAILURE”

The aggregation rules for Held and Aborted are vendor specific.