B&B Electronics 232SDD16 manual Table of Contents

Page 2

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

232SDD16-1005 Manual Table of Contentsi

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

iiTable of Contents 232SDD16-1005 Manual

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

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

Image 2
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Table of Contents 232SDD16-1005 Manual 232SDD16 FeaturesIntroduction Size 232SDD16 SpecificationsCommunications 232SDD16 I/O Port Pinout ConnectionsDigital I/O Connections Serial Port Connections232SDD16 To DTE Connections RS-232 Connector PinoutPower Supply Connections 232SDD16 To DCE ConnectionsEquivalent Values Commands232SDD16 Commands SyntaxBit Assignments for I/O Lines Read I/O Lines CommandSet Output Lines Command Read Configuration Command Define I/O Lines CommandSet Power-up States Command Bin. Example !0RC01010101010000010101000001000000 Interfacing Digital InputsIsolated Solid State Input Digital I/O Mask Values SoftwareProgramming Techniques MSpups = MSpups and mask LSpups = LSpups and mask Set Output States CommandMSdefs = MSdefs and mask LSdefs = LSdefs and mask MSstates = MSstates or mask LSstates = LSstates or maskMSdefs = MSdefs or mask LSdefs = LSdefs or mask Define I/O Lines CommandSet Power-up States Command MSdefs = MSdefs and NOTmask LSdefs = LSdefs and NOTmaskDemonstration Program Running Demonstration ProgramAppendix a Appendix B Decimal to Hexadecimal Conversion Figure C.1 DTB25 Outline Drawing 232SDD16-1005 Manual Appendix CTable C.1 DTB25 Connections Table C.2 DBM16 I/O ConnectionsFigure C.2 DBM16 Outline Drawing DBM16 InterfacingFigure C.6 Isolated Solid State Input Outputs DBM16 Specifications LinesInputs 232SDD16-1005 Manual Appendix C 00FF01FE #0RDMsb~ I/O msbI/O lsb ~ I/O lsb Comp = not x and &HFFTable D-1 Extended Commands 232SDD16-1005 Manual Appendix D