Browse
(440) 299-7778
Menu
(440) 299-7778
One-year parts and labor warranty30-day money-back guaranteeEnglishEspañolContact

The text of a manual · part 14 of 18

VS-06 Smart Camera, VS-06 User's Manual, pages 131 to 140

Pages 131 to 140 of 172

The original document is the PDF (3.2 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 di-soric VS-06

Page 131

Once the program has downloaded, make sure the PLC is in Run Mode:

Allen-Bradley PLC Setup via Generic

F

To open the Program Tags, double-click on “Program Tags”, then select the “Monitor Tags” tab at the bottom of the tag window:

VS-06 Smart Camera Guide

F-11

Page 132

Appendix

F

Allen-Bradley PLC Setup via Generic Ethernet Module

Expand Read_MV_IO_user so that the .IN.Status and .OUT.Control structures are visible, then scroll the window so Read_MV_IO_user.OUT.Control.Echo is visible:

F-12

VS-06 Smart Camera Guide

Page 133

Change .OUT.Control.Echo to non-zero:

Allen-Bradley PLC Setup via Generic

F

Scroll the window so Read_MV_IO_user.IO.IN.Status.Echo is visible, and verify it is the same value as the .OUT.Control.Echo:

VS-06 Smart Camera Guide

F-13

Page 134

Appendix

F

Allen-Bradley PLC Setup via Generic Ethernet Module

This confirms that the PLC and camera have successful two-way communication. To send a trigger to the camera, scroll to Read_MV_IO_user.Control.Trigger:

Set the Trigger to 1. This causes the demo code to trigger the camera, process the new inspection data, record the results in the Read_MV_demo_xxxx tags, and clear the DataValid status signal. The user can know that the camera was triggered when the Trigger control changes to 0. The user can know that all processing is done when the

F-14

VS-06 Smart Camera Guide

Page 135

counter Read_MV_dv_fall_count increments, along with the pass/fail counters in the Read_MV_demo_xxxx tags. For example:

Allen-Bradley PLC Setup via Generic

F

VS-06 Smart Camera Guide

F-15

Page 136

Appendix

F

Allen-Bradley PLC Setup via Generic Ethernet Module

Parameterize the Camera Open the Read_MV_IO_user.OUT.long, float, and string tags and verify they are configured as follows:

This configures the Measure (float101 and float102), Decode (string101) and Count Blob (long101 and long102) tools in the same way they were configured in AutoVision during Try Out. Note the Description column. It offers a hint for what each linked tag does for the vision job.

F-16

VS-06 Smart Camera Guide

Page 137

Trigger the Camera

F Allen-Bradley PLC Setup via Generic

To send a trigger to the camera, scroll to Read_MV_IO_user.Control.Trigger:

Set the Trigger to 1. When the Trigger returns to a value of 0, the camera may be retriggered. If you connect to the camera with AutoVision, it will display a new Inspection result each time the camera is triggered. Recall that the vision job was created with pre-defined images to produce predictable “Passed” and “Failed” results. The camera’s illumination lights will not flash when triggered. The Inspection results can be seen in the PLCs’s IN tags, and well as in AutoVision. Open the RSLogix tag window so Read_MV_IO_user.IN.Status and bool are visible.

VS-06 Smart Camera Guide

F-17

Page 138

Appendix

F

Allen-Bradley PLC Setup via Generic Ethernet Module

This example shows a “Passed” inspection, where the following tags are all 1: IN.Status.InspStat IN.bool.bool1 (Measure status) IN.bool.bool2 (decode+matchcode status) IN.bool.bool3 (count blob status)

F-18

VS-06 Smart Camera Guide

Page 139

F Allen-Bradley PLC Setup via Generic

If you scroll down to the IN.long, float and string values, you will see the literal results of the vision tools:

VS-06 Smart Camera Guide

F-19

Page 140

Appendix

F

Allen-Bradley PLC Setup via Generic Ethernet Module

This is equivalent to the AutoVision inspection result:

This example shows a “Failed” inspection, where every tool reports a fail:

F-20

VS-06 Smart Camera Guide