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.

Simple RS232 connection of RF Modem to CR10X & CR1000


Sarah Jun 10, 2009 04:28 PM

Hello everyone,

I'm working with a 9XTend-PKG RS232 RF modem, a CR10X, and eventually a CR1000. (The CR10X is our lab machine, we won't have access to the CR1000 until we're in the field) I've also ordered the SC932A DCE<->DCE adapter for the CR10X. Currently the CR10X is being programmed with a CR10KD.

The system design is very simple at this point; all that I need to do is have the CR10X accept data from the modem as it comes in over the CS I/O port and then store it, mostly as a proof of concept. I'm assuming that connecting the modem to the RS232 port of the CR1000 in the field will be easy.

I'm mostly looking for programming guidance relating to passively accepting data from the CS I/O port (and eventually the RS232 port of a CR1000) and storing it while waiting for my SC932A to arrive.


Thanks for any help Forum,

Sarah


Sam Jun 10, 2009 05:32 PM

Sarah,

I think you'll have to be more specific about the type of data you want to store and/or what it is you are trying to accomplish. Additionally, I would suggest that you test with a CR1000 if that is what you will be using in the field. We do not sell the Digi 9XTend-PKG, but my understanding is that it can serve as a serial cable replacement. If that is the case, then communication with the logger should be similar/the same as connecting it directly to a PC running LoggerNet. No special programming required.


Sarah Jun 10, 2009 07:33 PM

Here's an overview of our ideal system structure:

A CR10X with one of the XTend radio modems attached to the CS I/O port via the SC932A. This modem will be receiving an arbitrary string of characters (in any any format, ASCII, binary, you name it, we're very flexible right now) of infinite length, at any time, from another XTend radio modem connected to its own network of sensors. When the logger's modem receives this data, it is automatically routed out the logger modem's RS232 port.

All I need to know is if the logger can accept any type of data (it doesn't matter what type it is, as our sensor network can provide most any type we wish right now) over its CS I/O port and store it as it comes. That, and where to look for how to do this. I can find frequent mention of connecting modems to the CS I/O port of the CR10X in its manual, but am having trouble finding mention of what happens to any data that the logger receives over that connection and/or how to direct the logger to store it.


Dana Jun 10, 2009 09:00 PM

I *think* (could be wrong) that the only way you can accept incoming serial data in the CR10X is via the control ports using a P15 instruction in the datalogger.

There is additional information in the CR10X manual, Appendix B. It is not for the faint of heart. If this is for testing only, as Sam suggests, I would wait until I had use of the CR1000 which is MUCH better equipped at handling serial data (and can do so on the RS232, CS I/O or a control port pair).

Regards,

Dana

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