For instance, to ignore switching commands for 30 Seconds, send: {Char1}{Char2}{Char3}”T””7”
VB Example:
Ignore30s$ = CHR$(27) & CHR$(2) & “T” & “7”
Table 2.3 - Timer Values
Control Byte | Control Byte | Timer Setting |
(ASCII) | (Decimal) |
|
|
|
|
“0” | 48 | Timer disabled |
“1” | 49 | 10ms |
“2” | 50 | 25ms |
“3” | 51 | 100ms |
“4” | 52 | 500ms |
“5” | 53 | 1 s |
“6” | 54 | 5 s |
“7” | 55 | 30 s |
“8” | 56 | 1 min. |
“9” | 57 | 5 min. |
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 | Documentation Number |
B&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph