Autonomous Control Leveraging LLMs: An Agentic Framework for Next-Generation Industrial Automation