morje_datta

QJ71E71 MODBUS TCP

5 posts in this topic

Hi, I am new to these forum. Currently i'm facing issue for MODBUS TCP communication. 

Please go through below details for more understanding.
 
Current Architecture.
Rack Q38B
Mounted Modules on Rack
1. Power Supply Q61P
2. PLC Q06UDVCPU  (IP Address : 192.168.3.39)
3. Ethernet Card QJ71E71-100 (IP Address : 192.168.3.115)
4. Digital Input Card QX41
5. Digital Output Card QY41P
6. Analog Card Q64AD2DA
 
Above Mention PLC is connected to desktop(IP Address: 192.168.3.111) via switch. my goal is to achieved the continuous Modbus TCP communication using predefined protocol.
Currently we have added ladder for predefined protocol. Ladder program compile without error and loaded to PLC.
But when we run the system it only connected the specified port. It does not activate the port for predefined protocol nor execute further flag. For more detail i have attached our code file, predefined protocol file 
 
Please reply back as early as possible.

SAMPLE.gxw

mb31_3.epc

Share this post


Link to post
Share on other sites

I think this is the problem, Doesn't look like the GP.ECPRTCL is ever executed.

You have M100 only als a puls and a timer which will than never reach 5 sec

 

Screenshot 2022-04-01 092114.jpg

Edited by Gambit

Share this post


Link to post
Share on other sites

If i remove the Timer and put normal pulse, it does get activated but my connection getting close before it write action completing with error code at ethernet diagnostics C431   

Share this post


Link to post
Share on other sites

Try this

Set M100 and hold it until M200 is on. Use M200 to reset M100.

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