Register    Login    Forum    Search    FAQ

Board index » Programming Alarm Modems » PLC connectivity




Post new topic Reply to topic  [ 4 posts ] 
Author Message
 Post Posted: Fri Sep 07, 2007 2:13 pm 
Offline
Newbee

Joined: Fri Sep 07, 2007 12:32 pm
Posts: 2
Hi!

I'm trying to provoke a communication between TAM HG71 and S7-317-2 PN/DP CPU for 2 days now, without any success. The "Active Param." LED is lit, which means that the modem is configured correctly and logged onto the MPI network. The "Connect Data" LED is never lit or flashing, so there is no connection to PLC and no transmision.

It is probably a bug in the TILA v2.2.0.220 software!

COM2 port on the HG71 alarm modem is a MPI port for communication with Siemens S7 CPUs. The Hardware manual mentions:
Quote:
4.10 COM2 - MPI (Multi Point Interface)
The MPI is a specific bus and is used to cross-link devices which comply to the Siemens S7-MPI. The MPI bus features RS485 levels and transmission rates of 19,2 or 187,5 kbaud.

HG-Manual-en.pdf, page 19

But, when I look in my project code, the baud rate for COM2 is set to 115200.

Project code line 368:
<Bus Name="Bus1" _="COM2" family="Siemens" Product="S7-300/400-A" protocol="Siemens,S7-300/400-A" baud="115200" handshake="none" type="Slave" TS="10" MAXADR="15" GUF="1" RC="1">

Even, when I correct this entry in the *.TiXML file with Notepad and open the project with TILA once more, it overrides this value back to 115200.

PLEASE HELP A.S.A.P! I'm very short with time and the deadline is next week. Fix the bug or explain how to dowload the correct baud rate (187500 bauds) to the modem!

P.S. Has anyone, reading this post, ever successfully communicated with TAM HG71 and S7 300 or 400 CPUs over the MPI bus?

Thanks!


Top 
 Profile  
Reply with quote  
 Post Posted: Fri Sep 07, 2007 2:50 pm 
Offline
Tixi-Support-Team

Joined: Mon Oct 10, 2005 1:40 pm
Posts: 94
Location: Berlin
dekelec wrote:
It is probably a bug in the TILA v2.2.0.220 software!

I don't think so. To many customers are using this version witout any problems :wink: I'll move it to forum "PLC connectivity"..

dekelec wrote:
But, when I look in my project code, the baud rate for COM2 is set to 115200.

The modem ignores the external "baud" parameter if you choose MPI protocol, because we only support "187500" for MPI.

dekelec wrote:
Even, when I correct this entry in the *.TiXML file with Notepad and open the project with TILA once more, it overrides this value back to 115200.

We can't remove this entry in TILA for historical reasons. Just ignore it :wink:

Please check:
- Is the interface on the CPU configured as "MPI" ? We dont support profibus.
- Is the baudrate in the CPU set to 187500bps ?
- Is the "HSA" set to the same value on all stations ?
- Are all station addresses inside this HSA range ?
- Which MPI addresses are used in your network ? I see that you gave address 10 to the modem. What is the address of the CPU and how many devices are connected ?
- If there's a OP or WinCC in the same network, you have to address all CPUs consecutively, e.g.:
Modem 1
CPU 2
OP 3
WinCC 4
etc.

Did you try the local TS access using Step7 TeleService PG/PC port ?

_________________
Tixi Support Team

E-Mail-Support, Mo-Fr, 9:00am - 5:00pm, Tixi-Support@tixi.com
Support-Hotline, Mo-Fr, 9:00am - 5:00pm, +49-30-406 08 300


Top 
 Profile  
Reply with quote  
 Post subject:
 Post Posted: Wed Sep 19, 2007 9:31 am 
Offline
Newbee

Joined: Fri Sep 07, 2007 12:32 pm
Posts: 2
Thank you for the quick response! Communication is working properly now!

1. Because of an incorect representation of the COM2-MPI baud rate, I suspected that that was the reason for bad communication and that it goes much deeper than just showing a wrong parameter value. That 's why I used the term "probably a bug", to describe the mistake in the configuration file. I will correct myself, showing baudrate of 115200 bauds is a misleading mistake in the software, historical reasons or not.

2. In the manual it states that TAM's MPI port supports two transmision rates of 19200 buad and 187500 baud and it cannot be ignored. Does TAM support both baud rates or not?

3. My configuration:
- Yes, it's configured as MPI
- Yes, 187,5 kbaud
- Yes
- Yes, there are just two station CPU and TAM
- There are just two devices on the network CPU 2, and TAM 10. Addresses from 3 to 9 are reserved for future expansion
- Nothing else is on the network for the time being.

The only reason for bad communication was, that TAM was not declared as a master (unchecked in the TILA configuration). As I found out TAM MUST be a master for this type of communication/access.

Please responde to the baudrate question?

Thanks!

Signing out!


Top 
 Profile  
Reply with quote  
 Post subject:
 Post Posted: Wed Oct 10, 2007 11:18 am 
Offline
Tixi-Support-Team

Joined: Mon Oct 10, 2005 1:40 pm
Posts: 94
Location: Berlin
dekelec wrote:
I will correct myself, showing baudrate of 115200 bauds is a misleading mistake in the software, historical reasons or not.

Yes, it's misleading, but most customers do not look at the TiXML code. You're the first one who has noticed that. :wink:
We'll try to change that for future versions.

dekelec wrote:
2. In the manual it states that TAM's MPI port supports two transmision rates of 19200 buad and 187500 baud and it cannot be ignored. Does TAM support both baud rates or not?

Yes it does. The baudrate is automatically detected by the built in TS adapter.

dekelec wrote:
The only reason for bad communication was, that TAM was not declared as a master (unchecked in the TILA configuration). As I found out TAM MUST be a master for this type of communication/access.

You are right. Currently we support only Master" mode.

_________________
Tixi Support Team

E-Mail-Support, Mo-Fr, 9:00am - 5:00pm, Tixi-Support@tixi.com
Support-Hotline, Mo-Fr, 9:00am - 5:00pm, +49-30-406 08 300


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

Board index » Programming Alarm Modems » PLC connectivity


Who is online

Users browsing this forum: No registered users and 2 guests

 
 

 
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