Measurement Digital232 User Manual

the smart approach to instrumentation
IOtech, Inc.
25971 Cannon Road Cleveland, OH 44146
Phone: (440) 439-4091 Fax: (440) 439-4093
E-mail: sales@iotech.com Internet: http://www.iotech.com
Digital232 User’s Manual
p/n DIGITAL232-901 Rev 2.0
Printed in the United States of America

Warranty Information

Your IOtech warranty is as stated on the product warranty card. You may contact IOtech by phone, fax machine, or e-mail in regard to warranty-related issues. Phone: (440) 439-4091, fax: (440) 439-4093, e-mail: sales@iotech.com
Limitation of Liability
IOtech, Inc. cannot be held liable for any damages resulting from the use or misuse of this product.
Copyright, Trademark, and Licensing Notice
All IOtech documentation, software, and hardware are copyright with all rights reserved. No part of this product may be copied, reproduced or transmitted by any mechanical, photographic, electronic, or other method without IOtech’s prior written consent. IOtech product names are trademarked; other product names, as applicable, are trademarks of their respective holders. All suppli ed IOtech software (including miscellaneous support files, drivers, and sample programs) may only be used on one installation. You may make archival backup copies.
FCC Statement
IOtech devices emit radio frequency energy in levels compliant with Federal Communications Commission rules (Part 15) for Class A devices. If necessary, refer to the FCC booklet How To Identify and Resolve Radio-TV Interference Problems (stock # 004-000-00345-4) which is available from the U.S. Government Printing Office, Washington, D.C. 20402.
CE Notice
Many IOtech products carry the CE marker indicating they comply with the safety and emissions standards of the European Community. As applicable, we ship these products with a Declaration of Conformity stating which specifications and operating conditions apply.

Warnings, Cautions, Notes, and Tips

Refer all service to qualified personnel. This caution symbol warns of possible personal injury or equipment damage under noted conditions. Follow all safety standards of professional practice and the recommendations in this manual. Using this equipment i n ways other than described in this manual can present serious safety hazards or cause equipment damage.
This ESD caution symbol urges proper handling of equipment or components sensitive to damage from electrostatic discharge. Proper handling guidelines include the use of grounded anti-static mats and wrist straps, ESD-protective bags and cartons, and related procedures.
Specifications and Calibration
Specifications are subject to change without notice. Significant changes will be addressed in an addendum or revision to the manual. As applicable, IOtech calibrates its hardware to published specifications. Periodic hardware calibration is not covered under the warranty and must be performed by qualified personnel as specified in this manual. Improper calibration procedures may void the warranty.
Quality Notice
IOtech has maintained ISO 9001 certification since 1996. Prior to shipment, we thoroughly test our products and review our documentation to assure the highest quality in all aspects. In a spirit of continuous improvement, IOtech welcomes your suggestions.

Table of Contents

Section1 INTRODUCTION Page
1.1 General Description 1.1
1.2 Available Accessories 1.2
1.3 Specifications 1.3
Section 2 GETTING STARTED Page
2.1 Inspection 2.1
2.2 Configuration 2.2
2.2.1 Serial Baud Rate Selection 2.3
2.2.2 Xon/Xoff Serial Control 2.5
2.2.3 Serial Word Length Selection 2.5
2.2.4 Serial Stop Bit Selection 2.6
2.2.5 Serial Terminator Selection 2.6
2.2.6 Serial Echo Selection 2.7
2.2.7 Serial Parity Selection 2.7
2.3 Digital I/O Ports 2.8
2.3.1 Logic Levels 2.8
2.3.2 Digital I/O Port Pinout 2.8
2.3.3 Control Lines 2.10
2.3.3.1 Clear 2.10
2.3.3.2 Data Strobe 2.10
2.3.3.3 External Data Ready 2.11
2.3.3.4 Inhibit 2.11
2.3.3.5 Trigger 2.12
2.3.3.6 Service Input 2.13
2.4 Installation 2.13
2.5 Errors 2.14
Table of Contents
Section 3 COMMAND DESCRIPTIONS Page
@ Reset 3.2 An Bit Set 3.3 Bn Bit Clear 3.4 Cn Configure 3.5 Dn…Z Data 3.6 Fn Format 3.7 Gn Output Select 3.12 Hn Handshake 3.13 In Invert 3.14 Mn Service Request (SRQ) 3.15 Pn Port 3.16 Qn Inhibit 3.17 Rn Data ready 3.18 Tn Test 3.19 Un Status 3.20 X Execute 3.24 Yn Terminator 3.25
Section 4 SERVICE INFORMATION Page
4.1 Factory Service 4.1
4.2 Digital232 Component Layout 4.2
4.3 Digital232 Parts List 4.3
Appendix A Digital232 Command Summary Appendix B ASCII Character Codes Appendix C IBM PC Interfacing
A.1 B.1 C.1
Section 1 Introduction
Introduction

1.1 General Description

The
Digital232
unit has 40 TTL level digital I/O lines, divided into five 8-bit ports. Each port is software programmable as input or output.
The
Digital232
trigger output signal can be asserted on a Trigger command. Edge-triggered inputs can generate a Service Request to the RS-232 host. Five data formats are software programmable, including hexadecimal, ASCII, binary, high speed binary and decimal. There are also individual bit set and bit clear commands.
A status mode enables the host to interrogate the programmed status of the
Digital232
RAM and ROM operation.
When data is requested, the ports, all output ports, or from a specific 8 bit port. When being programmed, the unit will input data and programming information from the host, and output the data to the selected I/O port.
at any time. A self-test is initiated at power-on which checks for proper
is a digital input and output interface to the RS-232 standard. The
has several features which give it versatile interface capability. A
Digital232
will output from all forty bits, all input
1.1
Section 1 Introduction

1.2 Available Accessories

Additonal accessories that can be ordered for the
CN-6-50 109-0920 CA-11
50 Pin solder tab edge connector. Instruction Manual 12 ft. RS-232 cable, compatible with IBM PCs or
Digital232
include...
similar computers.
CA-8-50
6 foot, 50 conductor ribbon cable with a card edge
connector on one end, the other end unterminated.
CA-8-50
1.2
Section 1 Introduction

1.3 Specifications DIGITAL I/O:

Configuration: Five 8 bit ports, programmable as inputs or outputs.
Also included are programmable handshake lines, data
latching capability, and trigger output. Logic Levels: Outputs will drive 2 TTL loads. Connector: I/O Port: One 50 pin card-edge. Mating connector
supplied.
SERIAL INTERFACE:
EIA RS-232C: AB, BA, BB, CA, CB Duplex: Full with switch selectable echo/no-echo Data Bits: 7 or 8 (switch selectable) Stop bits: 1 or 2 (switch selectable) Parity: Switch selectable on transmit for odd, even,
mark, space or disabled. No parity test on receive Baud Rates: 110, 135, 150, 300, 600, 1200, 1800, 2400, 3600,
4800, 7200, 9600, and 19200 (switch selectable) Terminator: Switch selectable CR, LF, CR-LF, or LF-CR Control: Supports Clear To Send (CTS), Request To Send
(RTS) and switch selectable XON/XOFF Serial I/O Buffers: 3500 Characters each Serial Connectors: Mates with a 25-Pin Sub-D male: DCE configured.
GENERAL:
Indicators: LEDs for Send, Receive, Test, Error, and Power Power: 105-125V or 210-250V,50, 60 Hz; 15 VA MA X. Environment: 0 to 50 deg C; 0 to 70% RH Dimensions: 188mm deep x 140mm wide x 68mm high. (7.39" x
5.5" x 2.68") Weight: 1.55 kg (3.6 lbs) Controls: Power switch, internal dip switch for RS-232
parameters
Supplied Accessories: I/O port connector, power supply and manual.
Specifications are subject to change without notice.
1.3
Section 2 Getting Started
GETTING STARTED

2.1 INSPECTION

The
Digital232
to shipment. When you receive the interface, carefully unpack all items from the shipping carton and check for any obvious signs of physical damage which may have occurred during shipment. Immediately report any such damage found to the shipping agent. Remember to retain all shipping materials in the event that shipment back to the factory becomes necessary.
Every

2.2 CONFIGURATION

interface. NOTE: Most selectable functions are read ONLY at power-on and should only be set prior to applying power to the interface. The following figures illustrate the factory default conditions which are:
Digital232
Two DIP switches internal to the
was carefully inspected, both mechanically and electrically, prior
is shipped with the following....
Digital232 109-0920 CN-6-50 TR-2 TR-2E
Digital I/O Interface
Instruction Manual 50 pin card edge connector 115 volt Power Supply or 220 volt Power Supply
Digital232
set the configuration of the
9600 Baud 8 Data Bits 2 Stop Bits No Parity Xon/Xoff Disabled Echo Disabled Serial Terminator = CR Only
2.1
Section 2 Getting Started
S1 Factory Default Settings
S2 Factory Default Settings
2.2
Section 2 Getting Started
Switch S1 is the 8-position dip switch close to the front of the unit. Switch S2 is near the rear power switch. To modify any of these defaults, follow this simple procedure:
Disconnect the power supply from the AC line and from the interface.
Disconnect any digital I/O or serial cables prior to disassembly.
WARNING
Never open the
Digital232
case while it is connected to the AC line. Failure to observe this warning may result in equipment failure, personal injury or death.
Remove the four screws located in each corner of the rear panel. Hold the case firmly and pull the rear panel outward, noting the slot location of the main circuit board. Modify those parameters which are appropriate for your installation and reassemble the unit. Slide the main circuit board into the previously noted slot and finish reassembly by tightening the four screws into the rear panel.
2.2.1 Serial Baud Rate Selection
S1-1 through S1-4 determine the serial baud rate. The factory default is 9600 baud. The baud rate may be selected from 110 to 19200. (Switch S1 is located near the front of the interface)
2.3
Section 2 Getting Started
S1 View for Serial Baud Rate Selection
2.4
Section 2 Getting Started

2.2.2 Xon/Xoff Serial Control Selection

Switch S1-5 is used to enable
Digital232
issues
when its serial input buffer is near full. When it is able to
Xoff
accept more information, it issues
Xon/Xoff
. The
Xon
serial control. When enabled, the
Digital232
transmit from the serial device it is communicating with.
When the
Xon/Xoff
set to +5 volts, and the
Digital232
default is
should be wired to the
Xon/Xoff
disabled.
S1 View for Xon/Xoff Serial Control
mode is enabled, the
input is ignored. However, the
CTS
+Vtest
to avoid any problems. The factory
output from the
RTS
also accepts
CTS
Xon/Xoff
on
Digital232
input to the
is

2.2.3 Serial Word Length Selection

S1-6 determines the number of bits per each serial character transmitted or received. The factory default is 8 data bits.
S1 View of Serial Word Length (Data Bits)
2.5
Section 2 Getting Started

2.2.4 Serial Stop Bit Selection

Switch SW1-8 determines the number of stop bits contained in each serial character transmitted and received. The factory default is 2 stop bits.
SW1 View for Serial Stop Bit Selection

2.2.5 Serial Terminator Selection

S2-3 and S2-4 select the serial terminators for the serial input and output. The factory default is
. (switch S2 is located near the rear power switch).
CR
S2 View for Serial Terminator
2.6
Section 2 Getting Started

2.2.6 Serial Echo Selection

Serial data sent to the
Digital232
will be echoed back to the serial host if S2-5
is set to the open position. Factory default is Echo Disabled.
S2 View for Echo

2.2.7 Serial Parity Selection

Serial Parity is selected with S2-6 through S2-8. The
Digital232
generates the selected parity during serial transmissions but it does not check parity on data received. The factory default is parity disabled.
S2 View for Serial Parity Selection

2.3 Digital Input/Output Ports

The
Digital232
has 40 data lines which can be programmed in groups of 8 as
2.7
Section 2 Getting Started
either input or output. At power on, all 40 bits are in the input mode. Each 8 bit group is one port, beginning with
Port 1
as the least significant 8 bits, and
Port 5
as
the most significant 8 bits.

2.3.1 Logic Levels

The data and handshake output lines will drive two TTL loads. In addition,
ports 3, 4, and 5 outputs are 5 Volt CMOS compatible. All input lines are less than
1.5 TTL loads. All inputs are protected against damage due to high static voltages. Normal precautions should be taken to limit the input voltages to -0.3 to +7.0 volts. All I/O lines are referenced to
COMMON
(Pin 50).
2.3.2 Digital I/O Port Pinout (rear view)
The following diagram illustrates the digital I/O edge connector as view from
the rear of the
Digital232
2.8
Section 2 Getting Started
Pin Description
1 thru 8
9 thru 16
17 thru 24
25 thru 32
33 thru 40
41
DATA PORT1
(Input or Output). Pin 1 is bit 1 (LSB), Pin 8 is bit 8 (MSB). Least Significant Port
DATA PORT2
(Input or Output). Pin 9 is bit 1 (LSB), Pin 16 is bit 8 (MSB).
DATA PORT3
(Input or Output). Pin 17 is bit 1 (LSB), Pin 24 is bit 8 (MSB).
DATA PORT4
(Input or Output). Pin 25 is bit 1 (LSB), Pin 32 is bit 8 (MSB).
DATA PORT5
(Input or Output). Pin 33 is bit 1 (LSB), Pin 40 is bit 8 (MSB). Most Significant Port
CLEAR
(Output). 42 43 44 45 46
DATA STROBE TRIGGER INHIBIT SERVICE INPUT EXTERNAL DATA READY [EDR]
47,48 Not used. 49 50
+5 Volts I/O COMMON.
(Output).
(Output).
(Output).
(Input).
(
Do not exceed 50 mA load
(Input).
).
2.9
Section 2 Getting Started

2.3.3 Control Lines

Five control lines enable handshaking of digital I/O data transfer to the
Digital232
and can also be independently activated with the
. They are automatically activated with the corresponding I/O activity
Handshake (Hn)
command.
2.3.3.1 Clear
The
Clear
(Pin 41)
output is pulse for approximately 50 microseconds at power-on, or upon receipt of the active high. The
Handshake
command
Invert
operations.
2.3.3.2 Data Strobe
TIMING DIAGRAM FOR CLEAR OUTPUT
(Pin 42)
RESET (@
) command. The
Clear
line is normally
command (I8) will program it active low. The
(H0)
can pulse the
Clear
line, independent of any I/O
The
Data Strobe
new data is output on the I/O port. The
output is pulse for approximately 50 microseconds after
Data Strobe
high but may be programmed active low by the
Handshake
command
can pulse the
(H1)
Data Strobe
I/O operations.
2.10
line is normally active
Invert
command (I4). The
line, independent of an
Loading...
+ 41 hidden pages