Download Logicmaster 90-70 Programming Software User's Manual, GFK

Transcript
2
Using a Teach File to Run Software from an MS-DOS Batch File
Logicmaster 90-70 software may be run using a teach file, which contains keystrokes
previously taught while entering the Logicmaster 90-70 programming or configuration
software packages. This feature allows LM90 to be invoked from an MS-DOS batch file,
to play back keystrokes to perform desired function(s), and to return to the batch file to
execute the next command. This can be helpful when executing multiple print requests.
The keystroke macro is stored as the text file <filename>.tch. The file name must
identify either the programming or configuration software package. For example,
prg9070.tch could be used as the file name for the programming software, and
cfg9070.tch, for the configurator software. The file extension must be .tch.
To begin the keystroke macro, enter the executable path, at the MS-DOS prompt, which
corresponds to the version of software installed on your computer:
Software Version
WSIprogrammer
WSI configurator
Standardserialcommunicationsprogrammer
Standard serial communications configurator
Executable Path
c:\lm90\p70\prg9070
c:\lm90\c70\cfg9070
c:\lm90\p70s\prg9070
c:\lm90\c70s\cfg9070
Enter the name of the text file for this macro (e.g., prg9070.tch) and the letter t after the
path. The t indicates TEACH mode. For example, to begin recording keystrokes to a
text file named prg9070.tch, enter:
c:\lm90\p70\prg9070 prg9070.tch t
To end the teach sequence, press ALT-Q or CTRL-Break to end the teach sequence and
exit the software.
To play back the keystroke macro, enter the path and teach file name, followed by the
letter p for PLAYBACK mode. For example, to play back a macro for the programming
software, enter:
c:\lm90\p70\prg9070 prg9070.tch p or c:\lm90\p70\prg9070 p
To initialize the communications driver for the standard COM port version of
Logicmaster 90 software, the batch file must contain the line: c:\lm90wsil70 i
before the command to create or play back the teach file. The line: c:\lm90\wsil70 r
must be added after the command to create or playback the teach file in order to remove
the communications driver. For example:
c:\lm90\wsil70 i
c:\lm90\p70s\prg9070 p
c:\lm90\wsil70 r
2-24
Logicmaster
t 90-70Programming Software User’s Manual – June 1998
GFK-0263G