B&B Electronics 232BSS4 commands and the Master can initiate the next communications sequence

Models: Buffered Smart Switch 232BSS4

1 45
Download 45 pages 28.75 Kb
Page 17
Image 17
commands and the Master can initiate the next communications sequence.

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

Method2 – Ignore Commands Using DTR

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

Documentation Number 232BSS4-2907m

13

&B Electronics Mfg Co Inc – 707 Dayton Rd - PO Box 1040 - Ottawa IL 61350 - Ph 815-433-5100 - Fax 815-433-5104www.bb-elec.com

B&B Electronics – Westlink Commercial Park – Oranmore, Galway, Ireland – Ph +353 91-792444 – Fax +353 91-792445www.bb-europe.com

Page 17
Image 17
B&B Electronics 232BSS4, Buffered Smart Switch manual commands and the Master can initiate the next communications sequence