EmbeddedRelated.com
Forums

OP7100 Communication with BL2000 via RS485...

Started by sbickle99 September 16, 2004
I am looking for some help on talking with to the OP7100 from the
BL2000.

Does anyone have any examples on how to do this?

I can talk from the OP7100 to the BL2000 okay, but not from the
BL2000 to the OP7100.

The OP7100 uses Z180 processor, while the BL2000 uses the Rabbit
processor.


I am in the process of implementing communications between an OP7200 and a BL2120, and I have chosen to use an RS232 interface with polling code on both ends.

I am lucky that in this implementation I do not need to have critical real time data across the data link.

 

I chose to use the HMI OP7200 for the display and control, to free up the BL2120 for faster analog and math functions.

 

I have a working version of the software on a single OP7200, but the system is to slow for any practical application.

 

I have 37 bytes of data to transmit to from the OP7200 to the BL2120 at a burst rate of once every second, 495 bits @ 4800 baud = 103.125 msec’s.

 

I have 16 bytes of data to transmit from the BL2120 to the OP7200 at a burst rate of once every second, = 264 bits @ 4800 baud = 55.0 msec’s..

 

 

I did consider using the RS485 for the noise immunity, but both units are in the same panel, and I would rather have the full duplex data transfer.

 

 

This is the method I have considered to accomplish the task.

 

The OP7200 and BL2120 will have a receiver program which will monitor the receiver buffer and move data off of the buffer as soon as it arrives and place the data in a string all synchronized by a leading sync “XXXX” string and a trailing EOT “ZZZZ” string.  All of the data to be transmitted will be 0 thru F ASCII values.

 

So the format from the OP7200 to the BL2120 is a s follows:

 

XXXX1234567890123456789012345678901234567ZZZZ once every second

 

From the BL2120 to the OP7200:

 

XXXX1234567890123456ZZZZ once every second

 

 

 

If anyone has a better idea please let me know.

 

I am open to any suggestions on this matter.

 

 

 

 

Jim C. Ashby III

space.gif

 

President

Innovative Design Engineering Solutions, Inc.
901 FM 517 Rd. W., Suite 805
Dickinson, Texas 77539-4066

j...@idesolutions.us

tel:
fax:
mobile:

281-534-3076
281-337-3777
832-512-8083

 

Signature powered by Plaxo

Want a signature like this?

Add me to your address book...

 

-----Original Message-----
From: sbickle99 [mailto:s...@charter.net]
Sent:
Thursday, September 16, 2004 12:28 PM
To: r...@yahoogroups.com
Subject: [rabbit-semi] OP7100 Communication with BL2000 via RS485...

 

I am looking for some help on talking with to the OP7100 from the
BL2000.

Does anyone have any examples on how to do this?

I can talk from the OP7100 to the BL2000 okay, but not from the
BL2000 to the OP7100.

The OP7100 uses Z180 processor, while the BL2000 uses the Rabbit
processor.