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.

RS 485 Modbus and CR1000


mikesheridan May 20, 2010 05:15 PM

I have a CR1000 and want to communicate to it via modbus RS485 through a device that converts Ethernet to RS485. It needs to be the slave. I have the register values I need (they're in the manual). How do I give the CR1000 a modbus address? How do I set up the logger for Modbus Slave? Where and how do I wire to it for two wire modbus communication?

TIA

* Last updated by: mikesheridan on 5/20/2010 @ 11:19 AM *


IslandMan May 22, 2010 10:46 AM

1. You will have to use a device that converts your RS485 to RS232. I would suggest 485SD9TB from B&B Electronics. I have used them often and they work well.
2. I would connect this device to one of the COM1-4 ports.

'CR1000 Series Datalogger

'Declare Public Variables
Public ModBusData(5)

'Main Program
BeginProg
ModBusSlave (Com1,9600,Pick an Address,ModBusData(),0,0)

Scan (1,Sec,0,0)

ModBusData(1) = Blah1
ModBusData(2) = Blah2
ModBusData(3) = Blah3
ModBusData(4) = Blah4
ModBusData(5) = Blah5

NextScan
EndProg


Solar1 Jun 3, 2010 08:29 PM

First off the CR1000 datalogger can be equipped with a NL115 or NL120 [http://www.campbellsci.com/nl115 or http://www.campbellsci.com/nl120] Ethernet Modules and possibly eliminate the need for the Ethernet to RS485 conversion device all together. This will most likely warrant the use of a cross over cable but will significantly reduce the configuration time. The CR1000 can then be setup as a ModBus slave as IslandMan has indicated and polled through the above mentioned Ethenet Modules eliminating the need for RS485.

If this is not possible look into the MD485 [http://www.campbellsci.com/md485] for your RS232 to RS485 conversion needs. The MD485 can be tethered to the CR1000's CSI/O port to both power and facilitate communication between the CR1000 and MD485. Network Planner can then be used to create/send configuration files to the CR1000/MD485 combo which will simplify your setup. The MD485 has two RS485 ports that will accept your two wire half duplex RS485 connection.

I have used the B&B product mentioned by Island Man but it's essentially a black box. You will have to manually configure the CR1000 to communicate with the B&B device and will not be able to use any of the troubleshooting techniques inherent in PakBus Graph noting the MD485 is a PakBus device. Let me know if I can be of any further assistance regarding this matter.


mikesheridan Jun 3, 2010 09:45 PM

Thanks Solar1. That was exactly what I was looking for.

- mike

* Last updated by: mikesheridan on 6/3/2010 @ 3:45 PM *


Prozzynesk Carneiro Mar 15, 2017 06:54 PM

Hello,

I would like to make access to the Campbell CR1000 for data collection over ethernet,
I currently have two converters available for testing the Moxa MB3180 and the Oring IDS-5012; I would like help in configuring the logger and converters and how to access the LoggerNet program so that I can collect the data remotely.

Thank you very much in advance

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