Member Login
member
passwd
remember me on
this computer.

- join now -
- forgot username or password? -

Search

Jump to a Date

Sponsored Communities
Cool stuff
Select a topic of interest:
...and press:
Neat Stuff
Control.com Stuff

Visit our shop for nerds in control lifestyle products.

Fortune
TV is chewing gum for the eyes.
-- Frank Lloyd Wright
RSS Feed
RSS feed Use this link to get an RSS feed of the Control.com article flow, for private, non-commercial use only:
www.control.com/rss/
To get a personalized feed, become a member at no cost.
Select a Page Style
Select one of the following styles:
- BluFu
- Classic
(cookies required)
advertisement
from the Automation List department...
Johnson Controls DX9100 Protocol
Software, including programming, OS issues, etc. topic
Posted by wclai97 on 16 August, 2008 - 12:57 am
I need to write a software program to communicate with a DX9100 controller.

Does anybody know how to calculate the data checksum/BCC (Block Check Code) for DX9100?

Thanks in advance.


Posted by Victor on 6 September, 2008 - 2:04 pm
Hello. I´m Victor from Argentina. I can help you with that function. It is composed by the previous ASCII characters Sum (you have to take the low part of the sum). I would like to be in touch with you to interchange information and may be you need some additional help in the future.

Thank you.
Regards,
Victor


Posted by wclai97 on 13 September, 2008 - 12:33 am
Hello Victor,

Thanks for your reply. Beside the 2 checksum characters you mention. I think there are additional 4 characters checksum. May I know that checksum is in what format? CRC16 or any other format? How can I contact you, how can I know your email? I still not very familiar using this forum...

Thank you.

Regards,
wclai


Posted by victor on 20 September, 2008 - 1:29 pm
Hello, please find my e-mail address in my web site that is www.factory-solutions.com.ar.

Thank you.

Regards,
Victor.


Posted by victor on 21 September, 2008 - 5:36 pm
Here write the code used to make the checkSum to comunicate with UNT and VAV of the JCI protocol N2, I'm not sure if this, work good with DX9100.

For i = 1 To Len(Command)
suma = suma + Asc(Mid(Command, i, 1))
Next
ByteHi = Int(suma / 256)
Resto = suma - ByteHi * 256 ' recupera el resto de la división

CheckSum = Format2Hex(Resto)
End Function


Posted by Steve Jones on 7 September, 2008 - 6:13 pm
The S4 Group is in the business of providing integrations between proprietary building automation systems and open protocols.

We had the same problem only on a much larger scale. We recently released our S4 Open: OPC-N2 Router product which communicates to any Johnson Controls Metasys N2 controller via OPC.

In order to create our products we had to start with the documentation provided by JCI on their N2 Open protocol and then reverse engineered all of the N2 protocol variations. Communications to System-91 devices, like the DX-9100, is just one of the variations. You will find that there is a long way to go to have successful and reliable communications in addition to solving the BCC algorithm. There are a number of timing issues that have to be addressed, the N2 bus can only have one bus master, etc.

Using our product could get you to your goal of communicating with the DX-9100 much quicker than trying to reverse engineer the interface yourself. If you want details about how our system works you can download a white paper at http://www.thes4group.com. Please feel free to contact me directly if you want to discuss more details about your integration project requirements.

From Control Engineering magazine...
Related articles from Control Engineering magazine
Above articles copyright 2009 Reed Business Information. Subject to its Terms of Use.
Your use of this site is subject to the terms and conditions set forth under Legal Notices and the Privacy Policy. Please read those terms and conditions carefully. Subject to the rights expressly reserved to others under Legal Notices, the content of this site and the compilation thereof is © 1999-2009 Control Technology Corporation. All rights reserved.

Users of this site are benefiting from open source technologies, including PHP, MySQL and Apache. Be happy.

Internet Explorer 6.0 Fix

Advertisement
Our Advertisers
Help keep our servers running...
Patronize our advertisers!