With the advance of Panelview 5510, Rockwell introduced a new data type called HMIBC.
I tried to use it with BasicButton, when pressing on the button, I'd get a 'CIP Priviledge violation' message.
I also tried to access its tag bit/bool level to no avail: ButtonState, EnableOut, Out.
I could see where you wouldn't be able to use the tag directly since it is a struct.
I was able to read/write using pylogix, so I think that AHMI should too. Are you 100% sure that you didn't accidentally create it with external access set to None?
If I write to the Out, it accepts it, but the instruction controls the state of it, so it goes right back to 0. ButtonState behaves the same way. ProgFB allows you to change it state. You can't change the state of EnableIn/Out because the instruction controls those states.
If i delete the instruction from the program, so that only the tag exists, then I can write to the bits.
I don't have a PanelView5000, so it it just exists in my test program. Maybe once the HMI has its grips on it, then you start getting privilege violations?