Do not use on any
shared computer
August 29, 2008 07:05pm pdt
 
[x]
Attachment Details

How do I change a serial pin state from Negative (-) to Positive (+) on a SixNet ET DS-1 so it matches a Break-out-box reading on a PC COM1 port?

Tags: SixNet, EtherTrak Device Server, ET DS-1 DS-1, A Serial to Ethernet converter connected via null modem cable works on  a DTE Timer but not with a DTE controller, DTE Serial Communications Pin function DCD RxD TxD DTR Signal Ground DSR RTS CTS
I have purchased a SIXNET IO EtherTrak DS1 which converts a field DTE or DCE Serial device communications device into an Ethernet network with the serial signal mapped back to a Windows PC COM port via Ethernet. I have been working with Sixnet's best tech, Jacob C, with progress only up to the point I've described in detail below.

A Sixnet ET DS-1 is a mini industrial hardened linux box that has Ethernet on one side and a serial port on the other in the form of a RJ45 - The box comes with a DE(Male -to RJ45 adapter so one can map out the serial functions as one wishes.

SHORT CUT: The Main issue is discovered between Observation#1 - #2 and is formed as the BIG QUESTION#1 below.

LONG DESCRIPTION:
ACTION#1: I have wired my SixNet provided adapter which is  a DE9M- (aka DB9M) to-RJ45 to function exactly like a DE9Male port on a PC based on FACT#1 below

FACT#1 (Verified by Weston; source: http://www.arcelect.com/rs232.htm):
A PC Male COM port has pin 1-5 left to right on the top row and pins 6-8 left to right on the bottom row
The color functions are as follows:
Top Row
Pin 1, DCD, BLUE (SixNet adapter color)
Pin 2, RxD, GREEN (SixNet adapter color)
Pin 3, TxD, RED (SixNet adapter color)
Pin 4, DTR, WHITE (SixNet adapter color)
Pin 5, SG (Signal Ground), YELLOW (SixNet adapter color)
Bottom Row
Pin 6, DSR, BLACK (SixNet adapter color)
Pin 7, RTS, ORANGE (SixNet adapter color)
Pin 8, CTS, BROWN (SixNet adapter color)

FACT#2
A PC COM Port is considered a DTE (Data Terminal Equipment)

FACT#3
My field equipment, a Naztec Chronomax timer is a DTE (Because it requires a Null-modem cable connected to a PC COM port in order to communicate)

FACT#4
My field equipment, a Naztec TS2 Controller is a DTE (Because it requires a Null-modem cable connected to a PC COM port in order to communicate)

COMPARISON#1
A PC COM1 can communicate with a Chronomax Timer (DTE) using a Null-modem cable & a Sixnet, ether-attached to a PC can communicate serially with a Chronomax using a Null-modem cable (Results are same as expected because the sixnet factory adapter is configured based exactly how a PC port operates see FACT#1)

COMPARISON#2:
A PC COM1 can communicate with a TS2 Controller (DTE) using a Null-modem cable BUT a Sixnet, ether-attached to a PC cannot communicate with a TS2 Controller (DTE) using a Null-modem cable (Results are unexpected because the sixnet factory adapter is configured based exactly how a PC port operates see FACT#1 and the first scenario in comparison#1 yields the expected results based on FACT#1

QUESTION#1 (This is not the most important question)
What is different? Both devices, (Chronomax Timer and TS2 Controller) communicate with a PC and a Null-modem cable. However only the Chronomax  Timer communicates successfully with the Sixnet configured as a PC COM port and there is FAILED COMMS with the TS2 Controller  WHY? See OBSERVATION#1 & OBSERVATION#2

OBSERVATION#1: (Purpose - determine normal pin voltage on a PC com port at rest as compared to the sixnet)
By connecting a standard PC COM port (DE9Male) to a LED-Break-out-Box via a straight cable, the default LED line status is:
Pin 2, (-)
Pin 4, (+)
Pin 20, (-)

OBSERVATION#2 (Purpose - determine normal pin voltage on the Sixnet configured as a PC com port as compared to the actual PC COM port)
By connecting a Sixnet adapter (DE9Male) as mentioned above in ACTION#1 & FACT#1, to a LED-Break-out-Box via a straight cable, the default LED line status is curiously different than seen in OBSERVATION#1:
Pin 2, (-)
Pin 4, (-) (Notice the Sixnet Pin 4 is NEGATIVE as compared to the PC POSITIVE output for Pin 4)
Pin 20, (-)

SURMISED SOLUTION#1
Based on all the above and the pinpointed difference between OBSERVATION#1 & OBSERVATION#2, the solution would seem to be focused on inverting the voltage state (Polarity from Negative to Positive) on Pin 4 on the Sixnet This raises a big question  see BIG QUESTION #1

BIG QUESTION #1 (My Goal is to make the SixNet emulate pin function/voltage level exactly as a PC COM port)
How does one change that state to a POSITIVE for Pin 4?

BIG QUESTION #2 ( Does not need to be answered if I get the ?#1 answered)
What nuances exist between the Chronomax and the TS2 that allow the Chronomax to communicate via the SixNet despite the fact that the pin-voltage-state is one off from an actual PC  Apparently the Chronomax is tolerant and the TS2 needs precision with pin 4

 


 

Start your free trial to view this solution
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

Question Stats
Zone: Computer Hardware
Question Asked By: westonp
Solution Provided By: reswobslc
Participating Experts: 1
Solution Grade: A
Views: 0
Translate:
Loading Advertisement...
 
[+][-]Author Comment by westonp
Author Comment by westonp:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Accepted Solution by reswobslc
Accepted Solution by reswobslc:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Author Comment by westonp
Author Comment by westonp:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Assisted Solution by reswobslc
Assisted Solution by reswobslc:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
[+][-]Administrative Comment by kodiakbear
Administrative Comment by kodiakbear:

All comments and solutions are available to Premium Service Members only.

Start your 7-day free trial and see for yourself why Experts Exchange is the easiest and most proven technology resource in the world. Get Started

Already a member? Login to view this solution.

 
 
Loading Advertisement...
20080723-EE-VQP-34 / EE_QW_2_20070628