artichoke72

QJ71E71-100: cannot receive TPC data back from module

3 posts in this topic

Hi, I am working on the following setup: External server connecting to PLC system via QJ71E71-100 Ethernet module and using MC protocolConnection via LAN cable (straight-though) between external server and QJ71E71-100 Ethernet moduleGoal is to pull data from PLC system via the use of MC protocol + 4E frame + ASCII data code + batch read Word units (via 0401 command, which is part of MC protocol)External server will act as TCP client, while QJ71E71-100 Ethernet module should act as TCP serverThe external server is using custom software (programmed in Python) to query/process response. At this moment I can 1) "ping" the QJ71E71-100 Ethernet module successfully, 2) connect to it via TCP socket and 3) send data via TCP socket. All is working well so far BUT I am not getting any data back from QJ71E71-100 Ethernet module. My setting are as follows: IP address of external server = 192.168.1.203 (it binds the socket to port 1500 of this external server when initiating communication). The external server will always initiate communication to query data whenever needed, FYI. IP address of QJ71E71-100 Ethernet module = 192.168.1.254, and it connects to port = 1500The Ethernet diagnostic tool indicates that my TCP packets are being received ("Total Number of Receives" increase every time data is sent), and that TCP response packets are being sent (increases in tandem with "Total Number of Receives" (apologies for poor picture quality): Would someone in the forum have experienced a similar issue (meaning that you could connect + send data from external server, but no data was getting sent back from QJ71E71-100 Ethernet module to external server? Are there some obvious mistakes in the configurations to the experienced eyes in this forum? For your information I am not using any gateway for the connection: it's a straight-through LAN cable from the external server directly into the QJ71E71-100 Ethernet module. Would such a setup work out of the box, or do I need to configure "Router Relay" or "Station No <-> IP information" within GX developer? Lastly I have not configured FTP, email or Interrupt settings, FYI. Thank you for your help, feel lost with this TCP connection issue. Regards to all forum readers! PS: find attached the pictures detailing configuration settings for both QJ71E71-100 Ethernet module and external server.

Share this post


Link to post
Share on other sites
Why are you setting the FixedBufferComm to "No procedure"? You say you are using MC protocol which should use "Procedure Exists". And by the way: In your monitoring picture you are monitoring Module1, not Module2.

Share this post


Link to post
Share on other sites
Hi everyone, I managed to get it to work following kaare_t's advice in this thread, as well as adding a "TCP Melsoft Connection" entry into the Network Ethernet settings. I mixed up the monitoring (Module 1, Module 2), so ignore these pictures as they are not relevant for the solution. I hope this post will help someone in the forum for future deployment. Port number has been changed to 3800 but it should work with the original port 1500 (I haven't tested it though). Regards. Edited by artichoke72

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