The text of a manual · part 38 of 42
Bulletin 5370 CVIM Configurable Vision Input Module User Manual: A - Planning Discrete I/O Assignments and Connections
Pages 347 to 358 of 390, from Bulletin 5370 CVIM Configurable Vision Input Module User Manual
The original document is the PDF (26 MB). This is its text as extracted, unedited; tables and drawings read best in the PDF, and each page heading opens it at that page.
For the Allen-Bradley 5370-CVIM
Page 347
Appendix
Appendix
Objective
A
Planning Discrete 110 Assignments and Connections
The objective of this appendix is to help you plan: l The number of discrete output lines (up to 14) that your application will require.
l The function application.
that each output line will perform in your l The assignment of analysis tool “results” to output lines.
l The assignment of status signals to output lines.
l The electrical and mechanical connections of the trigger (input) and output lines to your production equipment.
Plannling OuQwt Line Assrgnmen ts
This section provides a planning sheet that you can use to lay out the function and tooEassignments 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 that 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, PZanning Output Line Connections, provides electrical and timing diagrams and data. You will use these to identify and connect the output lines to your production equipment.
Using 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: l The
14 output lines.
l The six output line functions.
l The two tool sets (1 and 2).
a The 64 gages and their warning and fault outputs. a The 48 windows and their warning and fault outputs.
a The 12 reference tools and their “passifail” outputs. a The two light probes and their warning and fault outputs.
Page 348
Appendix
A
Planning Discrete 110 Assignments and Connections
A-2
Here is an example of how an Output Line Planning Sheet could be filled out:
Using Output line P/arming Sheet (continued)
EXAMPLE OUTPUT LINE PLANNING SHEET: Output Line Functions and Tool Assianments Line No. I
Output Line Function
Results
Reference Tool
Window
Gage
Tool No.
NO.
Rng.
NO.
Rng.
NO.
Rng.
NO.
Rng.
I
I w
2 w
1 w
2 w
Line
Win.
Light Probe Cam.
Rng.
In the example planning sheet, the entries under “Output Line Function” have the following meanings: l Output Line 1: The Results function is assigned to line 1. The Warning Range results (W) for gages l-4 and windows 1 and 2 of tool set #l are assigned to output line 1. l Output Line 2: The Results function is assigned to line 2. The Fault Range results (F) for gages l-4 and windows 1 and 2 of tool set # 1 are assigned to output line 2. l Output Line 3: The Results function is assigned to line 3. The “pass/fail” results for reference line 1 and reference window 1 of tool set #l are assigned to line 3.
-
Page 349
Appendix
A
Planning Discrete 110 Assignments and Connections A-3
Phning
Using Output line Sheet (continued)
l Output Line 4: The Results function is assigned to line 4. The Warning Range result from the camera A light probe is assigned to line 4. Camera A is assigned to tool set #l. l Output Line 5: The Results function is assi ned to line 5. The Fault Range result from the camera A lig a t probe is assigned to line 5. l Output Line 6: The Results function is assigned to line 6. The Warning and Fault Range results for gages 1 and 2 of tool set #2 are assigned to line 6.
Line 7: The Strobe function for tool set #l is assigned to line 7.
l Output
Line 8: The Trigger NAK function for tool set #l is assigned to line 8.
l Output
Line 9: The Master Range function for tool set #l is assigned to line 9.
l Output
Line 10: The Data Valid function for tool set #1 is assigned to line 10.
l Output
Line 12: The Module Busy function is assigned to line 11. (Note that this function does not relate to a tool set.)
l Output l Output
Lines
12-14: These lines are not used.
Note that output lines l-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: Busy: This signal goes high when the CVIM system enters the configuration mode and during a configuration download operation. Module Busy goes low when the system enters the runmode (whether or not triggers are present).
l Module
You can assign the Module Busy function to only one output line. NOTE: All of the remaining signal functions produce a pulse whose duration depends on the number of milliseconds that you assign to the Duration/l (or Duration/2) parameter. (The “1” and “2” designate tool set # 1 and tool set #2.) l 1/Results:
This signal occurs when the “results” data of a tool inspection exceed the warning or fault limits. (The tool must be assigned to an output line that has already been assigned the l/Results function.) You can assign the l/Results signal function to any unassigned output line. As noted above, the l/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
Page 350
Appendix
A
Planning Discrete 110 Assignments and Connections
A-4 -
Using Output Line Planning Sheet (continued)
Ref. Line # 2 to be assigned to output line #lo, you would first have to assign the l/Results signal function to output line #lo. Note also that you can assign the inspection results from any tool in tool set #l to an output line to which you have already assigned the l/Results signal function. This signal occurs when the CVIM system has completed an inspection using tool set # 1. The inspection results signals (the “data”) are stable on all output lines assigned to the l/Results signal function.
l 1/Data Valid:
Note that l/Data Valid does not indicate whether an inspection has passed or failed. That is the task of the output lines assigned to the l/Results signal function. You can assign the l/Data Valid function to only one output line. Nak: This signal occurs when the CVIM system receives a trigger input signal for tool set #l, but cannot process that trigger.
l l/Trigger
You can assign the l/Trigger Nak function to only one output line. This signal occurs when any tool in tool set #l fails its inspection task. For a light probe or inspection tool, this means a “results” value that exceeds a fault range limit. For a reference tool, it means failing to find an edge or feature. l 1 /Master Range:
You can assign the l/Master Range Alarm function to only one output line. This signal occurs within lms after the CVIM system receives a trigger input signal.
l 1/Strobe:
You can assign the l/Strobe function to only one output line. (n)ms: This determines the pulse duration, in milliseconds, of all pulse-type signals. l l/Duration l 2fTrigger NAK, 2IMaster Range, a/Data Valid, B/Strobe, 2/Results, and2IDuration (n)ms: These functions apply to the tools in tool set #2.
In your application, the function and tool assignment(s) each output line will of course depend on the specific requirements of your production equipment.
for
You will find a full-page, blank copy of the planning sheet on the last page of this appendix. 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 compEeted 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.
-
Page 351
Appendix
A
Planning Discrete 110 Assignments and Connections
A-5
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.
Using Output Signal Timing Data
Knowing these signal timing relationships enables you to accurately synchronize the inspection cycles with your production equipment. Timing charts A, B, and C, show the timing relationships various circumstances.
in
Chart A shows the relationship between the trigger leading edge and the Strobe, Data Valid, Results, and Master Range signals, where the last three appear as pulses whose
VlODULE BUSY i i ;I//
0
PULSED I/O TIMING i&F-
--+I
I I I
A
I I j+
Min. trigger
= 2ms
-
I rRlGGER (Input)
Trigger pulse #l i i
Trigger pulse #2
I I I
I
+i
I
Max. lag = lms
1 I f
I I I I
I I L
---+I
I I
I
I I I I
I I
I I
I I it
I
DATA
Strobe
= Sms
You can select a pulse width of 1 to 2OOOms i
DATA VALID
;
when inspection
I I
I I I 14 I I
RESULTS i
MASTER RANGE
I F
-t
II I
I
STROBE
:t- r *
I
I
8
**Analysis acquisition time.
MASTER
RANGE will pulse high time:
ri I I I
I
I
I
I
I
17ms, for 256x256 and 512x256
Res.; 34msfor
I I I ri I I I
I if any tool detects a failure I condition.
i- i *Minimum signal will pulse high
I ii
I I c
RESULTS processing is complete.
If an analysis tool range limit I is exceeded.
i I
: : i
7 will always pulse high
512x512.
I I I I
Res.
Page 352
Appendix
A
Planning Discrete 110 Assignments and Connections
A-6 duration you determine during configuration. Whenever these signals go high, they will go low again at the end of the specified pulse duration (1 to 2000ms).
Using Output Signal Timing Data (continued)
Note also that Module Busy is high only during system configuration and when the CVIM module is receiving a configuration download from PLC or computer equipment. In Chart B, the Data Valid, Results, and Master Range signals appear as changes in signal leuels. This will occur if, during system configuration, you select a pulse “duration” of 0 (zero) milliseconds. In this case, the three signals will stay high until the leading edge of the next valid trigger signal (trigger pulse #2).
C
NON-PULSED I/O TIMING
I
- i
-
Trigger pulse #l
TRIGGER i (Input) i i I
Trigger pulse #2 -
. I I I I i i i i f I
I I I 1 I
I
I
I I I I I II
I I I I II ,
STROBE i I I I i i i
DATA VALID
6 i i
4
*
*
-
**
++
DATA VALID will go high when inspection processing is complete, and will go low with the leading edge of the next vaild trigger. ------------mm FESULTS signal will go high
I-
I i
If an analysis tool range limit
I l I I
--------mm----
RANGE signal will go high
I- ---
1
,
I I any tool detects a failure
I I
I time: **Analysis time.
17ms, for 256x256 and 512x256
---
Res.; 34msfor
512x512.
Res.
Page 353
Appendix
A
Planning
Discrete 110 Assignments and Connections A-7
The CVIM system will “miss” a trigger pulse in the following circumstances:
Using Output Signal Timing Data (continued)
l The trigger pulse occurs within 5ms after the previous trigger pulse. (No Trigger NAK signal.) l The trigger pulse occurs within the same camera image field. (The Trigger NAK signal follows.) l The trigger pulse occurs within the next camera image field and the image resolution is 512H x512V. (The Trigger NAK signal follows.) l The trigger pulse occurs before the previous inspection is complete and sufficient memory is available to acquire the image. (The Trigger NAK signal follows.) Chart C shows trigger pulse #2 occuring before the CVIM system has 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).
I i d+ MODULE i BUSY ;
/ I+--
I
,
-4 -
TRIGGER i Trigger (Input) i pulse #I i I i_I I i I
STROBE : I i I I
C
See NOTE 1 below I i.s I 7Y i i
NAK ’ TRIGGER ;
0
MISSED-TRIGGER EXAMPLE
Trigger pulse #3
Trigger pulse #2 e i TRIGGER NAK goes high because & 1 I I I I I II I
I I I I 1, I
.
trigger
’ Tl$iG:i
,“,“n”,~O,erS,ow~;,cause
2 cannot be processed. (Trigger 1 processing complete.)
(Trigger 1 processing is not yet complete.)
is now
I
; I I I
I I I
I I I I I I 1 I
I I I I I I
*Min.
.
Processing time:
17ms, 256x256 17ms, 512x256 34ms, 512x512 **Analysis time.
Res. Res. Res.
NOTE 2: In delayed trigger reject (DTR) mode, the Trigger NAK signal can occur up to = 15ms afterthe rising edge of trigger pulse #2.
Page 354
Appendix
A
Planning Discrete 110 Assignments and Connections
A-8
Planning Output Line Connections
-
This section provides diagrams of electrical connections for correctly connecting your production equipment to the CVIM system’s discrete output lines. The 26-pin D-type connector on the CVIM module’s front panel is designed for direct connection to the I/O Interface Box, Catalog No. 2801-N21, through the CVIM-to-I/O Interface Box cable, Catalog No. 2801 -NC17. If you intend to use an I/O connection will need to know the pin assignments and functions for each pin.
of your own design, you and the signal names
The following diagram shows the pin numbers and layout on the 26-pin D-type connector as it appears when you look at the front panel of the CVIM module.
The following table shows the signal pin on the 26-pin D-type connector:
name/function for each -
Pin 1: Trigger input line #l.
Pin 14: Output line #12.
Pin 2: Trigger input line #2.
Pin 15: Output line # 13.
Pin 3: Output line #l.
Pin 16: Output line #14.
Pin 4: Output line #2.
Pin 17: Reserved.
Pin 5: Output line #3.
Pin 18: Reserved.
Pin 6: Output line #4.
Pin 19: Ground (power).
Pin 7: Output line #5.
Pin 20: Ground (power).
Pin 8: Output line #6.
Pin 21: Ground (chassis).
Pin 9: Output line #7.
Pin 22: Ground (signal).
Pin 10: Output line #8.
Pin 23: TXD (Transmit Data - RS-232).
Pin 11: Output line #9.
Pin 24: RTS (Request to Send - RS-232).
Pin 12: Output line #lo.
Pin 25: RXD (Receive Data - RS-232).
Pin 13: Output line #ll.
Pin 26: CTS (Clear to Send - RS-232).
-
Page 355
Appendix
A
Planning Discrete II0 Assignments and Connections A-9
Planning Connections to M-232 Connector
The RS-232 connector is a g-pin D-type connector on the L’O Interface Box and is designed for connection to your computer equipment. (For more information about connecting the CVIM system to peripheral serial devices, refer to the CVIM Communications Manual, Catalog No. 5370-ND002.) If you intend to use the RS-232 connection on the L/O Interface Box, you will need to know the pin assignments and the signal names and functions for each pin. The following diagram shows the pin numbers and layout the RS-232 connector as it appears when you look at the front of the I/O Interface Box.
The following table shows the signal pin on the RS-232 connector:
name/function on for each
Pin 1: No connection.
Pin 6: No connection.
Pin 2: RXD (Receive Data - RS-232).
Pin 7: RTS (Request to Send - RS-232).
I Pin 3: TXD (Transmit Data - RS-232)
Pin 8: CTS (Clear to Send - RS-232).
Pin 4: Ground (chassis).
Pin 9: No connection.
Pin 5: Ground (signal).
Planning II0 Connections to 1771-I/MS interface Board
The 1771-JMB interface board is designed for direct edge connection to the I/O Interface Box, Catalog No. 2801-N21. If you intend to use the JMB board and the I/O Interface Box, you will need to know the relationship between the discrete I/O line numbers and the LED numbers, the optic isolator type, and the terminal block screws numbers on the JMB board. These are shown in the figure and table that follows, Note that the JMB board has a terminal block for connection of an external + 5VDC power supply. This provides power to the JMB board.
.-
Page 356
Appendix
A
Planning Discrete 110 Assignments and Connections
A-70
Planning 1771-JMB
Connections to Interface Board
The figure shows the layout of the JMB board and the adhesive-backed overlay with the I/O line numbers.
(continued)
Terminal Screws for External + 5VDC W Power Supply
CVIM Overlay r 1
1 i i
Ii
2 1 2 3 4 5 6 7 8 9 10 11 12 13 14
0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15
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 29 30 31 32
-
Page 357
Appendix
Planning Connections to 1771-IM8: Interface Board
Planning Discrete 110 Assignments and Connections
A
A-l I
The following table shows the relationship between the numbers mentioned above:
(continued)
I Input 101 1
0
1
2
2
1
3
4
I
6
I
Be sure to observe the following warning when connecting the I/O lines to your production equipment.
A l
WARNING: The CVIM local I/O lines will be disabled whenever hardware or software faults occur in the CVIM module and/or other modules in the Pyramid Integrator chassis. Failure to accommodate this logic convention when you interface the CVIM I/O lines to your production equipment may cause unintended operation of your equipment, which may result in serious personal injury or death.
Page 358
OUTPUT LINE PLANNING SHEET: Outaut Line -Functions and ---___ __________ _--_ -Assianments ---~ --Line No.
Output Line Function
No-
NO.
Rng.
NO.
Reference Tool
Window
Gage
Tool Set
Rng.
NO.
Rng.
No.
Rng.
Line
Win.
Light Probe cam.
Rng.