B&B Electronics manual 232DRIO Specifications

Page 6

Figure 1.1 – 232DRIO Module

Serial Port

DB-9S RS-232

Transceiver

TD

RD

 

+5V

5-30 Vdc/Vac

R

Input

 

Opto

Isolator

Microcontroller

POWER

SPDT SPDT

RELAY RELAY

GND +12Vdc

#2 N/O #2 N/C

#2 Com

#1 N/O

#1 N/C #1 Com

Figure 1.2 – Simplified Block Diagram

Packing List

Examine the shipping carton and contents for physical damage. The following items should be in the shipping carton:

1.232DRIO unit

2.Software

3.This instruction manual

If any of these items are damaged or missing contact B&B Electronics immediately.

232DRIO Specifications

Non-polarized, Optically Isolated Input

4

232DRIO-0308 Manual

B&B Electronics --

PO Box 1040 -- Ottawa, IL 61350

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

Image 6
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 GroundRS232 Connector Pinout 232DRIO Terminal BlocksSerial Port Connections Power Supply Connections 232DRIO To DTE Connections232DRIO To DCE Connections #0R 01FEComp = not x and &HFF Equivalent Values 232DRIO CommandsFunction Command Response SyntaxBit Assignments for I/O Lines Data BytesExample Set Output Lines Data Byte Relays Binary Decimal Relay #2 Relay #1Input #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