In this study thirteen different functions (VIs) are designed and tested .These include, single input single output, single input two outputs, latch outputs, timer, counter, logic function, less, greater and equal functions, XOR function, compound function and shift register. At the end of the study, for illustration purposes, the 7-day tea maker, electro-pneumatic drive system and their simulation were developed and tested. Results of experiment show complete coincidence between the PLC-based control and Virtual PLC-based program results.