Programs
IntroductionA program is defined in IEC 61131-1 as a “logical assembly of all the programming language elements and constructs necessary for the intended signal processing required for the control of a machine or process by a programmable controller system”.Declaration SyntaxThe declaration of a program must be performed as follows:PROGRAM < program name>Declaration of variables (see the relevant section)Program bodyEND_PROGRAM
Writing Programs in GF_ProjectVX CodeWhatever the PLC language you are using, GF_ProjectVX code allows you to disregard the syntax above, as it supplies a friendly interface for writing programs.
Keyword | Description |
Program Name | Name of the program being declared. |
Program body | Specifies the operations to be performed to get the intended signal processing. It can be written in any of the languages supported by GF_ProjectVX code. |