Introduced and studied of the programming port communication agreement of Mitsubishi FX2N PLC,to implement the serial communication between industry PC and PLC and satisfy Host computer data supervisory needs.
The character of the LPC2214 is analyzed, the hardware interface circuit is designed, the communication agreement is provided and finally the communication soft design of the PC and the programme achieving to the LPC2214 are achieved.
At first,has designed a data format in transfering,which can transfer data more than 8 bytes based on CAN specification 2.0A and makes up for the shortage of CAN protocol of application layer based on the data structure,and has established the reliable receiving and dispatching mechanism,the management mechanism and the error processing mechanism and so on,which maintains the protocol work smoothly and attains the convenient and prompt transmission through CAN bus.
A novel method based on Petri nets for modeling GPIB high-speed data transfer protocol is proposed. Dynamic properties of the protocol have been analyzed with the reachability tree, and the protocol has been proved reliable and reasonable.