Luciano73

Gx Simulator3 and TCP modbus

4 posts in this topic

Hi,

I'm new to the Mitsubishi world, so may be anyone help me in a quick!

I need to test a my client with the Mitsubishi MODBUS tcp. 
To do this I would like to avoid use a real plc and use  the Gx Simulator3 that come with the Gx Works3.

The question is: the Gx Simulator3 is capable to simulate a MODBUS tcp module?

To be more specific I tried this:

- created a project in  Gx Works3 with a FX5U CPU.
- configured the FX5U built-in ethernet module with IP address of the hosting pc (also tried 127.0.0.1 with no success).
- activated and configured the MODBUS muster to the built-in ethernet module.
- wrote a trivial ladder program with a 1 input and 1 coil.

I can download and run the project on the Gx Simulator3 but I cannot connect to tcp port 502 that I supposed opened by the MODBUS muster functionality of the build-in ethernet module.

Do anyone know if the Gx Simulator is able to simulate modbus tcp functionality?

 

Thanks in Advance

Luciano. 

 

 

 

1 person likes this

Share this post


Link to post
Share on other sites

Don't think the simulator support modbus but setting the FX5 up to be a modbus server is easy.

 

Share this post


Link to post
Share on other sites

Hi Gambit,

Yes, I setup FX5 to be a modbus server, its easy.

But when I download to the Gx Simulator3 I cannot connect the FX5 using modbus.

I supposed that the simulator doens't support modbus but I don't find any documentation on this.

    

 

Share this post


Link to post
Share on other sites
On 4/7/2022 at 8:54 AM, Luciano73 said:

Hi,

I'm new to the Mitsubishi world, so may be anyone help me in a quick!

I need to test a my client with the Mitsubishi MODBUS tcp. 
To do this I would like to avoid use a real plc and use  the Gx Simulator3 that come with the Gx Works3.

The question is: the Gx Simulator3 is capable to simulate a MODBUS tcp module?

To be more specific I tried this:

- created a project in  Gx Works3 with a FX5U CPU.
- configured the FX5U built-in ethernet module with IP address of the hosting pc (also tried 127.0.0.1 with no success).
- activated and configured the MODBUS muster to the built-in ethernet module.
- wrote a trivial ladder program with a 1 input and 1 coil.

I can download and run the project on the Gx Simulator3 but I cannot connect to tcp port 502 that I supposed opened by the MODBUS muster functionality of the build-in ethernet module.

Do anyone know if the Gx Simulator is able to simulate modbus tcp functionality?

 

Thanks in Advance

Luciano. 

 

 

 

Hi, do you find any way to connect it ? I'm trying to do the same but I didn't find any way to do that.

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