TheRooster
Member
Hello all,
I know its not good practice to have duplicate destructive bits when writing plc code, but I'm wondering about writing to the same tag with two buttons on an HMI? Right now I have 3 servo screens, in all 3 you can input a desired position, press a button to go to it, or press a button to go home. The tags are just HMIPB.GoHome or HMIin.MoveTo and start a servo move after some logic. I literally just copied and pasted the inputs/buttons, but now I'm concerned it may cause issues down the line.
I know its not good practice to have duplicate destructive bits when writing plc code, but I'm wondering about writing to the same tag with two buttons on an HMI? Right now I have 3 servo screens, in all 3 you can input a desired position, press a button to go to it, or press a button to go home. The tags are just HMIPB.GoHome or HMIin.MoveTo and start a servo move after some logic. I literally just copied and pasted the inputs/buttons, but now I'm concerned it may cause issues down the line.