Model construction and code generation method oriented to industrial control network protocol
An industrial control network, code generation technology, applied in the direction of comprehensive factory control, model-driven code, creation/generation of source code, etc., can solve problems such as lack of flexibility, errors, inconvenient analysis, etc., to achieve easy discovery and ease of work. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0039] like figure 1 As shown, this embodiment provides a model construction and code generation method oriented to an industrial control network protocol. The detailed implementation steps are as follows:
[0040] S1, obtain and analyze the communication specification of at least one industrial control network protocol, extract the communication process of the protocol, and divide the information in the process into states, trigger events and execution tasks;
[0041] S2, the state is divided into a regular state, an emergency state, an execution state, a loop state or a parallel state according to the specific content; the trigger event is divided into a regular event, an emergency event, an interrupt event or a mandatory event; the event type Fill in the name of the model and the trigger event on the left side of the model, and fill in the state type and state name on the upper side of the model; the execution task is filled in the middle of the model according to the conte...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 

