Sign in to follow this  
Followers 0
Rastus81

Q Series Comms to Keyence Vision System

8 posts in this topic

Hello all, Im having a "bit of trouble" communicating to a vision system from our plc, I wonder if there is anyone who can help? because the Keyence "Help line" seems to be fubar. The keyence system is a CV-5001 the plc is a Q25HCPU with a QJ71E71 Ethernet module. I have set the vision system to plc link with melsec q/l ethernet. Im guessing i need to send ascii bytes with the appropriate command. This is where i get stuck, because my result registers do not change. So i dont know if im communicating. I have found one line in the 808 page manual that says i should use D registers, but im not so sure about the bit signals. ie Keyence does not let me specify a bit within a D word? Has anyone cracked this? Im at a dead end. Regards Rastus

Share this post


Link to post
Share on other sites
Please explain a little more. Do you need to program the protocol for the Ethernet card? If so, on which side are you trying to program the protocol? Does the Keyence have a driver for Q-series? Why "must" you use D registers? I would use M coils for bit devices.

Share this post


Link to post
Share on other sites
Hi kaare_t, Thankyou for your interest. I agree with the M coil idea. I tried that to start with, and it still might be the way to go. I'll attach a screenshot of the manual page which led me to trying D registers (without success). The keyence system must have drivers for Mitsi Q series, because it is available in the drop down selection. I'll attach a second screenshot of the keyence setup screen. I am using the Keyence CV-5001 users manual. And to be fair, Keyence has given me some help on this issue now But Im still stuck with the PLC side. Regards Rastus

Share this post


Link to post
Share on other sites
Here are two more pages from the manual which discuss the Data Memory and also some examples. Thanks in advance.

Share this post


Link to post
Share on other sites
I see in the second picture that you have selected ASCII mode. Is it possible to select Binary mode? Or did you change the setting for the built in Ethernet port on the CPU?? I would strongly recommend Binary mode. Also, in the second picture I see that you have selected port 5000. Is this HEX or Decimal? Did you set up anything in the Built-in Ethernet port on the PLC (e.g. Open Port 5000)? Note that the port number in the prog software is in HEX, so Dec5000 = Hex1388

Share this post


Link to post
Share on other sites
Well the port number was in hex at 5000, so ive changed it to 1388. Ive tried the alternative to ascii which is command numbers, i think this is just decimal. Still no luck, and i cant prove that the Keyence system is receiving the commands. Here are some more screenshots to help complete the picture. Thanks for your help. Edited by Rastus81

Share this post


Link to post
Share on other sites
Haha, I cracked it. I'll post back later when ive fine tuned the logic.

Share this post


Link to post
Share on other sites
Hello Rastus, I have almost the same problem, I want to connect a Omron Vision system FZ4 with the QJ71. What have you done to get it right, please help.

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