6530 Programmer's Guide
Block Mode Operation
3-82
6530 Programmer’s Guide
data
is the data read from the device when a read operation is
specified. 0nly 255 bytes of text data can be returned at one time. To
perform sequential read operations, your application should
continue issuing the Esc } sequence until 0 bytes are returned in
data.
terminator
comprises the control characters ETX (03H) and
LRC (Longitudinal Redundancy Check) in block mode.
See the programmer’s guide for your operating system for more
information on performing I/O on a device driver.
Load and Execute an Operating System Program (Esc - V)
The Esc - V sequence allows your application to start an MS-DOS
program from the 6530. The user must set the EXEC function parameter
to ON to allow this escape sequence. The escape sequence has the
following format:
Esc - V
filename
[
parameters
] -
terminator
where:
filename
is the file name of the operating system program to be
started. Only the file name (with the .exe or .com extension) should
be specified - not the path. This means the user must have the path
set correctly for the program file.
parameters
specify the command line parameters (if any)
required by the program to be started.
This escape sequence is equivalent to the operating system execute
process function. Refer to the programmer’s guide for your operating
system for more information.
Note The Esc - V sequence causes the 6530 to suspend
communications with the host system until the process has
completed.