存储中华彩票彩网社区LinkedIn上的PLCNEXT.Instagram上的PLCNEXT.  youtube上的plcnext. github plcnext社区存储中华彩票彩网社区

  1. javierperea
  2. PLCNEXT工程师
  3. 2021年3月25日星期四
Hello,

我们正在使用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::P. 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::D.omain::PlcStartKind)
at Arp::Plc::D.omain::Internal::PlcComponentInfo::SetupPlc(bool, Arp::Plc::Commons::D.omain::PlcStartKind)
at Arp::Plc::D.omain::Internal::PlcManager::LoadAndSetupPlcComponents(bool)
at Arp::Plc::D.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模块,然后我们放置了其他模块。
Frank PLCnext Team 接受答案 等待审核
0
Votes
撤消
Hi Javier,

我们现在遇到了这个问题几次,与此同时我们也可以模拟这个问题。
在更改总线并关闭中华彩票彩网语言的情况下,不通过菜单选项可以保存,因此不是正确生成的总线配置的所有必需文件。
从固件中检测到MissMatch,项目不会启动。
删除失败的模块解决问题,您可以再次下载项目而没有任何问题。

我们将在即将推出的中华彩票彩网工程师版本2021.3中修复此行为

Hope that helps,
Frank
Phoenix联系电子总部 - PLCNEXT运行时产品管理和支持
  1. 一个星期前
  2. PLCNEXT工程师
  3. # 1
javierperea 接受答案 等待审核
0
Votes
撤消
Hi Frank,

我能够继续使用CAN模块作为第一个模块。但是我将再次下载CAN模块。谢谢您的回答。

Regards,
  1. 一个星期前
  2. PLCNEXT工程师
  3. # 2
  • 页 :
  • 1


这篇文章没有答复。
但是,您不允许回复此帖。