<< Click to Display Table of Contents >> Navigation: »No topics above this level« Preparing the Structured Text program |
mapp Services V5.16
The next step is to create a Structured Text program, which should be started at runtime afterwards.
A Structured Text program is created using program commands. In this simple example, a variable was declared and assigned a value.
VAR
handle : UDINT;
END_VAR
PROGRAM _MAIN
handle := 15;
END_PROGRAM
The program is saved in file "MyProgram.st" and stored on the previously defined storage medium.