They are used In many industries to monitor and control production processes and building systems . once programmed the PLC will perform a sequence of events triggered by stimuli referred to as inputs . It receives these stimuli through delayed actions such as counted occurrences or time delay.