What makes you think the PLC is toast? Do you have the wiring diagrams for this job?