101019
OPERATIONS MANUAL PPM-LX800-G
37
Besides being useful for accessing the CMOS setup menu, the serial console can be used
effectively with non-graphical DOS applications or for command prompt access. The serial
console can also be used in conjunction with the SCOPY.EXE utility to provide the ability to
serially upload or download files from the PPM-LX800-G to the client PC and vice versa.
To use SCOPY, or any other DOS program, it must already be present on a disk currently
accessible to the PPM-LX800-G. SCOPY is invoked at the DOS command prompt on the PPM-
LX800-G with the command :
scopy [ com1 | com2 ] [-rq | -sq] file name [-bbaud_rate]
[com1 | com2]
is the COM port in use. This should match the COM port used by the
PPMLX800-G for serial console operations.
[-rq | -sq]
is the direction flag. -rq will cause the PPM-LX800-G to receive a file. -sq will
cause the PPM-LX800-G to send a file.
file name
is the name of the file to be sent or received.
Copy File using the Serial Console
File Upload
To send a file called APP.EXE from a WINCOM client PC to the PPM-LX800-G, run SCOPY on
the PPM-LX800-G from WINCOM. Assuming the serial connection is using COM2 on the PPM-
LX800-G at a baud rate of 115200, a file upload would be initiated with following command:
scopy com2 -rq app.exe -b115200
Once SCOPY has been started on the PPM-LX800-G in receive mode, WINCOM must be told to
send the file. To start the upload, press <ALT><PgUp> on the WINCOM client keyboard and
WINCOM will present the following prompt:
File to upload :
Type the name of the file to be sent and press
<ENTER>
. If no file path is provided, the
file must exist in the current directory on the WINCOM client PC. Otherwise, a path must be
specified.
When a transfer starts, WINCOM will display the progress of the transfer as the number of
records processed, similar to the statement below:
Sending Record Number 000040
When the file transfer is completed successfully, WINCOM reports:
wincom : File transfer complete
SCOPY also reports the result of the transfer:
scopy : File transfer complete
If there is a problem, either WINCOM or SCOPY will report that an error has occurred.