B&B Electronics 232OPSDA manual Digital Input, Digital Output, Power Supply, Communications

Page 7

Digital Input

 

Channels:

1

Voltage Range:

-30VDC to +30VDC

Low Voltage:

-30VDC to 1.0VDC

High Voltage:

2.0VDC to 30VDC

Leakage Current:

1 A maximum

Digital Output

 

Channels:

1

Low Voltage:

0.6VDC @ 8.7mA

High Voltage:

4.3VDC @ -5.4mA

Power Supply

 

Input Voltage:

9-16VDC @ 10mA (Does not include the

 

power consumption of external devices.)

Connections:

Terminal Blocks

Communications

 

Standard:

RS-232 (unit is DCE)

Baud Rate:

1,200 to 9,600 (automatic detection)

Format:

8 data bits, 1 stop bit, no parity

Isolation Protection:

2500V (Power supply not considered)

Port Power:

RTS and DTR (either state)

Connections:

DB-25S (female)

4Documentation Number 232OPSDA1397 Manual

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

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

Image 7
Contents Designed and Manufactured Ottawa, Illinois Electronics Mfg. Co. IncInternet Table of Contents Page Introduction 232OPSDA FeaturesPacking List General Block Diagram232OPSDA Specifications Software InstallationAnalog to Digital Converter Communications Power SupplyDigital Input Digital OutputTerminal Function Description Block Connections232OPSDA Serial Port Connections Digital I/O Connections232OPSDA Power Supply Connections Commands Syntax Reading A/D Channels Command States Reading Digital I/O CommandSet Digital Output Command 0RDBuffered 0 to 5V A/D Inputs Sampling RateConverter Range Non-buffered 0 to 5VDC A/D Inputs20mA Current Loop A/D Input To 10VDC A/D InputGain = Application Program Interface Syntax C B232OPSDAReadDigitalSee Also B232OPSDASetDigitalOutputReturns DeinitComPort PurposeDeinitComPort Low-Level CommunicationsPort Address Returns See AlsoMSB$ = INPUT$1, #1 LSB$ = INPUT$1, #1 Read A/D CommandCommand$ = !0RA + CHR$channel Print #1, Command$Read Digital I/O Command Status = states and mask Command$ = !0RDReply$ = INPUT$ 1, #1 States = ASCReply$States = states and NOTmask Command$ = !0SO + CHR$statesSet Digital Output State ‘ Set Output High states = states or maskDecimal to HEX to Ascii Conversion Table Appendix a Decimal to Hex to Ascii Conversion