We will try to replace a Siemens PLC out of order ensuring the action of two hydraulic cylinders for a number of cycles requested, with the trio Raspberry Pi, the Piface card and code in Python.