Jump to content

Modbus Ethernet communicat​ion problem


websid

Recommended Posts

Hello!

I have a problem with NI Modbus Library.

When I was testing the modbus Ethernet examples from the NI MB llb I discovered one funny case...

It is working with ordinary Ethernet cable, but does not work properly if I use only 4 wires of the cable (1,2,3 and 6 wires).

I guess it should be enough to use 4 wires.

So, the problem: I use one Slave and several Masters and the ethernet cable category 7. If I use 4 wires of the cable then I can use only one Master.

But when I try to connect another one Master then the Slave buzz and does not answer. I can not understand it...

If somebody knows the problem, answer me, plz

Link to comment

I have found the reason... The NI MB library does not work if PC has DNS address, but it connected to the local net without DNS server (i.e. without Internet).

That would be an IP layer issue and not a library issue. The PC wouldn't be able to perform name to IP lookup nor would it be able to obtain a valid IP address.

Tim

Link to comment

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.