This paper presents the use of optical device system for OOK (On-Off Keying) generation. The system consists of a MZI (Mach-Zhender Interferometer) incorporated with NRR (Non-linear Ring Resonator) to generate and communicate in optical communication. The performance of the system is calculated in terms of bit error rate (BER). In simulation, a given Gaussian pulse is input into one arm of MZI, which one part of the input power is coupled into one arm which is connected to the series microring resonators, the other is formed the reference arm. The resonant output signals are obtained by the MZI output port, whereas the alternative switching signals can be seen. The resonant output is propagated into the optical system in the transmission line. By using the practical parameters, the link performance can be calculated which can be used to analyzed system performance.