Programming The Second Character; Binary File Transfer - B&B Electronics 232SS2 Manual

Smart switch
Table of Contents

Advertisement

Programming the Second Character

The second character comes programmed as the ASCII STX
character (decimal 2). You can change this to any 8-bit character
you wish by reprogramming dipswitch "SW2". "SW2" is an eight-
position switch with each position equal to a certain weight. Refer to
"Setup" for instructions on removing the cover to access "SW2".
Table 4 shows the weight chart for "SW2".
Table 4.
*Factory Default -- ASCII "STX" character
(decimal 2), SW2 position 2 is only one ON.
If you wish to use the letter "U" as the second character, which
has a decimal value of 85, you would turn on switches 1, 3, 5, and 7
(1 + 4 + 16 + 64 = 85). Caution should be used when selecting the
second character, so that by itself, or with the ESC character in front
of it, it is not a valid command to any of the devices on the port. For
instance, on some printers ESC @ is the reset command. If you
tried to use the @ symbol (decimal 64) for the second character you
could reset your printer every time the preamble code was sent.
Note also that if your communication configuration is set for 7 data
bits you cannot use the eighth bit of SW2. For a list of the ASCII
character codes and their decimal values refer to Appendix A.

Binary File Transfer

A simple method of using the Smart Switch to transfer binary
files without the concern of it accidentally disconnecting, is to set the
file transfer at a baud rate different from the baud rate of the Smart
Switch. When transferring files at a different baud rate, the Smart
Switch will stay connected from the last preamble code.
232SS21600Manual
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
Programmable Character Setting
Dipswitch SW2*
1
2
3
4
5
6
7
8
WEIGHT
1
2
4
8
16
32
64
128
7

Advertisement

Table of Contents
loading

Table of Contents