LabSmith LC220 User Manual

-
LC220 Logic Controller
User Guide
and Trig220™ Control Software v. 1.0
1
Table of Contents
INTRODUCTION 3
Parts list 3 Specifications 3 Basic functions 4 How you will use the LC220 4 Installing Trig220 Software 5 Setting up the LC220 5 Field upgradeable software 6 Getting help 6
OVERVIEW OF LC220 CONTROLS 7
Inputs and outputs 8 Panel controls 8
TRIG220 SOFTWARE INTERFACE 9
Main screen 9 Time base settings 11
Clock source 11 Clock multiplier 11 Time base 12
General options 12
Disable/enable outputs 12 Lock/unlock panel 12
CHANNEL PROPERTIES 13
Channel properties screen 13 Quiescent states 14 Logic 14
Logic assignments 15 Experimenting With Channel Logic 16
Timing modes 17
“Apply” versus “Program All Channels” 18 Fixed output mode 19 Passive mode (Output = Input) 20 Clocked pulse stream mode 21 Statically delayed pulse mode 22
2
Important delay timing considerations 27 Validated trigger input mode (noise suppression) 28 Timer mode 30 Dynamically-delayed pulse mode 31 Toggled output mode 36
RUNNING EXPERIMENTS 37
Storing and recalling experiment files 37 Panel controls and indicators 37
GLOSSARY 41
3
INTRODUCTION
The LC220 is a programmable logic and timing controller for coordinating and synchronizing lab equipment and physical experiments. The LC220 provides clocks, counters, triggers, and many other useful functions, with up to 5 ns resolution and 100 ps accuracy.
As you are well aware, controlling and synchronizing experimental equipment
are often the most tedious tasks you’ll face in the lab. Experimenters regularly
build their own controls from scratch or piece together systems from the limited offerings on the market. The LC220 simplifies your control setup, so you can go about the business of gathering data.
The LC220 consists of two components: Trig220 software and the LC220 logic and timing controller. Trig220 lets you configure and run experiments from a simple graphical interface. The LC220 controller provides the connections and control for your experimental devices.
Parts list
Your LC220 package should include the following items:
1. LC220 controller
2. AC wall transformer
3. Trig220 software installation CD with user’s manual
4. 9-pin RS232 cable
If any parts are missing or damaged please contact LabSmith support.
Specifications
Trig220 software will run on any PC-compatible computer running Microsoft
®
Windows® XP, or newer. Drivers for National Instruments’® LabVIEW™ software are also available for download. See http://www.labsmith.com for more information.
The LC220 includes two TTL-compatible inputs and two TTL-compatible outputs. Voltages in the range 2.5 – 5 V are TTL “highs” and voltages in the
4
range 0.0 – 0.2 V are TTL “lows.” Intermediate voltages should not be present on inputs and outputs except during transitions. The inputs and outputs are protected against connection to 115 VAC. When disconnected the inputs are read as TTL “highs.”
The LC220 can be connected to/ disconnected from the PC at any time without damage to either unit. This ability allows you to program to LC220 at your computer, then to take the unit to the experiment area for stand-alone use.
Basic functions
The LC220 provides two functional channels, or internal signal paths. At any time, each channel can be assigned one of eight timing modes. Timing
modes include clocks, counters, delayed triggers, etc. You can set various properties for each timing modefor example, the delay length on a Delayed Trigger. All modes are aligned to a time base derived from an internal or external clock, allowing resolution down to 5 ns.
Each channel also includes logic settings which specify the conditions that will trigger the channel. A channel can be triggered by logical combinations of signals from the inputs and/or the output of the other channel.
All settings and setting profiles for a particular experiment can be stored as an experiment file on your computer. Experiment files bear a .tr2 extension.
How you will use the LC220
In most cases, you’ll use the LC220 as follows:
1. Using the Trig220 software, open an existing experiment file, or create a
new file.
2. In Trig220 (or LabView), program the properties and logic for each
channel and for the experiment as a whole.
3. Send the properties and logic to the LC220’s memory.
4. Test your program by simulating triggers and examining the outputs using
the LC220’s channel LEDs and/or an oscilloscope or other diagnostic tool.
5. Plug your experimental equipment to the LC220.
5
6. Run the experiment, using the LC220 by itself or leaving it tethered to the
PC.
Installing Trig220 Software
Insert the Trig220 Software disk in your CD-ROM drive and execute the setup.exe file.
Setting up the LC220
1. Verify that your wall socket provides AC voltages within the range setting
on the wall transformer supplied with the LC220. If the voltage range is not correct, contact LabSmith (support@labsmith.com) for an alternate. DO
NOT connect the wall transformer to a socket that is beyond the
transformer’s range setting. Plug the transformer into an appropriate socket and connect the power to the LC220.
2. Connect the 9-pin cable to the back of the LC220 and to a free serial port on
the PC.
3. Press the Power button on the front of the LC220.
4. From your computer, run Trig220.exe to launch the Trig220 software.
5. From within Trig220, select View>Communications options…. The
Communications properties screen will open.
6. Select the port to which the LC220 is connected. The LC220 will
automatically detect the baud rate, which is typically set to 38400. If the RS232 cable running to your LC220 is greater than 30 m long, you may need to lower the baud rate to achieve reliable communication.
6
Field upgradeable software
The firmware in the LC220 is field upgradeable, allowing access to new timing modes and capabilities as they become available.
To upgrade the firmware, download the latest version from www.labsmith.com. Then choose “Update Firmware” on the Actions menu to load data from that file.
Getting help
This guide is your main source for information on operating the LC220 and Trig220 software. The guide is also available in an Abobe® Acrobat® Portable Document Format (pdf) file for electronic viewing.
Check the LabSmith web site (www.labsmith.com) for helpful applications notes and other technical information to help you use the LC220.
If you are unable to find the information you need, please contact our technical support team at (925) 292-5161, or e-mail us at info@labsmith.com.
If you need to contact support, please let us know your LC220 serial number (located on the bottom of the unit) and the version of software you are using. To determine the software version number, select “About Trig220” from the Help menu.
7
OVERVIEW OF LC220 CONTROLS
The LC220 is the control unit and interface for your experimental equipment.
You will program it using the Trig220 software. Once you’ve designed, tested
and downloaded your program, you can control the LC220 from the computer, or you can run it in stand-alone mode.
Indicators and controls on the LC220 will help you run your experiments. You’ll
learn all about these functions in the Experimenting section later. For now, we’ll give you a short tour of the inputs, outputs and controls so you can work with the unit while you learn to use the Trig220 software.
LED Indicators:
Channel A Channel B
Outputs
Inputs
Outputs
PC Link
Power
8
Inputs and outputs
The LC220 includes the following connectors:
- a 2.1 mm power jack (center positive) for 6 to 9 V DC, 0.6 A power source
- a 9-pin RS232 jack to connect to the Com port of your PC
- two channel input BNC jacks (in1 and in2), normally high (5 V)
- two channel output BNC jacks (outA and outB), normally low (0 V)
- in1 doubles as an input jack for an optional external clock source.
The input and output voltages conform to the TTL standards.
Panel controls
There are three buttons on the LC220. Trigger A and trigger B respectively force channels A and B to be triggered. The effect this has on the channels depends on the timing mode of the channels. The third button, Reset, causes both channels to have their timing modes reset. Again, the effect of the reset depends on the channel settings. These settings are detailed in the following sections.
9
TRIG220 SOFTWARE INTERFACE
Trig220 has been designed exclusively for setup and control of the LC220.
You’ll use Trig220 to set the timing properties and logic for each of the channels
and to set up overall properties for the experiment.
Main screen
When you run Trig220, you’ll be greeted by the Main screen:
NOTE: At start-up, the Main screen will show the default
program, which sets both channel outputs to a fixed low state.
From this screen you’ll control or access all of Trig220’s functions. Most Trig220 functions can be accessed in two ways by selecting an option from a pull-down menu or by pressing a button on the Main screen.
10
1. Menu options: The File menu lets you open, close and save experiment files (.tr2 files). The Edit Menu lets you cut, copy and paste text as you edit your
program. The View menu lets you set up the Trig220 interface. Choose to display
or hide the tool bars and status bar, select the font used in Trigger, and set up communications with the LC220.
The Actions menu lets you modify the LC220 settings.
2. The buttons are as follows:
The Reset button resets both channels of the LC220. Retriggering counters and delay settings are reset as well.
The Program all settings button updates the LC220 with all
current settings.
The Online/Offline button toggles between Online and Offline mode. In Online mode this button is depressed, the Com port is open, and settings are transferred to the LC220. In Offline mode, this button is not depressed, the Com port is available for other programs and settings are not transferred to the LC220. Offline mode is convenient for developing .tr2 settings without an LC220 attached.
The Main window panel shows and controls all of the channel settings. This summary may be printed for review and documentation purposes. The text is not freely editable and must be modified through the dialogs. Double-clicking on selected parts of the summary opens the dialog needed to edit the text.
11
Time base settings
The “Time base settings” dialog lets you control the time base used by the LC220 for timing. The LC220 measures, delays, and pulses in increments of this time base. For higher timing resolution, you can use a higher clock multiplier. For longer delays, select a lower clock multiplier. A variety of multipliers are available to optimize the increment for your needs. To reach this screen, click “Set time base options…” from the Action menu.
Clock source
The LC220 can derive its time base from an internal 25 MHz oscillator or from a TTL pulse train provided to In1. If the time base is derived from the external input, you must specify the frequency of this time base so that Trig220 can set the LC220 timing correctly. If the clock frequency specified is 10% higher than actual, the channels using this time base will be 10% long on delays and duration.
Clock multiplier
The clock source is multiplied by a user-specified factor to form a high­frequency source for the time base. For example, a multiplier of 4 X on the 25 MHz internal oscillator produces a clock of 100 MHz for a time base of 10 ns.
12
Time base
The calculated time base is indicated in this window. This must not be less than 5 ns or greater than 1000 ns for proper operation.
General options
The “General options” dialog lets you enable and disable the channel outputs
and lock or unlock the panel buttons. To open this dialog, click “Set LC220
options…” under the Actions menu.
Disable/enable outputs
Disabling outputs prevents the LC220 from sending trigger pulses to its output connectors regardless of the inputs or the actions of the channels. Enabling the outputs allows the LC220 to send trigger pulses to its output connectors. These functions are nonvolatile: the enabled and disabled states are restored on power cycle.
Lock/unlock panel
Lock or unlock the front panel buttons using the “Lock Panel” and “Unlock Panel” buttons. This functionality is handy, for example, in an embedded control
application where the LC220 should function only in stand-alone or computer­controlled modes. When the panel is locked the buttons are not illuminated. When the panel is unlocked, the front-panel buttons are illuminated.
Like the enable/disable I/O functions, these settings are nonvolatile and are restored on power up.
13
CHANNEL PROPERTIES
Channel properties screen
Both channels have a Settings screen in the main application window in which
you’ll select the timing mode, set the timing properties, and establish the logic
that will determine when the channel will trigger.
Channel properties are organized by tabs. The tabs that are relevant for a particular timing mode appear automatically when that timing mode is selected. For convenience, all settings are retained and saved, including those for timing modes that are not currently selected.
Four additional buttons appear next to the tabs:
Loading...
+ 31 hidden pages