Using Triggers to Start a Production Process

Objective

After completing this lesson, you will be able to start a production process in SAP Digital Manufacturing via an automatic trigger.

Automatic Triggers for Production Processes

In SAP Digital Manufacturing, triggers for production processes can be defined in the Manage Automatic Triggers application.

For reading shop floor data, a subscription to a data tag must be created on the Subscriptions tab of the application. The other tabs (Timers and Business Rules) can be used according to the following SAP training course: DM1040 - Extensibility/Customizing in SAP Digital Manufacturing. These tabs are not necessarily for machine integration, but can be used as well.

A subscription reacts on certain conditions of the data tag, which means that when, for example, a data tag value is changed in the shop floor layer, the trigger is triggered and the information is received by SAP Digital Manufacturing. Automatic triggers in SAP Digital Manufacturing can be executed on a data tag change such as a change to true, a change to false, while true, while false, or on combined expressions from different values.

In the Manage Automatic Triggers application, you can distinguish between messages and indicators for subscription types. In this training, indicators are used. Messages are for shop floor integration with MQTT (Message Queuing Telemetry Transport), which is not part of this training.

When defining an automatic trigger, the asset, shop floor system, and indicator you want to react to must also be specified. Additionally, the production process must be configured, along with the input parameters you want to pass into your production process. At this point, the data tag that you want to react to can be passed into the production process, along with any other data tag that is configured as an indicator.

When a subscription is deployed in the Manage Automatic Triggers application in SAP Digital Manufacturing, it is not deployed in the cloud, but directly on the production connector for SAP Digital Manufacturing, where it runs.

Create a Production Process to Read Data from the Machine Layer (Collect Data with Automatic Triggers)