Hi everyone, I recently bought a RUT271 to use via wifi when performing maintenance on Siemens PLCs, so I can avoid connecting a network cable when I’m far away from the control panels. Unfortunately, I’ve realized that—despite trying everything—I can’t discover PROFINET devices over Wi-Fi using Siemens PRONETA. If I understand correctly, the RUT271 refuses to bridge PROFINET DCP packets (Layer 2). Do you have any ideas? I’m at a loss as to what to do next. Thanks, everyone.
Greetings,
Apologies for the delayed response.
Could you please clarify your network topology? Is the PLC connected to the LAN port of the RUT271 and your PC is connected to the RUT271 via Wi-Fi?
Could you also provide the following information:
- What firmware version is currently running on the device?
- Are you able to ping the PLC from your PC?
- What configuration is currently applied to the device? Have you made any changes to the LAN interface, VLANs, or Wi-Fi settings, or is the device using its default configuration?
Instead of scanning for devices, would assigning a static IP address to the PLC and connecting to it directly be a viable option for your setup?
Best Regards,
Justinas
Good morning Justinas, no problem about the delayed reply.
Below the answers:
Is the PLC connected to the LAN port of the RUT271 and your PC is connected to the RUT271 via Wi-Fi?
YES
What firmware version is currently running on the device?
The firmware version is 7.24.1
Are you able to ping the PLC from your PC?
YES
What configuration is currently applied to the device? Have you made any changes to the LAN interface, VLANs, or Wi-Fi settings, or is the device using its default configuration?
I changed the default IP to the same class as the PLC. I haven’t made any other configuration changes. The PLC responds to ping, but discovering online devices from TIA PORTAL V21 or Proneta always fails. Reading the DCP protocol operating mode used by Proneta or TIA PORTAL, it seems the router refuses to bridge PROFINET DCP (Layer 2) packets over Wi-Fi. Obviously, connecting the PLC to my laptop via cable works fine. If you have any configuration advice, I’d be grateful. I’d hate to waste money on a device that doesn’t do what it was purchased for.
Thank you so much
G
PS: I found this document in case it might be useful for resolving the problem.
Greetings,
You will need to apply the following configuration changes to enable layer 2 device discovery:
First log in to the device CLI following the instructions here: Command Line Interfaces - Teltonika Networks Wiki
Next, we need to make a few changes to the /etc/config/network file.
-
Open the file using the
vieditor:vi /etc/config/network -
Press i to enter insert mode and enable editing.
-
Locate the
config device 'br_lan'section and modify it as follows:config device 'br_lan' option name 'br-lan' option type 'bridge' list ports 'eth0.0'The change here is replacing
list ports 'eth0'withlist ports 'eth0.0'. -
Next, locate the
config switch_vlansection wherevlanandvidare both set to1, and change it to:config switch_vlan option device 'switch0' option vlan '0' option vid '0' option ports '1 6t'The
option portsshould remain unchanged. Only changeoption vlanandoption vidfrom 1 to 0. -
Save the changes by pressing ESC and typing :wq + Enter and restart the network service using the following command:
/etc/init.d/network restart
PROFINET packets from the controller are tagged with VLAN ID 0 as default which is used to mark it as a prioritized packet, that is why these changes are required on the router.
Best Regards,
Justinas