background image

232SPS2-3903 Manual 

Appendix A: Parallel Port Connections 

A-1 

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

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

 

APPENDIX A:  

PARALLEL PORT CONNECTIONS

 

 

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 
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 
signal is not used or is not “passed through”) 

   

 
 

Table A-1 

Parallel to Serial Mode  

 

DB-25 

Pin # 

Signal Name 

232SPS2 

Direction 

1 Strobe  Input 
2 Data 

bit 

#0 

Input 

3 Data 

bit 

#1 

Input 

4 Data 

bit 

#2 

Input 

5 Data 

bit 

#3 

Input 

6 Data 

bit 

#4 

Input 

7 Data 

bit 

#5 

Input 

8 Data 

bit 

#6 

Input 

9 Data 

bit 

#7 

Input 

10 Acknowledge 

Output 

11 Busy 

Output 

12 PE 

"0" 

Output 

13 SLCT 

“1” 

Output 

14 Auto 

Feed 

Input 

(NU) 

15 Error 

"1" 

Output 

16 INIT 

Input 

(NU) 

17 

SLCT IN 

Input (NU) 

18-25 GND 

 

232SPS2-3903 Manual 

Appendix A: Parallel Port Connections 

A-2 

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

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

 

 

Table A-2  

Serial to Parallel Mode 

DB-25 

Pin # 

Signal Name

232SPS2 

Direction 

1 Strobe  Output 
2 Data 

bit 

#0 

Output 

3 Data 

bit 

#1 

Output 

4 Data 

bit 

#2 

Output 

5 Data 

bit 

#3 

Output 

6 Data 

bit 

#4 

Output 

7 Data 

bit 

#5 

Output 

8 Data 

bit 

#6 

Output 

9 Data 

bit 

#7 

Output 

10 Acknowledge 

Input 

11 Busy 

Input 

12 PE 

Input 

(NU) 

13 SLCT 

Input 

(NU) 

14 Auto 

Feed 

“1” 

Output 

15 Error 

Input 

(NU) 

16 INIT 

“1” 

Output 

17 

SLCT IN 

“1” Output 

18-25 GND 

 

Summary of Contents for 232SPS2

Page 1: ... B 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 B Electronics Ltd Westlink Commercial Park Oranmore Co Galway Ireland Phone 353 91 792444 Fax 353 91 792445 Home Page ...

Page 2: ...232SPS2 TO YOUR SERIAL PORT 5 CHAPTER 4 POWER CONNECTIONS 7 CHAPTER 5 SELECTING DIPSWITCH SETTINGS 9 APPENDIX A PARALLEL PORT CONNECTIONS A 1 APPENDIX B SERIAL PORT CONNECTIONS 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 C 1 PAR...

Page 3: ...cted 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 B Electronics immediat...

Page 4: ...port To insure proper operation you should use a cable that connects all 25 pins from connector to connector B 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 ...

Page 5: ...cs 36 pin connector B 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 ...

Page 6: ...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 B Model 232PS is recommended 8 Chapter 4 Power Connections 232SPS2 3903 Manual B B Electronics PO Box 1040 Otta...

Page 7: ...tch 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 10 Chapter 5 Selecting Dipswitch Settings 232SPS2 3903 Manual B B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 Table 5 1 Example 1 Parallel to Serial Mode hardware handshaking 9600 baud 8 data bits no parity Dipsw...

Page 8: ...t used or is not passed through Table A 1 Parallel to Serial Mode DB 25 Pin Signal Name 232SPS2 Direction 1 Strobe Input 2 Data bit 0 Input 3 Data bit 1 Input 4 Data bit 2 Input 5 Data bit 3 Input 6 Data bit 4 Input 7 Data bit 5 Input 8 Data bit 6 Input 9 Data bit 7 Input 10 Acknowledge Output 11 Busy Output 12 PE 0 Output 13 SLCT 1 Output 14 Auto Feed Input NU 15 Error 1 Output 16 INIT Input NU 1...

Page 9: ...efore 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 B Electronics PO Box 1040 Ottawa IL 61350 PH 815 433 5100 FAX 815 433 5104 SERIAL TO PARALLEL...

Page 10: ... 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 o...

Page 11: ...ter 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 DTE DB 25S Signal Name Direction 232SPS2 DCE DB 25P Pin 2 Transmit Data 2 3 Receive Data 3 4 Request to Send 4 5 Clear to Send 5 6 Data Set Ready 6 7 Signal Ground 7 8 Carrier Detect 8 20 Data Terminal Ready 20 22 Ring Indicator 22 B 6 Append...

Page 12: ...al 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 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...

Page 13: ...or not enough power to 232SPS2 Check power on 232SPS2 Ch 4 Improper connections Check connections Ch 2 3 Appendix A B Connected to wrong port Connect to the proper port Data sent out wrong port Check software Appendix C Data not sent from computer Check software Appendix C Check connections Ch 2 3 Appendix A B Unexpected data printed Serial port settings do not match Set serial ports to match Tabl...

Page 14: ...facturer 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 William H Franklin III Director of Engineering E 2 Appendix E Declaration of Conformity 232SPS2 3903 Manual B B Electron...

Reviews: