B&B Electronics manual 232DRIO To DTE Connections, 232DRIO To DCE Connections

Page 10

Table 2.3 – 232DRIO To DTE Connections

232DRIO

 

DTE DB-25

Pin #

Signal

Connection

2

Receive Data (RD)

3

3

Transmit Data (TD)

2

5

Signal Ground (SG)

7

9

Ring Indicator

22

DTE DB-9 Connection 2

3

5

9

Table 2.4 – 232DRIO To DCE Connections

232DRIO

 

DCE DB-25

Pin #

Signal

Connection

2

Receive Data (RD)

2

3

Transmit Data (TD)

3

5

Signal Ground (SG)

7

9

Ring Indicator

22

DCE DB-9 Connection 3

2

5

9

Power Supply Connections

The power requirement is 12VDC at 100mA. Power to the 232DRIO can be wired through the RS-232 serial port pin #9 (power pin) or by an external power supply through the blue terminal blocks. Serial ports can not provide enough power to supply the 232DRIO’s 100 milliamp requirement.

Chapter 3 - Commands

8

232DRIO-0308 Manual

B&B Electronics --

PO Box 1040 -- Ottawa, IL 61350

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

Image 10
Contents Designed and Manufactured Ottawa, Illinois Model 232DRIOElectronics Mfg. Co. Inc InternetPage Table of Contents Table of Contents 232DRIO-0308 Manual Appendix B232DRIO Features Introduction232DRIO Specifications Non-polarized, Optically Isolated Input 232DRIO-0308 ManualCommunications Power SupplyRelay Outputs EnvironmentRelay Outputs blue terminal blocks ConnectionsOpto-isolated Input black terminal blocks Ground232DRIO Terminal Blocks RS232 Connector PinoutSerial Port Connections 232DRIO To DTE Connections Power Supply Connections232DRIO To DCE Connections 01FE #0RComp = not x and &HFF Equivalent Values 232DRIO CommandsFunction Command Response SyntaxBit Assignments for I/O Lines Data BytesRelay #2 Relay #1 Example Set Output Lines Data Byte Relays Binary DecimalInput #1 Relay #2 Relay #1 0R00000000 Read I/O Lines CommandSet Output Lines Command Shown in bold face0S00000011 Argument … shown in bold face0S03 …~… shown in bold faceBoard Layout Opto-isolated Input Switch Input Isolated Mechanical Input Relay Outputs 232DRIO External Circuit Opening a COM Port SymbolDigital I/O Mask Values Closing a COM PortSet Output States Command Using the 232DRIO.LIB with QuickBasicRead I/O States Command QuickBasic DEMO232.EXE and DEMO232.BAS++ DEMO232.EXE and DEMO232.CPP #include232DRIO.H void mainRunning Demonstration Program QuickBasicAppendix a Appendix a 232DRIO-0308 Manual Decimal to HEX to Ascii Conversion TableAppendix B Decimal to Hexadecimal Conversion Appendix B 232DRIO-0308 Manual