13
O2D EIP through Micrologix 1400

O2D EIP through Micrologix 1400

  • Upload
    whitney

  • View
    61

  • Download
    1

Embed Size (px)

DESCRIPTION

O2D EIP through Micrologix 1400. O2D must have firmware 1047 or higher for Ethernet IP communication Object Recognition Software version 3.5 This example assumes that you will use an Ethernet IP trigger . Explicit messaging is used in this process. Requirements. - PowerPoint PPT Presentation

Citation preview

Page 1: O2D EIP through  Micrologix 1400

O2D EIP through Micrologix 1400

Page 2: O2D EIP through  Micrologix 1400

Requirements

• O2D must have firmware 1047 or higher for Ethernet IP communication

• Object Recognition

Software version 3.5

• This example assumes that you will use an Ethernet IP trigger .

• Explicit messaging is used in this process

Page 3: O2D EIP through  Micrologix 1400

Process Interface Software

Connect to the O2Dxxx sensor

In Applications select the Process Interface tab.

Select Ethernet/IP and V2 for the Protocol Version.

Click Assign

Page 4: O2D EIP through  Micrologix 1400

Click on Extended… Button in the Process Interface tab. By default, the camera will transmit 450 bytes. In the EtherNet/IP tab, we can partition the data and define the amount of data to be transmitted.

Some PLCs cannot handle all 450 bytes and this menu allows us to adjust the packet size.

Output bytes to be received from camera (Write Data)

Defines the Input bytes to be sent from the camera (Read Data).

*We set the input and output bytes to 40 based on this particular application. This can be larger or smaller depending on your application

Configuration software

Page 5: O2D EIP through  Micrologix 1400

If you plan to use the software trigger, Set the trigger to TCP/IP

Configuration software

Page 6: O2D EIP through  Micrologix 1400

In RSLogix 500, Setup a Messaging block for Read and Write.

RSLogix software

Page 7: O2D EIP through  Micrologix 1400

Set these values for the read message

RSLogix software

Page 8: O2D EIP through  Micrologix 1400

Set IP address of the sensor

RSLogix software

Page 9: O2D EIP through  Micrologix 1400

Set these values for the write message

RSLogix software

Page 10: O2D EIP through  Micrologix 1400

Set IP address of the sensor

RSLogix software

Page 11: O2D EIP through  Micrologix 1400

There is a byte swap in the I/O.

Enter the trigger command below:30 (Hex) = 0 (ASCII)0D (Hex) = CR (ASCII)54(Hex) = T (ASCII)3F(Hex) = ? (ASCII)0A (Hex) = LF (ASCII)

Once the string is entered, you must toggle the message block

RSLogix software

Page 12: O2D EIP through  Micrologix 1400

Response from the sensor in ASCII: Start, Pass, 99.0%(percent match), Stop

In order to get a response, you must trigger first and then toggle the read message block.

RSLogix software

Page 13: O2D EIP through  Micrologix 1400

To create another trigger, change the value at the either 3030 location. Any change in this value will cause another trigger event.

RSLogix software