Instructions
8035 Series User Manual
Programming using DOS routines
You can also generate a display output using the simple DOS routines.
Example:
MODE COMx: 9600, N, 8, 1
ECHO Hello! >COMx:
Control characters and special functions
For special display functions, there are some commands which will be
explained in this chapter. Some of the commands consist of one
ASCII-CTRL-code, others are command strings, introduced by ESC.
If a command needs additional parameters, please do not forget to use ASCII
format for the parameter. That means, if the parameter is 0 (zero), then you
have to transmit the ASCII code “0” (=CHR$(48) in Basic; 48 is the decimal
position of the “0” character in the ASCII code table). But please consider that
only ONE byte is allowed for each parameter. That is why you cannot transmit
two digit numbers. In this case, just add the number you want to transmit as
parameter 48 and transmit the corresponding character. For example, if you
want to transmit the parameter 11, you have to send
CHR$(11+48)=CHR$(59)=“;”. Attention: For some other commands, only
BYTE values are allowed as parameter. For those, you directly send the
corresponding character code without adding 48 (e.g. CHR$(11) for 11). For
details, please refer to the individual command code descriptions.
Example: Set the cursor to the last position in the display area
WRONG:
PRINT #1, CHR$(27)+“=”; :REM command ESC =
PRINT #1, 19;1 :REM parameter column 19, line 1
CORRECT:
PRINT #1, CHR$(27)+“=”;
PRINT #1, CHR$(48+19)+“1” :REM or CHR$(48+19)+CHR$(48+1)
Below is a list of command sequences for user to design an interface to the
8035 customer pole display.
Please note that pole display is default with 9600 bps baud rate, no parity, 8
data bits, 1 stop bit.
10