Move through the main menu with left/right arrows. When proper menu is chosen, press
underlined letter on the keyboard for that function. Functions are:
(left menu -> programs)    (middle menu -> communications)     (right menu -> system)
E - editor                 none of these functions will        D - directories
K - creator (decompiler)   be working if you don't have a      B - colors
L - listing (view listing) real TUF Co PLC                     K - exit
H - help                                                       other options in this
                                                               menu have to do with
                                                               communication

E Ladder diagram editor. Compiler and simulator are called from the editor.

K Ladder diagram creator. Editor creates SAV extension files. These files contain
diagrams. They are translated to COD (pseudo-code) files by compiler (within editor)
files. COD files can also be downloaded and uploaded from a real-life TUF Co PLC. If
you have a COD file, but don't have a diagram (SAV file), you can use creator
(decompiler) to draw you a diagram. Note: COD files are not assembler, just ladder
code.

L Listing. Compiling and decompiling procedures create files with extensions LST and
L$T, which can be viewed here. They contain ladder pseudo-code listing.

H Since you probably don't speak Serbian, you need to read this file instead.

D Change directory. If you have NCD.EXE (Norton Change Directory) in your path, it will
be called. This change of directory applies to saving and loading files.

B Change colors. Use arrow keys to pick an item, then plus/minus keys to adjust RGB
components, and when you're finished enter (saves) or esc (cancels changes). You'll
easily figure what each item's title means, since changes are instant.

K Exit. You can use esc key too, while in any of these 3 menus.

--------------------------------------------------------------------------------
EDITOR COMMANDS

1           draw a relay (at the cursor position)
shift+1     draw inverted relay
0           draw output relay
shift+0     draw inverted output relay
            NOTE: the above, except inverted output, may include timers
3           draw a flip-flop (holding relay); label is HRnn where nn is 2-digit octal no.
5           draw a counter; label is CTnn; you must enter a counter value below after
            entering nn
TAB
'
A
Home
End
H
B
Y
L
PgUp
PgDn        different connecting elements, as specified in full help (programs->help)
            and at the bottom of the editor screen
shift+TAB   draw a horizontal line to the end of row
SPACE       delete an element (at the cursor position)
shift+SPACE delete a row
arrow keys  move the cursor
shift+arrows
            go one page up or one page down (like PgUp/PgDn in an ordinary editor)
ENTER       place the cursor on the beginning of the next row
<-          cursor one position back (if at x=1, then x=12 & y=y-1)
INSERT      enter a label for that element (or value if element is timer or counter);
            label is 6-character string; for larger comments see text command
ctrl+F      find a string (either relay number or a label)
shift+ctrl+F
            find next (after first is found)
ctrl+INSERT insert an empty row; warning beep means diagram is full (max size=12x400, for
            larger diagrams see multipl# files)
ctrl+DELETE delete a row, and move the rest of diagram up
ctrl+F1     diagram top (like Home in an ordinary editor)
ctrl+F5     diagram bottom (like End in an ordinary editor)
ESC         exit to main menu - note: diagram is still there, and you can return to it
            later
ctrl+N      new (delete a whole diagram); you will be asked if you want to save (F4) if
            you didn't save since the last change
ctrl+C      copy current block to the 255-bytes clipboard; warning beep means it's too
            large
ctrl+V      paste a block; warning: diagram contents below cursor are erased; warning
            sound means you're too close to diagram bottom
C           compile; LST and COD files are created; if diagram is neither saved nor
            loaded, its name will be noname##; if compiling passes, press D or ENTER
            to see the listing, or N or ESC not to see it; if compiling fails, press 0
            or ESC to return the cursor to its regular position, or 1 or ENTER to place
            the cursor on the invalid block
F4          save; warning beep means either diagram is empty, or disk is full; you must
            enter filename; if you enter existing filename, you must confirm overwrite
            with F4; if you wish to save to existing filename, press F6, and you'll get
            a list of existing SAV files; choose one by up/down arrows and press ENTER
F8          load; warning beep means there are no SAV files in the current directory; if
            you want to enter the name instead of choosing it from the list, press F6
F2          simulation; warning beep means diagram is empty; while in simulation, you'll
            see relays which are ON in bright white, and relays which are OFF in gray,
            and you'll be able to move through the diagram using standard keys from
            the editor (up/down arrows, shift+up/down arrows, and ctrl+F1/ctrl+F5);
            first simulation screen will ask you what you want to do; choose from the
            following:
                F1    automatic passes, as fast as possible
                F4    automatic passes, cycle per 0.1 sec (if possible; most likely yes)
                F5    automatic passes, cycle per sec
                F8    specific number of cycles
                F9    cycle per press of SPACE key
                F12   define initial ON states (default: all relays OFF)
                      when you go there, enter full name of a relay (like 0001 and
                      not just 1) followed by ON or OFF, then press enter; you can
                      also set all relays by ALL ON (or reset by ALL OFF); you can't
                      set timers, counters and flip-flops
T           enter a large amount of text; you must free a whole row before pressing T;
            then you can type 3 lines of comments there
shift+C     create multipl# file; for more see multipl# section
ctrl+Q      instant quit (take care, there's no confirmation required)
F12         print; ordinary text printer is needed; it must be set to interpret
            characters 128-255 like graphic characters, not italics or something like
            that; diagram size is 78x66 characters

      NOTES:
      Diagram size is 12x400 elements. Maximum size of a block is 17 rows, or 18 (9 for
each half-block) for flip-flops and counters (double outputs).
      If you have a slow computer (you probably don't, but this was a cool feature on a
10MHz 286), you'll notice keyboard lock lights blink reporting pass over each block of
diagram while compiling is in progress.
      You are not allowed to draw lines back (see the drawing 1 by the end of help->1
section). You are not allowed to draw a "feedback" (but that has no meaning in ladder
logic anyway; see the drawing 2).
      One block must have one single input (connection to left vertical line) and one
single output! Inputs may not be connected with each other, and the same applies on
outputs! Take care about it, because some editors I've seen allow such things.
      The same row may not contain parts of different blocks (or semi-blocks, in case
of flip-flop and counter).

--------------------------------------------------------------------------------
CREATOR

Just enter filename of a file with COD extension. Warning: extremely complicated
blocks can't pass through creator (decompiler). If you see a message containing
"previse komplikovan" string (too complicated), that's it. In this case you'll be asked
how many empty lines you want inserted into the diagram on that position (and if you
want this to be automatic if there are more complicated blocks). You can draw too
complicated blocks later yourself, by examining L$T file which will be created (if
you don't have original LST file, since I assume you don't have TUF Co PLC to upload
a COD file).

      NOTES:
      Like while compiling, keyboard locks will blink.
      Original and decompiled SAV files will probably not be the same, but they are
guaranteed to perform the same logical function.
      If diagram can't fit 12x400 field, several SAV files will be created, and only
one L$T file, with filename MULTIPL#.

--------------------------------------------------------------------------------
VIEW LISTING

A primitive LST and L$T files editor. Choose a file from the current directory (you
can change the directory from the main menu, remember?), then view it using ordinary
keys: arrows up/down, PgUp/PgDn, and Home/End. ESC exits.

--------------------------------------------------------------------------------
MULTIPL# FILES

If you wish to make a COD file for diagram larger than 12x400 (actually our programs
were usually smaller than that and our EEPROM for storing them was usually 256-2K),
compile separate diagrams, and then use editor's shift+C command. Choose diagrams and
create one MULTIPL#.COD file, which can later be downloaded to TUF Co PLC as single
program. You can choose if you wish to create MULTIPL#.LST file or not. In case of
decompiler (creator) usage, L$T file will be one (MULTIPL#.L$T), and the first diagram
will have the filename you enter before decompiling, and the program will ask you to
enter names for diagrams which will represent other portions of the code.

--------------------------------------------------------------------------------
COMMUNICATION

I guess there's no need to translate this section.

--------------------------------------------------------------------------------
DOS PROMPT PARAMETERS

You can call PLC51.EXE with the following parameters (from DOS command line):

anyname
      go straight to the editor and load anyname.sav, if it exists

/EDIT
      go straight to the editor, but don't load any diagram

/FAST
      this is the one you've been looking for, to jump over the first two title screens
and fading in of the main screen

Warning: you can't combine the parameters.

================================================================================

NOTE: PLC51.ZIP package contains sample diagram file named RRS.SAV. It performs no
real function, it's just one of messy diagrams I used to test the compiler.

================================================================================

Well, that should be it. If you have any questions, drop me a line using the email
address from http://www.malovic.in.rs/mailto.htm