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 Jan 23, 2020 12:26 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
 Post subject: Codesys Messages
PostPosted: Thu Nov 30, 2017 9:36 am 
Offline

Joined: Mon Nov 20, 2017 2:20 pm
Posts: 5
Hi everyone,

I am currently working on some automated Tests with ABB Products ant the Automation Builder from ABB.

In my test I use V2 Codesys, which is also integrated in the Automation Builder of ABB. And i want to know if it is possible to read out the massages of Codesys V2 ether with python or cmd commands?

Out of the codesys help i tried this code:

Code:
communication = codesys23.create("PLC0","Application")
communication.create_conf()
communication.start()
communication.execute('out open C:\message.txt')
communication.execute('library add SysLibCom.lib')
communication.execute('library add SysLibComSetCtrl.lib')
communication.execute('library add SysLibEvent.lib')


But there is in Exception in line 4
Exception: The execution of a CoDeSys V2.3 command failed

And i donĀ“t now where the Problem is.

I hope someone can help me with my problem.

Best Regards and have a nice week

Sebastian


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

All times are UTC+01:00


Who is online

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