Our full technical support staff does not monitor this forum. If you need assistance from a member of our staff, please submit your question from the Ask a Question page.


Log in or register to post/reply in the forum.

Best strategy for connecting several CR1000 to a LAN?


enmet Dec 4, 2015 12:11 PM

Hello,

i am looking for the best strategy two connect two or more CR1000 in a row where the one in the end should be connected to a local area network (LAN).

I have one NL120 and also a Moxa NPort5110 for serial->ethernet conversion.

First question: I tested the Moxa already and via COM Port-Mapping I am able to connect to the Logger with LoggerNet. Where are the differences in using such a converter or using a NL120 TCP/IP module?

I thought about different strategies to make all loggers running and to be able to connect to each logger separately. Moreover, I would like to push/write data directly to a server and not using LoggerNet for pulling the data ( with schedules ).

My idea was to connect all loggers via their COM-Ports and address each a different PakBus Address, starting with 1 for the one connected to the LAN.

Do you think this strategy will work in order to write the data to a server storage in my LAN?

I also thought about using the Python module PyCampbellCR1000 to collect data. I guess the problem will be to address the neighbouring loggers because I have to address them with their IP-address or COM-Port respectively and cannot name the PakBus Address.

Maybe you have setup similar networks or have ideas for my situation.

Thanks in advance
Thomas


JDavis Dec 4, 2015 03:33 PM

The NL120 or NL121 attached to a CR1000 will provide a faster data connection and more functionality than a TCP serial server.
If the dataloggers are close together, you may connect them together over Com ports and route through the datalogger with the NL120. Network Planner can be used in Loggernet to configure the Setup in Loggernet and configure the dataloggers.

I suggest starting with the tutorial video:

https://www.campbellsci.com/videos?keywords=network+planner&show=


enmet Dec 4, 2015 05:06 PM

Thanks for the answer.

I tried the network planner but got problems enabling/connecting to the second logger. I connected both via COM1 on both sides Tx on Rx and vice versa. What kind of link do I have to use in the NetworkPlanner? Pakbus Address is 1 for the CR1000 with the NL120 and 2 for the other...


enmet Feb 11, 2016 02:41 PM

Hello again,  i would like to come back to this issue:

Do I need to specify data transfer between two routed dataloggers in the CRBasic-Programm of the second data logger with "SendGetVariables" before I can have access to the data of the second logger via logger net or e.g. http ( via the first logger's ip-address )?


JDavis Feb 11, 2016 10:24 PM

The datalogger in between should have a beacin interval set for the port which is connected to the other datalogger. The IsRouter setting also has to be set True.


enmet Apr 6, 2016 01:23 PM

Hi,

setting pakbus addresses and neighbouring lists carefully, I am now able to route one logger through another logger via COM Ports. With LoggerNet, data collection handling is possible as it understands the PakBus networks.

The datalogger #1 is connected with the network through NL120 Ethernet Interface. datalogger #2 is connected to #1 via COM Port1.

I now would like to access data tables in logger #2 by using the IP-adress of the NL120 (e.g. HTTP or pycampbellcr1000).

Do you have an idea how to do that?


lebeog Jun 9, 2016 04:07 PM

Hi,

I have a very similar network set up. I have two CR1000s connected to datalogger #1 via COM ports. Datalogger #1 is then connected to a radio via NL121 Ethernet Interface. The only way I was able to access the data from the radio was by using the "GetVariables" command.

I use ModBus to access the data from logger #1, and it did not work using any other commands.

Hope this helps.


enmet Jun 10, 2016 09:24 AM

Meanwhile my system is running...

I use "SerialOpen" and  "SendData" for the sender logger and "SerialOpen" and "AcceptDataRecords" for the receiver (with NL121) commands to retrieve data from the second data logger.

Sender

SerialOpen(Com1,9600,0,0,10000)

SendData(Com1,0,4,MainTable)

Receiver (Logger with Ethernet Interface)

SerialOpen(Com1,9600,0,0,10000)

AcceptDataRecords(5,32769,MainTable)

MainTable has to be defined equally in both programs.

This setup allows to make the data table from other loggers visible in the first logger (e.g. for HTTP access, a single Setup for data scheduling or other ways of dealing with your data)


Prozzynesk Carneiro Mar 15, 2017 06:40 PM

Hello,

Could they help me access the campbell logger with a serial-ethernet converter?

thanks in advance

Log in or register to post/reply in the forum.