SMS: Programmable logic controllers