B&B Electronics 485SDD16 manual Table of Contents

Page 2

Table of Contents

 

Chapter 1- Introduction

1

485SDD16 Features

1

Packing List

2

485SDD16 Specifications

2

I/O Lines

2

Inputs

2

Outputs

2

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

Set Module Address Command

13

Set Turn-around Delay Command

13

Define I/O Lines Command

14

Set Power-up States Command

15

Read Configuration Command

15

Chapter 4 - I/O Interfacing

17

Digital Inputs

17

Digital Outputs

19

485SDD16-1005 Manual Table of Contentsi

B&B Electronics -- 707 Dayton Road -- Ottawa, IL 61350

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

Chapter 5 - Software

21

Programming Techniques

21

Read I/O Lines Command

21

Read Configuration Command

22

Set Output States Command

..............................................

24

Define I/O Lines Command

25

Set Power-up States Command

26

Set Module Address Command

27

Set Turn-around Delay Command

28

Demonstration Program

29

Hard Drive Installation

Error! Bookmark not defined.

Running Demonstration Program

29

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-3

DBM16 Interfacing

C-4

Inputs

C-5

Outputs

C-7

DBM16 Specifications

C-8

I/O Lines

C-8

Inputs

C-8

Outputs

C-8

Power Supply

C-8

Size

C-8

Appendix D

 

 

Adding Data Field Confirmation

D-1

iiTable of Contents 485SDD16-1005 Manual

B&B Electronics -- 707 Dayton Road -- Ottawa, IL 61350

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

Image 2
Contents Internet Electronics Mfg. Co. IncDesigned and Manufactured Ottawa, Illinois Sales@bb-elec.com Support@bb-elec.comTable of Contents Introduction 485SDD16 Features485SDD16 Specifications Size Power SupplyCommunications 485SDD16 I/O Port Pinout ConnectionsDigital I/O Connections Serial Port ConnectionsExample of Multi-Node Network Equivalent Values Commands485SDD16 Commands SyntaxBit Assignments for I/O Lines Read I/O Lines CommandSet Output Lines Command Define I/O Lines Command Set Module Address CommandSet Turn-around Delay Command Command AddrSC ArgumentRead Configuration command returns the modules I/O Set Power-up States CommandRead Configuration Command Command AddrRC Argument None ResponseInterfacing Digital InputsIsolated Solid State Input Digital OutputsDigital 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 maskCmnd$ = ! + CHR$Maddr + SO + CHR$MSstates + CHR$LSstates Define I/O Lines CommandSet Power-up States Command Maddr =Cmnd$ = ! + CHR$Maddr + SS + CHR$MSpups + CHR$LSpups Set Module Address CommandMSpups = MSpups and NOTmask LSpups = LSpups and NOTmask LSpups = LSpups or &H20Demonstration Program Running Demonstration ProgramDecimal 485SDD16-1005 Manual Appendix a119 120 121 122 123 124 125 126 127 485SDD16-1005 Manual Appendix aAppendix B 485SDD16-1005 Manual Appendix B3rd Hex digit Decimal to Hexadecimal Conversion252 240 4th Hex digit Decimal equals 10FC hexadecimalAppendix C DBM16 Interfacing Table C.1 DTB25 ConnectionsTable C.2 DBM16 I/O Connections Figure C.4 Solid State Input 485SDD16-1005 Manual Appendix CTotal DBM16 Specifications LinesPower Supply Input Voltage Connections SizeFigure C.10 DBM16 Schematic 00FF01FE #addrRDMsb~ I/O msbI/O lsb ~ I/O lsb Comp = not x and &HFFTable D-1 Extended Commands 485SDD16-1005 Manual Appendix D