Here’s an example of a simple ST program:
Here’s an example of declaring an array:
VAR MyArray: ARRAY[1..10] OF INT; END_VAR This program declares an array called MyArray with 10 elements, each of type INT . The PSS Win-Pro programming languages support functions, which can be used to encapsulate complex logic and reuse it throughout a program. Functions can be declared using the FUNCTION keyword.