The text of a manual · part 6 of 18
VS-06 Smart Camera, VS-06 User's Manual, pages 51 to 60
Pages 51 to 60 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 51
VS-06 EtherNet/IP
VS-06 EtherNet/IP Throughout this document, EtherNet/IP may be referred to as “EIP”, and VS-06 may be abbreviated “VS”. The EIP interface version described here is 1.1. This version number is associated with the EIP interface for di-soric Device Type of 100, Machine Vision Smart Cameras. It is not the software version of AutoVision, VisionScape, or VS-06 firmware.
Overview The EIP interface will be identified as Vendor Specific (100). The interface is designed to support Class 1 Implicit IO data exchange, and Class 3 Explicit messages for serial commands not accessible with Implicit messaging.
Necessary Tools The following tools are helpful for configuring the EIP: AutoVision and FrontRunner
•
EtherNet/IP Messaging Tool – can be a PLC or Software Tool, must be capable ofsending explicit messages and establishing Class 1 connections. EIPScan from Pyramid Solutions is an example of such a tool.
•
Terminal emulation or serial communication tool that can connect to serial uart and TCP socket, such as HyperTerminal or Putty.
EtherNet/IP Terms of Use EtherNet/IP Technology is governed by the Open DeviceNet Vendor Association, Inc (ODVA). Any person or entity that makes and sells products that implement EtherNet/IP Technology must agree to the Terms of Usage Agreement issued by ODVA. See www.odva.org for details.
VS-06 Smart Camera Guide
4-3
4 Using EtherNet/IP
•
Page 52
Chapter
4
Using EtherNet/IP
EtherNet/IP Object Model VS-06 uses Class 1 connected messaging to communicate most of its data and services in a single connection.
EIP Identity Device Type Device type is 100, Vendor Specific, Machine Vision Smart Camera. Vendor ID di-soric ODVA Vendor ID is 1095. Product Code The Product Code is 6899. Interface Revision Major.Minor = 1.1 Connection Properties: Class 1 Implicit Messaging Input Assembly Instance (to PLC/client): 102 Output Assembly Instance (to VS-06): 114 Size: Fixed, 320 bytes in both directions Input Trigger/Trigger Mode: Cyclic RPI (Requested Packet Interval): Greater than 20 ms recommended. 10 ms to 3.2 s allowed. Input Type/Connection Type: •
Point-to-Point (PLC OUT, O->T)
•
Point-to-Point and Multicast (PLC IN, T->O)
Connection Priority: Scheduled
4-4
VS-06 Smart Camera Guide
Page 53
Assembly Layout
Assembly Layout Input Assembly The input assembly layout is described below and shown in the following diagram.
Using EtherNet/IP
4
VS-06 Smart Camera Guide
4-5
Page 54
Chapter
4
Using EtherNet/IP
The input assembly layout is shown here:
4-6
VS-06 Smart Camera Guide
Page 55
Assembly Layout
Status: Camera Status Register (16 bit) Each bit of this register represents a different state of the camera’s operation. A high value of 1 indicates that state is active (true).
Using EtherNet/IP
4
VS-06 Smart Camera Guide
4-7
Page 56
Chapter
4
Using EtherNet/IP
CmdCodeRslt (32 bit) The value of CmdCodeRslt is only valid when ExeCmdAck is active (1), in response to ExeCmd being active.
CmdRet (32 bit) The value of CmdRet is only valid when ExeCmdAck is active (1), in response to ExeCmd being active, and CmdCodeRslt is 0 (Success). The following chart shows which CmdCodes return data in the CmdRet register.
4-8
VS-06 Smart Camera Guide
Page 57
Assembly Layout
State (16 bit) State reflects the following operational condition of the camera:
*Booting (3) State: This will rarely be seen by the plc.
Using EtherNet/IP
4
VS-06 Smart Camera Guide
4-9
Page 58
Chapter
4
Using EtherNet/IP
The value of State determines which Control and Status signals are available:
Where: Y = Signal is valid for this State Empty cell = Signal is not valid for this State
4-10
VS-06 Smart Camera Guide
Page 59
Assembly Layout
VIO Register Bits
Output Assembly The output assembly layout is described below and shown in the following diagram.
Using EtherNet/IP
4
VS-06 Smart Camera Guide
4-11
Page 60
Chapter
4
Using EtherNet/IP
The output assembly layout is shown here:
4-12
VS-06 Smart Camera Guide