The contents of this thesis which based on the project of a remote control system which is used toaccomplish the process of production in a state war indistry corporation describe the research ofcommunication between computer and PLC. This system has been used to work in long-distancesuccessfully.Firstly,the development of control system and the background of this project is summarized and itsimportance and value in control field is explained.And then, the own viewpoint of software design andthought is put forward .The ways how to use the technology of COM of VC++ which realize thecommunicationwithPLCisemphasized.Secondly, aiming at MITSUBISHI PLCof FX2N,twokindsofcommunicationprograms havebroght forward which make use of agreement of the communication of specialcommunication-agreement and programming-port communication-agreement. The two kinds ofcommunication–programswhichhavebeenprovedbyexperiment aredoable.Atthesametime,basingontheActiveXtechnology,akindoffictitiousmeterandwarninglampwasempolderedwhichwasusedtoimprovethevisualeffect.Atlast,thethesissummeduptheworkdoneandputforwardproblematicpointstobeperfectedinthissysterm. |