Jump to content

Recommended Posts

Posted

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?

 

 

 

Posted (edited)

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
Posted

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... 

Posted (edited)

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
Posted (edited)

Very good.

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

Edited by Mark-
Posted

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

 

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...