Bulletin 5370 Color CVIM
Configurable Vision Input Module
Communications Manual
Important User Information
Solid state equipment has operational characteristics differing from those of
electromechanical equipment. “Safety Guidelines for the Application,
Installation and Maintenance of Solid State Controls” (Publication SGI-1.1)
describes some important differences between solid state equipment and
hard–wired electromechanical devices. Because of this difference, and also
because of the wide variety of uses for solid state equipment, all persons
responsible for applying this equipment must satisfy themselves that each
intended application of this equipment is acceptable.
In no event will the Allen-Bradley Company be responsible or liable for
indirect or consequential damages resulting from the use or application of
this equipment.
The examples and diagrams in this manual are included solely for illustrative
purposes. Because of the many variables and requirements associated with
any particular installation, the Allen-Bradley Company cannot assume
responsibility or liability for actual use based on the examples and diagrams.
No patent liability is assumed by Allen-Bradley Company with respect to use
of information, circuits, equipment, or software described in this manual.
Reproduction of the contents of this manual, in whole or in part, without
written permission of the Allen-Bradley Company is prohibited.
Throughout this manual we use notes to make you aware of safety
considerations.
ATTENTION: Identifies information about practices or
circumstances that can lead to personal injury or death, property
!
damage, or economic loss.
Attentions help you:
• identify a hazard
• avoid the hazard
• recognize the consequences
Important: Identifies information that is especially important for successful
application and understanding of the product.
PLC is a registered trademark of Allen-Bradley Company, Inc.
Pyramid Integrator, DTL and CVIM are trademarks of Allen-Bradley Company, Inc.
VAX is registered trademark of Digital Equipment Corporation.
Read this chapter to familiarize yourself with the rest of the manual. You will
learn about:
• Contents of the manual.
• Intended audience.
• How to use the manual.
This manual describes how to communicate with a Color CVIM module
(Catalog No. 5370–CVIMC) with at least firmware revision A01.
This manual explains how to communicate with the Bulletin 5370 Color
Configurable Vision Input Module (Color CVIM) module using a variety of
peripheral devices.
ChapterTitlePurpose
1Using This ManualProvides an overview.
2Introduction
3Using Local I/O
4
5Using the RS–232 Ports
6
Using the Remote I/O Link
(Node Adapter)
Using the Pyramid
Integrator Backplane
Describes the basic options available for
communications with the Color CVIM module.
Describes how to use the discrete I/O module
(Catalog No. 2801–JMB).
Describes how to access data through the remote
I/O port with a PLC–2
Includes sample programs.
Describes how to access data through the RS–232
interfaces using ASCII and DF1 formatted
commands. Provides sample programs.
Describes how to access shared memory through
the Pyramid Integrator information processor
and/or MicroVAX
, or PLC–3, PLC–5.
. Provides sample programs.
1–1
Chapter 1
Using this Manual
Overview of this Manual
(cont’d)
Chapter
Appendix
A
Appendix
B
Appendix
C
Appendix
D
Appendix
E
TitlePurpose
Results/Configuration Data
Overview
Discrete I/O Results BitsProvides a description of the 256 discrete input bits
Numerical Results DataProvides a description of inspection results data.
Configuration DataProvides information on the configuration blocks.
ASCII Conversion ChartProvides equivalent values for the ASCII character
Glossary
Index
Provides an overview of the configuration and
results data. Describes data formats.
and 256 discrete output bits.
set.
Intended Audience
This manual was written for an experienced PLCR user or computer
programmer. The user of this manual should:
• Know how to program the host device being used to communicate with
the Color CVIM module. For example, if you are using a PLC–5 to
communicate with the Color CVIM module, you must have a background
in programming a PLC–5.
• Know terms common to the computer and programmable controller
industries.
• Understand how to operate and configure the Color CVIM module before
using this manual. You may not understand many of the terms being used
unless you have read the Color CVIM User’s Reference Manual, Catalog
No. 5370–ND009.
1–2
Chapter 1
Using this Manual
Related Publications
Publication No.TitlePurpose of Publication
Catalog No.
5370–ND011
Catalog No.
5370–ND009
1772–6.8.1PLC–2/20 Programming and Operations Manual
1772–6.8.3PLC–2/30 Programming and Operations Manual
1772–6.8.6Mini–PLC–2/05 Programming and Operations Manual
1772–6.8.2Mini–PLC–2/15 Programming and Operations Manual
1775–6.7.1PLC–3 Controller Installation and Operations Manual
1785–6.8.2PLC–5 Family Processor Manual
5000–2.3Allen–Bradley Pyramid Integrator Technical OverviewProvides an overview of the Pyramid Integrator.
5000–2.17Allen–Bradley Pyramid Integrator Technical DescriptionProvides a technical description of the Pyramid Integrator.
5000–2.20MicroVAX Information Processor Technical Description
5000–6.2.10Allen–Bradley Pyramid Integrator Start–up and Integration Manual
Table 1.A lists related publications that you may require:
Table 1.A
Related Publications
Color CVIM Getting Started ManualDescribes the basics of the Color CVIM user interface.
Color CVIM User’s Reference Manual
Provides step–by–step procedures for the installation,
configuration and operation of the Color CVIM module.
Provides instructions on how to program a PLC–2/20
programmable controller.
Provides instructions on how to program a PLC–2/30
programmable controller.
Provides instructions on how to program a
Mini–PLC–2/05
Provides instructions on how to program a
Mini–PLC–2/15
Provides instructions on how to program a PLC–3
programmable controller.
Provides instructions on how to program a PLC–5
programmable controller.
Provides a technical description of the MicroVAX
Information Processor.
Provides instructions on installing Pyramid Integrator
devices.
Provides instructions on how to use Pyramid Integrator
devices.
programmable controller.
programmable controller.
1–3
Chapter 1
Using this Manual
How to Use this Manual
When using this manual, we recommend that you do the following.
1. Become familiar with the Color CVIM module by reading the User’s
Reference Manual, Catalog No. 5370–ND009. If possible, use the Color
CVIM module to become familiar with its operation. Only with a
thorough understanding of the Color CVIM module will you be able to
interpret the data that is stored in its memory.
2. Read Chapters 1 and 2 of this manual. After reading these introductory
chapters, you will be able to determine which of the remaining chapters,
some or all, you will need to read. See note below.
Important Note: This manual is divided into chapters. It is not necessary
to read all of the information contained in this manual. Chapters 1 and 2
are mandatory. You can read the remaining chapters on a “need to know
basis” depending upon the information you want to read or write and the
type of host device you are using.
3. Use the programming examples provided in each section as a guide to
create your own programs. In some applications, you may be able to
simply modify the example provided.
These examples are included solely for illustrative purposes. Because the
many variables and special requirements associated with any particular
installation, Allen–Bradley Company cannot assume responsibility or
liability for their applicability to your own situation.
Nomenclature
Trademarks
1–4
In this Chapter and in subsequent chapters we refer to the Bulletin 5370
Configurable Vision Input Module as the Color CVIM module. In some
tables we use the abbreviation “PI” to indicate the PLC–5/250 Pyramid
Integrator. We have also provided a glossary in the back of this manual. Use
this glossary whenever you are unsure of the meaning of a word.
In this manual, we use the following trademarks:
CVIM is a trademark of Allen–Bradley
PLC, PLC–2, PLC–2/20, PLC–2/30, PLC–2/05,
Microsoft is a registered trademark of Microsoft Corporation
MicroVAX is a registered trademark of Digital Equipment Corporation
GW BASIC is a trademark of Microsoft Corporation
Introduction
Chapter
2
Chapter Objectives
How is Data Stored in
the Color CVIM Module?
How Does the Host Device
Read Configuration/Results
Information?
In this chapter we provide you with an overview of the options for
communicating with the Color CVIM module. We also describe the types of
data that can be accessed or manipulated. The descriptions in this chapter
will enable you to determine the type of communications most suitable for
your application. You then can proceed to the chapter of this manual that
describes the selected option.
The result and command data that you can access with a host device is stored
in an area of Random Access Memory (RAM) inside the Color CVIM
module. Configuration data which controls the operating instructions for the
Color CVIM module is located in a separate area of memory which can be
also be accessed through a host device. Refer to Appendix A for an overview
of configuration/results memory. Appendix B, C, and D contain tables listing
the information stored in results and configuration memory locations.
The remainder of this chapter describes the various options you have for
accessing this information. Refer to Figure 2.1. In summary, your host device
will be linked to the Color CVIM module through one of the following ports:
• Remote I/O (Node Adapter)
• RS–232 Interface(s)
• Pyramid Integrator Backplane
• Local I/O Board
Note: The local I/O board has sixteen discrete I/O lines. Fourteen of these lines are
outputs only . One of the remaining lines is for input, and can be connected to a
presence–sensing device to trigger an inspection process. The other line is not used.
2–1
Chapter 2
Introduction
How Does the Host Device
Read Configuration/Results
Information? (cont’d)
COLOR
Figure 2.1
Color CVIM Module Communications Ports
2801
A
2801
2–2
Chapter 2
Introduction
Remote I/O (Node Adapter)
RS–232 Ports
The remote I/O port (RIO) is located on the front of the Color CVIM module
as shown in Figure 2.1. Using the remote I/O port, you can connect the
following types of devices:
• Allen–Bradley Programmable Controllers (PLC–2, –3, and –5).
• Host Computers which have the Allen–Bradley IBM Bus Scanner
(Catalog No. 6008–SI). The 6008–SI bus scanner is compatible with the
A–B 6121/22 Industrial Computer, Industrial Terminal (Catalog Nos.
1784– T50, 1784–T35), or other IBM PC/AT compatible devices.
As shown in Figure 2.1, the RS–232 ports are located on the I/O Interface
Boxes (Catalog No. 2801–N21, –N27). The I/O Interface Box is connected to
the MODULE I/O port on the front of the Color CVIM module. Using the
RS–232 interface(s) you can connect a variety of devices which use the
RS–232 standard:
• Computers
• Operator Interfaces such as Allen–Bradley Industrial Computers and
Terminals with serial ports.
Local I/O
Pyramid Integrator Backplane
• I/O modules such as the Flexible Interface Module (Catalog No.
2760–RB) or ASCII module (Catalog No. 1771–DA).
As shown in Figure 2.1, the local I/O consists of an I/O Board (Catalog No.
2801–JMB), I/O Interface Box (Catalog No. 2801–N21, –N27), an input and
up to 14 output modules as configured by the user. The Catalog No.
2801–NC17 cable connects the I/O interface box to the Color CVIM module.
Using the Pyramid Integrator backplane, you can directly communicate data
between the Color CVIM module and other devices installed in the Pyramid
Integrator chassis:
• Allen–Bradley PLC–5/250
• MicroVAX Information Processor
2–3
Chapter 2
Introduction
What Types of Information
can be Communicated?
Discrete Bit Information
Depending upon the type of interface in use, you can access some or all of
the information listed below:
• Warning and Pass/Fail data.
• Numerical inspection results.
• Configuration data.
With each inspection that the Color CVIM module performs, individual bits
are set. There are 256 bits that can be read as inputs to a host device. These
bits (part of the inspection results) indicate:
• Master fault.
• Mastership.
• Configuration fault.
• Module Busy flag.
• Missed Trigger flag.
• Results Valid flag.
• Inspection Tool Pass/Fail/Warning flags.
There are 128 bits that can be set as outputs by a host device to control the
operation of the Color CVIM module. These bits control:
For more information on the 256 discrete input and 128 discrete output bits
Note:
refer to Appendix B.
2–4
Chapter 2
Introduction
Results Blocks
Configuration Blocks
Communications Cables
The results data for each inspection are stored in Random Access Memory
(RAM) and overwrite the results of the previous inspection. The data stored
in results blocks contain information regarding reference windows,
inspection gages, inspection windows, etc. For a complete description of the
results blocks, refer to Appendix C.
The user developed inspection parameters of the Color CVIM module are
stored in the Color CVIM module’s memory as configuration blocks. This
area of memory can be read or manipulated through the Remote I/O port,
RS–232 ports (A & B) or Pyramid Integrator backplane. Refer to Appendix
D for a complete description of the configuration blocks and their contents.
If you are not using the Pyramid Integrator backplane for communications,
you will have to physically link the Color CVIM module to the host device.
If you need to create a communications cable, refer to the chapter that
describes the communications port you are using.
Memory Addressing
Depending upon how you access the Color CVIM module results and
configuration memory, you will have to address the data differently. If you
refer to Appendix A, B, and C you will notice that separate columns are
provided for Backplane, RS–232, and Remote I/O communications:
Note:
The RS–232 protocols (ASCII and DF1) do not access data using word and
bit addresses. Data is read/written in blocks. We have grouped the RS–232 and
Remote I/O ports together in Appendix B, C, and D (where appropriate) for your
convenience. You can ignore word and bit addresses if you are using the RS–232
ports (A & B).
2–5
Chapter 2
Introduction
Memory Addressing (cont’d)
When you communicate through the Pyramid Integrator backplane all of the
data words are numbered consecutively and grouped in blocks. When you
use the Remote I/O port, you select a specific block and the first word in
each block is word #0.
Table 2.A
Example of Addressing Results Block 1
Word Number
Pyramid Integrator
Backplane
32–950–63
RS–232 and
Remote I/O
In addition, PLC I/O bit numbers are entered in octal format when
referencing 1771 I/O, while PLC files and backplane communications
specify a decimal bit number. Figure 2.2 illustrates how bits are numbered.
Figure 2.2
Bit Numbering
Bit Number if Accessing Data Through
Remote I/O as a 1771 I/O Rack. (Octal Value)
2–6
Bit Number if Accessing Data Through the Backplane
or Remote I/O Port Using Integer Files. (Decimal V alue)
There are four communications ports which you can use simultaneously to
access Color CVIM module data (Remote I/O, RS–232 Ports A & B, and
Backplane). Only the host can issue commands to control the operation of
the Color CVIM module. You can read discrete bits and numerical results
information through any of the four communications ports, even through
non–host devices.
The Color CVIM can operate with multiple hosts. You can select one host to
perform Color CVIM module/host configuration transfers, and another host
to perform all other Color CVIM/host operations. The first of these two hosts
is referred to as the configuration host (CFG) because it is the sole source of
configuration information. The second, referred to as the system host (SYS),
can tell the system when to trigger and control the user interface. A system
host cannot supply a new configuration.
An example of using multiple hosts is to select RS–232 A as the CFG host,
and Remote I/O as the SYS host. If you select a single device as both CFG
and SYS hosts, then that device must be labeled as such.
Note: Any Color CVIM communications port can be used for reading results
block data regardless of whether or not the device connected to the port is
selected as a host.
Note: You can select the same host (Stand Alone, Pyramid, Remote I/O,
RS–232 A or B) as both the configuration host and the system host.
2–7
Using Local I/O
Chapter
3
Chapter Objectives
Equipment Connections
The objectives of this chapter are to help you plan:
• The number of discrete output lines (up to 14) that your application will
require.
• The function that each output line will perform in your application.
• The assignment of analysis tool “results” to output lines.
• The assignment of status signals to output lines.
• The electrical and mechanical connections of the trigger (input) and
output lines to your production equipment.
The local I/O consists of:
• I/O Interface Box (Catalog No. 2801–N21, –N27)
• I/O Board (Catalog No. 2801–JMB)
• User specified I/O modules (plug into I/O board)
• Communications Cable (2801–NC17)
As shown in Figure 3.1, the communications cable (Catalog No.
2801–NC17) is connected to the MODULE I/O port on the front of the Color
CVIM module and the connector on the I/O Interface box. The I/O board
connector slides into the connector slot on the I/O Interface Box.
3–1
Chapter 3
Using Local I/O
Equipment Connections
(cont’d)
Figure 3.1
Local I/O Equipment Connections
A
Planning Output
Line Assignments
3–2
This section provides a planning sheet that you can use to lay out the function
and tool assignments for output lines.
The term “function assignment” refers to the type of signal information that
you want an output line to carry to your production equipment.
The term “tool assignment” refers to the tool(s) that you assign to an output
line.
Note: Tools can be assigned only to output lines that you have assigned a“results”function. These output lines will carry the “pass/fail”results signals
from the tools during each inspection.
The next section, Planning Output Line Connections, provides electrical and
timing diagrams and data. You will need to use these diagrams to correctly
identify and connect the output lines to your production equipment.
Chapter 3
Using Local I/O
Using the Output Line
Planning Sheet
The Output Line Planning Sheet is a form on which you can lay out your
plans for each output line. On this form you can account for:
• The 14 output lines.
• The six output line functions.
• The 64 gages and their warning and fault outputs.
• The 48 windows and their warning and fault outputs.
• The 6 reference tools and their “pass/fail” outputs.
• The light probe with its separate red, green, and blue warning and fault
outputs.
Here is an example of how an Output Line Planning Sheet could be filled
out:
Table 3.A
Example Color CVIM Output Line Planning Sheet
Output Line Functions and Tool Assignments
9Master Fault
10Data Valid
11Module Busy
12Not Used
13Not Used
14Not Used
No.Rng.No.Rng.No.Rng.No.Rng.LineWin.RedGreenBlue
GageWindow
Reference
Tool
Light Probe
3–3
Chapter 3
Using Local I/O
Using the Output Line
Planning Sheet (cont’d)
The entries for the output lines have the following meanings:
• Output Line 1: The Results function is assigned to line 1. The Warning
Range results (W) for gages 1–4 and windows 1 and 2 are assigned to
output line 1.
• Output Line 2: The Results function is assigned to line 2. The Fault
Range results (F) for gages 1–4 and windows 1 and 2 are assigned to
output line 2.
• Output Line 3: The Results function is assigned to line 3. The “pass/fail”
results for reference line 1 and reference window 1 are assigned to line 3.
• Output Line 4: The Results function is assigned to line 4. The Warning
Range result from the red, blue and green light probe is assigned to line 4.
• Output Line 5: The Results function is assigned to line 5. The Fault
Range result from the red, blue and green light probe is assigned to line 5.
• Output Line 6: The Results function is assigned to line 6. The Warning
and Fault Range results for gages 1 and 2 are assigned to line 6.
• Output Line 7: The Strobe function is assigned to line 7.
• Output Line 8: The Trigger NAK function is assigned to line 8.
• Output Line 9: The Master Fault function is assigned to line 9.
• Output Line 10: The Data Valid function is assigned to line 10.
• Output Line 11: The Module Busy function is assigned to line 11.
• Output Lines 12–14: These lines are not used.
Note: Output lines 1–6 are assigned the Results function. These lines will
carry “pass/fail” results from the analysis tools to your production
equipment. Lines 7– 11 are assigned other functions. Lines 12–14 are not
used.
Here is a brief explanation of the signal functions that you can assign to the
output lines:
• Module Busy: This signal goes high when the Color CVIM system enters
the configuration mode and during a configuration download operation.
Module Busy goes low when the system enters the run mode (whether or
not triggers are present).
You can assign the Module Busy function to only one output line.
3–4
Chapter 3
Using Local I/O
Using the Output Line
Planning Sheet (cont’d)
Note: All of the remaining signal functions (except Strobe, Module Busy,
and Trigger NAKs) can be configured to produce a pulse whose duration
depends on the number of milliseconds that you assign to the Duration
parameter.
• Results: This signal occurs when the results of a tool inspection exceed
the warning and/or fault limits. (The tool must be assigned to an output
line that has already been assigned the Results function.)
You can assign the Results signal function to any unassigned output line.
As noted above, the Results signal function must be assigned to an output
line before any tool can be assigned to that line. Thus, if you wanted
inspection results from Ref. Line # 2 to be assigned to output line #10, you
would first have to assign the Results signal function to output line #10.
Note: You can assign the inspection results from any tool to an output line to
which you have already assigned the Results signal function.
• Data Valid: This signal occurs when the Color CVIM system has
completed an inspection. Data Valid signals (the “data”) are stable on all
output lines assigned to the Results signal function. Data Valid goes low
after the next trigger or the selected Duration time.
Note: Data Valid does not indicate whether an inspection has passed or
failed. That is the task of the output lines assigned to the Results signal
function.
You can assign the Data Valid function to only one output line.
• Trigger NAK: This signal occurs when the Color CVIM system receives
a trigger input signal, but cannot process that trigger. The signal goes low
upon the next “accepted trigger”.
You can assign the Trigger NAK function to only one output line.
• Master Fault: This signal occurs when any (one or more) analysis tools
in the Color CVIM system detects a Fail condition.
You can assign the Master Fault function to only one output line.
3–5
Chapter 3
Using Local I/O
Using the Output Line
Planning Sheet (cont’d)
• Strobe: This signal is used to trigger the strobe flash unit (if used). The
signal occurs within 1 ms after the Color CVIM system receives a trigger
input signal.
You can assign the Strobe function to only one output.
• Duration (n)ms: From 1msec to 2000msec. This value determines the
pulse duration, in milliseconds (and with an accuracy of ±5 milliseconds),
of all pulse–type signals. A setting of zero means the signal will remain in
its present state until updated by a subsequent inspection.
Note: The output duration may vary if subsequent inspections occur before
the specified output duration has elapsed.
In your application, the function and tool assignment(s) for each output line
will of course depend on the specific requirements of your production
equipment.
You will find a full–page, blank copy of the planning sheet on the last page
of this chapter. We suggest that you do not mark that page, but use it instead
as a copy master, and use the copies to prepare your output line plans.
Keep in mind that a completed planning sheet can serve also as a record of
your output line usage. You may find it desirable to store your filled–out
planning sheets in a file folder or loose leaf binder.
3–6
Chapter 3
Using Local I/O
Using Output Signal
Timing Data
To make proper use of the signal data available to the output lines, you must
first understand the timing relationships that exist between the trigger input
signal (which starts each inspection cycle) and the output signals.
Knowing these signal timing relationships enables you to accurately
synchronize the inspection cycles with your production equipment.
Timing charts (Figures 3.2, 3.3, and 3.4) show the timing relationships in
various circumstances.
Figure 3.2 shows the relationship between the trigger leading edge and the
Strobe, Data Valid, and Results signals, where the last three appear as pulses
whose duration you determine during configuration.
Figure 3.2
Timing Diagram — Pulsed I/O
MODULE
BUSY
Min. trigger ≈ 2ms*
Trigger
(Input)
STROBE
DATA
VALID
RESULTS
Trigger
pulse #1
Max. lag ≈ 1ms
*****
*****
Strobe ≈ 2ms
You can select a
pulse width of 1
to 2000ms
DATA VALID will always pulse high
when inspection
processing is complete.
RESULTS signal will
pulse high if an analysis tool range limit
is exceeded.
Trigger
pulse #2
MASTER RANGE
signal will pulse
MASTER
RANGE
* As seen by the Color CVIM when the trigger is directly connected through the JMB
board, and not provided by a host device.
** Minimum acquisition time: 17ms for 256x256 and 512x256 Res; 34 ms for 512x512 res.
*** Analysis time (variable).
*****
high if any tool detects a failure condition.
3–7
Chapter 3
Using Local I/O
Using Output Signal
Timing Data (cont’d)
In Figure 3.3, trigger pulse #2 occurs before the Color CVIM module has
finished the pulsed output duration of the outputs from trigger #1.
Figure 3.3
Timing Diagram — Trigger #2 During Data Valid, Pulsed I/O
MODULE
BUSY
Trigger
(Input)
STROBE
DATA
VALID
RESULTS
Min. trigger ≈ 2ms*
Trigger
pulse #1
Max. lag ≈ 1ms
*****
*****
DATA VALID will always pulse high when
inspection processing is complete
Trigger
pulse #2
Strobe ≈ 2ms
For Trigger #1
You can select
a pulse width
of 1 to 2000 ms
************
Trigger
pulse #3
MASTER
RANGE
* As seen by the Color CVIM when the trigger is directly connected through the JMB
board, and not provided by a host device.
** Minimum acquisition time: 17ms for 256x256 and 512x256 Res; 34 ms for 512x512 res.
*** Analysis time (variable).
****RESULTS will pulse high if an analysis tool range is exceeded.
*****
3–8
Chapter 3
Using Local I/O
Using Output Signal
Timing Data (cont’d)
Whenever these signals go high, they will go low again at the end of the
specified pulse duration (1 to 2000ms).
In Figure 3.4, the Data Valid, and Results signals appear as changes in signallevels. This will occur if, during system configuration, you select a pulse
“duration” of 0 (zero) milliseconds. Data Valid will stay high until the
leading edge of the next valid trigger signal (Trigger Pulse #2). Results stay
in their current state until the leading edge of the next Trigger pulse, then
change depending upon the results.
Figure 3.4
Timing Diagram — Non–Pulsed I/O
MODULE
BUSY
Trigger
(Input)
STROBE
Trigger
pulse #1
Trigger
pulse #2
DATA
VALID
RESULTS
MASTER
RANGE
DATA VALID will go high when inspection proc-
***
***
***
*Minimum acquisition time: 17ms for 256x256 Res.; 34ms for 512x512 Res.
**Analysis time.
essing is complete, and will go low with the
leading edge of the next valid trigger.
RESULTS signal will go
high if an analysis tool
range limit is exceeded.
MASTER RANGE signal
will go high if any tool detects a failure condition.
3–9
Chapter 3
Using Local I/O
Using Output Signal
Timing Data (cont’d)
In Figure 3.5, trigger pulse #2 occurs before the Color CVIM system is
finished processing the inspection cycle started by trigger pulse #1. This
causes the Trigger NAK signal to go high. Trigger NAK will stay high until
leading edge of the next valid trigger pulse (trigger pulse #3).
Figure 3.5
Timing Diagram– Missed Trigger
MODULE
BUSY
See NOTE 1 below
Trigger
(Input)
TRIGGER
NAK
STROBE
DATA
VALID
Trigger
pulse #1
Trigger
pulse #2
TRIGGER NAK goes high because
trigger 2 cannot be processed. (Trigger 1 processing is not yet complete.)
***
NOTE 1: If Trigger 2 occurs within
5ms of Trigger 1, it is assumed to be
trigger “bounce” and is ignored.
See NOTE 2 below
TRIGGER NAK goes low
because trigger 3 can be
processed. (Trigger 1
processing is now complete.)