A Method of Implementing Interaction Between Different Layers of NC-Link Protocol Based on State Machine
With the development of the new generation of intelligent manufacturing industrial systems,the requirements for real-time and accurate data interconnection between industrial systems become higher and higher.Compared to the OPC UA,MTConnect communication protocols,the NC-Link protocol has a stable machine tool model and supports millisecond level data sampling.However,the communication protocol of NC-Link still has the problems of low acquisition efficiency,imperfect structure and inconsistent format.In view of this,the research on the method of each layer interaction in the NC-Link protocol was conducted,a finite state transition mechanism was introduced,and combining with a device structure tree model,a method was proposed based on state machines to achieve each layer interaction in the NC-Link protocol.In order to verify the effectiveness of the proposed method,the pressure and flow sensors were used to simulate machine tool data and an experimental environment was set up.The experimental results show that the pro-posed method can effectively implement the process of data uplink and downlink interaction process in NC-Link protocol.
NC-Link protocolfinite state transition mechanismdevice structure tree modellayer interaction