Connect more Logos

Willkommen Foren LogoControl Connect more Logos

5 Beiträge anzeigen - 1 bis 5 (von insgesamt 5)
  • Autor
    Beiträge
  • #3007
    jphermans
    Teilnehmer

    Hello,
    Is it possible to connect more then 1 logo?
    I have 1 logo7 and 1 logo8 and want to use them both. But this does not seems to work.
    I can save the config.xml without error but when I reload the server it gives following error in the log file:

    11/07/2016 14:57:51: Fehler bei Verbindungsaufbau zu PLC mit ID 'mijnLogo7': Couldn't open TCP connaction to 192.168.20.62
    System.ApplicationException: Couldn't open TCP connaction to 192.168.20.62
      at LogoControl.Logo.LogoConnection.Connect () [0x00000] in <filename unknown>:0 
      at LogoControl.Controller.Start () [0x00000] in <filename unknown>:0 
    (no inner exception)

    Thank you.

    #3009
    admin
    Administrator

    Yes, sure multiple PLC’s are possible since version 0.5.0 of LogoControl. Just define multiple „plc“s in „settings“ block and refer to them in your attribute/method/trigger definitions. For the error above: please check if the IP 192.168.20.62 of the Logo is reachable from your Raspi (ping working?). Also please make sure you have created a server connection in LogoSoft Comfort for each Logo you want to connect to with LogoControl like described here

    #3011
    jphermans
    Teilnehmer

    Really strange, but does not work. Did everything what s described. Both logos are reachable from RPi2.

    pi@logocontrol:~ $ ping 192.168.20.62
    PING 192.168.20.62 (192.168.20.62) 56(84) bytes of data.
    64 bytes from 192.168.20.62: icmp_seq=1 ttl=254 time=4.50 ms
    64 bytes from 192.168.20.62: icmp_seq=2 ttl=254 time=2.34 ms
    64 bytes from 192.168.20.62: icmp_seq=3 ttl=254 time=2.06 ms
    64 bytes from 192.168.20.62: icmp_seq=4 ttl=254 time=5.02 ms
    64 bytes from 192.168.20.62: icmp_seq=5 ttl=254 time=2.49 ms
    ^C
    --- 192.168.20.62 ping statistics ---
    5 packets transmitted, 5 received, 0% packet loss, time 4006ms
    rtt min/avg/max/mdev = 2.069/3.286/5.023/1.224 ms
    pi@logocontrol:~ $ ping 192.168.20.61
    PING 192.168.20.61 (192.168.20.61) 56(84) bytes of data.
    64 bytes from 192.168.20.61: icmp_seq=1 ttl=254 time=2.34 ms
    64 bytes from 192.168.20.61: icmp_seq=2 ttl=254 time=1.89 ms
    64 bytes from 192.168.20.61: icmp_seq=3 ttl=254 time=2.03 ms
    64 bytes from 192.168.20.61: icmp_seq=4 ttl=254 time=1.96 ms
    ^C
    --- 192.168.20.61 ping statistics ---
    4 packets transmitted, 4 received, 0% packet loss, time 3004ms
    rtt min/avg/max/mdev = 1.893/2.058/2.347/0.182 ms
    pi@logocontrol:~ $ 
    

    This is the first part of the settings!

    <configuration>
    	<settings>
    		<plc id="mijnLogo8" type="Logo8" ip="192.168.20.61" />
    		<plc id="mijnLogo7" type="Logo7" ip="192.168.20.62" />
    		<httpWebservice port="8088" />
    • Diese Antwort wurde vor vor 7 Jahren, 9 Monaten von jphermans bearbeitet.
    #3013
    admin
    Administrator

    OK, so your Logo7 is pingable, great! Can you additionally please check at your RPi2 if port 102 is opened on your Logo7:

    nc -zv 192.168.20.62 102

    #3014
    jphermans
    Teilnehmer

    It works now, really strange.
    Have cut off the power off logo7 once and now it is working. Thank you for the help.

5 Beiträge anzeigen - 1 bis 5 (von insgesamt 5)
  • Du musst angemeldet sein, um zu diesem Thema eine Antwort verfassen zu können.