Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.
-
Upload
evan-robinson -
Category
Documents
-
view
222 -
download
0
Transcript of Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.
![Page 1: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/1.jpg)
Using Banner Vision Products with OCS Controllers
Ken Jannotta Jr.
Horner APG
August 2007
![Page 2: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/2.jpg)
Design Goals
• Use logic and I/O from the OCS to control the vision sampling.
• Display the vision samples on the OCS screen.
• Save photos of failed parts to the compact flash on the OCS.
• Minimize wiring in the system.
![Page 3: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/3.jpg)
Connections
Ethernet
Ethernet Switch
Video out from camera to VIM on
OCS
![Page 4: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/4.jpg)
Communications
• Programming and monitoring from the PC to the OCS is performed using CsCAN TCP.
• Communication from the OCS to the Vision sensor is performed with Modbus TCP. (OCS is the master.)
• Communication from the PC to the vision sensor uses a proprietary protocol from Banner.
![Page 5: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/5.jpg)
Communications
• Banner Setup
![Page 6: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/6.jpg)
Communications
• Banner Setup
![Page 7: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/7.jpg)
Communications
• OCS Setup
![Page 8: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/8.jpg)
Communications
![Page 9: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/9.jpg)
Video SetupFor image format use JPG for smaller file size.
File size = 40KCapture time = 5 seconds
Use BMP for more captured detail or faster captures
File size = 600KCapture time = 2 seconds
![Page 10: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/10.jpg)
Capturing Video
• To capture video set the bit setup to capture the desired channel.
• Additional logic can be added to record missed captures. The capture bit is reset by the firmware when a capture is complete.
![Page 11: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/11.jpg)
Parameters Available from the Banner Unit
• Trigger, teach product change…bits– Some bits have ack
• Pass/Fail bits and counts
• I/O status, error information
• Bar code handling information
• Location information
![Page 12: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/12.jpg)
Performance Considerations
• Event trigger to capture2 Scans + < 100mS (Modbus rate)
Use input on camera for higher speeds
• Video capture performance
1 scan + 1 frame (33ms @ 60 hz)
![Page 13: Using Banner Vision Products with OCS Controllers Ken Jannotta Jr. Horner APG August 2007.](https://reader036.fdocuments.us/reader036/viewer/2022062315/5697bff51a28abf838cbd7d6/html5/thumbnails/13.jpg)
Graphic Overlays
• There is an un-documented featured shown in the OCS demo that allows overlaying bitmaps on video with transparent sections.
Special color that is transparent on videoRed = 16Green = 0Blue = 0
All other colors are opaque