Plc Programming Create Function In Python