Home

B&B Electronics 232SPS2 User's Manual

image

Contents

1. connected to Pin 5 on the 232SPS2 module 7 Data Carrier Detect DCD from the host should be connected to Pin 8 on the 232SPS2 module NOTE IBM PC s or compatible serial ports and serial printers are both DTE devices Therefore a null modem cable like a serial printer cable must be used when connecting a PC s serial port to a printer A null modem cable or serial printer cable should not be used to connect to the 232SPS2 unless your device is a DCE such as a modem 232SPS2 3903 Manual Appendix B Serial Port Connections B 1 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 SERIAL TO PARALLEL MODE SOFTWARE HANDSHAKING For proper operation the following connections must be present 1 Transmit Data TD from the host DTE must be connected to Pin 2 on the 232SPS2 module 2 Receive Data RD from the host DTE must be connected to Pin 3 on the 232SPS2 module 3 Signal Ground SG from the host must be connected to Pin 7 on the 232SPS2 module If port powering the 232SPS2 these connections are recommended 4 Request to Send RTS from the host must be connected to Pin 4 on the 232SPS2 module 5 Data Terminal Ready DTR from the host must be connected to Pin 20 on the 232SPS2 module Some software may require one or more of the following connections 6 Data Set Ready DSR from the host must be connected to Pin 6 on the 232SPS2 module 7 Clear To Send CTS f
2. Chapter 2 Parallel to Serial Installation B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 wo Chapter 2 Parallel to Serial Installation 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 CHAPTER 3 SERIAL TO PARALLEL INSTALLATION When converting data from your serial port to a parallel communication format position 8 of the dipswitch must be OFF The other seven positions should be set to match the data format of your computer s serial port Refer to Table 5 1 for dipswitch setting specifications CONNECTING THE 232SPS2 TO YOUR PARALLEL PRINTER The 232SPS2 has a DB 25 female connector on its parallel port Most parallel printers use a Centronics 36 pin connector To insure proper operation you should use a cable that connects all 25 pins from the DB 25 connector to the appropriate pins on a Centronics 36 pin connector B amp B s Model CPC is recommended For detailed information on which pins are connected on the parallel port refer to Appendix A CONNECTING THE 232SPS2 TO YOUR SERIAL PORT The connections required between your 232SPS2 and your serial port depend on the type of flow control used The type of flow control used depends on the software you are using If you are unsure which type of flow control your software uses or if you plan to run different kinds of software you should use a cable that connects all
3. value does not include the power that is provided by the serial port and the power that is consumed by external devices 2 Chapter 1 Introduction 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 CHAPTER 2 PARALLEL TO SERIAL INSTALLATION When converting data from your parallel port to a serial communication format position 8 of the dipswitch must be ON The other seven positions should be set to match the data format of your serial printer Refer to Table 5 1 for dipswitch setting specifications Data Flow 232PS 232SPS2 Parallel Port Serial Printer CONNECTING THE 232SPS2 TO YOUR PARALLEL PORT The 232SPS2 uses most of the available pins on the parallel port To insure proper operation you should use a cable that connects all 25 pins from connector to connector B amp B s Model 232AMM5 is recommended For detailed information on which pins are connected on the parallel port refer to Appendix A CONNECTING THE 232SPS2 TO YOUR SERIAL PRINTER The connections required between your 232SPS2 and your serial printer depend on the type of flow control used There are two kinds of flow control XON XOFF control and hardware handshaking control Dipswitch position 4 must be OFF for XON XOFF control Dipswitch position 4 must be ON for DTR handshaking For more detailed information on serial port connections refer to Appendix B 232SPS2 3903 Manual
4. with a variety of data formats can be used to match the user s serial port requirements Both kinds of flow control XON XOFF and hardware handshaking are supported by this unit The unit may be port powered using DTR and RTS on the serial port If the 232SPS2 cannot be powered using the handshake lines it may be powered using a 2 5mm jack The 232SPS2 requires 12VDC 2 milliamps NOTE When using an external supply the supply should be connected only to specifically labeled power inputs power jack terminal block etc Connecting an external power supply to the handshake lines may damage the unit Contact technical support for more information on connecting an external power supply to the handshake lines PACKING LIST Examine the shipping carton and contents for physical damage If damage is found file a claim with B amp B Electronics immediately The following items should be in the shipping carton 1 232SPS2 unit 2 This manual If any of these items are missing contact B amp B Electronics 232SPS2 3903 Manual Chapter 1 Introduction 1 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 SPECIFICATIONS Size 3 8L x 2 4W x 0 9H in Buffer Size 96 bytes Data Formats Baud Rates 1200 to 115 2k baud Data Bits 7or8 Parity Even Odd and None Stop Bits 1 NOTE 7 data bits no parity is not supported Handshaking XON XOFF DTR Power Requirement 7 18 Volts DC 2 ma This
5. 40 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 Appendic C Software Hints 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 APPENDIX D TROUBLESHOOTING Symptom Solution No data is being Printer is off line Put printer on line printed Fill printer with paper Improper dipswitch Check settings settings Table 5 1 Improper mode selected Wrong type of flow control Serial port settings do Set serial ports to not match match Table 5 1 Appendix C No or not enough Check power on power to 232SPS2 232SPS2 Ch 4 Improper connections Check connections Ch 2 3 Appendix A B port proper port Data sent out wrong Check software port Appendix C Data not sent from Check software computer Appendix C Check connections Ch 2 3 Appendix Unexpected Serial port settings do Set serial ports to data printed not match match Table 5 1 Appendix C Some of the Check settings printed data is control Table 5 1 missing Improper connections Check connections Ch 2 3 Appendix A B 232SPS2 3903 Manual Appendix D Troubleshooting D 1 D 2 Appendix D Troubleshooting 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 PH 815 433 5100 FAX 815 433 5104 APPENDIX E Declaration of Conformity DECLARAT
6. 9 pins from connector to connector and set the handshaking mode to be XON XOFF control In this mode both DTR handshaking and XON XOFF control are used for flow control Dipswitch position 4 should be OFF for XON XOFF control For more detailed information on serial port connections refer to Appendix B 232SPS2 3903 Manual Chapter 3 Serial to Parallel Installation B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 a Chapter 3 Serial to Parallel Installation 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 CHAPTER 4 POWER CONNECTIONS The unit may be port powered using DTR and RTS on the serial port If the 232SPS2 cannot be powered using the handshake lines it may be powered externally using 7 to 18 volts DC at 2 milliamps If you are using an external supply simply plug a 2 5 mm plug from an appropriate DC source into the power jack on the side of the 232SPS2 module Power supplies are available through B amp B Model 232PS is recommended 8 Chapter 4 Power Connections 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 232SPS2 3903 Manual Chapter 4 Power Connections 7 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 CHAPTER 5 SELECTING DIPSWITCH SETTINGS The 232SPS2 is set up using an eight position
7. ALLEL PRINTER 5 CONNECTING THE 232SPS2 TO YOUR SERIAL PORT 5 CHAPTER 4 POWER CONNECTIONS sssssssssssssssssessssssseseseseeseees 7 CHAPTER 5 SELECTING DIPSWITCH SETTINGS 0 000000008 9 APPENDIX A PARALLEL PORT CONNECTIONS 0 00000000 A 1 APPENDIX B SERIAL PORT CONNECTIONS sssssseessseeeees B 1 SERIAL TO PARALLEL MODE HARDWARE HANDSHAKING1 SERIAL TO PARALLEL MODE SOFTWARE HANDSHAKING 2 PARALLEL TO SERIAL MODE HARDWARE HANDSHAKING4 PARALLEL TO SERIAL MODE SOFTWARE HANDSHAKING 4 APPENDIX C SOFTWARE HINTS cccccccsssccssccsssscccccesssscecceesees C 1 PARALLEL TO SERIAL MODE 1 eeccccccceeeccceceeesseseseessseeeeeee C 1 SERIAL TO PARALLEL MODE ccccccccccccesscssceeeesseeeeeeeeees C 1 APPENDIX D TROUBLESHOOTING sssccccccsssscccccesssscccceeeees D 1 APPENDIX E DECLARATION OF CONFORMITY 00c0000000 E 1 232SPS2 3903 Manual Table of Contents B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 Table of Contents 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 CHAPTER 1 INTRODUCTION The 232SPS82 is a bi directional parallel to serial converter The 232SPS2 allows you to convert data from your parallel port to a serial communication format or to convert data from your serial port to a parallel communication format Standard baud rates from 1200 to 115 2k
8. ION OF CONFORMITY Manufacturer s Name B amp B Electronics Manufacturing Company Manufacturer s Address P O Box 1040 707 Dayton Road Ottawa IL 61350 USA Model Number 232SPS2 Description Parallel to Serial Converter Type Light industrial ITE equipment Application of Council Directive 89 336 EEC Standards EN 55022 EN 61000 6 1 EN 61000 4 2 4 3 4 4 4 5 4 6 4 8 4 11 MO FZ CE William H Franklin IIl Director of Engineering 232SPS2 3903 Manual Appendix E Declaration of Conformity E 1 E 2 Appendix E Declaration of Conformity 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 PH 815 433 5100 FAX 815 433 5104
9. L 61350 PH 815 433 5100 FAX 815 433 5104 PARALLEL TO SERIAL MODE HARDWARE HANDSHAKING The serial port of the 232SPS2 module is wired as a DCE device For proper operation the following connections must be present 1 Transmit Data TD from the printer DTE must be connected to Pin 2 on the 232SPS2 module 2 Data Set Ready DSR from the printer must be connected to Pin 6 on the 232SPS2 module 3 Signal Ground SG from the printer must be connected to Pin 7 on the 232SPS2 module If port powering the 232SPS2 these connections are recommended 4 Request to Send RTS from the host must be connected to Pin 4 on the 232SPS2 module 5 Data Terminal Ready DTR from the host must be connected to Pin 20 on the 232SPS2 module Some printers may require one or more of the following connections 6 Clear To Send CTS from the printer should be connected to Pin 5 on the 232SPS2 module 7 Data Carrier Detect DCD from the printer should be connected to Pin 8 on the 232SPS2 module NOTE IBM PC s or compatible serial ports and serial printers are both DTE devices Therefore a null modem cable like a serial printer cable must be used when connecting a PC s serial port to a printer A null modem cable or serial printer cable should not be used to connect to the 232SPS2 unless your device is a DCE such as a modem PARALLEL TO SERIAL MODE SOFTWARE HANDSHAKING For proper operation the following connections mus
10. PS2 DTE DCE DB 25S Signal Name Direction Transmit Data Receive Data 3 Request to Send 4 Clear to Send Carrier Detect Data Terminal Read 2 Ring Indicator 6 Data Set Ready 7 Signal Ground EB poe 222 232SPS2 3903 Manual Appendix B Serial Port Connections B 5 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 TABLE B 4 DB 9 Serial Port Connections P to S Serial Port 232SPS2 DTE DCE Direction DB 25P Pin Transmit Data Data Terminal Clear to Send When using XON XOFF control this connection may not be required Some printers may require this connection B 6 Appendix B Serial Port Connections 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 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 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 serial printer The following command can be entered at the DOS prompt to send a data out the parallel port PRINT f
11. Parallel to Serial and Serial to Parallel Converter CE Model 232SPS2 Documentation Number 232SPS2 3903m This product designed and manufactured in Ottawa Illinois USA of domestic and imported parts by B B Electronics International Headquarters B amp B Electronics Mfg Co Inc 707 Dayton Road P O Box 1040 Ottawa IL 61350 USA Phone 815 433 5100 General Fax 815 433 5105 Home Page www bb elec com Sales e mail orders bb elec com Fax 815 433 5109 Technical Support e mail support bb elec com Fax 815 433 5104 European Headquarters B amp B Electronics Ltd Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 792444 Fax 353 91 792445 Home Page www bb europe com Sales e mail orders bb europe com Technical Support e mail support bb europe com B amp B Electronics Revised October 2003 232SPS2 3903 Manual Cover Page B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 Table of Contents CHAPTER 1 INTRODUCTION ccsscssssssssssssscsssscsssessessssesesssesseees 1 PACKING LIST tesina Secs Sareea e A N 1 SPECIFICATIONS 5 5c2 2055 T Gageseveseseensbezasienteneagretvis 2 CHAPTER 2 PARALLEL TO SERIAL INSTALLATION 00000 3 CONNECTING THE 232SPS2 TO YOUR PARALLEL PORT 3 CONNECTING THE 232SPS2 TO YOUR SERIAL PRINTER 3 CHAPTER 3 SERIAL TO PARALLEL INSTALLATION 00000 0 5 CONNECTING THE 232SPS2 TO YOUR PAR
12. dipswitch In order for the 232SPS2 to function properly it must be set up to match your system s requirements The following parameters on the 232SPS2 are set on the dipswitch converter direction baud rate flow control number of data bits and the type of parity Each of the parameters are briefly described below For specific parameter settings refer to Table 5 1 Converter direction Can operate as a parallel to serial converter or as a serial to parallel converter The direction is set by dipswitch position 8 Baud rate Can be set from 1200 to 115 2k baud The baud rate is determined by dipswitch positions 1 3 Flow control Can be set for DTR control or XON XOFF control The type of flow control used is determined by dipswitch position 4 Data bits Can be set for 7 or 8 data bits The number of data bits is determined by dipswitch position 5 Parity Can be enable or disabled by dipswitch position 6 If parity is enabled dipswitch position 7 determines whether the parity is even or odd 232SPS2 3903 Manual Chapter 5 Selecting Dipswitch Settings 9 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 Table 5 1 ON OFF ON OFF Ojo PZ olOlOlololQ p22 Ziz olololo O O O XIXI X X X X X X Xx x lt Zz gt x lt x lt Example 1 Parallel to Serial Mode hardware handshaking 9600 baud 8 data bits no parity Dipswitch position settin
13. eno E 232SPS2 3903 Manual Appendix A Parallel Port Connections A 1 232SPS2 3903 Manual Appendix A Parallel Port Connections B amp B Electronics PO Box 1040 Ottawa IL 61350 B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 PH 815 433 5100 FAX 815 433 5104 APPENDIX B SERIAL PORT CONNECTIONS The next four sections will cover the required serial port connections on the 232SPS2 Each section will list the required connections and the optional connections that some systems may require Connections to the serial port of the 232SPS2 are made on a female DB 25 connector SERIAL TO PARALLEL MODE HARDWARE HANDSHAKING The serial port of the 232SPS2 module is wired as a DCE device For proper operation the following connections must be present 1 Transmit Data TD from the host DTE must be connected to Pin 2 on the 232SPS2 module 2 Data Set Ready DSR from the host must be connected to Pin 6 on the 232SPS2 module 3 Signal Ground SG from the host must be connected to Pin 7 on the 232SPS2 module If port powering the 232SPS2 these connections are recommended 4 Request to Send RTS from the host must be connected to Pin 4 on the 232SPS2 module 5 Data Terminal Ready DTR from the host must be connected to Pin 20 on the 232SPS2 module Some software may require one or more of the following connections 6 Clear To Send CTS from the host should be
14. gs for Example 1 X don t care 1 2 3 4 5 6 7 8 ON ON OFF ON OFF OFF X ON Example 2 Serial to Parallel Mode XON XOFF flow control 2400 baud 7 data bits odd parity Dipswitch position settings for Example 2 1 2 3 4 5 6 7 8 ON OFF OFF OFF ON ON ON OFF 10 Chapter 5 Selecting Dipswitch Settings 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 APPENDIX A PARALLEL PORT CONNECTIONS Table A 2 Serial to Parallel Mode The parallel port connections for the parallel to serial and serial to parallel mode are shown in Table A 1 and Table A 2 respectively The connections required are the same for both modes Pin Direction of handshaking The error lines on the parallel port are forced to the no error states If the printer is off line out of paper etc the 232SPS2 will force the busy line Pin 11 on the parallel port high logic 1 when in parallel to serial mode If a error occurs in serial to parallel mode the XOFF character will be sent or DTR will be lowered depending on type of flow control used NU Indicates a 6 Databit 4 Output signal is not used or is not passed through 8 Databit 6 Output ee 3 bata i Parallel to Serial Mode Acknowledge nou NU SLOT input NU Ae Te Er one a Input NU NE e O n p 6 Data bit 4 input 8 Data bit 6 Input C o Data bit 7 Input input NU input NU mea T
15. ilename TYPE filename gt COM1 This command will send filename out COM1 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 b The baud rate setting 12 1200 24 2400 48 4800 96 9600 amp 19 19200 baud p The parity setting N none E even O odd s The 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 232SPS2 3903 Manual Appendix C Software Hints C 1 C 2 B amp B Electronics PO Box 10
16. rom the host should be connected to Pin 5 on the 232SPS2 module 8 Data Carrier Detect DCD from the host should be connected to Pin 8 on the 232SPS2 module NOTE IBM PC s or compatible serial ports and serial printers are both DTE devices Therefore a null modem cable like a serial printer cable must be used when connecting a PC s serial port to a printer A null modem cable or serial printer cable should not be used to connect to the 232SPS2 unless your device is a DCE such as a modem B 2 Appendix B Serial Port Connections 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 TABLE B 1 DB 25 Serial Port Connections S to P Serial Port 232SPS2 DTE Signal Name DCE ee Pin DB Fala aa Pin 2 Transmit Data Data Request to Send ee S Clear to Send pms t _ 7 Signal Ground el 8 Carrier Detect 22 Tring indicator nco When using XON XOFF control this connection may not be required TABLE B 2 DB 9 Serial Port Connections S to P Serial Port 232SPS2 DTE DCE DB en Pin Signal Name DB ee Pin 7 Requestto Send a 8 Clear to Send Some systems may require this connection When using XON XOFF control this connection may not be required Some systems may require this connection 232SPS2 3903 Manual Appendix B Serial Port Connections B 3 B amp B Electronics PO Box 1040 Ottawa I
17. t be present 1 Transmit Data TD from the printer DTE must be connected to Pin 2 on the 232SPS2 module 2 Receive RD from the printer must be connected to Pin 3 on the 232SPS2 module 3 Signal Ground SG from the printer must be connected to Pin 7 on the 232SPS2 module If port powering the 232SPS2 these connections are recommended 4 Request to Send RTS from the host must be connected to Pin 4 on the 232SPS2 module 5 Data Terminal Ready DTR from the host must be connected to Pin 20 on the 232SPS2 module B 4 Appendix B Serial Port Connections 232SPS2 3903 Manual B amp B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 Some printers may require one or more of the following connections 6 Data Set Ready DSR from the printer must be connected to Pin 6 on the 232SPS2 module 7 Clear To Send CTS from the printer should be connected to Pin 5 on the 232SPS2 module 8 Data Carrier Detect DCD from the printer should be connected to Pin 8 on the 232SPS2 module NOTE IBM PC s or compatible serial ports and serial printers are both DTE devices Therefore a null modem cable like a serial printer cable must be used when connecting a PC s serial port to a printer A null modem cable or serial printer cable should not be used to connect to the 232SPS2 unless your device is a DCE such as a modem TABLE B 3 DB 25 Serial Port Connections P to S Serial Port 232S

Download Pdf Manuals

image

Related Search

Related Contents

KAKE BIBLIOTHEQUE Généalogie2015.indd  Reelcraft Series 80000 Hose Reels  Pulsotronic SE, VA, Y, GF Separator Manual  Samsung SM-R750W Manual de Usuario(open)  在園や地域の子育て支援のあり方  User guide 32 pp - GIZ Global Campus 21  Manual de Instrucciones - Bürkert Contromatic GmbH  Vogel's PUC 2715 Pole 150cm, black  KE202CT4    

Copyright © All rights reserved.
Failed to retrieve file