Hi,
I have a set of CR1000 data loggers which should be connected by radio modem or with a serial link (or mixed). One of my loggers ("master") has a GPRS modem and acts like a gateway.
Here some questions:
- can I connect two data loggers over the CS I/O with a serial cable (do I need a SC32B or something)?
- can I have serial connection as well as radio links e.g. at the master?
- how can I retrieve data from the connected logger using the PakBus address in CRBasic? (It works with LoggerNet where I set up the logger with PakBus.)
Thanks in advance!
You could do CS I/O to CS I/O, but it would require two SC105s and a null-modem cable. The much easier solution is to use Control Port Pairs (TX/RX to RX/TX).
The "master" datalogger will need to be set up as a router (IsRouter=True in the datalogger settings), and PakBus should take care of the rest.
Dana W.
Another method that assumes CS I/O port is not being used for anything else.
Two dataloggers
- Logger01: PakBus address = 1, Neighbors (2,2)
- Logger02: PakBus address = 2, Neighbors (1,1)
- Each running a program that contains the following instruction in a scan (so that port stays awake / rung up)
"SerialOpen (ComME,115200,4,0,1000)"
Wiring for Logger01 CS I/O port to Logger02 CS I/O port
Pin 2 <--> Pin 2
Pin 4 <--> Pin 9
Pin 9 <--> Pin 4
* Last updated by: Sam on 12/10/2011 @ 2:23 PM *
I found this thread and tried the CS I/O to CS I/O connection that Sam suggested. I've had intermittent success.
One CR1000 (the existing CR1000) utilizes a Freewave radio connected to the RS232 DB9 port. 7 of the 8 control ports are also occupied. The purpose of adding the additional CR1000 was to conduct a temporary test without changing the wiring or programming of the existing CR1000 and without having to establish a new communications link.
Communications to the Existing CR1000 have been very solid for several years (and continue to be so). Status Monitor shows a 79% error rate to the new CR1000, but some of the data is getting through. Since some communications are getting through, the connections and set-up are valid, but the error rate suggests that some improvements are required. Can you suggest alternative set-up for the SerialOpen command, or other datalogger settings?
* Last updated by: Glenn on 9/26/2012 @ 10:48 AM *