Pretrained LLMs as Real-Time Controllers for Robot Operated Serial Production Line