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 Sat Sep 21, 2019 6:04 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 1 post ] 
Author Message
PostPosted: Wed Sep 11, 2019 4:36 pm 
Offline

Joined: Tue Jun 25, 2019 4:39 pm
Posts: 1
Hello,
I have a v3.5.15 application with a 3S Ethernet/IP scanner communicating with a Hilscher ‘NT 15 RE EIP to Profinet’ adapter. The devices are configured and working correctly.

My problem is knowing if/when the Hilscher device ‘stops running’.

Attachment:
Pic_1.png


My application works fine. However, I found that if I stop the code at a brake-point the adapter stops updating:

Attachment:
Pic_2.png


My issue is that I cannot determine programmatically that the adapter is not updating (the eState variable shows Running and the sDiagString does not change):

Attachment:
Pic_3.png


The CodeSys IDE knows that the adapter is not running:

Attachment:
Pic_4.png


But neither the adapter or does the Ethernet/IP Scanner device knows the adapter is not running:

Attachment:
Pic_5.png


If I toggle the xReset variable of the adapter, I can see the eState variable cycle through its states back to Running and the adapter starts updating.

How can I know if the adapter has stopped running so I can reset it?

Thank you.


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


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