Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

16
Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer

Transcript of Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

Page 1: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

Managing Network Devices withCognex Connect

Eric Hershberger Senior Applications Engineer

Page 2: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

2 | Confidential © 2012 Cognex Corporation

Page 3: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

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

Page 4: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

4 | Confidential © 2012 Cognex Corporation

Communicating with a PLC

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

(Industrial) Modbus/TCP, DeviceNet,

Profibus (Fieldbus)

Page 5: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

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

Page 6: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

Rockwell – Allen Bradley PLC

Eric Hershberger Senior Applications Engineer

Page 7: Managing Network Devices with Cognex Connect 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

Page 8: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

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

Page 9: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

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

Page 10: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

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

Page 11: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

11 | Confidential © 2012 Cognex Corporation

Module Definition

Without AOP

Without AOP

Page 12: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

12 | Confidential © 2012 Cognex Corporation

Data LayoutWith AOP

With AOP

Page 13: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

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

Page 14: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

14 | Confidential © 2012 Cognex Corporation

Where to go for help!

Page 15: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

15 | Confidential © 2012 Cognex Corporation

AOP Integration Demonstration

Page 16: Managing Network Devices with Cognex Connect Eric Hershberger Senior Applications Engineer.

16 | Confidential © 2012 Cognex Corporation

Questions?