navitron
 
Renewable Energy and Sustainability Forum
UK's most popular Renewable Energy Forum May 25, 2012, 09:09:50 AM *
Welcome, Guest. Please login or register.

Login with username, password and session length
News: Anyone wishing to register as a new member on the forum is strongly recommended to use a "proper" email address - following recent spam/hack attempts on the forum, all security is set to "high", and "disposable" email addresses like Gmail, Yahoo and Hotmail tend to be viewed with suspicion, and the application rejected if there is any doubt whatsoever
 
Recent Articles: UPDATE ON DECC APPLICATION FOR LEAVE TO APPEAL TO THE SUPREME COURT | Yingli Green Energy's PV Module Ranks No.2 in TUV Rheinland Energy Yield Test | Navitron Solar Showers at Glastonbury for Year 5!
   Home   Help Search Login Register  
Pages: [1]   Go Down
  Print  
Author Topic: RS232 on DeltaSol M controller  (Read 1829 times)
rt29781
Hero Member
*****
Offline Offline

Posts: 775


WWW
« on: January 05, 2009, 11:50:59 AM »

Hi, The DeltaSol M controller has an RS232C interface.  I have tried to link to it with several of our computers but have only managed it with an old PC running Win2K and having a 4 port RS232 board.  It doesn't like the on board serial ports on any of our Dell portables or the old PC.  I am running the Resol Service Centre light software to collect data.  This is ok for now but the old PC eats electric so I would prefer to link it with a portable.  Curiously I can get data into a portable via the serial port but the Resol SC light software refuses to work so I guess the data is corrupted in some way.  Resol refuse to tell me the protocol for the data.

Has anyone else used the RS232C communication port of this controller? 
Any suggestions? 
I think it may be something to do with the power available using a portables serial port?
Logged

wyleu
Guest
« Reply #1 on: January 05, 2009, 01:40:02 PM »

serial ports can be a right pain, and depending on your BIOS chips and several other wierdo's you can waste many happy hours mucking around with it.
I can only offer my normal approach which is pyserial which would as ever require python. At least then you are comparing like with like on your laptop and PC, once you have an understanding of what the defaults are you can work from there. Handshaking can add considerably to the complications.
I'm not sure if hyperterminal is still shipped out in windows, It seemed to be able to deal with most narties and once again the important thing is to see what the port itself thinks it's set to.
Logged
wdh
Full Member
***
Offline Offline

Posts: 151


« Reply #2 on: January 05, 2009, 03:14:39 PM »

... I have tried to link to it with several of our computers but have only managed it with an old PC running Win2K and having a 4 port RS232 board.  It doesn't like the on board serial ports on any of our Dell portables or the old PC.  I am running the Resol Service Centre light software to collect data.  This is ok for now but the old PC eats electric so I would prefer to link it with a portable.  Curiously I can get data into a portable via the serial port but the Resol SC light software refuses to work so I guess the data is corrupted in some way.  Resol refuse to tell me the protocol for the data.

Has anyone else used the RS232C communication port of this controller? 
Any suggestions? 
I think it may be something to do with the power available using a portables serial port?

The problem with RS232 (or one of them) was the number of possible variants of the 'standard' - let alone the number of options within the standard...
For example that Resol item seems to use an RJ-45 connector, and although there is just one 'standard' pinout, there is another unreconised one that is very common! http://en.wikipedia.org/wiki/Rs232#Pinouts 
Power should not have anything to do with it.
Neither should voltage. RS232 specifies any voltage between 3 and 15 (+ and -), but 5 is pretty usual. The current draw (and hence power) is insignificant. 

I presume that you are using the exact same unaltered unsupplemented specific cable that DOES work on the old PC. (There are way too many possible cable options - stick with exactly whatever has been demonstrated to work!) It is just possible that your laptop might have a 'different' physical port (for example, being a modem-like DCE rather than a terminal-like DTE), but I thought that was something that PCs standardised on pretty well. However, the default settings might well be rather different between OS's and different hardware.

I think that (assuming you cannot discover the default settings of the old PC's board) you should go back and ask Resol again.
There may be a linguistic difficulty.
Don't ask about the "data format".
Explain that you want to run THEIR OWN software.
I'm assuming that you are using a connecting cable they supplied. Tell them that (if its true).
And then ask about the "Communication Port Settings" that you require, because, right now, their software isn't working.
You are only asking (at least to start with) about appropriate preference settings for your computer, NOT the secret way that their controller works, or how data is represented - just how to get their software working with their controller, on your machine. And that is almost certainly just matter of appropriate settings AND an appropriate cable.

After you have something working, then you might consider Wylieu's suggestion of exploring the controller by using different software.
Logged
rt29781
Hero Member
*****
Offline Offline

Posts: 775


WWW
« Reply #3 on: January 05, 2009, 05:23:26 PM »

Hi Guys, 

I am not a novice with RS232C and I know they are a pain.  I have the correct baud rate, handshaking etc.  Its even more subtle than that.  When I spoke to the Resol man in France he said they put the RS232C interface together as a request from a client, probably because in theory RS232C goes a lot further than V bus?.  Anyway it appears the interface will not drive a portable RS232 interface but the RS232C standard is quite wide ........I wired the cable because I already had one that was almost correct (and I know its easy to pay loads for a cable). 

So the exact same settings with the same cable and the same collection software Resol SC light on 3 different computers has different results.  Two Dell portables communicate with the Resol (with a terminal emulator running) but the Resol software ignores it so I guess the signal has errors.  The old desktop with an add on board works.  Neither of the on board RS232C interfaces worked with the resol software on the old PC.

Therefore I expect it is something to do with the power available to an on board serial port vs that on an add on RS232C board.  I got the 4 port rs232C board on ebay for a song but it once sold for £300 so I guess it is a better implementation of the "RS232C" standard. 

Any electronics engineers offer an explanation please?
Logged

Pages: [1]   Go Up
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.16 | SMF © 2011, Simple Machines Valid XHTML 1.0! Valid CSS!