B&B Electronics 485SDD16 manual

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28

Go to page of

A good user manual

The rules should oblige the seller to give the purchaser an operating instrucion of B&B Electronics 485SDD16, along with an item. The lack of an instruction or false information given to customer shall constitute grounds to apply for a complaint because of nonconformity of goods with the contract. In accordance with the law, a customer can receive an instruction in non-paper form; lately graphic and electronic forms of the manuals, as well as instructional videos have been majorly used. A necessary precondition for this is the unmistakable, legible character of an instruction.

What is an instruction?

The term originates from the Latin word „instructio”, which means organizing. Therefore, in an instruction of B&B Electronics 485SDD16 one could find a process description. An instruction's purpose is to teach, to ease the start-up and an item's use or performance of certain activities. An instruction is a compilation of information about an item/a service, it is a clue.

Unfortunately, only a few customers devote their time to read an instruction of B&B Electronics 485SDD16. A good user manual introduces us to a number of additional functionalities of the purchased item, and also helps us to avoid the formation of most of the defects.

What should a perfect user manual contain?

First and foremost, an user manual of B&B Electronics 485SDD16 should contain:
- informations concerning technical data of B&B Electronics 485SDD16
- name of the manufacturer and a year of construction of the B&B Electronics 485SDD16 item
- rules of operation, control and maintenance of the B&B Electronics 485SDD16 item
- safety signs and mark certificates which confirm compatibility with appropriate standards

Why don't we read the manuals?

Usually it results from the lack of time and certainty about functionalities of purchased items. Unfortunately, networking and start-up of B&B Electronics 485SDD16 alone are not enough. An instruction contains a number of clues concerning respective functionalities, safety rules, maintenance methods (what means should be used), eventual defects of B&B Electronics 485SDD16, and methods of problem resolution. Eventually, when one still can't find the answer to his problems, he will be directed to the B&B Electronics service. Lately animated manuals and instructional videos are quite popular among customers. These kinds of user manuals are effective; they assure that a customer will familiarize himself with the whole material, and won't skip complicated, technical information of B&B Electronics 485SDD16.

Why one should read the manuals?

It is mostly in the manuals where we will find the details concerning construction and possibility of the B&B Electronics 485SDD16 item, and its use of respective accessory, as well as information concerning all the functions and facilities.

After a successful purchase of an item one should find a moment and get to know with every part of an instruction. Currently the manuals are carefully prearranged and translated, so they could be fully understood by its users. The manuals will serve as an informational aid.

Table of contents for the manual

  • Page 1

    485SDD16-1005 Manua l Cover Page B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 RS-485 Digital I/O Module Model 485SDD16 Document ation Num ber 485SDD16-1005 pn#3605-r1 This product Designed and Manufactur ed In Ottawa , Illinois USA of domestic and impor ted parts by B&B Electronics Mfg. [...]

  • Page 2

    485SDD16-1005 Manua l Table of Contents i B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Table of Contents Chapte r 1- Introduction ........................... ................ 1 485SDD16 Fe atures ........................................... .... 1 Packing Li st ........................... ...[...]

  • Page 3

    485SDD16-1005 Manua l 1 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Chapter 1- Introduction 485SDD16 Features The 485SDD16 is a ge neral purpose contro l module that operates through an RS-48 5 interface. The 485S DD16 off ers 16 discrete digital I /O lines. Wit h these feature s, the modul[...]

  • Page 4

    485SDD16-1005 Manua l 3 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Power Sup ply Input Voltage: 8 Vdc to 16 Vdc @ 35 milliamps (Doesn’t include the power consumption of external devices. ) Connection: Terminal Blocks or DB-25S Communications Standard: RS-422/485 Addresses: 256 (Factory d[...]

  • Page 5

    485SDD16-1005 Manua l 5 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Chapter 2 - Connections This chapter will cover the connections re quired for the 485SDD16. There are thre e sets of connections: digital I/ O, serial port, and power supply. Do not make any connections to the 485SDD16 unti[...]

  • Page 6

    485SDD16-1005 Manua l 7 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Figure 2.1 - Example of Multi-Node Network 485SDD16 485SDD16 485SDD16 Figure 2.2 - RS-485 2-w ire Connection 8 485SDD16-1005 Manual B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (81[...]

  • Page 7

    485SDD16-1005 Manua l 9 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Chapter 3 - Comm ands There are only two commands required to control th e 485SDD16: set output lines, and read I/O lines. Five addit ional commands are used for configuring the modu le: set module address, set turn- around[...]

  • Page 8

    485SDD16-1005 Manua l 11 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 A byte represents an eight-bit binary number (11111111 ), therefore each byt e can represent eight I/O lines. Each bit is assigned a bit position and a weight (v alue). Refer to Table 3.3. Table 3.3 - Bit Assignments for I[...]

  • Page 9

    485SDD16-1005 Manua l 13 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Set Module Address Command The Set Module Address command is used to change the address of a 485SDD16. This commands requires one data by te. This data byte is used to specify the module's new address. Addresses can b[...]

  • Page 10

    485SDD16-1005 Manua l 15 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Set Power-up States Command The Set Power-up States command is used to set the states of output lines when the module's power is recycled. Th is command requires two data bytes. These data bytes specify the ou tput st[...]

  • Page 11

    485SDD16-1005 Manua l 17 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Chapter 4 - I/O Interfacing This chapter will explain "HIG H" and "LOW" st ates and show some gen eral exam ples of h ow to interface to the I /O lines. Caution must be taken not to exceed 485SDD16 spec[...]

  • Page 12

    485SDD16-1005 Manua l 19 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Figure 4.4 - Isolated Solid State Input Digital Outputs Digital outputs are used to turn on or tu rn off external devices. Digital outputs are CMOS compatible and operate between 0Vdc and +5Vdc. Outputs can be used to cont[...]

  • Page 13

    485SDD16-1005 Manua l 21 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Chapter 5 - Softwar e This chapter will be divided into two sections. The first section covers programming t echniques for constru cting a command st ring, receiving data and manipula ting data in QuickBASIC. The second se[...]

  • Page 14

    485SDD16-1005 Manua l 23 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Step 3 - Receiving the da ta: MSdefs$ = INPUT$(1,#1) LSdefs$ = INPUT$(1,#1) MSpups$ = INPUT$(1,#1) LSpups$ = INPUT$(1,#1) Maddr$ = INPUT$(1,#1) Mtdly$ = INPUT$(1,#1) Step 4 - Manipulating the data: MSdefs = ASC(MSdefs$) LS[...]

  • Page 15

    485SDD16-1005 Manua l 25 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Step 1b - Set appropriate out puts LOW MSstates = MSstates AND (NOT(ma sk)) LSstates = LSstates AND (NOT(mask)) By "ANDing" t he current states wit h the complement of the appropriate m ask of a digital output li[...]

  • Page 16

    485SDD16-1005 Manua l 27 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Step 1b - Set appropriate out puts power-up stat es LOW MSpups = MSpups AND (NOT(mask)) LSpups = LSpups AND (NOT(mask)) By "ANDing" t he current power-up st ates with the co mplement of the appropriate mask of a [...]

  • Page 17

    485SDD16-1005 Manua l 29 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Demonstration Program The 485SDD16 Demonstration (SDD16) Program (IB M PC or Compatible) provi des the user with examples of how t o receive and transmit commands to the 485 SDD16. The SDD16.EXE is the executable program, [...]

  • Page 18

    485SDD16-1005 Manua l Appendix A A-1 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 APPENDIX A ASCII Character Codes A-2 Appendix A 485SDD16-1005 Manual B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Decimal ASCI I 0 ............ ....... [...]

  • Page 19

    485SDD16-1005 Manua l Appendix A A-3 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Decimal ..... ....... ASC II 80 ............ ..... P 81 .......... ....... Q 82 .......... ....... R 83 ............ ..... S 84 ............ ..... T 85 .......... ....... U 86 ............ ..... V 87 ..........[...]

  • Page 20

    485SDD16-1005 Manua l Appendix B B-1 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 APPENDIX B Hexadecimal/Decimal Conversions B-2 Appendix B 485SDD16-1005 Manual B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 The decimal (base 1 0) numbe[...]

  • Page 21

    485SDD16-1005 Manua l Appendix B B-3 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Hexadecimal to Decima l Conversion: Decimal = (1st Hex digit x 4096) + (2nd Hex digit x 256) + (3rd Hex digit x 16) + ( 4th H ex digi t) Each "Hex digit" is the decimal eq uivalent value of the hexade[...]

  • Page 22

    485SDD16-1005 Manua l Appendix C C-1 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 APPENDIX C Interface Modules for SDD16 Models C-2 Appendix C 485SDD16-1005 Manual B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 DTB25 The DTB25 connects [...]

  • Page 23

    485SDD16-1005 Manua l Appendix C C-3 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 DBM16 The DBM16 module provides buffering and increased power handling for a ll the sixteen I /O lines of the SDD16 models. Each of the I/O lin es can be programmed as an input or as an output b y setting a jum[...]

  • Page 24

    485SDD16-1005 Manua l Appendix C C-5 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Figure C.2 - DBM 16 Outline Drawing Inputs Digital inputs are used to sense "HIGH" and "LOW" states based on voltage levels. This is accomplished via switch closures, contact closures or a s[...]

  • Page 25

    485SDD16-1005 Manua l Appendix C C-7 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Outputs Digital outputs are used to turn "ON" or t urn "OFF" external devices. Output s can be used to control solid state output modules, logic circuits, and relays. Caution must be taken n[...]

  • Page 26

    485SDD16-1005 Manua l Appendix C C-9 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Figure C.10 - DBM16 Schematic C-10 Appendix C 485SDD16-1005 Manual B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104[...]

  • Page 27

    485SDD16-1005 Manua l Appendix D D-1 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 APPENDIX D Adding Data Field Comfirmation D-2 A ppendix D 485SDD16-1005 Manual B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 With serial communications i[...]

  • Page 28

    485SDD16-1005 Manua l Appendix D D-3 B&B Electronics - - 707 Day ton Road -- Ottawa, IL 61350 PH (815) 433-5100 - - FA X (815) 433-5104 Table D-1 Extended Commands Function Command Response Read I/O Lines #{addr}RD {I/O msb}{~I/O msb}{I/O lsb}{~I/O lsb} Set Output Line s #{addr}SO{I/O msb}{~I/O ms b}{I/O lsb}{~I/O lsb} no response Set Module Ad[...]