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 Dec 10, 2019 8:05 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 7 posts ] 
Author Message
PostPosted: Fri Sep 21, 2018 4:41 pm 
Offline
User avatar

Joined: Fri Jan 19, 2018 3:38 pm
Posts: 77
Hi,

Anybody got a work-around or some solution for this?


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

_________________
CfUnit, free and open-source IEC61131-3 unit-testing framework
My profile


Top
   
PostPosted: Fri Sep 21, 2018 6:05 pm 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3566
Hi,
use Systypes2Interfaces instead.
BR
Edwin


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


Top
   
PostPosted: Sat Sep 22, 2018 12:53 pm 
Offline
User avatar

Joined: Fri Jan 19, 2018 3:38 pm
Posts: 77
Hi Edwin,

Thanks for the hint. I have replaced "Systypes Interface" for "Systypes2 Interface" and did the same for some other libs/references which i found had this new *2 version.
Also, some new bug popped up, seemingly from the SPI master of RPi package 3.5.13.0, please advice.

Thank you


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

_________________
CfUnit, free and open-source IEC61131-3 unit-testing framework
My profile


Last edited by Aliazzz on Sat Sep 22, 2018 1:17 pm, edited 1 time in total.

Top
   
PostPosted: Sat Sep 22, 2018 1:13 pm 
Offline
User avatar

Joined: Fri Jan 19, 2018 3:38 pm
Posts: 77
Funny, these errors only occur when simulation is enabled. If simulation is disabled, these errors disappear! => problem solved ..

It almost did the job, but can please explain in short why these libs are named *2?
I can guess at reasons, but rather stick to know why hearing from 3S.


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

_________________
CfUnit, free and open-source IEC61131-3 unit-testing framework
My profile


Top
   
PostPosted: Sun Sep 23, 2018 7:09 am 
Offline
Site Admin

Joined: Mon Sep 05, 2005 9:42 am
Posts: 3566
Hi,
apperently this is a known bug (at the moment) that in simulation on Raspberry PI and PFC200
you'll see this error.
The reason is: the simulation plc is if you use CODESYS 64Bit ( which maybe >90% of the users are doing) is
a 64bit plc. So the code (your project and our/your drivers ) should be 64bit capable.

That need to be fixed in this case on CODESYS side.

SysTypes2 have been introduced for the 64bit plc's so we strongly recommend to write platform independet code which could run on 64Bit and 32bit Systems this measn all libs and applikationen should use SysTypes2 Library. ( not CmpError)
This '2' is due compatibility reasons it is an Interface library which will pulled with newest.
The second point you Need to take care on to be 64bit and 32bit capable is to use
the datatypes __XWORD, etc...

There will come up an article in the new faq shortly.

BR
Edwin


Top
   
PostPosted: Sun Sep 23, 2018 7:22 am 
Offline
User avatar

Joined: Fri Jan 19, 2018 3:38 pm
Posts: 77
Hi Edwin,

Thank you for the explanation! As I am not a system integrator, I don't have access to the Jira.
Maybe you guys have some other way for us to look into the Jira? That will save you a lot of work ;-)

Thank you!

Aliazzz

_________________
CfUnit, free and open-source IEC61131-3 unit-testing framework
My profile


Top
   
PostPosted: Fri Jun 28, 2019 7:54 am 
Offline
Frequent User
Frequent User

Joined: Tue Jul 24, 2007 5:17 pm
Posts: 155
Hello Edwin

Where I can find this promised faq.
Please send a link

THANKS


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

All times are UTC+01:00


Who is online

Users browsing this forum: No registered users and 6 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