TIA Portal: Functions (and how to reuse them)