Sign in to follow this  
Followers 0
MTomczak

Problem with trigger camera Keynce with s7-1200

5 posts in this topic

Hello everyone I have a problem with a simple code on the S7-1200.Program code is in the loop at specific time induce trigger on the camera Keyence (Q6.6).And at the same time check the response of the camera (I7.1).The problem is that I have given code does not work - does not turn on trigger the camera (no high state at the output), although when at work turn on the "Monitor" you can see that on the line appears high (the line gets green). Does anyone know the cause of this problem?Maybe some alternative solution? Greetings Mikolaj Edited by MTomczak

Share this post


Link to post
Share on other sites
Hello MTomczak, What type of communications are you using to send your signal to the Keyence? What Keyence setup are you using, a vision system (with controller) or a vision sensor (IV series)? If it is Ethernet/Profinet then I would suggest downloading their manuals on their vision website for setting up communications. They also have the .eds files available for communications. This is for the IV series, this is a vision sensor that is only the camera. If it is directly wired I would check the voltage on the output card, then check that the wires are going to their intended (and correct) place for the Keyence trigger. TRG1 input is the triggering for camera 1 on the CV-X series, this is a vision system that includes a controller. Hopefully this helps a little bit, with more information someone might be more insightful

Share this post


Link to post
Share on other sites
I'am using directly wired and a vision sensor ( IV series). I check voltage on output from PLC and I dont saw any changes. But why? This is little strange for me, because all time I see high state in TIA Portal on Monitoring mode. Maybe you can give me some extra code? Some alternative solution?

Share this post


Link to post
Share on other sites
Providing the first contact is ON and the test contact is OFF, the circuit you have there will turn on your output for 300mS every second. You may not see the signal on your meter. Have you tried basic commissioning. Disconnect the trigger wire in the camera and force the output ON and then check to see if you have voltage at the output and at the camera?

Share this post


Link to post
Share on other sites
Yes, contact "sprawdzanie_ok" is basic contact and it is always ok ( always = when I want to use this part of code ). Maybe You're right. Maybe 300ms is too short. I checked it and when I connect trigger for example just to some button - everything is good. How You make on S7-1200 code which is designed to create continuous pulse output with checking the condition?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0