Error while test MQTT client SL library example

Hi all,

I have imported into the PLC environment the library from "codesys IIOT library package". And try to create a working project with the COREvirtual. To start with, I opened the example project which is inserted with this library from the MQTT Client SL.

I keep getting the following error:
Internal error:System.NullReferenceException: The object reference is not set to an instance of an object.
It seems that this error has to do with the visualization because as soon as I remove it I can download the project.
AFTER I set the viral core to version 1.8.0.
With new version I get the following error:
[FATAL ERROR] Unresolved reference: 'CODEMGETCONTENTBYFIRMCODE2'.
[FATAL ERROR] Unresolved reference: 'CODEMGETCONTENTBYFIRMCODE2'.

ย 

I would like to use the attached visualization and run tests with the MQTT client in combination with a CORE virtual.

Anyone who has managed to do this? Would love to hear about it!

ย 

Best reply by PLC2030

ctrlX CORE virtual does not yet support the licensing mechanism of CODESYS Add-Ons. I assume that this is the reason for the error messages.
With ctrlX CORE hardware you can test the CODESYS Add-Ons in demo mode. In the demo mode the PLC task will stop after 30 minutes.

EDIT: ctrlX CORE virtual will support the licensing of CODESYS Add-Ons from ctrlX Store in version 01V18.

View original
3 replies