Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer

Preview:

Citation preview

Managing Network Devices withCognex Connect

Eric Hershberger Senior Applications Engineer

2 | Confidential © 2012 Cognex Corporation

3 | Confidential © 2012 Cognex Corporation

Vision Area Networks

All Cognex products are designed to take advantage of full Ethernet technology

Share images, results, and data in real-time

Used with PLCs, robots, PCs, and an HMI or SCADA system

4 | Confidential © 2012 Cognex Corporation

Communicating with a PLC

TCP/IP, FTP, Telnet (Standard) EtherNet/IP, PROFINET

(Industrial) Modbus/TCP, DeviceNet,

Profibus (Fieldbus)

5 | Confidential © 2012 Cognex Corporation

Robot Communications

Communication is usually done via serial or Ethernet communication

Robot drivers and sample code - facilitate integration

World-class vision tools - for part identification, inspection and measurement applications

Rockwell – Allen Bradley PLC

Eric Hershberger Senior Applications Engineer

7 | Confidential © 2012 Cognex Corporation

Communications Options

Ethernet/IP (EIP) Based on Ethernet TCP/IP Uses the TCP/IP address of camera Requires EIP Communications Card or Processor

DeviceNet Legacy Communications but still in use Additional Hardware needed Additional Custom Programming

8 | Confidential © 2012 Cognex Corporation

Rockwell PLC Terminology

Electronic Data Sheets (EDS) Defines network modules for RSLinx

Add-On Profiles (AOP) RSLogix 5000 only Defines communications and tag settings for implicit

messaging to network modules

9 | Confidential © 2012 Cognex Corporation

Explicit & Implicit Messaging

Explicit Unscheduled Uses a request/response communications procedure EX: Job change, Native Mode Commands for In-Sight

Implicit Scheduled, time critical Uses a requested packet interval (RPI) to specify when data

update EX: Control, Status, Data Transmission

Note: Not all models support Explicit and Implicit messaging. Check with Allen Bradley to verify

10 | Confidential © 2012 Cognex Corporation

Software Versions - Rockwell Allen Bradley

RSLogix 5000 Used with CompactLogix and ControlLogix Version 15 and higher AOP included with version 20+

In-Sight Explorer Version 3.4 and higher

11 | Confidential © 2012 Cognex Corporation

Module Definition

Without AOP

Without AOP

12 | Confidential © 2012 Cognex Corporation

Data LayoutWith AOP

With AOP

13 | Confidential © 2012 Cognex Corporation

Samples and Examples

C:\Users\Public\Documents\Cognex\In-Sight\In-Sight Sample Projects

Included with In-Sight Explorer installation Integer Data example with job files/images Float data example with job files/images 2D matrix code example with job files/images

14 | Confidential © 2012 Cognex Corporation

Where to go for help!

15 | Confidential © 2012 Cognex Corporation

AOP Integration Demonstration

16 | Confidential © 2012 Cognex Corporation

Questions?