TCP modbus configuration

Hi Benoit, when you run the terminal session to connect to the FX30 what IP are you connecting to? I’m trying to get a base line of the subnets of your network. As an example I only connect to my FX30 with a usb cable that under device manager creates a virtual ethernet connection and I can connect to the FX30 address of 192.168.2.2.

When I run my ifconfig from my putty session I see this adapter and then I see my eth0 adapter which I configure for my modbus tcp.

Note, the ethernet config only has a subnet config not a gateway config, so if your using a managed network with layer 3 switches and vlans, you may be seeing issues because your not getting to your default gateway to route the messages across the different subnets.

Also my first attempts at configuring the Modbus services left me confused on where I was setting my local ethernet vs the Modbus slave but got it worked out. I ran into issues and had to flush the iptables (got the pointer from Sierra Tech Support) to get my connection to work.

From console session the command is : iptables -F

Hope some of this helps.
M