Search the Community

Showing results for tags 'cognex'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Found 14 results

  1. Hi I am new in Omron, most of time I spend with Siemens products so that's why I shyly want to ask about communication over EthernetIP in the case of PLC Omron. I am working with not my machine with PLC NJ301-1100 where are 3 axes on EtherCat, no nodes on Ethernet/IP, only HMI NA5. Primary task with cycle 500us (and additional periodic task 10ms but it is not important). I want to add Cognex scaner on EthernetIP. I use SysmacStudio. In first step I add EDS file and two structures IN (80bytes)/OUT(80bytes) to PLC, no algorythms. After downloading changes to machine in a while it stops with PRIMARY TASK TIMEOUT. With original program the task execution is ave 394us, max 467us. For NJ301 adding 160bytes is additional around 100us to communication cycle. Is that cycle part of each task (primary and others) or it is parallel proces? I am little confused. Additional communication time is 160*0,0015 + 160*0,56 + 2,15 + 7,5 = 99,49us. Am I correct? And this is the problem, I am out of the range of WatchDog? For now I didnt add any algorythms. In the future I will add new periodic task to PLC and this new InOuts will not be used in primary task. Thank You for any advice. ps I have found option for my inputs/outputs REGISTER TO SETTINGS FOR EXCLUSIVE CONTROL OF VARIABLES IN TASK. I created and chose new periodic task for them. Will it helps? I won't be able to check it until Monday so if You have any advices I will be gratefull ;) Best regars!  
  2. Hi All I am trying to connect Cognex OPC Server with Mircrosoft SQL Server (SMSS). Do you have any idea how to do that? I couldn't find relevant information online.
  3. Hi, I need help finding the length of a string.  I am using an In-sight 9000 series camera with a compact logix 5380 and communicating over ethernet. Unfortunately, the string length is not provided in the AOP, and the barcode length will constantly change. I told to use the FSC instruction, but I cannot get it to work. Thanks 
  4. SLMP Failures

    Hello all,  I am new to using Mitsubishi and I am having issues communicating with my Cognex Camera. I have the camera configured in Datamn Setup Tool. I have the Ethernet card configured and validated. I am able to ping both devices and get a response on the network. However, I received an SLMP failure in Dataman and there's no communication between my camera and the controller.  Please see the attached photos to view how I have the camera and PLC configured.
  5. SLMP Failures

    Hello all,  I am new to using Mitsubishi and I am having issues communicating with my Cognex Camera. I have the camera configured in Datamn Setup Tool. I have the Ethernet card configured and validated. I am able to ping both devices and get a response on the network. However, I received an SLMP failure in Dataman and there's no communication between my camera and the controller.  Please see the attached photos to view how I have the camera and PLC configured.
  6. I am setting up a vision inspection station which will require me to have 3 independent jobs within the camera. I am using 2 Cognex 9912, a Cognex 2000, and a S71200 PLC. Cognex has sent me a copy of the job call FB, but it is giving me fits. There are several tags referencing a data base called Insight1_Inputs, when I try to create a data base with this name it will not allow me. Any help would be greatly appreciated. I can upload pictures if needed. thanks in advance 
  7. Cognex Data Logging

    Anyone know how I can create a log of results from a Cognex vision system?  I have 3 cameras that look at various thinks... clip presence, clip height, clip angle.  There are 2 clips per part and 6 parts per tool.  This makes it hard to zero in on what I areas I need to tweak. Thanks! P.S. I've heard that maybe their OPC Server could do this but I don't have much experience with it (actually I don't have a whole lot of vision experience at all).  From what I've briefly read, I just install the server, set up the tag within the server, start it, and I can just drag and drop the tags into an Excell cell?  If this is true, this just gives me another way to read the values.  How can I create a database or log of these tags?
  8. Hello, I'm looking for sample program to communicate Cognex DataMan 262Q, now i have connecting by Tags, 496 bytes input/output, but in manual i see :  
  9. Cognex VC5 Vision Controller

    I'm looking for some help in regards to programming an Omron PLC (CX-Programmer) to control a Cognex VC5 Vision controller to trigger CIC5000 cameras. I have the Ethernet/IP mapping and I am able to send user data to the VC5 controller at this point. I believe there a steps I'm missing within the Cognex Designer program to send notifications to the PLC but I'm not sure where to start. Any help in pointing me in the right direction is much appreciated.
  10. I am using an Omron NJ controller and a Cognex Dataman 260 bar-code scanner.   At this point I can trigger the scanner and receive data from the scanner via ethernet/ip. My issue is in converting the response from the scanner to something human readable. The bar-code I scanned reads "872-3GSq".  The results of the scan are located in the variable Dataman_to_NJ[8]-[11]. At some point I know I need to use the SWAP function but I believe my lack of data type knowledge in this system is hindering me. How can I convert the value in Dataman_to_NJ[8] to the string "87"? Any assistance would be appreciated.  
  11. Hello all,    I am trying to mask out some values out of a bar code from cognex data scanner. Here is an example of what I am trying to achieve Data from Cognex: 2275019xf1-8877R215BA1234567 i just need 2275019XF1-8877R215B    I know i can program the bar code scanner to not to read but that would cause a lot of downtime. I wanna to know how to mask such a big number. Any help would be appreciated. I would be using RSlogix5000   Thanks Pratik 
  12. Hello,    I have a Cognex insight 5100 camera connected to Allen Bradley L62 processor. The is working fine since the last year but sometimes the I/O module faults out with error code 16#0022. I looked online it look it needed a Ethernet cable change ( I did that but no results).  Then I looked at the firmware in the I/O module and firmware in the camera and I found a difference. The firmware in the camera is 4.06 and the firmware of I/O module in the PLC is 4.005. Can anyone help me resolve the communication issue ? I want to know how to downgrade the camera firmware or change the revision in the PLC ( which I cannot )    Thanks in Advance 
  13. Hello,    I have a Cognex insight 5100 camera connected to Allen Bradley L62 processor. The is working fine since the last year but sometimes the I/O module faults out with error code 16#0022. I looked online it look it needed a Ethernet cable change ( I did that but no results).  Then I looked at the firmware in the I/O module and firmware in the camera and I found a difference. The firmware in the camera is 4.06 and the firmware of I/O module in the PLC is 4.005. Can anyone help me resolve the communication issue ? I want to know how to downgrade the camera firmware or change the revision in the PLC ( which I cannot )    Thanks in Advance 
  14. Hi, I am working on a project that requires connecting an EtherCAT network and an Ethernet/IP network to the built in ports of the NJ controller. I have been able to setup the EtherCAT network in Sysmac Studio, but I am struggling with the Ethernet /IP setup in Sysmac Studio. For the Ethernet network I have to setup the Motoman DX200 and a Cognex In-Sight 7000, as well a NA HMI which I was able to figure out and have it setup in Sysmac Studio. I have the EDS files for both Motoman and Cognex and the are installed in Sysmac Studio. I am a confused about what to put in the target variable and the originator variable, as well how can I connect these to my Global variables?