Writing in insert/overwrite mode

Text can be entered in insert or overwrite modes

  • Insert mode

    The characters entered are inserted in the current position of the insert marker in addition to the existing characters.

  • Overwrite mode

    The characters entered are inserted in the current position of the insert marker and overwrite the existing characters.

Switching between the modes is done using the Insert key.

The current mode is displayed by INS for insert mode and OVR for overwrite mode.

Creating an ST program

Carry out the following procedures to create an ST program:

Step

Action

1

Creating an ST section.

2

Enter the first instruction (e.g. VarA := VarB).

Note: As soon as the text is entered several checks are made, such as syntax/semantic error checks, correct spelling of keywords and variable names etc. A detailed description of syntax is found in chapter Structured Text in the Reference manual.

The results of the checks are indicated by a color folder, see also Syntax and Semantics Check during Programming.

3

Terminate the instruction with the closing operator (;).

4

Confirm the line with the ENTER key.

5

Repeat these steps until all instructions are entered.

Example: