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 Aug 20, 2019 6:47 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 3 posts ] 
Author Message
PostPosted: Wed Dec 18, 2013 11:55 am 
Offline

Joined: Tue Dec 17, 2013 3:58 pm
Posts: 2
When I set the project information object using python like this:
Code:
projInfo = proj.get_project_info()
projInfo.version = "1.2.3.4"

The automatically generated POUs (GetVersion, GetTitle, etc.) are not updated.

Is there any way to force a update of these using python?

(I am using CODESYS 3.5.3.7)

/Rasmus


Top
   
PostPosted: Wed Dec 18, 2013 1:58 pm 
Offline
Frequent User
Frequent User
User avatar

Joined: Fri Mar 18, 2011 4:12 pm
Posts: 266
Hi, Ranie,

You found a bug. I filed CDS-37548 in our jira bug database.

If you're working for an OEM (PLC Vendor), you can contact our support department to register your customers name for that issue. If you're an end-user (codesys came shipped with a PLC you bought somewhere), you may contact your PLC Vendors support department with the above number, so they can create an entry in their database and link it to our CDS-37548.

As a workaround, you can re-set the accessor generation setting to the same value:
Code:
projInfo.change_accessor_generation(projInfo.generate_accessors)

This will regenerate the accessor POUs.

_________________
Check out the CODESYS store: http://store.codesys.com/

CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions


Top
   
PostPosted: Thu Dec 19, 2013 11:37 am 
Offline
Frequent User
Frequent User
User avatar

Joined: Fri Mar 18, 2011 4:12 pm
Posts: 266
Hi,

good news: The fix for this is currently scheduled for the next service pack (V3.5 SP5, which is currently scheduled for July.)

_________________
Check out the CODESYS store: http://store.codesys.com/

CODESYS® a trademark of 3S-Smart Software Solutions GmbH
Inspiring Automation Solutions


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: 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