Szabo Zoltan

GOT2000 as MODBUS TCP slave

5 posts in this topic

I have this setup:

FX3G CPU connected to GT2103 through RS422 (CH1).

GT2103's ethernet port connected to LAN and set up as modbus TCP slave (CH2).

I want to read/write PLC word devices using a modbus TCP client, from a PC. The HMI is acting as a gateway between PLC and PC.

I used the Device Data Transfer function to send PLC's D register values to GT's internal GD registers. D0....D9 ==>  GD0....GD9

After some tries, I get valid response from the modbus slave. Reading the holding registers 0....9 (40001....40009), I get only zero values.

Those registers can be written back with different values, correctly.

I'm sure I didn't understand correctly the modbus address mapping to GT's internal memory.

Can anybody help me?

Thank you.

Share this post


Link to post
Share on other sites

Why don't you directly transfer between the Ch1 and Ch2 ?

So from D0 => 40001 ?

Share this post


Link to post
Share on other sites

Can you be more specific about how can I do this? From what I've seen, there isn't such an option.

 

Clipboard01.jpg

Share this post


Link to post
Share on other sites

If more than 1 Ch is set the software first ask you to chose witch one before device and address

ModBus.thumb.jpg.eb98c8ffbf96f3b036fe999

Edited by glavanov

Share this post


Link to post
Share on other sites

It really works. Thank you all.  :-)

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