Transfer to target never finishes

Hey community,

with the new AS6.7 im encountering the issue that when i do normal online transfers the update finishes and the target even correctly reboots but the progressbar never finishes. Only pressing the button cancel brings me out the dialog.

Hi Kenan,

did you check if you change the IP with the configuration you transferred? if so, the PLC has a different IP after transfer and reboot than before → connection is gone and e.g. must be re established with the new IP.

Hi Alexander,

Im portforwarding the AS connection relevant ports from a PLC(10.10.0.20) through a different device (10.71.250.251). In the former Version i havent noticed this happening. Before the progressbar would finish as soon as RUN appears (matching Project IP and Target IP was not required)

BR Kenan

Hi,

just for curiosity:

  • is it possible to do one transfer test with a direct connection (both devices are in the same ip network, including PLC reboot while transfer) instead of the port forwarding in between?
  • does it also happen in your original setup including the port forward when no reboot of the PLC is neccessary (no initial transfer, no setup values changed, just code changes or similar)?

Because if the cause is a broken TCP connection because of reboot and/or port forwarding (could be, could not be the reason), those 2 tests would give us a better idea if the port forwarding and/or reboot have some influence on the behavior or not.

Best regards!

This is caused by a new feature introduced in AS 6.7, where Automation Studio automatically detects IP address changes during a download. For example, if you start a download to a PLC at IP 192.168.1.9 and the PLC changes to 192.168.1.10, AS will detect the new address and reconnect automatically. In previous versions, it would simply wait indefinitely for the original IP to come back online.

However, this feature only works when using the PLC’s onboard Ethernet port. If the connection is made through a different Ethernet interface card, AS still waits for the PLC Ethernet port to come online and never reconnects, even though the target is available through the other interface.

This is a bug and should be addressed in a future release.

Just ran into same issue with ARsim, same behavior that it never reconnects!

For example I like to set the ARsim IP address to 0.0.0.0 so it uses the hosts IP address which can then be used to reach the mappView visualization from external clients like in a network.