I'm working on a program that I would like to be a master program for several devices, so its needed to have a dynamic hardware configuration...
My hardware:
see image...
The objective is to activate or deactivate my EtherCAT masters depending on a single variable...
As example this variable will be an INT received over OpcUa. and it has 3 values 0, 1 or 2...
IF 0 THEN
Ethercat_master1 is active and the others deactivated
ELSIF 1 THEN
Ethercat_master2 is active and the others deactivated
ELSIF 1 THEN
Ethercat_master3 is active and the others deactivated
END_IF
Do you know a way to achieve this... currently I was working with the IODrvEtherCATDriver lib but I cannot find the right solution to this problem. Because whenever there in an hardware error (A master that isnΒ΄t there) I cannot execute my program.
Has somebody any experience with this kind of applications?
Hello,
I'm working on a program that I would like to be a master program for several devices, so its needed to have a dynamic hardware configuration...
My hardware:
see image...
The objective is to activate or deactivate my EtherCAT masters depending on a single variable...
As example this variable will be an INT received over OpcUa. and it has 3 values 0, 1 or 2...
IF 0 THEN
Ethercat_master1 is active and the others deactivated
ELSIF 1 THEN
Ethercat_master2 is active and the others deactivated
ELSIF 1 THEN
Ethercat_master3 is active and the others deactivated
END_IF
Do you know a way to achieve this... currently I was working with the IODrvEtherCATDriver lib but I cannot find the right solution to this problem. Because whenever there in an hardware error (A master that isnΒ΄t there) I cannot execute my program.
Has somebody any experience with this kind of applications?
Best regards
Alebrije
Hello, I suspect it can be reconfigured:
https://help.codesys.com/webapp/HUr-HPtekCI-al68iX7szHFsAss%2FReconfigure;product=CAA%20Device%20Diagnosis;version=3.5.17.0
Hi Campbell,
Thanks for your fast reply!! sounds pretty interesting.
I will try this and give you my feedback on how is going.
Regards!