Source: https://www.technologuepro.com/cours-automatismes-industriels/chapitre-1-les-automates-programmables-industriels.pdf