omron — 4.3 Obtaining Information about DataStore Items

4.2 DataStore Model Obtain a Single, Current Value for use in the Automated System This use case is similar to the existing ARCL functionality. With this functionality, the Integ- ration Toolkit communicates with an AMR or the Fleet Manager and provides the latest data, ignoring any subscription states. This can be accomplished with the REST channel using the /DataStoreValueLatest path. Val- ues obtained this way are published on the RabbitMQ queue and sent to the database in the same way they would be if the value was subscribed to. This is the most common use-case for obtaining DataStore values.

Obtain Values with Streaming (http or RabbitMQ) This use case involves the need for DataStore values to be sent to an application under a set schedule with any of the stream options, and involves the need to create a subscription in advance. Refer to Subscribing to DataStore Values on page 27. After the subscription is cre- ated, the value is automatically updated at the defined subscription interval. Values that have a subscription can also be obtained with SQL and REST channels, but these calls will only return the value which was last obtained. 4.2 DataStore Model The DataStore model consists of the SubscriptionConfig, DataStoreValue, and DataStoreItem components.

DataStoreItem DataStoreItem is used to obtain information about the individual items available on the Fleet Manager or AMR for information retrieval. SubscriptionConfig SubscriptionConfig is used to command the Integration Toolkit to obtain values from the AMRs and the Fleet Manager to make them available for use. Refer to Subscribing to DataStore Values on page 27 for more information. DataStoreValue DataStoreValue provides the latest recorded value of DataStore items. This value is returned as a String and conversion may be necessary before use. The DataStoreItem entity can be used to indicate the value type. Refer to Obtaining DataStore Values on page 28 for more inform- ation.

4.3 Obtaining Information about DataStore Items The following table describes DataStore item schema. 24 Fleet Operation Workspace Core Integration Toolkit 20964-000 Rev. C User's Manual