B&B Electronics RS-232 Digital I/O Module 232SDD16 User Manual

Page 2

Advertising
background image

232SDD16-1005 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 ........................................... 1

232SDD16 Features ............................................... 1
Packing List ............................................................ 2
232SDD16 Specifications ....................................... 3

I/O Lines ................................................................................3

Digital Inputs......................................................................3
Digital Outputs ...................................................................3

Power Supply ........................................................................3
Communications ...................................................................3
Size .......................................................................................3

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

Digital I/O Connections ........................................... 5

Digital Inputs .........................................................................5
Digital Outputs.......................................................................5
Ground ..................................................................................5

Serial Port Connections .......................................... 6
Power Supply Connections..................................... 8

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

Syntax .................................................................. 10

I/O Data Bytes.....................................................................10

Read I/O Lines Command .................................... 12
Set Output Lines Command ................................. 12
Define I/O Lines Command .................................. 13
Set Power-up States Command ........................... 14
Read Configuration Command ............................. 14

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

Digital Inputs......................................................... 17
Digital Outputs ...................................................... 19

ii

Table of Contents

232SDD16-1005 Manual

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

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

Chapter 5 - Software.............................................. 21

Programming Techniques..................................... 21

Read I/O States Command.................................................21
Read Configuration Command ...........................................22
Set Output States Command ..............................................24
Define I/O Lines Command.................................................25
Set Power-up States Command .........................................25

Demonstration Program ....................................... 27

Hard Drive Installation.......... Error! Bookmark not defined.
Running Demonstration Program .......................................27

APPENDIX A..........................................................A-1

ASCII Character Codes .......................................A-1

APPENDIX B..........................................................B-1

Hexadecimal/Decimal Conversions .....................B-1

APPENDIX C..........................................................C-1

Interface Modules for SDD16 Models..................C-1
DTB25 .................................................................C-2
DBM16 ................................................................C-4

DBM16 Interfacing ............................................................ C-5

Inputs ............................................................................. C-5
Outputs .......................................................................... C-7

DBM16 Specifications ....................................................... C-9

I/O Lines ........................................................................ C-9

Inputs................................................................................. C-9
Outputs.............................................................................. C-9

Power Supply ................................................................ C-9
Size................................................................................ C-9

APPENDIX D.......................................................D-1
Adding Data Field Confirmation...........................D-1

Advertising