[Fileposition]
0=133
1=6489
2=7414
3=8210
4=8682
5=9378
6=10182
7=10475
8=11033
9=11215
10=11562
11=11836
12=11961


[0]

Main Menu:
----------

Shift F1 Text 1   : Insert text 1 (programmable function key)

      F1 Mark     : Submenu
                    Mark line, text, field or function keys
                    Copy the field to file

Shift F2 Text 2   : Insert text 2 (programmable function key)

      F2 Paste    : Submenu
                    Paste selected line, text, field or
                    paste file or block from file

Shift F3 Text 3   : Insert text 3 (programmable function key) 

      F3 Cut      : Submenu
                    Cut line or field

Shift F4 Text 4   : Insert text 4 (programmable function key)

      F4 Find     : Submenu
                    Find line, text, operand, start and end

Shift F5 Mode     : Switch over between insert and overwrite 
                    mode

      F5 Replace  : Submenu
                    Replace text with or without confirmation 
                    or in entire file

Shift F6 Page fwd : Move one page down

      F6 Enter    : Save the STL SEQ file if this was modified
                    and compile into the intermediate file. If the
                    compilation was error-free, you exit the editor.
                    * If there is one or more errors in the 
                    compilation, the editor remains open. You can
                    open the error file with "Mark"-"Err file".

Shift F7 Page back: Move one page up

      F7 Save     : Save the STL SEQ file without exiting the 
                    editor. You can also change the file name

Shift F8 Help     : This help text

      F8 Cancel   : Exit the editor


Possible control characters:
----------------------------
  
At the start of the "command" field:

#TY               : PLC TYPE (language subset), e.g. #TY AG155U
                    
Note: The specified language subset '#TY ....' must match 
      PLC type selected for the compilation when compiling
      SEQ to MC5.
  

#I <name>         = include file, e.g. #I INC@@@ (intermediate file)
or
#I <dr>:<name>    = include file, e.g. #I INC@@@ (intermediate file)
  

#(followed by block type    
 and block number)                     = Block start,   
                    e.g. #PB 1
                         #OB 1
                         #FB 1
            
                         ##ANNA (doc blocks)   
                         #%COMM (extended doc blocks)
                         
                         (# or % followed by max. 8 chars.)

  
#BI (followed by max 5 digits)         = Library number   
              e.g. #BI 12345
  
#UB (text in statement comment field)  = Segment title       
  
#N (followed by blank and up to 
    8 characters)                      = Name for function blocks    

ACTPAR                                 = Actual parameter

(FORMPAR)                              = Formal parameter

***                                    = Segment end 



At the start of the "ADR." field:

*   = Segment comment (only directly at start of segment)

;   = Additional comment (is not compiled into the ST.S5D file)    

%   = Included sequential file (A0.SEQ)
      (% followed by drive, full path and name 
       of an A0.SEQ file) 
      
      e.g. %C:\USER\FURNACE\ROTATA0.SEQ
       
      The maximum include depth is 3 !
     

Note: These characters ("*", ";", "%") can only be deleted
      by deleting the line or field.
     

     
Order of Doc Commands:
----------------------

Only at start of file: #TY
Only between block end (BE) and start of next block: #I

Start of block, e.g. #FB 1
Name (for function blocks), e.g. #N FBNAME

Library number, #BI 12345
(maximum 5 digits)
  
Formal parameter (for function blocks), e.g. (IB)

The parameter name must be specified in the "ADR." field
segment title, #UB

Segment title is also permitted directly after ''***'' (SEG END)

The following blocks must be completed by BE:
PB, FB, FX, OB, SB

DB, DX and comment blocks are not completed with BE but by 
either the end of the file or the start of a new block.


  Example:
  --------

  ADR. Command     Operand Symbol    Statement Comment
       #FB 1       sym_fb1
       #N NAME
       #BI 12345
  OFF  (T )
  ON   (Q )
  PARA (KF)
       ...         ...
       BE

       #FB 2
       #N NAME2
       #BI 223
       ...
       JU FB 1                       <= List parameters preceded
       ,T  2                            by comma
       ,Q  2.2
       ,KF         +0
       ...
       BE


  Note:
  =====
  With data constants such as KY, KM, KS, CH, the
  data must be entered in the "Operand Symbol" field.
  The data for KS and CH must be in quotes ' '.
  
  Caution:
  The data constant "C" in STL Batch must be replaced by
  data constant "CH".
  
  Example:
  --------

  ADR. Command   Operand Symbol     Statement Comment
       #DB 1
       KH        456F
       KM        00000000 00000000
       KS        'xxxxxxxxxxxxxxx'
       CH        'xxxxxxxxxxxxxxx'



  Possible entries for #TY 
  
  PLC Type:    Processor:       Language Subset Code:
  ---------------------------------------------------
  S5 90           -                   AG90  
  S5 95           -                   AG95  
  S5 100U      CPU 100                CPU100
               CPU 102                CPU102
               CPU 103                CPU103
  S5 101U         -                   AG101U
  S5 110S         -                   AG110S
  S5 115U      CPU 941                CPU941
               CPU 942                CPU942
               CPU 943                CPU943
               CPU 944                CPU944
               CPU 945                CPU945
  S5 130WB        -                   AG130W
  S5 135U      CPU 921 S-proc.        CPU921
               CPU 922 R-proc.        CPU922
               CPU 928                CPU928
               CPU 928B               CPU928B
  S5 135W         -                   AG135W
  S5 135WB        -                   AG135B
  S5 150A/K       -                   AG150A
  S5 150S/U       -                   AG150U
  S5 155U      CPU 946, 947           AG155U
               CPU 948                CPU948
  I/O-proc.    IP 257                 IP257 

[1]                                          

Shift F1 Err File : Display the error file if it exists for the 
                    selected STL source file         

      F1 Line     : Select the line in which the cursor is  
                    currently located

      F2 Text     : Select a text that can be entered

      F3 Field Sta: Start of a field to be selected  
                    (from cursor line)

      F4 Field End: End of a field to be selected (up to cursor line)
                    (max. 500 lines possible)

      F5 File     : Save the selected or deleted field in a 
                    file

Shift F6 Page Fwd : Move one page down

      F6 Fct Keys : Program user-defined function keys

Shift F7 Page Back: Move one page up

Shift F8 Help     : This help text
      
      F8 Return   : Return to the edit mode
      
      NUMERIC KEY : Enter a repetition factor

[2]

      F1 Line     : Insert the marked line before the  
                    cursor LINE 

      F2 Text     : Insert the marked text before the  
                    cursor POSITION

      F3 Field    : Insert the marked field before the 
                    Cursor LINE 

      F5 File     : Insert a file before the cursor line

Shift F6 Page Fwd : Move one page down

      F6 Block    : Insert a block from a selectable *A0.SEQ file
                    before the cursor line   

Shift F7 Page Back: Move one page up

      F7 S5D Blk  : Insert a block from a selectable *ST.S5D file
                    before the cursor line

Shift F8 Help     : This help text

      F8 Return   : Return to the edit mode

      NUMERIC KEY : Enter a repetition factor


[3]

      F1 Line     : Delete the line in which the cursor is located

      F3 Field Sta: Start of the field to be deleted (cursor line)

      F4 Field End: End of the field to be deleted (cursor line)

Shift F6 Page Fwd : Move one page down

Shift F7 Page Back: Move one page up

Shift F8 Help     : This help text

      F8 Return   : Return to the edit mode

      NUMERIC KEY : Enter a repetition factor (1 - 999)
                    default 1

[4]

      F1 Text+    : Find a text (down)

      F2 Text-    : Find a text (up)

      F5 Line     : Find a line (with the specified number

Shift F6 Page Fwd : Move one page down

      F6 To Start : Find the start of the assignment list

Shift F7 Page Back: Move one page up

      F7 End      : Find the end of the assignment list

Shift F8 Help     : This help text

      F8 Return   : Return to the edit mode

      NUMERIC KEY : Enter a repetition factor (1 - 999)
                    default 1
                    The repetition factor applies only to
                    the text search

      Note        : Texts entered for a search are case-sensitive!


[5]

      F1 Conf     : Replace text (x times) with new text and
                    prompt for confirmation

      F2 No Conf  : Replace text (x times) with new text without
                    prompting for confirmation

      F4 All      : Replace text (in entire file) with new text
                    without prompting form confirmation

Shift F6 Page Fwd : Move one page down

Shift F7 Page Back: Move one page up

Shift F8 Help     : This help text

      F8 Return   : Return to the edit mode

      NUMERIC KEY : Enter a repetition factor (1 - 999)
                    default 1
                    The repetition factor applies only to
                    replacing text with/witjout confirmation

      Note        : Texts entered for a search are case-sensitive!

[6]
   
   To select a file name
   ---------------------
   
   Direct entry in the input line or
   
      F3 Select    : File list box

      F7 Enter     : Enter the selected file name

Shift F8 Help      : This help text

      F8 Return    : Return to function selection

[7]

   To specify a block
   ------------------
   
   Single blocks    : OB<number>                 
                      
                      PB<number>                 
                      
                      SB<number> 
                      
                      FB<number> FX<number> 
                      
                      DB<number> DX<number>

   Note:
   -----
   OBs with numbers 1 to 39
   All other block types from 0 tos 255
   
   Remember: No doc blocks (e.g. #FBDO.019)
             can be specified!

[8]

   To mark a text
   --------------

   Enter texts and digits (maximum 40 characters)
   The texts are case-sensitive

   The text can be pasted with Paste / Text


[9]

   To mark programming keys
   ------------------------

   Enter texts and digits (maximum 40 characters)
   The texts are case-sensitive 

   The text can be pasted using Shift F1 to Shift F4 in 
   the editor.

   These texts are marked for the corresponding STl source files
   and reloaded each time the files are edited.

[10]

   To replace a text
   -----------------

   The editing field is exactly 20 characters long, the text to be 
   replaced must match the existing text exactly: 
        
    Texts are case-sensitive and the number of blanks between 
    texts must match!

[11]

   To specify the line number
   --------------------------

   Type in the line number (maximum 6 digits)



[12]
   
   To specify a text for a search
   ------------------------------

   The editing box is exactly 20 characters long, the text to 
   be found must match the existing text exactly: 
        
     Texts are case-sensitive and the number of blanks between 
     texts must also match.

   The repetition factor decides how often the text is 
   searched for.

