PIC Software to simulate PLC