CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Tue Oct 17, 2017 1:10 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 5 posts ] 
Author Message
PostPosted: Tue Jan 31, 2017 11:09 am 
Offline

Joined: Thu Oct 13, 2016 4:19 pm
Posts: 48
Location: Presezzo, Bergamo (ITA)
Hi all,
I need to launch automatically a python script before download the application in the device. Can I perform this operation when the user click on the 'Login' button?
I know it is possible to execute a POU via Task Configuration but it seems impossible to run a python script

Thanks,
Massimo


Top
   
PostPosted: Tue Jan 31, 2017 2:26 pm 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 216
Hi Massimo.

Massimo.Milluzzo wrote:
Hi all,
I need to launch automatically a python script before download the application in the device. Can I perform this operation when the user click on the 'Login' button?

Sorry, but not at the moment. We have the entry CDS-20898 in our bug tracking but it is not implemented yet. Small parts are already implemented but not the event part you need.

One of the already implemented parts could be a solution to your problem. It was introduced with CODESYS V3.5 SP10 (see CDS-48910) and allows the user to execute python scripts from the toolbar. Search the online help for "Calling Scripts via Toolbar Icons". If you use this possibility, you have to do the login in your python script.

BR
Martin

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

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


Top
   
PostPosted: Wed Feb 01, 2017 8:46 am 
Offline

Joined: Thu Oct 13, 2016 4:19 pm
Posts: 48
Location: Presezzo, Bergamo (ITA)
Hi Martin,
Thanks to the reply. I'm already using the button to execute scripts for the toolbar and it is very usefull, my request is connected to the other topic about the GVL variables. I would like to start the script automatically in order to be sure I don't forget it :D
Do you have an idea about the release plan?

Thank you again,
Regards.
Massimo


Top
   
PostPosted: Wed Feb 01, 2017 2:43 pm 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 216
Hi Massimo.

Massimo.Milluzzo wrote:
Do you have an idea about the release plan?

For CDS-20898 there is no release plan.

As usual, you can contact our support to show your interest in this improvement. If you are a customer of an OEM product you should contact their support.

BR
Martin

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

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


Top
   
PostPosted: Wed Feb 01, 2017 3:24 pm 
Offline

Joined: Thu Oct 13, 2016 4:19 pm
Posts: 48
Location: Presezzo, Bergamo (ITA)
Thank you again.
I cannot access to your link, that's why I asked.
I will contact the support as suggest.

Best regards.
Massimo


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

All times are UTC+01:00


Who is online

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