To turn any selected port off, the first and second character of the command control string must be the
Example 2: To turn off all ports, with ASCII STX (decimal 2) set as the user defined character.
Send to the Master Port: STX STX EOT (2 2 4 decimal)
It is recommended that the
If you were writing a program in GWBASIC to select port E of the 232D4SS8 (address zero) you would form a string like this:
SW0E$ = CHR$(2) + "0" + "E"
You could then send SW0E$ to select port E. Similar strings could be used for turning on the other ports. To turn off the ports the string might look like this:
TOFF$ = CHR$(2) + CHR$(2) + CHR$(4)
NOTE: There is no delay through the Smart Switch and the data is not buffered.
Four Character Command String
The
The first character is the ASCII ESC character (decimal 27). The second character is
Example 1: To turn on port E of the 232D4SS8 (address zero) with ASCII STX set as the user defined character.
Send to Master port: ESC STX 0 E
(27 2 48 69 decimal)
14 | Documentation Number 232D4SS84502 Manual |
B&B Electronics Mfg Co – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph