How to set up reject parameters in Cognex

I have been through the Cognex course and cannot seem to find a section that discusses rejecting parts. I need to stop a conveyor when a part rejects. I have the relay already in place, i just need the camera to send the signal.

If i missed this in the videos, I apologize.

Thank you ,

1 Like

Hey Joe,

I’m happy to help.

Are you referring to identify if the part needs to be refected or to the electrical signal needed to perform the actual reject?

In most applications I’ve worked with, I used the PLC for the reject as I’d also count them / report them there. Therefore, I typically would send the reject over EtherNet/IP which is covered in the course. There’s a hard wired signal for pass / fail on the Cognex camera. I’ve seen it used as well, but you have less flexibility with that signal if you directly drive a relay with it. I’d still send that to a PLC input and process the signal from there.

Let me know where you’re stuck and I’ll do my best to help / potentially cover it in a video.


1 Like

On this system, we don’t have a PLC. All I’m using is a relay that’s tied into line control. When this relay is triggered, I will stop the line.

I have found in the Inputs/Outputs how to energize the relay, but it won’t work correctly with good/bad parts

Camera Setup

1 Like

Nevermind Vlad, i figured it out!!!

1 Like