B&B Electronics 232SPS2 manual Appendix C Software Hints, Parallel to Serial Mode

Page 12

APPENDIX C: SOFTWARE HINTS

PARALLEL TO SERIAL MODE

In parallel to serial mode, data from the computer is output through the parallel port. The 232SPS2 will send the data to the serial printer. The following command can be entered at the DOS prompt to send a data out the parallel port:

PRINT filename

This command will output filename out the parallel port. The

first time that this command is executed, you will be prompted for the PRN device (LPT1, LPT2, etc. ). For this device, you should enter the parallel port that the 232SPS2 is connected. The default device is LPT1.

SERIAL TO PARALLEL MODE

In serial to parallel mode, data is output through the serial port. The 232SPS2 will send the data to the printer. Before data can be sent out the serial port, you must set up the communications to match the serial port settings of the 232SPS2. Your serial port's communications can be set using the "MODE" command as follows:

MODE COMn: b,p,s,r

The syntax options for the MODE command are:

COMn The port to be configured. COM1, COM2 are two common examples.

bThe baud rate setting. 12=1200, 24=2400, 48=4800, 96=9600, & 19=19200 baud

pThe parity setting. N=none, E=even, O=odd.

sThe number of stop bits. Must be set to "1".

rType of retry of time-out error occurs. e = Return busy port error.

b = Return busy port "Busy"

p = Continue retry until printer accepts data r = Return "Ready" from busy port

n = Disable retry (Default)

If the 232SPS2 is set for 9600 baud, parity disabled, 8 data bits and is connected to COM1, the MODE command parameters would be as follows:

232SPS2-3903 ManualAppendix C: Software HintsC-1

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

MODE COM1: 96,n,8,1,p

If any of the parameters are omitted, the most recent setting will be used. It is recommended that the "p" option be used for the retry option. If the "p" is not used, a device busy error may occur. To send data out the serial port, the following command can be entered at the DOS prompt:

TYPE filename > COM1

This command will send filename out COM1.

C-2Appendic C: Software Hints232SPS2-3903 Manual

B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350

PH (815) 433-5100 -- FAX (815) 433-5104

Image 12
Contents Parallel to Serial Serial to Parallel Converter CE Table of Contents Specifications IntroductionPacking List Parallel to Serial Installation Connecting the 232SPS2 to Your Parallel PortConnecting the 232SPS2 to Your Serial Printer Serial to Parallel Installation Connecting the 232SPS2 to Your Parallel PrinterPower Connections Selecting Dipswitch Settings SettingTable A-1 Parallel to Serial Mode DB-25 Signal Name 232SPS2 Table A-2 Serial to Parallel Mode DB-25 Signal Name 232SPS2Appendix a Parallel Port Connections DirectionAppendix B Serial Port Connections Serial to Parallel MODE, Hardware HandshakingSerial to Parallel MODE, Software Handshaking Table B-1 DTEDCE Table B-2Table B-3 Table B-4Parallel to Serial Mode Serial to Parallel ModeAppendix C Software Hints Appendix D Troubleshooting Symptom Possible problem SolutionAppendix E Declaration of Conformity
Related manuals
Manual 21 pages 59.87 Kb

232SPS2 specifications

B&B Electronics 232SPS2 is a versatile, high-performance converter that serves as both a parallel to serial and serial to parallel converter. This dual functionality makes it an essential tool for various communication applications where data transfer between different formats is required. With its compact design and integrated technologies, the 232SPS2 streamlines data communication processes across various systems.

One of the main features of the 232SPS2 is its ability to convert data formats seamlessly. It enables users to bridge the gap between parallel data interfaces found in older hardware and the serial interfaces commonly used in modern devices. This adaptability makes it an ideal choice for industries that rely on legacy systems and need to integrate with new technology without extensive system overhauls.

The 232SPS2 boasts several advanced technologies that enhance its performance and reliability. The device features a robust data rate up to 115.2 kbps, ensuring that it can handle high-speed data transfer requirements. This capability is further complemented by a comprehensive error checking mechanism, which helps in maintaining data integrity during transmission. The compact, rugged design also ensures that it is suitable for industrial environments where durability is crucial.

Another key characteristic of the 232SPS2 is its ease of use. It is designed with user-friendly configurations, allowing for quick setup and operation. The device is equipped with clear indicator LEDs that provide real-time feedback on status and data flow, making diagnostics straightforward for users.

The 232SPS2 supports a wide range of applications, from automation systems to data acquisition, and can interface with multiple devices. Its support for both standard and extended transmission distances provides additional flexibility, making it useful in diverse operational scenarios.

In conclusion, the B&B Electronics 232SPS2 parallel to serial and serial to parallel converter is a highly effective solution for anyone needing to integrate serial and parallel communication systems. With its excellent data transfer speeds, reliability, and user-friendly design, the 232SPS2 stands out as a leading choice for professionals seeking efficient data conversion and communication in their projects. Whether in industrial automation, telecommunications, or data acquisition, this converter demonstrates a perfect blend of technology and practicality.