Model View Control – Design Pattern

The Model-View-Control (MVC) approach has become a popular design pattern.
In the MVC pattern, the system is first modeled and visualized, then the controller is developed and tested, and later the model of the plant is substituted by interfaces to the real plant. The models of the plant describe the uncontrolled, physical behavior of the objects. These models can be executed in parallel to the process at the engineering and simulation station and provide extra defined visualization FB’s with information concerning position of a module and, e.g., its end positions. The result of this procedure delivers a visualization output.

a. Steps:

  • Development of Models of the plant (continuous/discrete) and of the controller
  • Build a sound visualization
  • Build a Human Machine Interface
  • Simulate the System

b. Results:

  • Model of the System (uncontrolled Dynamics, Structure, Interface)
  • System is controlled (Control, HMI, Visualization)
  • Simulation runs on PC
  • Model is then to be substituted with Service Interface Function Blocks