From the displayed patterns can be seen that the relays connected to the RB ports on the microcontroller and the RB3 – RB6. Over MAX232 interface circuit is connected to the serial port of your PC. Command is done the program done in Visual Basic in the PC. Led6 uses LEDs for indication of incorrectly received signal from the PC (triple blink).
Source: Milan Milovanovic