Problem with AXC F 2152 Upload

Hi team,

I'm trying upload our proyect in a AXC F 2152.

plc next enginner throw me the next message -> An error occurred while writing the changes to the device

when i check Output.log, i see the next lines:

20.11.21 08:16:37.988 CommonRemoting                                               INFO  - Accepted connection #0: connectionId=AFBEA477, 192.168.1.235 -> 0.0.0.0:41100
20.11.21 08:16:38.205 Arp.System.Security.Services.PasswordAuthenticationServiceImpl INFO  - Successful authentication for name="admin": connectionId=AFBEA477, securityToken=E13E8425
20.11.21 08:16:52.838 Arp.Services.ProfiCloud.Internal.ProficloudTSDAdapter        INFO  - Could not read GDS metrics file /opt/plcnext/projects/ProfiCloud/metrics.json.
20.11.21 08:16:52.838 Arp.Services.Ehmi.EhmiComponent                              INFO  - 2679927488 EhmiComponent: OnPlcLoading
20.11.21 08:16:54.105 Arp.Plc.Esm.Internal.TaskController                          INFO  - Configuring Sleep class with a sync point interval of 100000us, an watchdog interval of 100000us and an axio interval of 100000us
20.11.21 08:16:54.209 Arp.Io.Axioline.Internal.AxiolineDomain                      INFO  - Axioline: No bus configuration found. No links.xml file.
20.11.21 08:16:54.209 Arp.Io.Axioline.AxiolineComponent                            INFO  - AxiolineComponent: SetupPlc(False): No config, Reset Bus
20.11.21 08:16:54.242 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - LoadPlc, isChanging=false
20.11.21 08:16:54.260 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - SetupPlc, isChanging=false, startKind=Warm
20.11.21 08:16:54.262 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - 2964316864 OnPlcLoaded PlcLoaded=false
20.11.21 08:16:54.263 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - 2964316864 ESDK 0xffff, AddAssemblies, toInstanceID=110, toSize=256, otInstanceID=100, otSize=256
20.11.21 08:16:54.307 Arp.Io.ProfinetStack.System.Internal.Adaption                ERROR - Event Archive Entry, Module ID: 71, Message: PN_SetMultipleInterfaceMode: controller instance is not added!
20.11.21 08:16:54.319 Arp.System.Rsc.Internal.Remoting.RscServiceStubAdapter       ERROR - Exception occurs while invoking service method 'Arp.Plc.Commons.Services.Internal.IPlcComponentService:1': Exception of type 'Arp::System::Commons::InvalidOperationException' was thrown
Controller instance is not added
\t at: Arp::Io::ProfinetStack::Controller::Interface::MultipleInterfaceModeSetter::Set(bool)
\t at: Arp::Io::ProfinetStack::Controller::Internal::Controller::SetupMultipleInterfaceMode()
\t at: Arp::Io::ProfinetStack::Controller::Internal::Controller::PreSetup(bool)
\t at: Arp::Plc::Commons::Services::Internal::PlcComponentServiceStub::LoadPlc(Arp::System::Rsc::Services::RscServerContext&)
\t at: Arp::System::Rsc::Internal::Remoting::RscServiceStubAdapter::Invoke(int, CommonRemoting::RemotingServerContext&)
\t at: CommonRemoting::RemotingServiceBase::Invoke(CommonRemoting::RemotingServerContext&)
\t at: CommonRemoting::ServiceInvocationSink::ProcessRequest(CommonRemoting::RemotingServerSession&, CommonRemoting::RemotingServerContext&)
\t at: CommonRemoting::RemotingServiceBrokerSink::ProcessInvokeServiceCommand(CommonRemoting::RemotingServerSession&, CommonRemoting::RemotingServerContext&)
\t at: CommonRemoting::RemotingServiceBrokerSink::ProcessRequest(CommonRemoting::RemotingServerSession&, CommonRemoting::RemotingServerContext&)
\t at: CommonRemoting::SecurityContextSink::ProcessRequest(CommonRemoting::RemotingServerSession&, CommonRemoting::RemotingServerContext&)
\t at: CommonRemoting::RemotingServerSession::ProcessInternal()
\t at: CommonRemoting::RemotingServerSession::RunSession(void*)
\t at: CommonRemoting::RemotingThreadBase::RunInternal(void*)
\t at: Arp::System::Commons::Threading::Thread::RunThread(Arp::System::Commons::Threading::ThreadBinaryCompatibilityExtensions*)
\t at: Arp::System::Commons::Threading::Thread::RunInternal(void*)
\t at: Arp::System::Ve::Internal::Linux::ThreadService::RunInternal(void*)

20.11.21 08:16:54.324 CommonRemoting                                               ERROR - RemotingContext::AbortInvocation(): connectionID=AE2F0907, errorCode=2000000A, message: Controller instance is not added
20.11.21 08:16:54.334 Arp.Plc.Domain.Internal.PlcManager                           ERROR - Exception occurs while loading plc component 'Arp.Io.PnC': (RscError 0X2000000A): Exception of type 'Arp::System::Rsc::Services::RscException' was thrown
Controller instance is not added
\t at: Arp::Plc::Commons::Services::Internal::PlcComponentServiceProxy::LoadPlc(bool)
\t at: Arp::Plc::Domain::Internal::PlcComponentInfo::LoadPlc(bool)
\t at: Arp::Plc::Domain::Internal::PlcManager::LoadAndSetupPlcComponents(bool)
\t at: Arp::Plc::Domain::Internal::PlcManager::LoadAndSetupPlcInternal()
\t at: Arp::System::Commons::Threading::TaskQueue::ProcessTasksInternal(unsigned int)
\t at: Arp::System::Commons::Threading::TaskQueue::ProcessTasks()
\t at: Arp::System::Commons::Threading::TaskThread::RunInternal(void*)
\t at: Arp::System::Commons::Threading::Thread::RunThread(Arp::System::Commons::Threading::ThreadBinaryCompatibilityExtensions*)
\t at: Arp::System::Commons::Threading::Thread::RunInternal(void*)
\t at: Arp::System::Ve::Internal::Linux::ThreadService::RunInternal(void*)

20.11.21 08:16:54.336 Arp.Plc.Domain.Internal.PlcManager                           ERROR - Plc component 'Arp.Io.PnC' returns false while LoadPlc(isChanging=false) was called.
20.11.21 08:16:54.376 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - ResetPlc, isChanging=false
20.11.21 08:16:54.377 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - 2964316864 OnPlcUnloaded PlcLoaded=true
20.11.21 08:16:54.378 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - 2964316864 ESDK 0xffff, RemoveAllAssemblies
20.11.21 08:16:54.385 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - UnloadPlc, isChanging=false
20.11.21 08:16:54.385 Arp.Io.EthernetIP.EthernetIPComponent                        INFO  - 2964316864 OnPlcUnloaded PlcLoaded=false
20.11.21 08:16:55.035 Arp.Plc.Domain.Internal.PlcManager                           ERROR - Reverted all yet loaded components.
20.11.21 08:16:55.037 Arp.Services.Ehmi.EhmiComponent                              INFO  - 2679927488 EhmiComponent: OnPlcUnloaded, onError=true

This problem happens in one AXC F 2152, others AXC F 2152 work and upload without errors.

Thanks in advance

It looks like you have selected “Write and Start Project Changes” from PLCnext Engineer - is that correct?

In that case the problem may be related to the "Write Changes" function. Normally this function will not work if it cannot be performed successfully.

- Does the "Write and Start Project" function also show this problem (not "Write and Start Project [b]Changes[/b]"?
- What version of PLCnext Engineer are you using?
- What firmware version is the PLC running?
- Are any services disabled on the PLC, through the Web-Based Management page?

If you have forced variables, it wont download changes.

- Emil