B&B Electronics 232BSS4 Manual page 9

Buffered smart switch
Hide thumbs Also See for 232BSS4:
Table of Contents

Advertisement

Command Summary:
Three Character Command Format:
Char1
Control Char is only needed for Tx Only, Clear Buffer, and Ignore
Commands
Four Character Command Format:
Char1
Control Char is only needed for Tx Only, Clear Buffer, and Ignore
Commands
Select Port A Tx & Rx
Select Port B Tx & Rx
Select Port C Tx & Rx
Select Port D Tx & Rx
Command Explanation:
create the command strings in Visual Basic. Other programming
languages may require a slightly different syntax, but the examples
given should provide enough information to port to other languages.
For our examples, we will use the default settings of the switch:
add another character between the second programmable character
and the command character in the command string.
Documentation Number 232BSS41202 Manual
Downloaded from
Elcodis.com
electronic components distributor
Char2
Command Char
Char2
Char3
Table 2.1 - 232BSS4 Command Summary
Function
Deselect All Ports
Tx Only to Specific
Ports
Clear Buffer on
Specific Ports
Ignore Commands
Values in quotes "" are ASCII characters.
Dec. is an abbreviation for decimal value.
Where applicable, this section will provide an example of how to
3 Character Command Sequence
Character 1 set to ASCII ESC character (Decimal 27)
Character 2 set to ASCII STX character (Decimal 2)
If you choose to use a four character command sequence, just
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104
B&B Electronics Ltd – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445
Control Char
Command Char
Command
Control
Char.
Char.
"A"
None
"B"
None
"C"
None
"D"
None
EOT
None
"S"
Dec 0 to 15
"X"
Dec 0 to 15
"T"
"0" to "9"
Control Char
Comments
Switching Command
Switching Command
Switching Command
Switching Command
Switching Command
Use to Broadcast
Clear the Receive
Buffer
Sets Timer Value
7

Advertisement

Table of Contents
loading

Table of Contents