CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sat Jul 21, 2018 2:50 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
PostPosted: Wed Oct 25, 2017 8:41 am 
Offline

Joined: Tue Oct 24, 2017 4:40 pm
Posts: 4
Dear,

I'm upgrading my win RTE Target from 32 bit to 64 bit.
Most code seems to work with also in 64 bit.
However I get a build error that I do not understand how
to resolve.

------ Build started: Application: CODESYS_Control_RTE_V3.MultiControl -------
typify code ...
[ERROR] cmperrors interfaces, 3.5.5.0 (system): C0338: The Library 'cmperrors interfaces, 3.5.5.0 (system)' is only supported in 32 bit applications
Compile complete -- 1 errors, 5 warnings

My problem seems to bee with a library. So I tried to locate
the cmperrors interfaces in my Library Manager, but I cannot find it.
I do find some cmperrors2 interfaces in the library.

Am I supposed to install something ? What ?
Am I supposed to delete something ? What ?
Double clicking the error gives no linked place.

Thanks for advice

Best Regards
Magnus Torell


Top
   
PostPosted: Wed Oct 25, 2017 5:59 pm 
Offline

Joined: Tue Oct 24, 2017 4:40 pm
Posts: 4
So,

Getting a bit further...

Not in the device "pane"/"tab", but in the POU pane I found
another Library manager, where there were some libraries ...23.
These were the problematic ones.

So instead I need advice how to replace the library SysCallback23
and the method SysCallbackRegister in 3.5 flavor.

I use it as:

SysCallbackRegister(ADR(CallbackNetVar), EVENT_STOP); (* ToDo 2 übersetzen in EVENT_STOP *)
SysCallbackRegister(ADR(CallbackNetVar), EVENT_BEFORE_RESET); (* ToDo 2 übersetzen in EVENT_BEFORE_RESET *)
SysCallbackRegister(ADR(CallbackNetVar), EVENT_DEBUG_LOOP); (* ToDo 31 übersetzen in EVENT_DEBUG_LOOP *)
SysCallbackRegister(ADR(CallbackNetVar), EVENT_BEFORE_DOWNLOAD); (* ToDo 31 übersetzen in EVENT_DEBUG_LOOP *)


Best Regards

Magnus Torell


Top
   
PostPosted: Sat Apr 28, 2018 2:46 pm 
Offline

Joined: Tue Feb 27, 2018 11:50 am
Posts: 6
Hello !

I face the same problem. I have updated the software to Codesys V3.5 SP12 Patch 3, but still the problem persists. I have tried with WIN V3 X64, RTE and Raspberry, but none worked.

Code:
                ------ Build started: Application: Device.Sim.Device.Application -------
                typify code ...
[ERROR]         cmperrors interfaces, 3.5.5.0 (system): C0338:  The Library 'cmperrors interfaces, 3.5.5.0 (system)' is only supported in 32 bit applications
                Compile complete -- 1 errors, 0 warnings
                Build complete -- 1 errors, 0 warnings : no download possible!




Please help solve this issue.

Thank you in advance


Top
   
PostPosted: Sun Apr 29, 2018 8:18 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 2763
Hi,
use Systypes2 Interfaces Library... for 32 and 64Bit Systems..

BR
Edwin


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 1 guest


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