PGM SITEMAP
Jump to navigation
Jump to search
Related Links: General Controller, Model Procedures, Example PGM Files, Frequently Asked Questions, Notepad++ Auto-complete Functions and Keywords
PGM LANGUAGE | |
Introduction | The built in programing language referred to as a PGM (Programmable Module) is often used to extend the functionality of SysCAD models. It is used by the General Controller Model and can be edited with any text editor, however NotePad++ with colour syntax hi-lighting is recommended. The PGM syntax is similar to other programing languages like VB. |
Declaring and Managing Variables | |
Data Types |
|
Variable Status |
|
Labels |
|
PGM Programming and Conventions | |
PGM Syntax |
|
Predefined Variables |
|
Operators | |
Trigger Subroutines | |
Keywords & Functions | |
SysCAD Tag Functions |
|
Defining a Function |
|
Defining a Subroutine |
|
Predefined Functions |
|
Maths Functions |
|
String Functions |
|
Classes | |
Defining a Class | Syntax: Class, Endclass |
Species Database Class | This class gives access to information about species and phases within a project. For example, users can obtain species Density, Saturated Temperature or Pressure, number of solid species in a project, etc. |
Particle Size Definition Class | This class gives access to information about the Particle Size Definition (PSD) within a project. For example, users can find the number of Size Intervals in a PSD, the Top and bottom Size, etc. |
Predefined Classes | |
OTHERS | |
Examples | |
Frequently Asked Questions | Some frequently asked questions and answers. |
PGM Error Codes | This gives some explanation for the error codes used by SysCAD when reporting problems with PGM file syntax. |