Hello Experts,
I have simple query regarding defining memory bits in Global Variables. In my system I have two drives and CX2020 (Beckhoff). The communication protocol is Ethercat.Now I am checking the status of two drives like if they are healthy, fault state, ready to run etc...... via status word. I have made simple program which says Drive_statusword.3=Drive1_Healthy. Its very crude way of writing but I have used Move Function block to write this. Now the problem is this bit Drive1_healthy has been defined in one program and becomes local variable, but now I have to use this same bit somewhere else and it is not appearing in the list for obvious reason. I know I can use drive_statusword.3, but is there any other way out.
Regards
Manoj
I have simple query regarding defining memory bits in Global Variables. In my system I have two drives and CX2020 (Beckhoff). The communication protocol is Ethercat.Now I am checking the status of two drives like if they are healthy, fault state, ready to run etc...... via status word. I have made simple program which says Drive_statusword.3=Drive1_Healthy. Its very crude way of writing but I have used Move Function block to write this. Now the problem is this bit Drive1_healthy has been defined in one program and becomes local variable, but now I have to use this same bit somewhere else and it is not appearing in the list for obvious reason. I know I can use drive_statusword.3, but is there any other way out.
Regards
Manoj