B&B Electronics Digital I/O Connections, 232SDD16 I/O Port Pinout, Serial Port Connections

Page 5

Chapter 2 - Connections

This chapter will cover the connections required for the 232SDD16. There are three sets of connections: digital I/O, serial port, and power supply. Do not make any connections to the 232SDD16 until you have read this chapter.

Digital I/O Connections

Connections to the I/O lines are made through the DB25S (female) I/O port connector. Refer to Table 2.1. See Chapter 5 for I/O interfacing examples.

Digital Inputs

The digital input lines are CMOS/TTL compatible and can handle voltages from 0Vdc to +5Vdc.

Digital Outputs

The digital output lines have a maximum voltage of +5Vdc and are CMOS/TTL compatible.

Ground

The pin should be connected to your external digital devices ground.

232SDD16-1005 Manual

5

Table 2.1 - 232SDD16 I/O Port Pinout

DB-25S

 

 

DB-25S

 

Pin #

Function

 

Pin #

Function

 

 

 

 

 

1

No connection

 

14

I/O #15

2

No connection

 

15

I/O #14

3

No connection

 

16

I/O #13

4

No connection

 

17

I/O #12

5

No connection

 

18

I/O #11

6

No connection

 

19

I/O #10

7

Ground

 

20

No connection

8

+12Vdc Input

 

21

I/O #9

9

I/O #0

 

22

I/O #8

10

I/O #1

 

23

I/O #7

11

I/O #2

 

24

I/O #6

12

I/O #3

 

25

I/O #5

13

I/O #4

 

 

 

Serial Port Connections

In order to communicate to the 232SDD16 module it must be connected to an RS-232 serial port. The unit automatically detects baud rates from 1200 to 9600. A data format of 8 data bits, 1 stop bit and no parity is used. The 232SDD16 is configured as a DCE device (See Table 2.2). If your communications equipment is configured as a DTE device, such as a standard IBM PC serial port, the 232SDD16 should be connected using a “straight through” DB-

25cable or a standard DB-9 to DB-25 cable adapter as shown in Table 2.3. If your communications equipment is configured as a DCE device, such as a modem, the 232SDD16 should be connected using a “null modem” cable (See Table 2.4).

6

232SDD16-1005 Manual

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

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

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

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

Image 5
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Table of Contents 232SDD16-1005 Manual 232SDD16 FeaturesIntroduction Size 232SDD16 SpecificationsCommunications Digital I/O Connections Connections232SDD16 I/O Port Pinout Serial Port ConnectionsPower Supply Connections RS-232 Connector Pinout232SDD16 To DTE Connections 232SDD16 To DCE Connections232SDD16 Commands CommandsEquivalent Values SyntaxBit Assignments for I/O Lines Read I/O Lines CommandSet Output Lines Command Read Configuration Command Define I/O Lines CommandSet Power-up States Command Bin. Example !0RC01010101010000010101000001000000 Digital Inputs InterfacingIsolated Solid State Input Digital I/O Mask Values SoftwareProgramming Techniques MSdefs = MSdefs and mask LSdefs = LSdefs and mask Set Output States CommandMSpups = MSpups and mask LSpups = LSpups and mask MSstates = MSstates or mask LSstates = LSstates or maskSet Power-up States Command Define I/O Lines CommandMSdefs = MSdefs or mask LSdefs = LSdefs or mask MSdefs = MSdefs and NOTmask LSdefs = LSdefs and NOTmaskRunning Demonstration Program Demonstration ProgramAppendix a Appendix B Decimal to Hexadecimal Conversion 232SDD16-1005 Manual Appendix C Figure C.1 DTB25 Outline DrawingTable C.2 DBM16 I/O Connections Table C.1 DTB25 ConnectionsDBM16 Interfacing Figure C.2 DBM16 Outline DrawingFigure C.6 Isolated Solid State Input Outputs DBM16 Specifications LinesInputs 232SDD16-1005 Manual Appendix C Msb~ I/O msbI/O lsb ~ I/O lsb #0RD00FF01FE Comp = not x and &HFF232SDD16-1005 Manual Appendix D Table D-1 Extended Commands