CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum by 3S-Smart Software Solutions GmbH | A member of the CODESYS Group
Deutsche Version English version russian version 
It is currently Tue Nov 19, 2019 11:57 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Mon Apr 29, 2019 7:58 am 
Offline
User avatar

Joined: Tue Jun 28, 2016 2:45 pm
Posts: 65
Hello Community,

I try to check if there is a MultiCore license available on the runtime.

This function works well, when I check the single core license or other single licenses, but not for multi core.
Code:
hHandleCmpCodeMeter:= CMPCODEMETER.CodeMOpen(udiFirmCode,udiProductCode,udiFeatureMap,rtsResult);


If I check for a multi-core license, the function returns an CmpError Code "40", which is described as a "Device_Error".
Image

Can anyone help me with this?

Thank you in advance,
BR KevinR


You do not have the required permissions to view the files attached to this post.

_________________
Building & Process Automation with HVAC Library for CODESYS© - www.hvac-automation.com


Top
   
PostPosted: Mon Apr 29, 2019 5:10 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3539
Hi,
use:

Update:

Could check if 16#20000000 ( you need to give this feature map in hex) then it will work.
Handle:= CMPCODEMETER.CodeMOpen(5000304,8787,16#20000000,Result);

BR
Edwin


Top
   
PostPosted: Thu May 02, 2019 2:30 pm 
Offline
User avatar

Joined: Tue Jun 28, 2016 2:45 pm
Posts: 65
I verified it and it works well.

Thank you so much, Edwin

BR
Kevin

_________________
Building & Process Automation with HVAC Library for CODESYS© - www.hvac-automation.com


Top
   
Display posts from previous:  Sort by  
Post new topic  Reply to topic  [ 3 posts ] 

All times are UTC+01:00


Who is online

Users browsing this forum: Andreas Kehrer and 5 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Limited