B&B Electronics manual 232SDD16-1005 Manual Appendix C

Page 25

232SDD16-1005 Manual

Appendix C

C-11

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

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

Image 25
Contents Designed and Manufactured Ottawa, Illinois Electronics Mfg. Co. IncInternet Table of Contents Introduction 232SDD16 Features232SDD16-1005 Manual Communications 232SDD16 SpecificationsSize Digital I/O Connections Connections232SDD16 I/O Port Pinout Serial Port ConnectionsPower Supply Connections RS-232 Connector Pinout232SDD16 To DTE Connections 232SDD16 To DCE Connections232SDD16 Commands CommandsEquivalent Values SyntaxSet Output Lines Command Read I/O Lines CommandBit Assignments for I/O Lines Set Power-up States Command Define I/O Lines CommandRead Configuration Command Bin. Example !0RC01010101010000010101000001000000 Digital Inputs InterfacingIsolated Solid State Input Programming Techniques SoftwareDigital I/O Mask Values MSdefs = MSdefs and mask LSdefs = LSdefs and mask Set Output States CommandMSpups = MSpups and mask LSpups = LSpups and mask MSstates = MSstates or mask LSstates = LSstates or maskSet Power-up States Command Define I/O Lines CommandMSdefs = MSdefs or mask LSdefs = LSdefs or mask MSdefs = MSdefs and NOTmask LSdefs = LSdefs and NOTmaskRunning Demonstration Program Demonstration ProgramAppendix a Appendix B Decimal to Hexadecimal Conversion 232SDD16-1005 Manual Appendix C Figure C.1 DTB25 Outline DrawingTable C.2 DBM16 I/O Connections Table C.1 DTB25 ConnectionsDBM16 Interfacing Figure C.2 DBM16 Outline DrawingFigure C.6 Isolated Solid State Input Inputs DBM16 Specifications LinesOutputs 232SDD16-1005 Manual Appendix C Msb~ I/O msbI/O lsb ~ I/O lsb #0RD00FF01FE Comp = not x and &HFF232SDD16-1005 Manual Appendix D Table D-1 Extended Commands