[Fileposition]
1=26


[1]
Syntax for Doc Commands - Defaults:
===================================
To set the representation:
  $LAD                         Ladder Diagram representation
  $CSF                         Control System Flowchart representation
  $STL                         Statement List representation

To set directories for commands without directory information:
  $CATALOG:C:\DATEN            Set directory starting from root
  $CATALOG:C:TEST              Set directory starting at last 
                                 $CATALOG command

To set the program file:
  $PROG:C:\DATEN\NNNNNNST.S5D  Full syntax
  $PROG:C:\DATEN\NNNNNN        Short form
  $PROG:C:NNNNNNST.S5D         Directory from $CATALOG or project
  $PROG:C:NNNNNN               Short form, directory from $CATALOG 
                                 or project

To set output without symbols:
  $SYMB:NO                     No output of symbolic operands

To set the symbols file:
  $SYMB:C:\DATEN\NNNNNNZ0.INI  Full syntax
  $SYMB:C:\DATEN\NNNNNN        Short form
  $SYMB:C:NNNNNNZ0.INI         Directory from $CATALOG or project
  $SYMB:C:NNNNNN               Short form, directory from $CATALOG 
                                 or project

To set the footer.
  $FOOT:C:\DATEN\NNNNNNF2.INI  Full syntax
  $FOOT:C:\DATEN\NNNNNN        Short form
  $FOOT:C:NNNNNNF2.INI         Directory from $CATALOG or project
  $FOOT:C:NNNNNN               Short form, directory from $CATALOG 
                                 or project

To set the printer:
  $PRFI:C:\DATEN\NNNNNNDR.INI  Full syntax
  $PRFI:C:\DATEN\NNNNNN        Short form
  $PRFI:C:NNNNNNDR.INI         Directory from S5_HOME or 
                                 S5_SYS\DR_INI
  $PRFI:C:NNNNNN               Short form, directory from S5_HOME 
                                 or S5_SYS\DR_INI

To set the start of page numbering:
  $PAGE:nnnn                  

To set output to printer:
  $PLST:NO

To set output to file:
  $PLST:C:\DATEN\NNNNNNLS.INI  Full syntax
  $PLST:C:\DATEN\NNNNNN        Short form
  $PLST:C:NNNNNNLS.INI         Directory from $CATALOG or project
  $PLST:C:NNNNNN               Short form, directory from $CATALOG 
                                 or project

To set the character set:
  $CHARSET:ASCII               Output in ASCII character set
  $CHARSET:CHA.GRAPHICS        Output in IBM character set

To initialize directory:
  $DIR                         Set up the contents directory

To interrupt execution:
  $PAUSE:COMMENT             

To set the doc block assignment for the -BLOCK command:
  $DOCMOD:STANDARD             Use doc blocks #... only
  $DOCMOD:EXTENDED             Use doc blocks %... only
  $DOCMOD:STDBEFEXT            Use doc blocks #... first, 
                               if not found then use 
                               doc blocks %... 
  $DOCMOD:EXTBEFSTD            Use doc blocks %... first, 
                               if not found then use 
                               doc blocks #...

Syntax of the Doc Commands - Instructions:
==========================================
To output all blocks:
  -BLOCK:A                     Including documentation files

To output all blocks of one type:
  -BLOCK:#                     Documentation files
  -BLOCK:%                     Extended documentation files
  -BLOCK:OB                    Organization blocks
  -BLOCK:PB                    Program blocks
  -BLOCK:FB                    Function blocks
  -BLOCK:FX                    Extended function blocks
  -BLOCK:SB                    Sequence blocks
  -BLOCK:DB                    Data blocks
  -BLOCK:DX                    Extended data blocks
  -BLOCK:VB                    Variables blocks

To output a single block:
  -BLOCK:PB15                  Output program block 15
  -BLOCK:#PLANT                Output documentation file #PLANT

To output a segment of a block:
  -BLOCK:PB15,7                Output segment 7 of PB 15

To output a range of segments of a block:
  -BLOCK:PB15,7-11             Output segments 7 to 11 of PB 15

To output blocks with options:
  -BLOCK(R):PB15               Output PB 15 with cross-references
  -BLOCK(O):PB15               Output PB 15 with optional layout
                                 in CSF

To combine output of various blocks:
  -BLOCK:PB15,7,DB20           Output SEG 7 of PB 15 and DB 20

To output DB1 screens:
  -DB1SCREEN:DX3               Output DB1 screen of block DX3 

To output a block list:
  -BLST                        Output the list of all blocks
  -BLST:A                      Output the list of all blocks
  -BLST:PB                     Output the list of all PBs
  -BLST:PB,OB                  Output the list of all PBs and OBs

To invoke doc commands:
  -DOCCOMM:C:\TE\NNNNNNNSU.INI Full syntax
  -DOCCOMM:C:\TE\NNNNNNN       Short form
  -DOCCOMM:C:NNNNNNNSU.INI     Directory from $CATALOG or project
  -DOCCOMM:C:NNNNNNN           Short form, directory from $CATALOG 
                                    or project

To output the contents:
  -CONTENT
  -CONTENT:nn                  Output with page number nn

To output checklists:
  -CHECKLIST/FO                List of missing operands
  -CHECKLIST/SA                List of missing symbols

To output the program structure:
  -XRF:PROGRAM                 Program structure starting at OB 1
  -XRF:PROGRAM,(PB3)           Program structure starting at PB 3
  -XRF:PROGRAM,(OB)            Program structure of all OBs
  -XRF:PROGRAM,(A)             Program structure of all blocks
  -XRF(D):PROGRAM,(PB3)        Program structure starting at PB 3 
                                 with data blocks
  -XRF(C):PROGRAM,(PB)         Program structure of all PBs 
                                 in compact format
  -XRF:PROGRAM,(PB3,PB6)       Program structure starting at PB 3 
                                 and starting at PB 6
  
To create a cross-reference list:
  -XRF:GENERATE

To output all operands:
  -XRF:PRINTOUT,(X)            All operands

To output all operands of one type:
  -XRF:PRINTOUT,(I)            Inputs
  -XRF:PRINTOUT,(Q)            Outputs
  -XRF:PRINTOUT,(F)            Flags
  -XRF:PRINTOUT,(S)            Extended flags
  -XRF:PRINTOUT,(T)            Timers
  -XRF:PRINTOUT,(C)            Counters
  -XRF:PRINTOUT,(B)            Blocks
  -XRF:PRINTOUT,(P)            I/Os
  -XRF:PRINTOUT,(D)            Data

To output a single operand:
  -XRF:PRINTOUT,(I2.5)         Absolute
  -XRF:PRINTOUT,(-button)      Symbolic

To output operands with options:
  -XRF(C):PRINTOUT,(I)         Inputs in compact format
  -XRF(O):PRINTOUT,(I)         Inputs in optional format

To output the I/Q/F list:
  -XRF:IQF                     I/Q/F list of inputs, outputs 
                                 and flags
  -XRF:IQF S-FLAG              I/Q/F list of the extended flags

To output the assignment list:
  -SYMF:SEQ                    Unsorted output
  -SYMF:SYM                    Sorted according to symbols
  -SYMF:ABS                    Sorted according to operands
  -SYMF(O):SEQ                 Unsorted, single column

To output the current project settings:
  -PROJ:

To output the project settings from a file:
  -PROJ:C:\TEST\NNNNNNPX.INI     Full syntax
  -PROJ:C:\TEST\NNNNNN           Short form
  -PROJ:C:NNNNNNPX.INI           Directory from $CATALOG or project
  -PROJ:C:NNNNNN                 Short form, directory from $CATALOG 
                                   or project

To output a bus path:
  -PATH:C:\TE\NNNNNNAP.INI,NAME  Full syntax
  -PATH:C:\TE\NNNNNN,NAME        Short form
  -PATH:NNNNNNAP.INI,NAME        Directory from S5_HOME 
                                   or S5_SYS\AP_INI
  -PATH:NNNNNN,NAME              Short form, directory from S5_HOME 
                                   or S5_SYS\AP_INI
To output all bus paths:
  -PATH:C:\TE\NNNNNNAP.INI       Full syntax
  -PATH:C:\TE\NNNNNN             Short form
  -PATH:NNNNNNAP.INI             Directory from S5_HOME 
                                   or S5_SYS\AP_INI
  -PATH:NNNNNN                   Short form, directory from S5_HOME 
                                   or S5_SYS\AP_INI

Options for bus path output:
  -PATH(D):C:\TE\NNNNNNAP.INI    Additional output of files
                                   for the bus path

To output the list of existing bus paths:
  -PATHLIST:C:\TE\NNNNNNAP.INI   Full syntax
  -PATHLIST:C:\TE\NNNNNN         Short form
  -PATHLIST:NNNNNNAP.INI         Directory from S5_HOME 
                                   or S5_SYS\AP_INI
  -PATHLIST:NNNNNN               Short form, directory from S5_HOME 
                                   or S5_SYS\AP_INI

To output any text files including the current footer:
  -PRINT:C:\DATEN\XXX.YYY        Full syntax
  -PRINT:C:XXX.YYY               Directory from $CATALOG

To output any text files unchanged:
  -PRINT(O):C:\DATEN\XXX.YYY     Full syntax
  -PRINT(O):C:XXX.YYY            Directory from $CATALOG


To output an STL file:
  -STLDAT:C:\DATEN\NNNNNNA0.SEQ  Full syntax
  -STLDAT:C:\DATEN\NNNNNN        Short form
  -STLDAT:C:NNNNNNA0.SEQ         Directory from $CATALOG or project
  -STLDAT:C:NNNNNN               Short form, directory from 
                                   $CATALOG or project

Note:
Refer to the manual for explanations of the structure and use of 
doc commands.

