Latching register bits in SLC 500

I need to latch and unlatch bits within registers of a SLC 500 PLC. IF I have a 2 state toggle, how would I write an action script to set and unset the following bit?

Path BOSS/Global/BHOITBITS/BHOITBITS_9_

bit 2