It is possible to reduce the costs of railway point machines by using the method of transmitting and receiving data using wireless communication to monitor and control the railway point machine. This research paper examines a method of secure data encoding for secure wireless transmission of data for railway point machine control and control. Data coding for wireless monitor and control of railway point machines was mathematically modeled using a cyclic code. This is further enhanced by wireless monitor and control of railway point machines based on self-diagnosis of cyclic codes in data transmission and reception.