Provided is a signal and event processing, SEP, engine deployed on a target device of an industrial system, the SEP engine including subscriber nodes adapted to receive at least one of signal and event, SE, data streams from sources of the industrial system; processing nodes adapted to perform signal and event processing language, SEPL, functional operations on the received SE data streams according to an SEPL script of the SEP engine, wherein the SEPL script includes predefined stateful event or data pattern matching operations to generate result SE data streams; and publisher nodes adapted to forward the generated result SE data streams to sinks of the industrial system.