Do you have a question about the ADC-1R2 and is the answer not in the manual?
Questions and answers
Summary of Contents for SuperLogics ADC-1R2
Page 1
SuperLogics SuperLogics Inc. Phone 781-893-1600 300 Third Avenue 781-893-0600 Waltham, MA 02451 Tech E-Mail support@superlogics.com http://www.superlogics.com ADC-1R2 I/O Module Digital I/O Analog I/O...
Digital & Analog I/O Port Specifications Digital & Analog pin outs ..............21 Module Specifications PCB Illustrations ................22 Dip switch and jumper settings ............22 ADC-1R2 Series Module Specifications ........23 232 cabling and specifications .............23 Peripherals Analog Connection Board ............24 Signal Conditioner Board ............24 DB15/DB25 Terminal Strip Board ..........24...
Introduction Welcome to the SuperLogics ADC-1R2 Series of I/O modules. These modules using RS-232 communications are available in different configurations dependent on your needs and applications. In addition they are offered in an enclosure, or open allowing you the end user complete flexibility when determining the parameters for your project.
Quick Start Instructions You need the following: • EZTerminal program available free on our website http://www.SuperLogics.com • An open COMPORT on your PC • Power supply PS9J (9VDC 400 ma unregulated) • A cable to connect your PC (C9F9M-6 6 foot serial cable)
Page 5
Step 4 Your First Command Now that you have a EZTerminal session running, your ready to power up the ADC-1R2 Series I/O Module. After powering up your ADC-1R2 Series Module, EZTerminal will receive a welcome message from the unit indicating you are ready to provide your first command.
Communications The SuperLogics ADC-1R2 Series I/O Modules support RS-232 communications interface using simple ASCII commands. A carriage return (decimal code 13 or Hex code 0x0D) marks the end of each command. Line feeds (decimal code 10 or Hex code 0x0A) are ignored.
Commands and Responses v3.0 Firmware Command Response Description Sent by Host Sent by I/O Module Firmware version x.y Ixxyy Input digital port status xx = PORT1 yy = PORT2 Also returns current output port status Oxxyy Output digital port: xx = PORT1 yy = PORT2) Txxyy Set digital direction:...
Commands and Responses The following table illustrates actual command and response data for an RS-232 interface. NOTE: • All numeric data is represent as ASCII Hexadecimal integers. • The symbol ↵ equates to a carriage return (decimal 13, hex 0x0D). Command Response Description...
Technologies LTC1296 analog to digital conversion chip. In the process of performing a data sample, the user sends a control nibble to the ADC-1R2 Series module. The ADC-1R2 Series module in turn performs a data conversion using the control nibble and transmitts a response data sample back.
EEPROM Map: Address Description 0x00 N/A - Reserved 0x01 N/A - Reserved 0x02 Data Direction Port 1 Bit set (1) = Input Bit clear (0) = Output [factory default = 0xFF] 0x03 Data Direction Port 2 Bit set (1) = Input Bit clear (0) = Output [factory default = 0xFF] 0x04/0x05...
EEPROM Map: Address Description 0x0F N/A - Reserved 0x10 Continuous Stream Analog configuration count 0x00 = No analog stream readings 0x01... 0x08 = Number of analog queries [factory default = 0x00] See Modes of Operation Continuous Stream for locations 0x11...0x1A 0x11 Analog Query 1 - control byte - analog control nibble 0x12...
These modes of operation can be used singularly or together in combination. #1) Polled Mode By far, the Polled Mode is the most common usage of the ADC-1R2 Series I/O modules. In this mode the Host computer sends a command to the I/O Modules which in turn sends an associated response back to the Host computer.
Range = .002 second - 65.5 seconds #2a) Asynchronous Update Mode — State Change Update When EEPROM locations 0x04/0x05 = 0x01, the ADC-1R2 Series I/O module enters an asynchronous update mode whereby any detected change on the Digital Input port or the Counter Capture port causes the I/O module to transmit data to the host.
Continuous Stream Mode Configuration — EEPROM Locations All parameters configuring the Continuous Stream mode are strored in EEPROM. See the following table for a description of the locations and the parameters. Use command ‘W’ to update EEPROM values. EEPROM Value Description 0x10 0x00...0x08...
Page 15
Continuous Stream Mode Example continued The following table illustrates the Host Command and I/O Module responses for the con- tinuous stream example configuration and usage. EEPROM Location 0x10 0x02 Take 2 Analog samples EEPROM Location 0x11 0x08 Sample 1 - Bipolar sample CH0 EEPROM Location 0x12 0x89 Sample 2 - Unipolar sample CH2...
Digital I/O Characteristics The following chart lists the Digital I/O characteristics and values. Characteristic Value Digital I/O Current I/O line source & sink 25 ma Total current PORT1 200 ma Total current PORT2 200 ma Digital I/O Voltage Levels Input Off (0) = 0V - 0.8V Input On (1) = 2.0V - 5.0V Output Off (0) = 0.6V max.
Pulse Width Modulation (PWM) Characteristics The ADC-1R2 Series modules have a configurable PWM output. There are two settings to configure for proper PWM operation: PWM frequency and PWM duty cycle. PWM — Command Pxxyyy xx = Pwm_Divisor yyy = Pwm_Duty (10 bits max.) Pwm_Divisor = 0x00 ...
CLK frequency. Sampling Analog Voltage Inputs By far the most common configuration of the ADC-1R2 Series I/O modules is to sample voltage values. Analog voltage levels are converted to integer digital values using the Linear Technologies LTC1296 A/D (Analog/Digital) chip.
1 LSB bipolar = 0.0024414 volt Voltage Conversion The Analog conversion value obtained from the ADC-1R2 Series module is represented as an integer value (either signed for Bipolar samples or unsigned for Unipolar sample) and is normally converted to a Real or Floating Point number for ultimate usage.
Watch out for UPS systems! They create loads of EMI/EMF noise. • Keep the analog signal source as close to the ADC-x module as possible. • Keep transformers far away from the ADC-1R2 Series module. • Use good wiring practices, especially in regards to ground connections. •...
Digital & Analog I/O Port Pin outs Analog I/O And Hex Conversion Chart DB15 Pins Description ANALOG IN CHANNEL 7 ANALOG IN CHANNEL 6 ANALOG IN CHANNEL 5 ANALOG IN CHANNEL 4 ANALOG IN CHANNEL 3 ANALOG IN CHANNEL 2 EXAMPLE HEX CONVERSION ANALOG IN CHANNEL 1 ANALOG IN CHANNEL 0...
Model ADC-1R2 Series Communications Port Power Analog Digital Input Output COMMUNICATION PORT ON POWER CONNECTIONS ON BOARD WIRING BOARD WIRING + VDC + VDC DB9F Power 2.5mm Baud Rate Switch Settings Baud Rate 9600 baud 19200 baud 57600 baud 115200 baud...
7.5-15.0 Vdc approx. 50 ma. nominal power (we suggest our PS9J a 9VDC 400 ma un- regulated power supply) GND and Shield The GND and Shield terminals are connected on the ADC-1R2 Series boards and are therefore electrically equivalent. RS-232 Cabling The RS-232 interface uses a “3 wire”...
WARRANTY SuperLogics Inc. warranties all products against defective workmanship and components for the life of the unit. SuperLogics Inc. agrees to repair or replace, at it’s sole discretion, a defective product if returned to SuperLogics with proof of purchase. Products that have been mis-used, improperly applied, or subject to adverse operating conditions fall beyond the realm of defective workmanship and are not convered by this warranty.
Need help?
Do you have a question about the ADC-1R2 and is the answer not in the manual?
Questions and answers