RobotStudio event

[RW6.08] Problem with network between LAN3 and WAN

DenisFR ✭✭✭
In our case, we have an IRC5 controller using Profinet to dialog with PLC.
This is defined to use LAN3 with in SIO.cfg:
      -Name "PROFINET Network" -Address ""\
      -SubnetMask "" -Interface "LAN3"
      -Name "X5" -Interface "LAN3"

To have RS working in the same wired network, we defined WAN like this in ctrlsettings.xml:
  <WAN type="FIXED" ip="" subnetMask="" defaultGateway="">
    <!--WAN type can be FIXED, DHCP or NONE-->

In my computer I set IP to with subnet mask.
Profinet works well, but WAN doesn't.
When pinging it most of packet are lost (not all, so RS can add controller in OnLine but failed some time after on timeout).
Connecting to Service port works well too.


  • We have seen this before and are looking into the cause of it.

    I'll try to remember to keep you posted on the progress.

    Maxim Riabichev
    PC Software Support Engineer
  • DenisFR
    DenisFR ✭✭✭
    edited June 2020
    For your information, I've changed WAN to with This still doesn't works.
    I have to change mask to to get it working.
    EDIT: In fact this works just after boot, but after not.
    Seems that ProfiNet make this failed...
    EDIT2: After isolating LAN and WAN (with first config) all works well. But I can't have access at all in one connection as expected.
    Post edited by DenisFR on
  • dnilsson
    dnilsson admin
    edited June 2020
    The problem seems to be that you have miscalculated your subnet mask.
    Using a 224 mask with the IP gives you an IP-Range of - That's why you can't get your WAN to work with the IP set to, unless you ease up the the network mask which you do by setting it to 0, since that allows the full ip range.
  • DenisFR
    DenisFR ✭✭✭
    @dnilsson: No, that's what I want.
    LAN3 @ for PN: to PLC is @
    WAN @ for socket and RS: to Some devices using socket @ & 108/27
    And Computer @ to communicate to WAN and PLC.

    This configuration is like that because you can't have RS link (maybe socket too) where ProfiNet is defined.

    This theoretically should works. But connecting LAN3 and WAN does WAN failed.
    For now, I've added a switch for WAN and all works fine. But I have to change my computer wire to switch between PLC and RS.
  • DenisFR
    DenisFR ✭✭✭
    I think I have a reason.
    LAN3 and WAN are the same interface: they have the same MAC address.

  • DenisFR
    DenisFR ✭✭✭
    Does it exist an easy fix to allow other protocol in LAN3 when PROFINET is defined?
  • lemster68
    lemster68 ✭✭✭
    Hi Denis,

    Some years ago I had Profinet and the plant network both on the LAN port.  The plant was only using FTP/NFS option.
    Lee Justice
  • DenisFR
    DenisFR ✭✭✭
    I need plant could connect with RS, and robot communicate with other device with Sockets.
    Yes, some years (more than 2) ago this works well, but since a few time you can't do anything else than Profinet on the dedicated port. Maybe to prevent network lost packet...