SIMATIC S7 Connector

0
Hi,   I have a problem with SIMATIC S7 Connector:     App was working then I added some new variables and it stopped working. After deploying the project I have info “alarmData, tagData disconneted”.  There is no possibility to start project. I`m able to browse PLC and add tags. What I`ve done: Restarted Databus and S7 Connector few times Restarted IED Restarted IEM cluster Unistalled Databus and S7 Connector Installed Databus and S7 Connector (in that order) Configured Databus and S7 Connector (same users and passwords) During Databus Topics config I tried few variants: 1st: ie/m/j/simatic/v1/s7c1/dp                                         ie/m/j/simatic/v1/s7c1/ev                          ie/m/j/simatic/v1/s7c1/status                  ie/m/j/simatic/v1/s7c1/dp/r/status                       ie/m/j/simatic/v1/s7c1/ev/sstatus                          ie/d/j/simatic/v1/s7c1/dp/w/ie-databus                                              ie/d/j/simatic/v1/s7c1/dp/r/ie-databus/default                ie/#   2nd: ie/m/j/simatic/v1/s7c1/dp                                         ie/d/j/simatic/v1/s7c1/dp/r/#                                  ie/m/j/simatic/v1/s7c1/ev                          ie/d/j/simatic/v1/s7c1/ev/#                                      ie/m/j/simatic/v1/s7c1/status                                  ie/d/j/simatic/v1/s7c1/dp/r/status                                        ie/d/j/simatic/v1/s7c1/ev/status   3rd: ie/m/j/simatic/v1/s7c1/dp                                         ie/d/j/simatic/v1/s7c1/dp/r/#                                  ie/m/j/simatic/v1/s7c1/ev                          ie/d/j/simatic/v1/s7c1/ev/#                                      ie/m/j/simatic/v1/s7c1/status                                  ie/d/j/simatic/v1/s7c1/dp/r/status                                        ie/d/j/simatic/v1/s7c1/ev/status                                             ie/#   4th: ie/m/j/simatic/v1/s7c1/dp                                         ie/d/j/simatic/v1/s7c1/dp/r/#                                  ie/m/j/simatic/v1/s7c1/ev                          ie/d/j/simatic/v1/s7c1/ev/#                                      ie/m/j/simatic/v1/s7c1/status                                  ie/d/j/simatic/v1/s7c1/dp/r/status                                        ie/d/j/simatic/v1/s7c1/ev/status                                             ie/#                                        ie/m/j/simatic/v1/s7c1/ev/sstatus                                         ie/d/j/simatic/v1/s7c1/dp/w/ie-databus                              ie/d/j/simatic/v1/s7c1/dp/r/ie-databus/default   During tests with “topics variants” I was restarting both apps. IE-State Service in IEM is in Running status   My config: IEM: iem-os-1.5.2-4-amd64 IED: ievd-1.12.0-3 Databus: V 2.2.0-3 Simatic S7 Connector: V 1.8.1-7   Do you have any idea what can be wrong?  
asked
4 answers
0

Hi Mikolaj,

By default the SIMATIC S7 Connector sends the data to the Databus using the following topic:

• For tags data: ie/d/j/simatic/v1/s7c1/dp/r/#
• For tags metadata: ie/m/j/simatic/v1/s7c1/dp

•For alarms data: ie/d/j/simatic/v1/s7c1/ev/#

• For alarms metadata: ie/m/j/simatic/v1/s7c1/ev

• For Connector and Connection status: ie/s/j/simatic/v1/s7c1/status

You don’t need to specify them all in the Databus configurator and it is sufficient to define the topic “ ie/#” and then you can use the Flow Creator app to monitor the published data if needed. I saw that some of the topics you configured sometimes ended with “/w” or “/r”, please note that “ /w” means that this topic is used to write data to the PLC while “/r” is to read data from the PLC.  

Please also note that the buttons ” Start Project” and  “ Stop Project” are not present anymore in the configurator in the latest update, and you can start publishing data by only clicking on “ Deploy”. 

I would advise you to delete any extra topics you created on the Databus to avoid any confusion and retry again. If this didn’t work, feel free to comment on this question again.

answered
0

  Have any connectors been updated ? I broke the databus and the opc ua connector because I didn't follow the steps:  https://forum.mendix.com/link/space/industrial-edge/exchanges/16

 

 

answered
0

@Ahmed Elashy

1.I tried to use topics that you suggested. Still the same fault "alarmData, tagData disconnected".

2.Addinotially I found probably one more issue. Probably it`s because of Bus Adaptor fault:

 

In the status there is: “Connection state: No state (Not deployed)” – I deployed project few times.

Near the name “Edge_PLC” there is green mark OK with description “Deployed”. I`m really confused. Two descriptions with two different meanings.

 

I`m still able to Browse and add tags from PLC. I also restarted Databus and S7 Conenctor.

 

3.On Siemens support there is still old documentation:

https://support.industry.siemens.com/cs/document/109813186/simatic-s7-connector?dti=0&lc=en-PL

In manual you can still find functions like Start and Stop Project..

answered
0

In case anyone is facing a similar issue, please note that the S7 Connector version 2 needs the following apps to be installed on the edge device to function proberly :

 

1- Registry Service

2- Common Import Converter

 

In case you can't find them in your Hub account, you can obtain them from the market place.

answered