B&B Electronics 232OPSDA manual Electronics Mfg. Co. Inc, Internet

Page 1

Not Recommended for New Installations.

Please contact Technical Support for more information.

Optically Isolated Serial

Data Acquisition Module

232OPSDA Module

Documentation Number 232OPSDA1397

This product

Designed and Manufactured

In Ottawa, Illinois

USA

of domestic and imported parts by

B&B Electronics Mfg. Co. Inc.

707 Dayton Road -- P.O. Box 1040 -- Ottawa, IL 61350

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

Internet:

http://www.bb-elec.com

orders@bb-elec.com support@bb.elec.com

Copyright © 1997 by B&B Electronics Mfg. Co. All rights reserved.

Documentation Number 232OPSDA1397 Manual

Cover Page

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

 

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

 

Image 1
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 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