Glen7829

QJ71E71 UDP Communication Protocol

11 posts in this topic

Hello, 

I am trying to communicate with a QJ71E71 , via a PC  I am using the melsoft protocol via a software called Delphi that i created.  As of now i am able to ping the E71 , but when i send data (loop test)  it does not send anything back. 

I have started with a loopback test as it seemed easy enough. 

i send this according to wireshark. but nothing in return.  Is there something i am missing?  do i need to have any ladder logic in the PLC to communicate via UDP?  Thanks

54001234000000FF03FF0000210010061900000005ABCDE

Settings are as follows:

Module 1

Network type : ethernet

Start IO: 0020

network no, group no , station no : 1

status Online

OPERATION SETTING are as follows

ASCII Code, Always wait for OPEN, Enable Online Change is true. 

 

for Open setting

protocol : UDP

fixed buffer : send

fixed buffer communication : Procedure Exist

Pairing : disable

Confirmation : no confirm

Host station port 4001

then my IP and Port is 1398  not sure if correct port? or if that matters?

 

 

 

Share this post


Link to post
Share on other sites

Hello Mark, 

i tried that and same thing,  it will send but never receives. The count for sending keeps going up but nothing is returned,  when i try to do the bits it will show that its keeps reconnecting and then timeing out , then reconnecting...ect..

 

Also if i have UDP setting , i cant select anything in the open system field. its just blank

 

 

Edited by Glen7829

Share this post


Link to post
Share on other sites

Zip up the GXWorks project and post it here or PM me

Edited by Mark-

Share this post


Link to post
Share on other sites

I looked at the settings for an FX project. Here is a screen capture.

 

FX3.png

Share this post


Link to post
Share on other sites

I tried this but same issue. nothing returned looking threw wireshark

 

 

setting.JPG

Share this post


Link to post
Share on other sites

Using PeakHMI or your code?

 

Share this post


Link to post
Share on other sites

i get nothing returned with either. no error no gibberish nothing.  I can look in the Dianostic tool and it shows it received x data and it says it send 0 data.  

so i know its making it to it... 

Share this post


Link to post
Share on other sites

forgot to unplug ,  but now the peakhmi is sending and receiving  so that's good start!

 

Program i made is now also sending and receiving.  not exactly receiving what i want.. but ill take it lol. 

i guess changeing the port to 5001 and 5002?

 

Edited by Glen7829

Share this post


Link to post
Share on other sites

Very good.

I suspect the port number was OK, you can test it. Setting up the send and receive fixed buffer.

Edited by Mark-

Share this post


Link to post
Share on other sites

i removed the receive buffer (according to the manual its not needed, you only need the send)  and same thing it will now send back but its error data.. which is good that its talking now.  

Thanks for the help!

Glen

 

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