Creating Code for Global Classes
- Updated2025-10-31
- 1 minute(s) read
-
Open the new class in PAconfigurator.
PAscript Editor opens. The name of the class is shown in the tab label. For each global class the class- endclass block and the constructor function is created automatically.
Figure 40. Predefined Code for Global Classes 
-
Create your code in the editor.
Note For local classes in PAscript, the class name must be defined directly next to the keyword class. However, global classes have already received the class name by assigning the group name in the PAconfigurator. For global classes, this class name can no longer be changed in PAscript Editor.Note Just like in libraries, global variables cannot be defined in global classes. A section globals code block is not allowed.