Author Topic: Help me! Protocol in Tyco MK3 Traffic Controller with SCAT5 format.  (Read 2631 times)
votientu
Guest
Help me! Protocol in Tyco MK3 Traffic Controller with SCAT5 format. « on: October 29, 2012, 09:55:43 PM » Author: votientu
   Hey everyone, I am a new member in this forum, can you help me, guy ?

   I'm trying to connect my computer to loccal controller through COM port.
It's protocol is 300 B/s, 1 bit parity, 1 bit stop ... in the document.
It use SCAT5 dataformat.

   My problem is, I have to send 3 message is HEL, SYC, RSY to start communication
and control this local controller through COM port (do everything but it is my
project, not hack trust me !, my gouvernement worked with Tyco engineer 5 or 6
years ago, it is an old project, i don't have any more information, I asked
Tyco but it is hard to connect to their engineers)

   Atually, I don't know what should I send in hex (string). It should have some
rule, some code for HEL,SYC... , I mean HEL is just a symbol not a code. I don't know
that code. I post here that document, I just have it. This local controller names MK3
Traffic Controller, it send every 2 to 4 send this hex 01-01-02-02, maybe it is
RSY.

   I'm so stupid when post here that strange problem, I just hope someone who worked
with Tyco Traffic Controller espacially in it's protocol could help me.
   Thank you!
Logged
Ash
Member
*****
Offline

View Posts
View Gallery


Re: Help me! Protocol in Tyco MK3 Traffic Controller with SCAT5 format. « Reply #1 on: October 30, 2012, 12:51:11 PM » Author: Ash
They specify FSK modem, it may not be directly compatible with EIA232 (com port). A Google search found me this : http://www.g3ti.com/products/index.html (scroll down to G305 FSK Modem). I dont know if thats what you need but it suggests that maybe you can't just go plug EIA232 into FSK

Try to look in the device if it says EIA232 somewhere



Now assuming it can be used with EIA232, there are some other parameters that you may have to setup :

Flow control wires - Some IA232 communications only need the Tx/Rx wires, others need a full EIA232 cable (with all the "flow control" wires connected too)

Flow control signal - There can again be several options like Xon-Xoff and others



And last, check that your computer is working ok - Connect the EIA232 ports of 2 computers like this :
2-3
3-2
5-5

I found out that a CD ROM audio cable with the pins swapped in the connector is perfect - it fits exactly on the 4 pins in row in the port, and it has 2 isolated signal wires and outer shielding - exactly for the pins we need

Now open your terminal emulator of choice on the computers and try to actually communicate between them - if that fails then you have a problem with the computer
Logged
votientu
Guest
Re: Help me! Protocol in Tyco MK3 Traffic Controller with SCAT5 format. « Reply #2 on: October 30, 2012, 01:36:17 PM » Author: votientu
   Thank you so much @Ash,
 
   Actually, this connection was my big problem 2 months ago, but I think it is solved.
 
   I was connect directly COM port to that processor through Max232, I connected exactly pin Tx and Rx,
   because when I sent 0x01 to this processor it stoped sending 0x01010202 every 4s, and resent this hex when I sent 0x02.
   I mean it worked although 0x01 and 0x02 are meanless.

   I affirm that that connection is right. Now,I want to control it.
   Actually, when I send a hex like 0x252526 for example, it check this hex in ROM and do the instruction of that code (0x252526).

   As I said, I have to send HEL, but it just a symbol not a code. I need a code like (0x......).
   I am trying to sent the hex of HEL in ASCII code like 0x48454C
       H:0x48,
       E:0x45,
       L:0x4C     here http://en.wikipedia.org/wiki/ASCII
   But it don't seem work, maybe I missed some rules of error checking or this symbol HEL have it's anathor code,
   I not sure because it response some hex codes that were very strange, I couldn't figure out any relation.

   Do you know someone that worked with Tyco Traffic Controller ?
   Thank you so much, guy !
« Last Edit: October 30, 2012, 01:44:35 PM by votientu » Logged
Ash
Member
*****
Offline

View Posts
View Gallery


Re: Help me! Protocol in Tyco MK3 Traffic Controller with SCAT5 format. « Reply #3 on: October 30, 2012, 08:48:29 PM » Author: Ash
There were several options of communication under EIA232. An example i am familiar with, some line matrixprinters will receive printing jobs "successfully" when connected to 232 with the wrong connection settings. But instead of printing what they are supposed to (plain text from DOS or UNIX), they will just forward a lot of pages and print mess, yet appear to return "ok" status to the computer

The differences in the settings were in stuff like "flow control" also the data rate should match in both directions - i did not expect errors when running at lower b/s than the rated speed, but it happened. It wanted its 19200 and thats it

So the fact that it stopped saying 01010202h does not necessarily mean anything.... Maybe just a reaction to something it read "between the lines" in your submission

If the ports are different in the electrical protocol (such as : one looking for voltage levels, one looking for transitions between levels) then it could possibly even read from the connections "ghost data" that never was there in the 1st place....



If connection is "electrically" ok (compatible ports, like between EIA232 and EIA423) then lack of response may be due to bad settings liek flow control etc (something expecting DTR signal and not getting it and stuff like that) so play some more with the "flow control" settings of your terminal

Also i dont know of any terminals that would rquire you to send in hexes, you probably have to just wite in HEL in plain text - Try that

Maybe try another terminal program

And test it with 2 computers, it mayb esomething as simple as broken wire in your nul modem cable



Dont know of anything more specific to the device / anyone. But keep asking - there are others here who are familiar with those systems



Logged
Print 
© 2005-2024 Lighting-Gallery.net | SMF 2.0.19 | SMF © 2021, Simple Machines | Terms and Policies