我们正在使用AXC F 2152 HW 02 FW 2021.0.3 LTS(21.0.3.35554)[从2020.0.1 LTS更新(20.0.1.26832)]
该PLC已连接本模块:AXL SE DO16 / 1,AXL SE DI16 / 1,AXL SE SC-A,AXL SE AI4 U 0-10和AXL F IF CAN 1H
我们使用中华彩票彩网 Engineer 2021.0.2(Build 4.7.1183.0)
我们需要在我们的项目中使用CAN通信,因此我已经下载了Canbus库 //www.plcnextstore.com/563 版本9.
我们只想要执行此示例can_9_exa_axl_co.pcwex,但在将此示例发送到PLCnext时,我们在PLCnext Engineering的日志窗口中获取此消息
"将更改写入设备时发生错误。"
我们重置(类型1),然后我们更新了PLC FW,希望这可以解决,而是徒劳可变。
错误后; D模块的DED是绿色闪烁,控制器显示RUN LED闪烁绿色,并在红色上失败。
使用tail -f /opt/plcnext/logs/output.log当我们发送示例时,我们获取:
25.03.21 17:11:45.678 Arp.Device.Interface.Internal.DeviceStatus WARN - DeviceStatus: Ident "Status.Fan.Plugged" not found
25.03.21 17:20:46.500 Arp.Device.Interface.Internal.DeviceStatus WARN - DeviceStatus: Ident "Status.Interfaces.Ethernet.2.1.Link" not found
25.03.21 17:20:46.501 Arp.Device.Interface.Internal.DeviceStatus WARN - DeviceStatus: Ident "Status.Interfaces.Ethernet.2.1.Duplex" not found
25.03.21 17:20:46.502 Arp.Device.Interface.Internal.DeviceStatus WARN - DeviceStatus: Ident "Status.Interfaces.Ethernet.2.1.Baudrate" not found
25.03.21 17:25:42.488 Arp.System.Um.Internal.SessionManagement INFO - failed with GetSessionByToken Session with ID: "F4868DDD" not exist
25.03.21 17:25:42.497 Arp.System.Um.Internal.SessionManagement INFO - failed with GetSessionByToken Session with ID: "F4868DDD" not exist
25.03.21 17:26:17.798 Arp.Services.ProfiCloud.Internal.ProficloudTSDAdapter INFO - Could not read GDS metrics file /opt/plcnext/projects/ProfiCloud/metrics.json.
25.03.21 17:26:17.799 Arp.Services.Ehmi.EhmiComponent INFO - 2647544512 EhmiComponent: OnPlcLoading
25.03.21 17:26:18.751 Arp.Plc.Esm.Internal.EsmDomain INFO - ESM configuration successfully loaded.
25.03.21 17:26:18.756 Arp.Plc.Esm.Internal.TaskController INFO - Configuring Sleep class with a sync point interval of 500us, an watchdog interval of 500us and an axio interval of 500us
25.03.21 17:26:18.877 Arp.Io.Axioline.Internal.TicConfig.Tic2ConfigSvc INFO - AXIO Master with 5 devices.
25.03.21 17:26:18.880 Arp.Io.Axioline.AxiolineComponent INFO - AxiolineComponent: SetupPlc(False): Activate /var/tmp/AxlC.config.svc
25.03.21 17:26:19.214 Arp.Io.Axioline.Internal.AxioDrvAcc WARN - CheckConfirmation(): PDI conf with neg. result: cmd 8042, slot 0002, index ff8f,errCode ff8f, addInfo 0607.
25.03.21 17:26:19.506 Arp.Io.Axioline.Internal.AxioDataExchange INFO - Axioline use sleep mode
25.03.21 17:26:19.507 Arp.Io.EthernetIP.EthernetIPComponent INFO - LoadPlc, isChanging=false
25.03.21 17:26:19.522 Arp.Io.EthernetIP.EthernetIPComponent INFO - SetupPlc, isChanging=false, startKind=Warm
25.03.21 17:26:19.525 Arp.Io.EthernetIP.EthernetIPComponent INFO - 2929701568 OnPlcLoaded PlcLoaded=false
25.03.21 17:26:19.528 Arp.Io.EthernetIP.EthernetIPComponent INFO - 2929701568 ESDK 0xffff, AddAssemblies, toInstanceID=110, toSize=256, otInstanceID=100, otSize=256
25.03.21 17:26:19.712 Arp.Plc.Gds.Internal.GdsDomain INFO - GDS configuration successfully loaded.
25.03.21 17:26:19.886 Arp.Plc.Domain.Internal.PlcManager ERROR - Exception occurs while setting up plc component 'Arp.Plc.Gds': Exception of type 'Arp::System::Commons::KeyNotFoundException' was thrown
GetBufferIDByFullPortName: Could not find portName 'http://Arp.Io.AxlC/0.IN64byte' in fbIoPortsFramesMap
at Arp::Plc::Gds::Internal::Connections::GdsConnectionInfosBuilder::CreateIoDataConnectionInfo(std::shared_ptr<Arp::Plc::Gds::Internal::Config::GdsConnectorConfig> const&, Arp::Plc::Commons::Io::IIoProvider* const&, Arp::Plc::Gds::Internal::GdsMetaManager&, Arp::Plc::Gds::Internal::GdsContext&, bool)
at Arp::Plc::Gds::Internal::Connections::GdsConnectionInfosBuilder::CreateDataConnectionInfo(std::shared_ptr<Arp::Plc::Gds::Internal::Config::GdsConnectorConfig> const&, Arp::Plc::Gds::Internal::GdsMetaManager&, Arp::Plc::Fbm::FieldbusManager&, Arp::Plc::Gds::Internal::GdsContext&)
at Arp::Plc::Gds::Internal::Connections::GdsConnectionInfosBuilder::CreateDataConnectionInfos(Arp::Plc::Gds::Internal::Config::GdsConfiguration const&, Arp::Plc::Gds::Internal::GdsContext&)
at Arp::Plc::Gds::Internal::Connections::GdsConnectionInfosBuilder::CreateConnectionInfos(Arp::Plc::Gds::Internal::Config::GdsConfiguration const&, Arp::Plc::Gds::Internal::GdsContext&, std::map<std::tuple<std::shared_ptr<Arp::Plc::Commons::Gds::IGdsBuffer>, std::shared_ptr<Arp::Plc::Commons::Gds::IGdsBuffer> >, Arp::Plc::Gds::Internal::Connections::ConnectionInfo, std::less<std::tuple<std::shared_ptr<Arp::Plc::Commons::Gds::IGdsBuffer>, std::shared_ptr<Arp::Plc::Commons::Gds::IGdsBuffer> > >, std::allocator<std:
air<std::tuple<std::shared_ptr<Arp::Plc::Commons::Gds::IGdsBuffer>, std::shared_ptr<Arp::Plc::Commons::Gds::IGdsBuffer> > const, Arp::Plc::Gds::Internal::Connections::ConnectionInfo> > >&)
at Arp::Plc::Gds::Internal::GdsDomain::Setup()
at Arp::Plc::Gds::GdsComponent::SetupPlc(bool, Arp::Plc::Commons:
omain::PlcStartKind)
at Arp::Plc:
omain::Internal::PlcComponentInfo::SetupPlc(bool, Arp::Plc::Commons:
omain::PlcStartKind)
at Arp::Plc:
omain::Internal::PlcManager::LoadAndSetupPlcComponents(bool)
at Arp::Plc:
omain::Internal::PlcManager::LoadAndSetupPlcInternal()
at Arp::System::Commons::Threading::TaskQueue::ProcessTasksInternal(unsigned int)
at Arp::System::Commons::Threading::TaskQueue::ProcessTasks()
at Arp::System::Commons::Threading::TaskThread::RunInternal(void*)
at Arp::System::Commons::Threading::Thread::RunThread(Arp::System::Commons::Threading::ThreadBinaryCompatibilityExtensions*)
at Arp::System::Commons::Threading::Thread::RunInternal(void*)
at Arp::System::Ve::Internal::Linux::ThreadService::RunInternal(void*)
25.03.21 17:26:19.887 Arp.Plc.Domain.Internal.PlcManager ERROR - Plc component 'Arp.Plc.Gds' returns false while SetupPlc(isChanging=false, startKind=Warm) was called.
25.03.21 17:26:19.896 Arp.Io.EthernetIP.EthernetIPComponent INFO - ResetPlc, isChanging=false
25.03.21 17:26:19.897 Arp.Io.EthernetIP.EthernetIPComponent INFO - 2929701568 OnPlcUnloaded PlcLoaded=true
25.03.21 17:26:19.897 Arp.Io.EthernetIP.EthernetIPComponent INFO - 2929701568 ESDK 0xffff, RemoveAllAssemblies
25.03.21 17:26:19.899 Arp.Io.EthernetIP.EthernetIPComponent INFO - UnloadPlc, isChanging=false
25.03.21 17:26:19.899 Arp.Io.EthernetIP.EthernetIPComponent INFO - 2929701568 OnPlcUnloaded PlcLoaded=false
25.03.21 17:26:20.349 Arp.Plc.Domain.Internal.PlcManager ERROR - Reverted all yet loaded components.
25.03.21 17:26:20.351 Arp.Services.Ehmi.EhmiComponent INFO - 2647544512 EhmiComponent: OnPlcUnloaded, onError=true
可以帮助我们吗?你能告诉我是否需要特定版本的FW或库来制作这个示例代码?
感谢您的时间
UPD1.-阅读此论坛中的更多信息 //www.serala.net/en/discussions/error-on-plc-after-sending-project.html 我已经删除了IO模块,现在我只有中华彩票彩网可以模块,而现在问题已经消失了。
UPD2.-绝对,问题已经消失了更改模块的顺序,首先安装CAN模块,然后我们放置了其他模块。