B&B Electronics 232SPS2 Appendix C Software Hints, Parallel to Serial Mode, Mode COMn b,p,s,r

Page 18

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".

r

Type 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:

232SPS24595 Manual Appendix CC-1

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

PH (815) 433-5100 -- FAX (815) 434-7094

Image 18
Contents Model 232SPS2 Table of Contents Introduction Packing ListSpecifications XON/XOFF, DTRParallel 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 PrinterConnecting the 232SPS2 to Your Serial Port Power Connections Selecting Dipswitch Settings Setting DIP Switch PositionAppendix a Parallel Port Connections Auto Feed Output Error Input NU Appendix B Serial Port Connections Serial to Parallel MODE, Hardware HandshakingSerial to Parallel MODE, Software Handshaking DCE Table B-1DTE Table B-2Parallel to Serial MODE, Hardware Handshaking Parallel to Serial MODE, Software HandshakingSignal Name Direction DB-25P DB-25S Pin # Table B-3DB-25 Serial Port Connections P to S 232SPS2 DB-9S Signal Name Direction DB-25P Pin # Table B-4DB-9 Serial Port Connections P to S 232SPS2 Mode COMn b,p,s,r Parallel to Serial ModeSerial to Parallel Mode Appendix C Software HintsMode COM1 96,n,8,1,p Type filename COM1Appendix D Troubleshooting Symptom Possible problem SolutionClass a Equipment
Related manuals
Manual 14 pages 20 b

Parallel to Serial and Serial to Parallel Converter, 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.