B&B Electronics 232OPSDA manual Power Supply Connections

Page 12

Power Supply Connections

The 232OPSDA requires an isolated external power supply that is able to produce 9-16VDC @10mA in addition to the port power. The positive(+) lead of the power supply is connected to the terminal block labeled +12VDC and the negative(-) lead is connected to the terminal block labeled GND. The external power supply powers the I/O side of the module. The RS-232 side of the module is port powered using RTS and DTR. These lines may be either LOW or HIGH to provide power to the module. The two sources of power are required for optical isolation.

Documentation Number 232OPSDA1397 Manual

9

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

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

Image 12
Contents Electronics Mfg. Co. Inc Designed and Manufactured Ottawa, IllinoisInternet Table of Contents Page 232OPSDA Features IntroductionGeneral Block Diagram Packing ListSoftware Installation 232OPSDA SpecificationsAnalog to Digital Converter Power Supply Digital InputDigital Output CommunicationsConnections Terminal Function Description Block232OPSDA Digital I/O Connections Serial Port Connections232OPSDA Power Supply Connections Commands Syntax Reading A/D Channels Command Reading Digital I/O Command Set Digital Output Command0RD StatesSampling Rate Converter RangeNon-buffered 0 to 5VDC A/D Inputs Buffered 0 to 5V A/D InputsTo 10VDC A/D Input 20mA Current Loop A/D InputGain = Application Program Interface B232OPSDAReadDigital Syntax CB232OPSDASetDigitalOutput ReturnsDeinitComPort Purpose See AlsoLow-Level Communications Port AddressReturns See Also DeinitComPortRead A/D Command Command$ = !0RA + CHR$channelPrint #1, Command$ MSB$ = INPUT$1, #1 LSB$ = INPUT$1, #1Read Digital I/O Command Command$ = !0RD Reply$ = INPUT$ 1, #1States = ASCReply$ Status = states and maskCommand$ = !0SO + CHR$states Set Digital Output State‘ Set Output High states = states or mask States = states and NOTmaskAppendix a Decimal to Hex to Ascii Conversion Decimal to HEX to Ascii Conversion Table