Modbus - example error

Hello,
i downloaded NI Modbus library and started MB Ethernet Example Slave and MB Ethernet Example Master. But when i start Master im getting error:
Error 56 occurred at TCP Read in MB Ethernet Receive.vi
LabVIEW:  The network operation exceeded the user-specified or system time limit.
Open TCP connection is ok, but when it goes to MB Ethernet Master Query Read Discrete Inputs im getting error.
I work with other PLC and i need to connect via Modbus - but i really have no idea how to test Modbus when even example didn't work.
I appreciate if someone can tell me how to test Modbus properl.

Hi,
Seems you have recieved a timeout error, because of the connection.
I would recommend you tested it like that:
1.Open both Master and Slave in LV.
2.In master set the remote ip address: localhost
3.Execute slave, execute master
Perform changes on the master, and see the functionality on the slave, and vice-versa.
Good luck,
Mircea

Similar Messages

Maybe you are looking for

  • [SOLVED] NAT gateway and bridge

    Hello. I'm having hard time trying to setup a  small nat gateway. The whole point of me doing this is to learn more. Here is brief idea of what I'm trying to achieve. I have done it in the past with netcfg and it worked well but then I left my projec

  • Limit to Single Line Not Working

    I am using LV 6.0. It appears that the String Control property "Limit to Single Line" does not prevent multiple line in the string. What's up?

  • Utl_url.escape

    Hi, I need to use the utl_url.escape function to convert some illegal characters in a url and I want to know why I get the error "FALSE: invalid identifier" when I use the function like this: SELECT utl_url.escape('http://www.acme.com/a url with spac

  • Any_help_with_this_xmlquerry

    How do you count the datatype date using extract,extractvalue for xpath or xmlquery in PL/SQL from the following xml file: <conditions month="November 2005"> <date day="02">      <orientation rose="S"> <height unit="cm">3</height> <quality>sping</qua

  • Role of XI in interface!

    Hello all, we have a requirement to retrieve forecast data from a third party system (manugistics) and update a ztable in SAP R/3 system. For this we are supposed to XI and I am confused what role does XI play in this simple interface? Thanks,