B&B Electronics RS-232 Digital Relay I/O 232DRIO 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

Ir para a página of

Bom manual de uso

As regras impõem ao revendedor a obrigação de fornecer ao comprador o manual com o produto B&B Electronics RS-232 Digital Relay I/O 232DRIO. A falta de manual ou informações incorretas fornecidas ao consumidor são a base de uma queixa por não conformidade do produto com o contrato. De acordo com a lei, pode anexar o manual em uma outra forma de que em papel, o que é frequentemente utilizado, anexando uma forma gráfica ou manual electrónicoB&B Electronics RS-232 Digital Relay I/O 232DRIO vídeos instrutivos para os usuários. A condição é uma forma legível e compreensível.

O que é a instrução?

A palavra vem do latim "Instructio" ou instruir. Portanto, no manual B&B Electronics RS-232 Digital Relay I/O 232DRIO você pode encontrar uma descrição das fases do processo. O objetivo do manual é instruir, facilitar o arranque, a utilização do equipamento ou a execução de determinadas tarefas. O manual é uma coleção de informações sobre o objeto / serviço, um guia.

Infelizmente, pequenos usuários tomam o tempo para ler o manual B&B Electronics RS-232 Digital Relay I/O 232DRIO, e um bom manual não só permite conhecer uma série de funcionalidades adicionais do dispositivo, mas evita a formação da maioria das falhas.

Então, o que deve conter o manual perfeito?

Primeiro, o manual B&B Electronics RS-232 Digital Relay I/O 232DRIO deve conte:
- dados técnicos do dispositivo B&B Electronics RS-232 Digital Relay I/O 232DRIO
- nome do fabricante e ano de fabricação do dispositivo B&B Electronics RS-232 Digital Relay I/O 232DRIO
- instruções de utilização, regulação e manutenção do dispositivo B&B Electronics RS-232 Digital Relay I/O 232DRIO
- sinais de segurança e certificados que comprovam a conformidade com as normas pertinentes

Por que você não ler manuais?

Normalmente, isso é devido à falta de tempo e à certeza quanto à funcionalidade específica do dispositivo adquirido. Infelizmente, a mesma ligação e o arranque B&B Electronics RS-232 Digital Relay I/O 232DRIO não são suficientes. O manual contém uma série de orientações sobre funcionalidades específicas, a segurança, os métodos de manutenção (mesmo sobre produtos que devem ser usados), possíveis defeitos B&B Electronics RS-232 Digital Relay I/O 232DRIO e formas de resolver problemas comuns durante o uso. No final, no manual podemos encontrar as coordenadas do serviço B&B Electronics na ausência da eficácia das soluções propostas. Atualmente, muito apreciados são manuais na forma de animações interessantes e vídeos de instrução que de uma forma melhor do que o o folheto falam ao usuário. Este tipo de manual é a chance que o usuário percorrer todo o vídeo instrutivo, sem ignorar especificações e descrições técnicas complicadas B&B Electronics RS-232 Digital Relay I/O 232DRIO, como para a versão papel.

Por que ler manuais?

Primeiro de tudo, contem a resposta sobre a construção, as possibilidades do dispositivo B&B Electronics RS-232 Digital Relay I/O 232DRIO, uso dos acessórios individuais e uma gama de informações para desfrutar plenamente todos os recursos e facilidades.

Após a compra bem sucedida de um equipamento / dispositivo, é bom ter um momento para se familiarizar com cada parte do manual B&B Electronics RS-232 Digital Relay I/O 232DRIO. Atualmente, são cuidadosamente preparados e traduzidos para sejam não só compreensíveis para os usuários, mas para cumprir a sua função básica de informação

Índice do manual

  • Página 1

    232DRIO-0308 Manual Cover Page B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 RS-232 Digital Relay I/O Model 232DRIO Documentation Number 232DRIO1005 pn#4520-r2 This product Designed and Manufactured In Ottaw a, Illinois USA of domestic and imported parts by B&B Electronics Mfg. Co. Inc. 707 Dayto[...]

  • Página 2

    [...]

  • Página 3

    232DRIO-0308 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 ........................................... 3 232DRIO Feat ures .................................................. 3 Packing Li st ..........................................[...]

  • Página 4

    ii Table of Contents 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Demonstrati on Progr am ........................................ 22 Hard Drive In stallati on ......................................................... 22 Running Demonstrat ion Progr am ...........................[...]

  • Página 5

    232DRIO-0308 Manual 3 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Chapter 1- Introduction 232DRIO Features The 232DRIO is a general purpose data acquistion controller that is connected to your computer’s RS-232 serial port. The 232DRIO offers 1 opto-isolated input and 2 rela y outputs. With these[...]

  • Página 6

    4 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figure 1.1 – 232DRIO Module Figure 1.2 – Simplified Block Diagram Packing List Examine the shipping carton and contents for physical damage. The following items should be in the shipping carton: 1. 232DRIO unit 2. Software 3. Thi[...]

  • Página 7

    232DRIO-0308 Manual 5 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Number of Channels: 1 Indication Mode Logic “0”: LED on, digital voltage input high Logic “1”: LED off, digital voltage input low Input Electrical Characteristic Voltage input low: <1.5 VAC/VDC Voltage input high: 5-30 VAC[...]

  • Página 8

    6 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Chapter 2 - Connections Do not make any connections to the 232DRIO until you have read this chapter. Remember to power down the unit and any other connected devices before maki ng any kinds of connections. Also be sure that the wires[...]

  • Página 9

    232DRIO-0308 Manual 7 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Table 2.1 - 232DRIO Terminal Blocks Blue Pin # Function Black Pin # Function 1 - Ground Input Power 1 Opto-Isolated Input 2 +12Vdc Input Power 2 Opto-Isolated Input 3 #2 N/C-Normally Closed Non-polarized 4 #2 N/O-Normally Opened 0-30[...]

  • Página 10

    8 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Table 2.3 – 232DRIO To DTE Connections 232DRIO Pin # Signal DTE DB-25 Connection DTE DB-9 Connection 2 Rec eive Data (RD) 3 2 3 Trans mit Data (TD) 2 3 5 Signal Ground (SG) 7 5 9 Ring Indic ator 22 9 Table 2.4 – 232DRIO To DCE Co[...]

  • Página 11

    232DRIO-0308 Manual 9 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 There are only two basic commands required to control the 232DRIO: set output lines and read I/O lines. For normal environments, command strings are from three to four bytes in length; the “!” character, the “0” (zero) charac[...]

  • Página 12

    10 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Table 3.1 – 232DRIO Commands Function Command Response Set Output Lines !0S{…} No response Read I/O Lines !0R {…} Set Output Lines #0S{…}{~…} No response Read I/O Lines #0R {…}{~…} Symbol: {…} represents one byte <[...]

  • Página 13

    232DRIO-0308 Manual 11 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 used to specify which command will be executed by the controller,either the “R” or “S” character. The set output command requires one argument field (for normal environments) or two argument fields (data and its comp lement [...]

  • Página 14

    12 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Example 3.1 Set Output Lines Data Byte Relays Binary Decimal Hex Relay #2 R e l a y # 1 XXXXXX00 0 0 de-energized de-energized XXXXXX01 1 1 de-energized energized XXXXXX10 2 2 energized de-energized XXXXXX11 3 3 energized energized [...]

  • Página 15

    232DRIO-0308 Manual 13 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Read I/O Lines Command The Read I/O Lines command returns one data byte (with the “!”) and two data bytes (data and its co mplement with the “#”) that reflects the state of the I/O lines. Bit 2 is Input #1, Bit 1 is Relay #2[...]

  • Página 16

    14 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Command: !0S Argument: {…} (shown in bold face) Response: none ASCII Example: !0S <ETX> Dec. Example: !0S <3> Hex. Example: !0S <03> Bin. Example: !0S <00000011> Description: Relay #2 is energized (“1”)[...]

  • Página 17

    232DRIO-0308 Manual 15 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 This chapter will explain "H IGH" and "LOW" states and show some general examples of how to in terface to the I/O lines. Caution must be taken not to exceed 232 DRIO specifications listed in Chapter 1 when interf[...]

  • Página 18

    16 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figures 4.2 - 4.4 show examples of some typical input interfaces. Figure 4.2 - Switch Input Figure 4.3 - Solid State Input 232DRIO EXTERNAL CIRCUIT 5-30 Vdc/Vac Opto Isolated Input 232DRIO EXTERNAL CIRCUIT 5-30 Vd c/Vac Opto Isolate[...]

  • Página 19

    232DRIO-0308 Manual 17 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figure 4.4 - Isolated Mechanical Input Relay Outputs Relay outputs are used to turn external devices on or off. Relay outputs are CMOS/TTL compatible and can also operate between 0- 24Vdc and 0-115Vac. Outputs can be used to control[...]

  • Página 20

    18 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Figures 4.5 - 4.6 show examples of some typical output interfaces. Figure 4.5 – Isolated Connection to External Circuit Figure 4.6 – Isolated Connection to External Devices EXTERNAL CIRCUIT 0-30 Vdc @ 8A max. 0-120 Vac @ 10A max[...]

  • Página 21

    232DRIO-0308 Manual 19 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Chapter 5 - Software This chapter will be divided into two sections. The first section covers programming techniques for opening/closing a com port, receiving data, and manipulating dat a in QuickBasic and C/C++. The second section [...]

  • Página 22

    20 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 QuickBasic (DEMO232.EXE and DEMO232.BAS) This section shows steps and examples of programming the 232DRIO in QuickBasic. If you are programming in another language, this section can be helpful as a guideline for programming the 232D[...]

  • Página 23

    232DRIO-0308 Manual 21 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 C/C++ (DEMO232.EXE and DEMO232.CPP) DEMO232.CPP is a demonstrati on program for use with B&B Electronics model 232DRIO module. Much of the work associated with using COM ports in C/C++ has been made easier by including the 232DR[...]

  • Página 24

    22 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Demonstration Program The Demonstration Programs (IBM PC or Compatible) provide the user with examples of how to receive and transmit commands to the 232DRIO. The DEMO232.EXE is the executable program and the DEMO232.BAS file is the[...]

  • Página 25

    232DRIO-0308 Manual Appendix A A-1 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 APPENDIX A ASCII Character Codes[...]

  • Página 26

    A-2 Appendix A 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 DECIMAL to HEX to AS CII CONVERSION TABLE DEC HEX ASC I I KEY DEC HEX AS CI I DEC HEX AS C I I DEC HEX ASC I I 0 0 NUL ctrl @ 32 20 SP 64 40 @ 96 60 ` 1 1 SOH ctrl A 33 21 ! 65 41 A 97 61 a 2 2 STX ctrl B 34 22 “ 66 42[...]

  • Página 27

    232DRIO-0308 Manual Appendix B B-1 B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 The decimal (base 10) numbering system represents each position in successive powers of 10, with each decimal symbol having a value from 0 to 9. The hexadecimal (base 16) numbering system represents each position in succ[...]

  • Página 28

    B-2 Appendix B 232DRIO-0308 Manual B&B Electronics -- PO Box 1040 -- Ottawa, IL 61350 PH (815) 433-5100 -- FAX (815) 433-5104 Hexadecimal to Decimal Conversion: Decimal = (1st Hex digit x 4096) + (2nd Hex digit x 256) + (3rd Hex digit x 16) + (4th Hex digit) Each "Hex digit" is the decimal equivalent value of the hexadecimal symbol. E[...]