Skip to content

PLCNext AXCF2152 not responding?

I am using PLCNext AXCF2152. I was able to connect to device from PLCNext Engineer but recently is has stopped responding to PLCNext Engineer. ACF is not loading application either. I tried to restart PLC multiple times but there was no response. Resting plcnext service is giving following error.

root@axcf2152:~# /etc/init.d/plcnext restart
Stopping service plcnext
kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
Warning: Application with pid does not terminate within 20 seconds.
plcnext stopped
Starting service plcnext
Set plcnext exports
plcnext started (bus system is axioline)

Following is the content of /opt/plcnext/logs/Output.log

10.12.19 09:26:23.934 Arp.System.Acf.Internal.ApplicationBase INFO - Application 'LocalIoProcess' terminates.
10.12.19 09:26:23.947 CommonRemoting INFO - Remote client disconnects explicitly, connectionId = B1B023F0
10.12.19 09:26:23.949 CommonRemoting INFO - Closing connection: connectionId=B1B023F0
10.12.19 09:26:23.953 CommonRemoting INFO - Remote client disconnects explicitly, connectionId = B1B02CD0
10.12.19 09:26:23.955 CommonRemoting INFO - Closing connection: connectionId=B1B02CD0
10.12.19 09:26:24.928 Arp.System.Acf.Internal.Sm.ProcessesController INFO - Process 'LocalIoProcess' stopped.
10.12.19 09:26:26.433 Arp.System.Acf.Internal.Sm.ProcessesController INFO - Process 'runtime' hard killed.
10.12.19 09:26:26.433 Arp.System.Acf.Internal.Sm.ProcessesController INFO - Process 'runtime' stopped.
10.12.19 09:26:27.475 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
10.12.19 09:26:27.484 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
10.12.19 09:26:27.485 CommonRemoting INFO - Starting remoting server (version=4)
10.12.19 09:26:27.485 CommonRemoting INFO - Start listening on TCP port 41120
10.12.19 09:26:27.485 CommonRemoting INFO - Start listening on TCP port 41121
10.12.19 09:26:27.554 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
10.12.19 09:26:27.555 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x4c9748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb69dba24]

10.12.19 09:28:18.263 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
10.12.19 09:28:18.287 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
10.12.19 09:28:18.287 CommonRemoting INFO - Starting remoting server (version=4)
10.12.19 09:28:18.287 CommonRemoting INFO - Start listening on TCP port 41120
10.12.19 09:28:18.287 CommonRemoting INFO - Start listening on TCP port 41121
10.12.19 09:28:18.387 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
10.12.19 09:28:18.387 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x4c0748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb69e0a24]

10.12.19 09:29:45.857 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
10.12.19 09:29:45.867 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
10.12.19 09:29:45.867 CommonRemoting INFO - Starting remoting server (version=4)
10.12.19 09:29:45.867 CommonRemoting INFO - Start listening on TCP port 41120
10.12.19 09:29:45.867 CommonRemoting INFO - Start listening on TCP port 41121
10.12.19 09:29:45.938 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
10.12.19 09:29:45.938 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x42c748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb6a33a24]

10.12.19 09:30:21.696 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
10.12.19 09:30:21.706 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
10.12.19 09:30:21.706 CommonRemoting INFO - Starting remoting server (version=4)
10.12.19 09:30:21.706 CommonRemoting INFO - Start listening on TCP port 41120
10.12.19 09:30:21.706 CommonRemoting INFO - Start listening on TCP port 41121
10.12.19 09:30:21.774 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
10.12.19 09:30:21.774 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x49e748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb6a30a24]

04.03.20 14:32:12.269 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
04.03.20 14:32:12.296 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
04.03.20 14:32:12.297 CommonRemoting INFO - Starting remoting server (version=4)
04.03.20 14:32:12.297 CommonRemoting INFO - Start listening on TCP port 41120
04.03.20 14:32:12.297 CommonRemoting INFO - Start listening on TCP port 41121
04.03.20 14:32:12.396 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
04.03.20 14:32:12.397 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x46c748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb69c3a24]

04.03.20 14:33:55.423 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
04.03.20 14:33:55.433 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
04.03.20 14:33:55.433 CommonRemoting INFO - Starting remoting server (version=4)
04.03.20 14:33:55.433 CommonRemoting INFO - Start listening on TCP port 41120
04.03.20 14:33:55.433 CommonRemoting INFO - Start listening on TCP port 41121
04.03.20 14:33:55.506 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
04.03.20 14:33:55.506 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x511748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb6a72a24]

04.03.20 14:34:29.571 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
04.03.20 14:34:29.581 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
04.03.20 14:34:29.581 CommonRemoting INFO - Starting remoting server (version=4)
04.03.20 14:34:29.581 CommonRemoting INFO - Start listening on TCP port 41120
04.03.20 14:34:29.581 CommonRemoting INFO - Start listening on TCP port 41121
04.03.20 14:34:29.650 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
04.03.20 14:34:29.650 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x45c748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb69d1a24]

04.03.20 14:41:15.998 Arp.System.Acf.Internal.ApplicationBase INFO - ArpVersion: 2020.0 LTS (20.0.0.24752)
04.03.20 14:41:16.008 CommonRemoting INFO - [IpcRemotingBroker]: Starting IPC Remoting Broker
04.03.20 14:41:16.008 CommonRemoting INFO - Starting remoting server (version=4)
04.03.20 14:41:16.009 CommonRemoting INFO - Start listening on TCP port 41120
04.03.20 14:41:16.009 CommonRemoting INFO - Start listening on TCP port 41121
04.03.20 14:41:16.078 Arp.System.Acf.Internal.ApplicationBase FATAL - Fatal error occurs in application 'MainProcess':
04.03.20 14:41:16.078 Arp.System.Acf.Internal.ApplicationBase FATAL - Exception occurs: Exception of type 'Arp::System::Commons::Io::NotExistException' was thrown
Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.
at: Arp::System::Commons::Xml::XmlConfigDocument::Load(Arp::BasicString<char, std::allocator > const&)
at: Arp::System::Acf::Internal::Sm::Config::AcfConfigurationLoader::Load(Arp::BasicString<char, std::allocator > const&, Arp::BasicString<char, std::allocator > const&, Arp::System::Acf::Internal::Sm::Config::AcfConfiguration&)
at: Arp::System::Acf::Internal::Sm::SystemManager::LoadConfig()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystemSettings()
at: Arp::System::Acf::Internal::Sm::SystemManager::SetupSystem()
at: Arp::System::Acf::Internal::MainApplicationBase::SetupInternal()
at: Arp::System::Acf::Internal::ApplicationBase::Setup(Arp::System::Commons::Diagnostics::Logging::LogLevel, char const*)
at: Arp::System::Acf::Internal::ApplicationBase::Main(int, char**, Arp::System::Commons::Diagnostics::Logging::LogLevel)
at: Arp.System.Application(+0x1c748) [0x42d748]
at: /lib/libc.so.6(__libc_start_main+0x97) [0xb69b6a24]

 Please suggest how to make PLC work again.

Comments

  • Hi Vikash,

    The clue is in the Output.log file:

    Path '/opt/plcnext/projects/Default/Default.acf.config' does not exist.

    This is a file that is needed for the successful start of the PLCnext runtime, and I am guessing that this file has been deleted at some point.

    The simple solution is to log in as root (e.g. using the su command) and delete this file from the upper directory, using this command:

    rm /media/rfs/rw/upperdir/opt/plcnext/projects/Default/Default.acf.config

    This will restore the default version of this file that was installed with the firmware.

    Hope this helps.

    ~ Martin.

     

  • Hi Martin,

    I tried above command. It failed with following error

    root@axcf2152:~# rm /media/rfs/rw/upperdir/opt/plcnext/projects/Default/Default.acf.config
    rm: cannot remove '/media/rfs/rw/upperdir/opt/plcnext/projects/Default/Default.acf.config': Not a directory
    root@axcf2152:~# cd -
    /media/rfs/rw/upperdir/opt/plcnext/projects
    root@axcf2152:/media/rfs/rw/upperdir/opt/plcnext/projects# ls -alh
    total 16K
    drwxrwxr-x 3 admin plcnext 4.0K Dec 10 09:26 .
    drwxrwxr-x 12 admin plcnext 4.0K Dec 10 09:24 ..
    c--------- 1 root root 0, 0 Dec 10 09:26 Default
    c--------- 1 root root 0, 0 Dec 10 09:26 PCWE
    c--------- 1 root root 0, 0 Dec 10 09:26 ProfiCloud
    lrwxrwxrwx 1 plcnext_firmware plcnext 4 Dec 3 12:24 current -> PCWE
    drwxr-xr-x 3 root root 4.0K Dec 10 08:16 runtime

  • I was able to recover device using following command

    recover-plcnext 1

    PLCNext Engineer is now able to connect and ACF is also loading the application.

Sign In or Register to comment.