B&B Electronics 232BSS4 Manual page 14

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

Advertisement

Method2 – Ignore Commands Using DTR
12
Downloaded from
Elcodis.com
electronic components distributor
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 commands and
the Master can initiate the next communications sequence.
Example:
For a binary transfer from the Master to the device on Port A
that will take less than one second to complete
Send Select Port A Command: {Char1}{Char2} {Char3} "A"
Send Ignore Commands Command:
{Char1}{Char2} {Char3} "T""5"
Send the Binary File
Wait for the timeout period
Repeat for the next file/port
The second method of ignoring command sequences is to set
the 232BSS4 to ignore commands if DTR is low from the Master
device. This option is enabled through the setup software. This
method is useful if the length of the binary file transfers are not
known. The user would first raise DTR on the Master device,
then send the command to connect it to the Slave port(s) that are
to receive the data. Once the command is sent, the Master
device would then lower DTR and transmit the data. The
232BSS4 would ignore command sequences and pass them
through to any connected ports until DTR was raised.
Example:
For a binary transfer from the Master to the device on Port A
Raise DTR on the Master Device
Send Select Port A Command: {Char1}{Char2} {Char3} "A"
Lower DTR on the Master Device
Send the Binary File
Repeat for the next file/port
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
Documentation Number 232BSS41202 Manual

Advertisement

Table of Contents
loading

Table of Contents