Beijer Electronics (formerly QSI Corporation)

Manufacturer of Mobile Data and Human Machine Interface Terminals.
It is currently Fri Nov 24, 2017 12:22 am

All times are UTC - 7 hours




Post new topic Reply to topic  [ 9 posts ] 
Author Message
 Post subject: Serial issues
PostPosted: Fri Jan 30, 2009 10:51 am 
Offline
User avatar

Joined: Fri Feb 01, 2008 4:50 pm
Posts: 101
I am having trouble communication with my equipment with the G55/58 (the latter of which I just got in). The piece of equipment I am trying to talk to uses 422, so when using 232 on the G55 or G58 I use a RS-422 converter. I have also tried using RS-422 on the G58. This is just a little background.

If I use the foundry editor to simulate my application, everything works fine out of my computers serial port. Out of the serial port I use the RS422 converter I previously mentioned, and go straight to my equipment. Doing this, everything works perfectly. When I try the same setup on my G55 or G58, nothing happens. My equipment doesn't respond at all - or even get the message, because it would be obvious if it did.

When connecting the G55 or G58 to my computer, I can see the data coming in correctly in both the foundry editor and in hyperterminal, so everything seems correct there.

I also have a Lantronix UDS-10 Ethernet to Serial device that I can use to communicate with the equipment, which works fine with the G55 and G58. This is basically a TCP/IP server that forwards messages through it's serial port and relays any replies back to the client.

Do you have any idea what I should try next? I'm sure there is something I am forgetting. I thought it might be an issue with DCE or DTE, but according to the manual, the G55 and G58 both act as DCE devices. I don't have a lot of experience in this area, so I'm hoping I'm missing something trivial. Thanks!!

Ryan


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 11:23 am 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
According to your comment, the setup PC -> 422 Converter -> Equipment communicates, and G55 -> 422 Converter ->Equipment doesn't communicate. This would make sense as the default pin out on our cables is DCE, and the pin out for a PC is DTE. This should be fixable with a common null modem which would convert the G55 cables pin out from DCE to DTE.

G55 -> Null Modem -> 422 Converter -> Equipment

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 11:33 am 
Offline
User avatar

Joined: Fri Feb 01, 2008 4:50 pm
Posts: 101
Thanks Ron, I will give this us a try.


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 1:04 pm 
Offline
User avatar

Joined: Fri Feb 01, 2008 4:50 pm
Posts: 101
Is this the correct pinout for the RS422 on the G58E?

Code:
PIN    Signal
 3      Tx+
 7      Tx-
 2      Rx+
 8      Rx-


Thanks!


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 1:47 pm 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Are you refering to pins on the DB15 at the end of the cable,the DB9 that comes out of the Demo box you can get for the G58, or another cable?

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 1:59 pm 
Offline
User avatar

Joined: Fri Feb 01, 2008 4:50 pm
Posts: 101
Using the P04-021 connector. Hirose to Power, DB9, and RJ45. I am talking about the DB9 connector.


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 3:28 pm 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Can you clarify if you have the G55 demo cable which would be a Hirose to Power Brick, DB9, and RJ45, or if you have a G58 demo cable+box, which would be a Hirose to DB15, that connects to a box that has power a DB9, and a RJ45 connector?

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 3:41 pm 
Offline
User avatar

Joined: Fri Feb 01, 2008 4:50 pm
Posts: 101
By that description, it is the G55 demo cable (we bought it with our G55). We finally discovered the problem, which lied in the fact that the G55 and G58 cable pinouts differ in that the Tx+ and Tx- are swapped.


Top
 Profile  
 
 Post subject: Re: Serial issues
PostPosted: Fri Jan 30, 2009 3:48 pm 
Offline
User avatar

Joined: Thu Mar 02, 2006 2:12 pm
Posts: 487
Location: Salt Lake City, Utah
Thanks for the update, I'll have to make a note of that. It's documented that they are different in the Manual, but it's an easily missed detail.

_________________
Ron L.

http://www.beijerelectronicsinc.com/


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 9 posts ] 

All times are UTC - 7 hours


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB® Forum Software © phpBB Group