Command Summary:
Three Character Command Format:
Char1 Char2 Command Char Control Char Control Char is only needed for Tx Only, Clear Buffer, and Ignore Commands
Four Character Command Format:
Char1 Char2 Char3 Command Char Control Char
Control Char is only needed for Tx Only, Clear Buffer, and Ignore Commands
Table 2.1 - 232BSS4 Command Summary
Function | Command | Control | Comments |
| Char. | Char. |
|
|
|
|
|
Select Port A Tx & Rx | “A” | None | Switching Command |
Select Port B Tx & Rx | “B” | None | Switching Command |
Select Port C Tx & Rx | “C” | None | Switching Command |
Select Port D Tx & Rx | “D” | None | Switching Command |
Deselect All Ports | EOT | None | Switching Command |
Tx Only to Specific Ports | “S” | Dec 0 to 15 | Use to Broadcast |
Clear Buffer on Specific | “X” | Dec 0 to 15 | Clear the Receive |
Ports |
|
| Buffer |
Ignore Commands | “T” | “0” to “9” | Sets Timer Value |
Values in quotes “” are ASCII characters.
Dec. is an abbreviation for decimal value.
Command Explanation:
Where applicable, this section will provide an example of how to 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:
•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 add another character between the second programmable character and the command character in the command string.
8 | Documentation Number |
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph