Novel WINCC upper computer variable calling method
The invention aims to provide a novel WINCC upper computer variable calling method. The method comprises the following steps: establishing a public calling picture; establishing a public calling variable; mapping the single device to a common variable through a script; establishing a background Exce...
Gespeichert in:
Hauptverfasser: | , , , , |
---|---|
Format: | Patent |
Sprache: | chi ; eng |
Schlagworte: | |
Online-Zugang: | Volltext bestellen |
Tags: |
Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
|
Zusammenfassung: | The invention aims to provide a novel WINCC upper computer variable calling method. The method comprises the following steps: establishing a public calling picture; establishing a public calling variable; mapping the single device to a common variable through a script; establishing a background Excel, importing parameter variables, and when the variables are sequentially placed according to rows or columns, completing sequential reading of parameter names through macro definition or Vbs; circularly reading a background Excel through a program script For, when N rows of parameter names exist at present, assuming that the parameters are put into the first column of the Excel, completing an instruction through a For loop statement, and automatically completing processing of all the parameters by reading the number of the rows; and releasing the Excel through a Vbs script or releasing a memory in an Excel background application macro definition. According to the method, calling of repeated type process parameters |
---|