PLC Block Machine