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:48 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 
Offline

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

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

Attachment:
Capture.JPG


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.


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

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

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