PLC automatic shoelace tipping machine