Dynamic Hardware configuration

alebrije
2022-02-10
2022-02-10
  • alebrije - 2022-02-10

    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

     
  • alebrije - 2022-02-10

    Hi Campbell,

    Thanks for your fast reply!! sounds pretty interesting.
    I will try this and give you my feedback on how is going.

    Regards!

     

Log in to post a comment.