CODESYS - the IEC 61131-3 automation software

Welcome to the official CODESYS Forum
Deutsche Version English version russian version 
It is currently Sat Nov 18, 2017 3:48 am

All times are UTC+01:00




Post new topic  Reply to topic  [ 2 posts ] 
Author Message
PostPosted: Wed Aug 30, 2017 10:22 am 
Offline

Joined: Tue Aug 29, 2017 7:22 pm
Posts: 1
I'm attempting to write an application which covers two different IO Module Configurations that can be selected between in the application. The module protocol and power unit remains the same (EtherCAT). The difference is that one configuration uses more digital input and relay output modules as well as a different analog module. Is it possible to create one application with two different IO mappings and switch between the two within the application? My attempts so far have led either to the EtherCAT slave adapter not going into run or giving an invalid configuration error.

In each case, I'm using a Crevis NA-9286 EtherCAT Adapter.

If anybody has any input on this, it would be much appreciated.


Top
   
PostPosted: Thu Sep 14, 2017 1:50 pm 
Offline

Joined: Fri Dec 26, 2014 3:10 am
Posts: 18
you may to detect the the status of your ethercat couple to determine which is live and then switch over to the IO address to resume your logic. And make sure you have tick the autorestart of the slave


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:  
cron
Powered by phpBB® Forum Software © phpBB Limited