B&B Electronics 232XS5 Switch User Manual


 
232XS53800 Manual
B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350
PH (815) 433-5100 -- FAX (815) 433-5109
12
If the data byte of the Set Timer Mode command is an ASCII “1”,
the timer will be setup to ignore switching commands. Sending the
following string to the 232XS5 will set up the timer to ignore
switching commands. (Assuming programmable character is the
factory default of 2).
SetTM$ = CHR$(27) + CHR$(2) +”M” + “1”
The “M” tells the 232XS5 it is the set timer mode command and the
“1” indicates to set up the timer to ignore switching commands.
When the timer is configured in this mode, the 232XS5 will not
accept any switching commands (“A”, ”B”, ”C”, ”D”, “E”, or “EOT”) for
the specified timer value. After the timer has expired, the slave port
that is connected to the master port will be disconnected. This
feature is useful to prevent inadvertent switching during
binary/graphic type file transfers. For example (smart switch mode),
the timer is configured to ignore switching commands for 5 seconds.
The select Port D command is sent to the 232XS5. Once Port D is
connected a file of unknown data type (so file may or may not
contain a switching command sequence) is to be transferred
through the 232XS5. For a period of 5 seconds after Port D is
connected, no switching commands will be accepted. As long as
the file transfer takes less than 5 seconds, there is no chance the
232XS5 will inadvertently switch ports.
Table 8 - 232XS5 Smart Switch Mode Commands
*X represents the programmable character set by dipswitch SW2
**NU = Not Used
Command Characters
Function 1st 2nd 3rd 4th Comments
Select Port A ESC X* “A” NU** Switching Command
Select Port B ESC X* “B” NU** Switching Command
Select Port C ESC X* “C” NU** Switching Command
Select Port D ESC X* “D” NU** Switching Command
Select Port E ESC X* “E” NU** Switching Command
Deselect Port ESC X* EOT NU** Switching Command
Set Timer Value ESC X* “T” “0”-”9” Enhanced Mode
Set Timer Mode ESC X* “M” “0”,”1” Enhanced Mode