Download Print this page
Cognex DataMan 290 Quick Start Manual
Cognex DataMan 290 Quick Start Manual

Cognex DataMan 290 Quick Start Manual

Communications with siemens plc
Hide thumbs Also See for DataMan 290:

Advertisement

Quick Links

Contents
Introduction ...................................................................................................................... 2
Software Tools Needed .............................................................................................. 2
Download Needed Files .............................................................................................. 2
TIA Portal Integration Guide and Tag Generator ............................................................. 5
DataMan WebUI Communications Section ...................................................................... 6
PLC Setup ........................................................................................................................ 7
Cognex DataMan 290/390 Set-up .................................................................................. 12
Install GDS File ......................................................................................................... 12
Add the DataMan 290/390 to the Project ....................................................................... 14
Configure Cognex DataMan 290 on PROFINET ........................................................... 16
DataMan 290 Device Overview in Siemens TIA Portal .................................................. 19
Sample Code ................................................................................................................. 25
Trigger Camera Verification ........................................................................................... 27
Sample Code ................................................................................................................. 30
Inspection Results ..................................................................................................... 30
COGNEX ©March 2025
Quick Start Guide for DataMan 290/390 and
Siemens PLC Communications
Quick Start Guide for DataMan 290/390 and Siemens PLC
Communications
Page 1 of 31

Advertisement

loading
Need help?

Need help?

Do you have a question about the DataMan 290 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Summary of Contents for Cognex DataMan 290

  • Page 1 Install GDS File ......................12 Add the DataMan 290/390 to the Project ............... 14 Configure Cognex DataMan 290 on PROFINET ............16 DataMan 290 Device Overview in Siemens TIA Portal ..........19 Sample Code ......................... 25 Trigger Camera Verification ................... 27 Sample Code .........................
  • Page 2 "data sheet" for configuring and integrating a device within a networked system. GSD files can be downloaded from Cognex.com. The recommended way to obtain resources for your device is to use the DataMan WebUI. Open your Web Browser and navigate to the assigned IP Address of your device.
  • Page 3 Quick Start Guide for DataMan 290/390 and Siemens PLC Communications 2. Select Resources. 3. Select DataMan 290 GSD and EDS Files from the Resources list. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 3 of 31...
  • Page 4 Quick Start Guide for DataMan 290/390 and Siemens PLC Communications 4. Click the Download button. 5. Unzip and copy the downloaded folder to your PLC programming PC. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 4 of 31...
  • Page 5 The TIA Portal Integration Guide and Tag Generator is an integration guide for adding various Cognex products to a Siemens PLC using the TIA Portal software. Also included is a spreadsheet for generating all of the tags for the various control and status modules.
  • Page 6 Quick Start Guide for DataMan 290/390 and Siemens PLC Communications DataMan WebUI Communications Section 1. Open a Web Browser and enter the IP Address of your DataMan 290. 2. Navigate to Step 4 Communications. 3. Select the PROFINET radio button.
  • Page 7 3. Select Devices & networks and select Add a new device. 4. Select your PLC hardware from the Controllers list, firmware version from the Version drop-down list and click the Add button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025...
  • Page 8 : Selecting different parts of the PLC diagram will show different properties below. 6. Scroll down to the PROFINET Interface_1 [Module] settings and select the Properties tab, select the General tab and click the Add new subnet button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025...
  • Page 9 10. Select the Ethernet port on the PLC diagram and click the Download to device button in the IDE toolbar. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 9 of 31...
  • Page 10 14. Click the Start Search button. 15. Once the successful connection is made the device will display in the Select target device list, select the device and click the Load button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025...
  • Page 11 Quick Start Guide for DataMan 290/390 and Siemens PLC Communications 16. The Default connection path for online access warning box may display. Click the Yes button to continue. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 11 of 31...
  • Page 12 3. The Manage general station description files dialog displays. Click the ellipsis button. 4. Navigate to the GDS Source path on your PC, select the DataMan 290 and click the Install button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025...
  • Page 13 Quick Start Guide for DataMan 290/390 and Siemens PLC Communications 5. The Installation is complete, click the Close button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 13 of 31...
  • Page 14 Add the DataMan 290/390 to the Project 1. Select Devices & networks in the Devices pane on the left. 2. Navigate to the Hardware Catalog tab in the right-hand toolbar. Enter Cognex in the Catalog search field. 3. Scroll down until you find the DataMan 290 in the device list.
  • Page 15 4. Drag the icon into the Device & networks pane and place it next to the PLC icon. 5. Connect the DataMan 290 icon to the PLC. : Start with the green square in the center of the DataMan icon and connect to the green square on the PLC icon.
  • Page 16 Siemens PLC Communications Configure Cognex DataMan 290 on PROFINET 1. Right-click on the Ethernet port on the DataMan 290 icon and select Properties. 2. Navigate to the Ethernet Addresses setting under the General Properties tab in the DataMan Properties at the bottom of the interface.
  • Page 17 PLC to the I/O device (DataMan). 7. Click the Save Project button. 8. Click the Compile button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 17 of 31...
  • Page 18 Quick Start Guide for DataMan 290/390 and Siemens PLC Communications 9. Click the Download button. 10. Click the Go Online button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 18 of 31...
  • Page 19 When you are Online the Go online button will be greyed out (inactive). 1. Select the DataMan 290 and click the Device View tab. The Device Overview tab opens. Note the starting I and Q addresses, these are the start addresses that will be entered into the Tag Generator Spreadsheet.
  • Page 20 : In the Results Data Module set the Data Type to Word for the following cells: DM290-ResultID, DM290-ResultCode, DE290-ResultExtended, DM290-ResultLength 5. Enter the DataMan 290 sensor name in cell B2. 6. Edit the yellow fields in the Spreadsheet to match the I and Q addresses.
  • Page 21 7. Copy cells F6 – H71. 8. Return to the Siemens TIA Portal. 9. Expand the PLC tags setting and double-click Add new tag table. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 21 of 31...
  • Page 22 The new tag table opens. 11. Select the first three cells in the table. 12. Right-click and select Paste. The Tag Table populates the information. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 22 of 31...
  • Page 23 14. Add three tags as shown below. 15. Double-click on the Main [OBJ1] setting and add logic as shown below . This is a simple program to demonstrate a Single Trigger. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025...
  • Page 24 Siemens PLC Communications 16. Click the Save Project button. 17. Click the Compile button. 18. Click the Download button. 19. Click the Go Online button. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 24 of 31...
  • Page 25 Siemens PLC Communications Sample Code 1. Click the Enable Monitoring button. 2. Open the Force table setting. 3. Add two tags as shown below. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 25 of 31...
  • Page 26 Siemens PLC Communications : It is recommended that the Force table is set to Floating as we will want to see the logic while forcing values. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 26 of 31...
  • Page 27 Quick Start Guide for DataMan 290/390 and Siemens PLC Communications Trigger Camera Verification 1. Return to the Cognex DataMan WebUI. Open a Web Browser and enter the IP Address of your DataMan 290. 2. Navigate to Step 5 Runtime. 3. Ensure your Runtime looks like this image.
  • Page 28 6. Click the Yes button to allow The selected item will be forced to “1” prompt. 7. Return to the Cognex WebUI. Notice the image with the code read! Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025...
  • Page 29 11. Navigate to the floating Force table, right-click on the ResetTrigger tag and select Force- Stop Forcing. 12. You may repeat this process for Single Trigger testing. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025...
  • Page 30 1. Navigate to the Siemens TIA Portal. 2. Double-click on Tag table_1. 3. Click the Monitor All button. 4. Scroll down to the InspectionResults Byte Tags. Quick Start Guide for DataMan 290/390 and Siemens PLC Communications COGNEX ©March 2025 Page 30 of 31...
  • Page 31 As you can see from the result on the browser the read result is: https://cognex.com/mycognex. This is evidence that you have successfully triggered the DataMan 290, Read a Code, and Sent the Value to the PLC. : Now that the value is in the PLC it can be copied into other logic as needed.

This manual is also suitable for:

Dataman 390