kamalov_l

gx works 2 Connect L06CPU-P with Siemens S7-1500

11 posts in this topic

Hi all  :-)

I need help with communication between Mitsubishi L06CPU-P with Siemens S7-1500 by Modbus TCP. It's necessary to send data from L06CPU to S7-1500, but I don't know anything about mitsubishi and gx works2.  Picked up some pics how I did it, but I didn't verified how it works.

Can anybody help me with this?

https://ibb.co/8KDmg5x
https://ibb.co/Jm8shCx

 

edited:

I also found LQnUDEModbusTCP_GW2_with_FC_V120 library, but how it works I dont know

Edited by kamalov_l

Share this post


Link to post
Share on other sites

No the FB handles the protocol

Share this post


Link to post
Share on other sites

In process was found another problem with ethernet module. Can anyone explain what it is and help with?

 

connection-test.png
ethernet-module.png
ping.png

Edited by kamalov_l
wrong picture was choosen

Share this post


Link to post
Share on other sites

probably your station numbers are the same 

press on the Ethernet button on the top of your trasfer setting screen and change the stations number to anything but 1

Edited by Gambit

Share this post


Link to post
Share on other sites

Yeah, station numbers was the same... :wacko:

It's ok that connection test connect with PLC?

connection.png

Share this post


Link to post
Share on other sites

:-2

1 person likes this

Share this post


Link to post
Share on other sites

Looks like you used an device address which is part of the range used by the compiler. 
Tools option label auto assign

Share this post


Link to post
Share on other sites
On 20.11.2020 at 11:07 AM, Gambit said:

there is e ahelp file and example projects in the complete zip file:

L Series, System Q - GX Works2 - Modbus TCP - LQnUDEModbusTCP_GW2_with_FC_V120

 

In help instruction describes example of modbus server. They add two blocks - 'modbus server' and 'modbus range'. I dont clearly understand how to read from L-CPU data. For example I have temperature in D379 register and how this data in D379 will be in 40001 register when I will read by modbus client? Have you work with this library and could you describe how it works more detailed? :helpme:

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