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

All times are UTC+01:00

Post new topic  Reply to topic  [ 2 posts ] 
Author Message
 Post subject: Reset origin with python
PostPosted: Wed Jul 30, 2014 8:55 am 

Joined: Tue Jul 29, 2014 3:52 pm
Posts: 1

I'm trying to make a test script which removes the existing application from the PLC by using the Reset Origin function.


In the image, dev is of IScriptDeviceObject type. When this script is executed the following exception is thrown: "Exception: Cannot read beyond the end of the tag", from line 21. What is it that I'm missing?

Thanks! :)

You do not have the required permissions to view the files attached to this post.

PostPosted: Wed Jul 30, 2014 12:10 pm 
Frequent User
Frequent User
User avatar

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

I did discuss your issue with our communication experts. This exception seems to be a mismatch between what the runtime sends and what CODESYS expects to receive.

This behaviour is not expected, and in our tests, resetting a device this way works fine.

Could you give us as much information as possible to reproduce or analzye the issue? (e. G. Exact versions and platforms of Runtime and CDS, which things are executed on the runtime before, and maybe a network dump using WireShark or similar tools.)

Also, I think those details might be better handled via our support contact, than in this fourm. (We can still post the resolution here. :-))

Check out the CODESYS store:

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

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