Announcement

REXYGEN forum has been moved. This one is closed.
Head over to the new REXYGEN Community Forum at https://forum.rexygen.com.

Looking forward to meeting you there!
 

#1 2016-08-25 18:30:39

hottink
Member
Registered: 2016-08-25
Posts: 8

More then one LOGO-8 connection

Hello,

Is it possible to have connection at the same time with more then one LOGO-8.
I have 4 LOGO-8 running together in one network.
I'm running Rex-Core on RPI with S7Drv (demo-mode) and want to log some data from each LOGO with Rex Control.

Greetings from the Netherlands,

Harry

Offline

#2 2016-08-26 09:09:48

tomáš čechura
Administrator
Registered: 2016-02-22
Posts: 371

Re: More then one LOGO-8 connection

Hi Harry,

thank you for your question. It is possible to have connection with more than one Siemens devices at the same time. Your executive should contain one S7 module and as many drivers as devices. For example:
logo.png
I/O flags will be in the following format:

S7C1__* for station 1
S7C2__* for station 2

Please, make sure that you specify and configure separate ".rio" file for each driver - parameter "cfgname".

Please feel free to contact me if you need any further information.

Cheers, Tomas

Offline

#3 2016-08-27 14:42:51

hottink
Member
Registered: 2016-08-25
Posts: 8

Re: More then one LOGO-8 connection

Hi Tomas,

Thank you for the explanation. Right now i have only 1 LOGO-8 and 1 LOGO-7 to test it on.
I'll let you know if i need more information.

Greetings, Harry

Offline

#4 2016-08-28 18:50:12

hottink
Member
Registered: 2016-08-25
Posts: 8

Re: More then one LOGO-8 connection

Hello,

I've been testing with 1 LOGO 0BA7 and 1 LOGO 0BA8 the example program [02_LOGO_0BA8_remoteIO]
Everything with the LOGO 0BA8 is working but not with the LOGO 0BA7. In both LOGO's is running the dummy program like the example. Like in the answer above from Tomas, i've renamed the From- and Goto- labels in S7C1__I1 and S7C2__I1.
Only the LOGO 0BA8 works, even when i change the IP-adresses (LOGO 0BA8 got the IP-adres from the LOGO 0BA7 and vice versa).
Am i doing something wrong, or is the LOGO 0BA7 not compatible?

Greetings, Harry

Offline

#5 2016-08-29 06:45:53

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: More then one LOGO-8 connection

Hi Harry,
thanks for your message and for all the testing you have done so far. We have tested all the examples with LOGO 0BA8. No 0BA7 here. The S7 communication driver relies on the Snap7 library. The Snap7 documentation does not mention any difference between 0BA8 and 0BA7. This page might help: http://snap7.sourceforge.net/logo.html. In all the examples, REX is a S7 client and LOGO is the server.

Are there any error messages on the System log tab in RexView?

Jaroslav

Offline

#6 2016-08-29 21:01:40

hottink
Member
Registered: 2016-08-25
Posts: 8

Re: More then one LOGO-8 connection

Hi Jaroslav,

This evening i've been doing some more testing with the combination of 0BA7 and 0BA8 LOGO's.
Now i have tested with succes 2x 0BA8, but still no succes when i have the 0BA7.
During testing with the 0BA7 i've changed the Driver S7C1 in S7S1 (Server) and made a different *.rio file.
When i tried to download this project to my RPI i got the [Socket error]. I think i crashed the Rexcore but i don't know if it has something
to do with changing the S7* driver.
When i followed the instructions of this forum about this error and how to fix this, i had my RPI up and running again (with the testprogram with 2x 0BA8).
I've had this 0BA7 LOGO laying arround and i don't plan to use it in my project(s), for now i'm done testing with this 0BA7.

Offline

#7 2016-08-29 21:12:27

hottink
Member
Registered: 2016-08-25
Posts: 8

Re: More then one LOGO-8 connection

Hi Jaroslav,

You ask for the error in the [System log]:
S7CDRV: Cli_Connect failed (code 0x71)
Every 10 sec repeated.

greetings,
Harry

Offline

#8 2016-08-30 09:19:25

jaroslav_sobota
Administrator
Registered: 2015-10-27
Posts: 535

Re: More then one LOGO-8 connection

Hi Harry,
thanks for the update. S7 Server is meant mainly for using REX with Siemens HMI panels so it is not relevant for logging data from LOGOs. Still I'd like to have the configuration which crashes RexCore. Can you please send it to support@rexcontrols.com?

It seems that on the contrary to 0BA8 the network connection must be activated on the 0BA7 somehow but I cannot tell you more unless I have the 0BA7 here. I'll post here an update if I have some new information.

Have a nice day,
Jaroslav

Offline

Board footer

Powered by FluxBB