B&B Electronics 232BSS4 Instruction Manual page 16

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

Advertisement

For instance, to ignore switching commands for 30 Seconds, send:
{Char1}{Char2}{Char3}"T""7"
VB Example:
Ignore30s$ = CHR$(27) & CHR$(2) & "T" & "7"
Control Byte
Binary file transfer:
Two methods are provided in the 232BSS4 to prevent inadvertent
switching during a transfer of raw data bytes from the Master device to one
or more Slaves. Because the user doesn't know if a command sequence is
imbedded in the raw data, the switch must be set to ignore commands.
Note that these procedures are not needed if the binary file will be
transferred from the Slave devices to the Master device. No switching
commands are used in the 232BSS4 with data from this direction, so no
inadvertent switching can occur.
Method1 – Ignore Commands For a Specific Length of Time
The first method is to ignore commands for a specific length of
time. This method is useful if the user knows how long the transfer will
take. The Master would first send the command to connect it to the
Slave port(s) that are to receive the data. Then the Master device would
send the "T" command along with the byte telling the 232BSS4 how
long to ignore commands. Once this is sent, data can be transferred to
the Slave(s) without the 232BSS4 looking for command sequences.
Once the timeout has been reached, the switch will continue looking for
12
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104 – www.bb-elec.com
B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445 – www.bb-europe.com
Table 2.3 - Timer Values
Control Byte
(ASCII)
(Decimal)
"0"
"1"
"2"
"3"
"4"
"5"
"6"
"7"
"8"
"9"
Timer Setting
48
Timer disabled
49
10ms
50
25ms
51
100ms
52
500ms
53
54
55
56
1 min.
57
5 min.
Documentation Number 232BSS4-0812m
1 s
5 s
30 s

Advertisement

Table of Contents
loading

Table of Contents