Jump to content

Recommended Posts

Posted

Hi,

 

I'm new to forums, I was wondering if anyone could assist with a Modbus TCP/IP error I am having using a Omron NX1 & client device. I am trying to read Input registers 30190 using the Omron built FB. I am connected to the client just fine but am struggling to read any data back even though the FB says it is complete. I know the data is there as I have connected using Modbus poll. I am thinking maybe it is a data type error to do with the word address.

The client data should be at address 30190 and be a int32 as the picture.

 

Is there anything I am doing incorrectly as I've never used Modbus to connect on Omron before?

 

If there is any more info needed then just ask.

Client Data.png

Modbus Poll.png

Omron_Modbus_TCP.IP.png


Posted

You need to change "CMD_Read.ReadSize" to 2 because you need to read 2 registers to make 32 bits value.

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
×
×
  • Create New...