Lookout

cancel
Showing results for 
Search instead for 
Did you mean: 

I get error, "can not load NETLIB.dll" on a MODBUS Plus Object.

I have 18 Modicon PLCs in my network, using LOOKOUT for my HMI. Only one PLC gives this error.
Can you help me?
J. Bubba
0 Kudos
Message 1 of 10
(8,093 Views)

Hi,

So, you have 18 Modbus Plus objects in your Lookout process, and only one of them is giving this error? 

Thanks,

-Khalid

0 Kudos
Message 2 of 10
(8,088 Views)
If you are using Lookout 6 or 6.0.1, try to copy this modbus.cbx to your Lookout directory. This one comes from Lookout 6.0.2.
Ryan Shi
National Instruments
0 Kudos
Message 3 of 10
(8,083 Views)

i have this error in lookout 6.2

< could not load netlib.dll >

i need to comunicate with mettler terminal in modbus plus network

               B_N_
0 Kudos
Message 4 of 10
(7,221 Views)

Search Windows\System32. Can you find this file?

Ryan Shi
National Instruments
0 Kudos
Message 5 of 10
(7,210 Views)

no, i have not this file in any directory in host computer with lookout installation

my install cd is p/n 500668u-00  made in ireland 511304890

is possible extract this file from cd manualy ?

or find this in any service ni directory in this site ?

or in this forum ?

in italy is not possible to have direct support and the the official assistance is good but is slow

thank you

               B_N_
0 Kudos
Message 6 of 10
(7,201 Views)

This is the file on my computer. Try to copy it to windows\system32 folder.

By the way, what's your OS? Different OS may have different system folder.

 

The file should be installed with Lookout. Another way is try to repair Lookout from Add/Remove Programs.

Ryan Shi
National Instruments
0 Kudos
Message 7 of 10
(7,195 Views)

thank you !

 

i have tried to make new installation of lookout in eveluation mode, with only one point in ModBusPlus

the problem is the same but after i have added manualy the dll and apparently this is a good solution

 

another problem is the selection of serial port, in modbus object thi is possible only in serial ModBus option but non in ModBusPlus option

i think to modify the port in .lks files and recompiling this, is correct ?

 

the next week i tried with the scada the same procedure

 

because in my (two different) computer the installer work [apparently] fine but not install netlib.dll  ?

intel processor, winXP.p SP2 without any firewall, one without antivirus (the scada) and one with avast professional (the tried machine)

 

is a problem in modplus plus driver in this version (see precedent post) ?

is made specific patch or document by NI ?

 

               B_N_
0 Kudos
Message 8 of 10
(7,172 Views)
the buid of my version is 49153, is the last ?
               B_N_
0 Kudos
Message 9 of 10
(7,168 Views)

It looks like a bug. This file is from Modicon for Modbus Plus driver. Lookout 6.2 seems to miss this file in installer.

 

If you use Modbus PLUS in modbus driver, you don't need to choose the port number. The port number is stored in lks file, but not be used by Modbus PLUS.

 

Since you have Lookout 6.2, you can use the Modbus PLUS driver in NI OPC Server. I believe the one in NI OPC Server is better than the built-in driver. It has more paramters for you to configure. Then, use the OPClient object to connect the NI OPC Server.

 

 

Ryan Shi
National Instruments
0 Kudos
Message 10 of 10
(7,164 Views)