This feature is included in RS Production OEE. To do automatic coding via OPC, you need
RS Production have the capability to automatically set both reason code and station code to explain why and where a stoppage happened on a production line.
Read more about this https://goodsolutionsrsp.atlassian.net/wiki/spaces/DEV/pages/484672347/Reason+codes%2C+categories+and+station+code
Measure on the bottle neck in the flow
Many times, it is enough to measure OEE and losses on the bottle neck in the line. Things can be a little bit more complex when the bottle neck is moving depending on the product mix.
Automatic station coding
Each OEE measure point have its timeline with uptime/downtime.