B&B Electronics manual Appendix B, Table of Contents 232DRIO-0308 Manual

Page 4

Demonstration Program

22

Hard Drive Installation

22

Running Demonstration Program

22

APPENDIX A

A-1

ASCII Character Codes

A-1

APPENDIX B

B-1

Hexadecimal/Decimal Conversions

B-1

ii

Table of Contents

232DRIO-0308 Manual

 

B&B Electronics -- PO Box 1040 --

Ottawa, IL 61350

 

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

Image 4
Contents Model 232DRIO Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois InternetPage Table of Contents Table of Contents 232DRIO-0308 Manual Appendix B232DRIO Features Introduction232DRIO Specifications Non-polarized, Optically Isolated Input 232DRIO-0308 ManualPower Supply Relay OutputsCommunications EnvironmentConnections Opto-isolated Input black terminal blocksRelay Outputs blue 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 232DRIO Commands Function Command ResponseEquivalent Values 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 Read I/O Lines Command Set Output Lines Command0R00000000 Shown in bold faceArgument … shown in bold face 0S030S00000011 …~… shown in bold faceBoard Layout Opto-isolated Input Switch Input Isolated Mechanical Input Relay Outputs 232DRIO External Circuit Symbol Digital I/O Mask ValuesOpening a COM Port Closing a COM PortUsing the 232DRIO.LIB with QuickBasic Read I/O States CommandSet Output 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