Hello, we have a Topocon Electronics (ex Wachendorff Elektronik) panel that runs Codesys 3.5.14.0.
We bought a Codesys Key to deploy a license, since these panels seem not have a softcontainer, but when trying to use License Manager (Device -> Dongle) Codesys says no adapter is available.
Furthermore, when deploying the DeviceReader project/example, it shows no green lights under Single License (neither dongle nor softcontainer), even if the dongle is connected via USB and recognized as a USB HID device by the OS (which is Linux, a Yocto build, BTW).
Is there anything we could try?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
could you please check if CmpCodemeter is available in the plc logger after the startup of the runtime.
If so, you could switch the key to a mem device ( not HID) and mount it and use it that way. ( how to switch the key from HID you'll find
in the online help of Codemeter)
HID ( prefered use) need Β· CONFIG_HID CONFIG_HIDRAW in the Linux kernel.
Cheers
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you.
Yes, CmpCodeMeter is in the log, and the kernel has CONFIG_HID set (to module) but CONFIG_HIDRAW is not set.
Tomorrow I will try reconfiguring as a mass storage (seems to be a piece of cake).
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
``` (or LocalDevice, for what is worth) in the CodeMeter Command Prompt as per https://www.wibu.com/support/faq/detail ... emory.html does not work: it tells to unplug and replug the key, but when replugging it is still recognized as HID from Windows.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Thank you! The device now appears, but every time I try to deploy it a license (EtherCAT master SL) through the device, Codesys runtime crashes almost immediately with ```
terminate called after throwing an instance of 'std::out_of_range'
Β what():Β basic_string::replace
and on the PC a dialog box appears saying "Communication error: 0x1cc", then "Transfer of license information from device failed" (obvious, the runtime crashed...)
On another device hardware, same Codesys version (3.5.14.0) but a more recent software environment, the error is
terminate called after throwing an instance of 'std::out_of_range'
Β what():Β basic_string::replace: __pos (which is 4294967295) > this->size() (which is 12)
```
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hi,
Plug the Key to the CODESYS pc and activate the licence with your browser -> license.codesys.com
After activation plug it to the plc...mount it...then it should work
Cheers
Edwin
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
Hello, we have a Topocon Electronics (ex Wachendorff Elektronik) panel that runs Codesys 3.5.14.0.
We bought a Codesys Key to deploy a license, since these panels seem not have a softcontainer, but when trying to use License Manager (Device -> Dongle) Codesys says no adapter is available.
Furthermore, when deploying the DeviceReader project/example, it shows no green lights under Single License (neither dongle nor softcontainer), even if the dongle is connected via USB and recognized as a USB HID device by the OS (which is Linux, a Yocto build, BTW).
Is there anything we could try?
Hi,
could you please check if CmpCodemeter is available in the plc logger after the startup of the runtime.
If so, you could switch the key to a mem device ( not HID) and mount it and use it that way. ( how to switch the key from HID you'll find
in the online help of Codemeter)
HID ( prefered use) need Β· CONFIG_HID CONFIG_HIDRAW in the Linux kernel.
Cheers
Edwin
Thank you.
Yes, CmpCodeMeter is in the log, and the kernel has CONFIG_HID set (to module) but CONFIG_HIDRAW is not set.
Tomorrow I will try reconfiguring as a mass storage (seems to be a piece of cake).
Unfortunately, issuing ```
cmu32 -s <serialno> --set-config-disk RemovableDevice</serialno>
``` (or LocalDevice, for what is worth) in the CodeMeter Command Prompt as per https://www.wibu.com/support/faq/detail ... emory.html does not work: it tells to unplug and replug the key, but when replugging it is still recognized as HID from Windows.
Hi,
try:
cmu32 /s [Serialno] --set-config-disk MsdCommunication
http://localhost:22352/$help/CmUserHelp ... to_msd.htm
BR
Edwin
Thank you! The device now appears, but every time I try to deploy it a license (EtherCAT master SL) through the device, Codesys runtime crashes almost immediately with ```
terminate called after throwing an instance of 'std::out_of_range'
Β what():Β basic_string::replace
and on the PC a dialog box appears saying "Communication error: 0x1cc", then "Transfer of license information from device failed" (obvious, the runtime crashed...) On another device hardware, same Codesys version (3.5.14.0) but a more recent software environment, the error is
terminate called after throwing an instance of 'std::out_of_range'
Β what():Β basic_string::replace: __pos (which is 4294967295) > this->size() (which is 12)
```
Hi,
Plug the Key to the CODESYS pc and activate the licence with your browser -> license.codesys.com
After activation plug it to the plc...mount it...then it should work
Cheers
Edwin
Ok, finally worked.
Thank you for your help!