MODEL232BSS4 B&B Electronics, MODEL232BSS4 Datasheet - Page 10

no-image

MODEL232BSS4

Manufacturer Part Number
MODEL232BSS4
Description
Buffered Smart Switch
Manufacturer
B&B Electronics
Datasheet
Commands:
Select Port A to transmit and receive – “A”
Select Port B to transmit and receive – “B”
Select Port C to transmit and receive – “C”
Select Port D to transmit and receive – “D”
Turn Off all selected ports – ASCII EOT character (decimal 4)
Send Only to specific ports – “S” + one control byte specifying which
ports to send.
8
transmit and receive operations. Once the command is received
by the switch, any data that had been buffered from the selected
Slave device will be sent to the Master. Any data received on the
Master port that is not a valid command sequence will be passed
to the selected Slave port until another command is received.
For instance, to send and receive data from port B, send:
VB Example:
transmit or receive to/from the Master port until another
command is received by the Master port.
The full command sequence to disable all ports is:
VB Example:
ports to send the following data to. This command can be used to
broadcast data to more than one port at a time. The Slave port
that is sending to the Master is not affected.
ports should receive the following data. Bit 0 represents port A,
Bit 1 represents port B, Bit 2 represents port C, and Bit 3
represents port D. In decimal, this is represents a value of 1, 2, 4,
and 8 respectively. To turn on more than one port, the decimal
equivalents of each port are added together to give the final byte.
The Select Port commands turn on the selected port for both
{Char1}{Char2} {Char3} ”B”
SwitchB$ = CHR$(27) & CHR$(2) & “B”
The Turn Off command deselects all ports. No ports will
{Char1}{Char2} {Char3} EOT
OFF$ = CHR$(27) & CHR$(2) & CHR$(4)
The Send Only command will tell the 232BSS4 which Slave
The lowest four bits of the control byte tell the 232BSS4 which
Documentation Number 232BSS41202 Manual

Related parts for MODEL232BSS4