[RW6.08] Problem with network between LAN3 and WAN
Hello,
In our case, we have an IRC5 controller using Profinet to dialog with PLC.
This is defined to use LAN3 with in SIO.cfg:
IP_SETTING:-Name "PROFINET Network" -Address "10.238.255.79"\
-SubnetMask "255.255.255.224" -Interface "LAN3"
STATIC_VLAN:
-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="10.238.255.106" subnetMask="255.255.255.224" defaultGateway="10.238.255.106">
<!--WAN type can be FIXED, DHCP or NONE-->
</WAN>
<!--WAN type can be FIXED, DHCP or NONE-->
</WAN>
In my computer I set IP to 10.238.255.116 with 255.255.255.224 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.☑️2024 - RobotStudio® User Group
0
Comments
-
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 RiabichevPC Software Support Engineer0 -
Hello,For your information, I've changed WAN to 10.238.254.116 with 255.255.255.224. This still doesn't works.I have to change mask to 255.255.255.0 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☑️2024 - RobotStudio® User Group0
-
The problem seems to be that you have miscalculated your subnet mask.
Using a 224 mask with the IP 10.238.255.79 gives you an IP-Range of 10.238.255.65 - 10.238.255.94. That's why you can't get your WAN to work with the IP set to 10.238.254.116, unless you ease up the the network mask which you do by setting it to 0, since that allows the full ip range.0 -
Hello,@dnilsson: No, that's what I want.WAN @10.238.255.106/27 for socket and RS: 10.238.255.96 to 10.238.255.127. Some devices using socket @10.238.255.107/27 & 108/27And Computer @10.238.255.116/24 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.☑️2024 - RobotStudio® User Group0
-
Hello,I think I have a reason.LAN3 and WAN are the same interface: they have the same MAC address.☑️2024 - RobotStudio® User Group1
-
Hello,Does it exist an easy fix to allow other protocol in LAN3 when PROFINET is defined?☑️2024 - RobotStudio® User Group0
-
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 Justice0 -
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...☑️2024 - RobotStudio® User Group0
Categories
- All Categories
- 5.5K RobotStudio
- 396 UpFeed
- 18 Tutorials
- 13 RobotApps
- 297 PowerPacs
- 405 RobotStudio S4
- 1.8K Developer Tools
- 250 ScreenMaker
- 2.8K Robot Controller
- 316 IRC5
- 61 OmniCore
- 7 RCS (Realistic Controller Simulation)
- 798 RAPID Programming
- AppStudio
- 3 RobotStudio AR Viewer
- 18 Wizard Easy Programming
- 105 Collaborative Robots
- 5 Job listings