B&B Electronics RS-232 Digital Relay I/O 232DRIO User Manual

Page 3

Advertising
background image

232DRIO-0308 Manual

Table of Contents

i

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

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

Table of Contents

Chapter 1- Introduction ........................................... 3

232DRIO Features ..................................................

3

Packing List .............................................................

2

232DRIO Specifications...........................................

3

Opto-Isolated Input ................................................................ 3
Relay Outputs ....................................................................... 3
Power Supply ........................................................................ 3
Communications ................................................................... 3
Environment .......................................................................... 3
Size ....................................................................................... 3

Chapter 2 - Connections ......................................... 5

I/O Connections ............................................ ………

5

Opto-isolated Input ................................................................ 5
Relay Outputs ....................................................................... 5
Ground .................................................................................. 5

Serial Port Connections ...........................................

6

Power Supply Connections ......................................

7

Chapter 3 - Commands ........................................... 9

Syntax ...................................................................

10

I/O Data Bytes ..................................................................... 11

Read I/O Lines Command .....................................

13

Set Output Lines Command ..................................

13

Chapter 4 - I/O Interfacing ..................................... 15

Opto-isolated Input ................................................

15

Relay Outputs ........................................................

17

Chapter 5 - Software .............................................. 19

Programming Techniques ......................................

19

Opening a COM Port........................................................... 19
Closing a COM Port ............................................................ 19
QuickBasic .......................................................................... 20
Read I/O States Command ................................................. 20
Set Output States Command .............................................. 20
C/C++ .................................................................................. 21
Read I/O States Command ................................................. 21
Set Output States Command .............................................. 21

Advertising