B&B Electronics 232OPSDA manual Packing List, General Block Diagram

Page 5

Terminal Blocks

TB 7

Digital Input

TB 6

Digital Output

I/O

Microprocessor

Digital

 

 

TB 4

A/D Converter

A/D 4

 

 

 

 

 

 

 

 

TB 5

A/D 5

0

1

2

3

A/D

A/D

A/D

A/D

Analog Inputs

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

TB 0

A/D 0

A/D0

A/D1

A/D2

A/D3

TB 1

A/D 1

 

 

Signal

 

 

 

 

 

 

 

 

TB 2

A/D 2

Conditioning

TB 3

A/D 3

 

 

Circuitry

 

 

 

 

 

 

 

 

 

 

 

 

Optical Isolation

Serial Port

DB-25S

TD

RD

RS-232

Tranceiver

Figure 1.2: General Block Diagram

Packing List

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

1.232OPSDA module

2.One 232OPSDA 3.5” disk

3.This instruction manual

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

2Documentation Number 232OPSDA1397 Manual

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

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

Image 5
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Table of Contents Page Introduction 232OPSDA FeaturesPacking List General Block DiagramAnalog to Digital Converter Software Installation232OPSDA Specifications Digital Input Power SupplyDigital Output CommunicationsTerminal Function Description Block Connections232OPSDA Serial Port Connections Digital I/O Connections232OPSDA Power Supply Connections Commands Syntax Reading A/D Channels Command Set Digital Output Command Reading Digital I/O Command0RD StatesConverter Range Sampling RateNon-buffered 0 to 5VDC A/D Inputs Buffered 0 to 5V A/D Inputs20mA Current Loop A/D Input To 10VDC A/D InputGain = Application Program Interface Syntax C B232OPSDAReadDigitalReturns B232OPSDASetDigitalOutputDeinitComPort Purpose See AlsoPort Address Low-Level CommunicationsReturns See Also DeinitComPortCommand$ = !0RA + CHR$channel Read A/D CommandPrint #1, Command$ MSB$ = INPUT$1, #1 LSB$ = INPUT$1, #1Read Digital I/O Command Reply$ = INPUT$ 1, #1 Command$ = !0RDStates = ASCReply$ Status = states and maskSet Digital Output State Command$ = !0SO + CHR$states‘ Set Output High states = states or mask States = states and NOTmaskDecimal to HEX to Ascii Conversion Table Appendix a Decimal to Hex to Ascii Conversion