Open PLC Development has a strong adaptability and flexibility. In consideration of the requirement of users of the computerized numerical control system and to drop of difference of the usage, the PLC software can be flex-designed. First, the global structure is devised. Second, intensive study of the concrete method of every module of the PLC software is implemented. Finally, an example is shown to illustrate the correctness of the system.