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 Thu Dec 13, 2018 7:44 pm

All times are UTC+01:00




Post new topic  Reply to topic  [ 4 posts ] 
Author Message
 Post subject: query about python
PostPosted: Wed Nov 29, 2017 6:21 pm 
Offline

Joined: Tue Sep 12, 2017 9:37 am
Posts: 77
hello:


excuse my ignorance but I'm trying to do something with python to prove how it works and I'm unable. From what I understand, I need to install Scriptengine and I can not find it anywhere, could someone tell me where to get it.

Thank you


Top
   
 Post subject: Re: query about python
PostPosted: Thu Nov 30, 2017 8:35 am 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 232
Hi jbarrio.

jbarrio wrote:
From what I understand, I need to install Scriptengine and I can not find it anywhere, could someone tell me where to get it:

The ScriptEngine is part of the default installation of CODESYS V3.

BR
Martin

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

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


Top
   
 Post subject: Re: query about python
PostPosted: Thu Nov 30, 2017 4:49 pm 
Offline

Joined: Tue Sep 12, 2017 9:37 am
Posts: 77
Like what I want to do is not possible.
I'm working with raspberry. Is it possible to access variables read their value or write it from the same raspberry in python?
any example to go see please?


Top
   
 Post subject: Re: query about python
PostPosted: Fri Dec 01, 2017 10:50 am 
Offline
Frequent User
Frequent User

Joined: Tue Nov 13, 2012 9:20 am
Posts: 232
Hi jbarrio.
jbarrio wrote:
Like what I want to do is not possible.
I'm working with raspberry. Is it possible to access variables read their value or write it from the same raspberry in python?
any example to go see please?

The ScriptEngine is part of development environment (IDE) and not of the runtime, which is on the Raspberry Pi. The Scripting is used for testing or automating tasks, like for example create a project from an external configuration.

If I remember correctly there were some threads about reading and writing values from/to your IEC application on the Raspberry Pi. I think the options were to use a fieldbus protocol, TCP/IP socket or OPC UA. Look in our sub forum for the Raspberry Pi.

BR
Martin

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