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 Wed Apr 24, 2019 3:59 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: script with codesys
PostPosted: Fri Aug 01, 2014 12:32 pm 
Offline
Frequent User
Frequent User

Joined: Fri Mar 09, 2012 5:08 am
Posts: 103
Hi

Is there any example to understand how a v3 pgm can used with python script?

So far there is no example simple v3 pgm with winNT run time and python script

Can any one pls help out to create one?

I can understand python but there is not even a single program of both codesys & python together


Thanks


Top
   
 Post subject: Re: script with codesys
PostPosted: Fri Aug 01, 2014 12:41 pm 
Offline
Frequent User
Frequent User
User avatar

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

I think there is some misconception.

The python scripts run in the CODESYS IDE, while the IEC Code is executed in the runtime.

Scripts are meant to automate tasks which the user usually performs manually by clicking and typing in the CODESYS IDE.

Also, Scripts are not contained in CODESYS projects, and cannot be downloaded to the runtime. It is the other way round - scripts themselves can load and close projects, and trigger downloads of applications to devices.

Scripts can communicate with IEC applications via monitoring (reading and writing of variables), so some kind of interaction is possible, there are even examples here in this forum: http://forum.codesys.com/viewtopic.php?f=18&t=2052 or http://forum.codesys.com/viewtopic.php?f=18&t=1890.


HTH,
Markus

_________________
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  [ 2 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