Abstract: A method of generating events based on automation system data in an intelligent programmable logic controller includes the intelligent programmable logic controller collecting automation system data and applying a context model to the automation system data to create contextualized data. The intelligent programmable logic controller generates one or more events based on the contextualized data.