RTPPM Model Customization
RTPPM models gather raw data coming from the plant for each equipment capturing OEE. The business logic saves raw data in the database and transforms it into actionable information. For more information on configuring the RTPPM model, see Models Configuration.
Information for each model comes from a Kepware tag bound to a property on the Thing representing the equipment in ThingWorx. The following properties are used to gather data for each model:
Model
Thing Property
Downtime Model
DowntimeByTag_DowntimeTag
Production Model & Job Order Model
ProductionEventRemoteTag
Product Model
ProductRemoteTag
* 
Properties for Product & Waste Count also exist but their names can vary. Refer to RTPPM Configuration for more information.
If the data required for a given property is not available within Kepware, it is possible to update the property using a custom-built interface rather than a Kepware tag. For example, JobOrder information is not available within a Kepware tag, therefore a custom interface is built to have the JobOrder model change when a new Job Order is activated in the ERP.
* 
The property must be persistent, as shown in the following image.
If receiving Model data from different data sources, for example, Kepware and ERP, attention should be paid to data synchronization.
Out-of-the-box, RTPPM models business logic may not fit business needs completely or represent the manufacturing process accurately and may be customized as well. Model services can be overwritten and subscriptions modified to adapt the logic. The following table displays the services and subscriptions related to each model.
Type
Name
Model
Service
DowntimeByTag_MainService
Downtime
Service
DowntimeByTag_SubscriptionService
Downtime
Service
JobOrderModel_MainService
Job Order
Service
JobOrderModel_SubscriptionService
Job Order
Service
MasterService_JobOrderProductionWaste
Job Order Production Waste
Service
ProductionByTagAndTime_AttributeRead
Production
Service
ProductionByTagAndTime_AttributeReadToProcess
Production
Service
ProductionByTagAndTime_RecordProductionEventModel
Production
Service
ProductionByTagAndTime_SubscriptionService
Production
Service
ProductModel_Main
Product
Service
ProductModel_Subscription
Product
Service
WasteByTagAndTime_AttributeRead
Waste
Service
WastebyTagAndTime_AttributeReadSubscription
Waste
Service
WasteByTagAndTime_AttributeReadToProcess
Waste
Subscription
DowntimeByTag_Subscription
Downtime
Subscription
JobOrderModel_Subscription
Job Order
Subscription
JobOrderProdEvent_Subscription
Job Order & Production
Subscription
Product_TagSubscription
Product
Subscription
ProductionbyTagAndTime_AttributeReadSubscription
Production
Subscription
ProductionByTagAndTime_Subscription
Production
Subscription
ProductsModel_Subscription
Product
Was this helpful?